This commit is contained in:
lixin
2019-01-04 16:21:13 +08:00
parent 5493ed68e2
commit ab22652528
6 changed files with 11 additions and 10 deletions

View File

@@ -289,10 +289,9 @@ export default {
// 查询交换单
searchExchange() {
ExchangeOut(this.pickingListNumberx).then(response => {
console.log(response.data, 2233455)
const data = response.data
for (let i = 0; i < data.length; i++) {
data[i].审批通过 === 0 ? data[i].是否禁用 = true : data[i].是否禁用 = false
data[i].是否出库 === 1 ? data[i].是否禁用 = true : data[i].是否禁用 = false
}
this.tableDataExchange = data
})
@@ -364,7 +363,7 @@ export default {
this.dialogFormVisible = false
},
execExchangePartOut(row) {
ExchangePartOut(row.采购合同明细流水号, row.申请人, row.交换数量, row.被交换货位流水号, row.备注).then(response => {
ExchangePartOut(row.交换单流水号, row.被交换件采购合同明细流水号, row.申请人, row.交换数量, row.被交换货位流水号, row.备注).then(response => {
if (response.data[0].result === '1') {
this.$message.success('出库成功')
this.dialogFormVisible = false