diff --git a/src/views/Inventory/ExchangePart/index.vue b/src/views/Inventory/ExchangePart/index.vue index d42ffbbc..ca27a4bd 100644 --- a/src/views/Inventory/ExchangePart/index.vue +++ b/src/views/Inventory/ExchangePart/index.vue @@ -474,7 +474,7 @@ export default { addListDetailinfor(form) { this.$refs[form].validate((valid) => { if (valid) { - addExchangepart(this.form.ExchangeNumber, this.tableData1[0].采购合同明细流水号, this.tableData2[0].采购合同明细流水号, this.tableData1[0].物料名称, this.tableData2[0].物料名称, this.tableData1[0].项目流水号, this.tableData2[0].项目流水号, this.tableData1[0].机床流水号, this.tableData2[0].机床流水号, this.tableData1[0].分组流水号, this.tableData2[0].分组流水号, this.tableData1[0].货位流水号, this.tableData2[0].货位流水号, this.form.ExchangeNumberx, this.picikingPeople, this.form.ExchangeNote, this.PickingListNumber).then(response => { + addExchangepart(this.form.ExchangeNumber, this.tableData1[0].采购合同明细流水号, this.tableData2[0].采购合同明细流水号, this.tableData1[0].物料名称, this.tableData2[0].物料名称, this.tableData1[0].项目流水号, this.tableData2[0].项目流水号, this.tableData1[0].机床流水号, this.tableData2[0].机床流水号, this.tableData1[0].组件流水号, this.tableData2[0].组件流水号, this.tableData1[0].货位流水号, this.tableData2[0].货位流水号, this.form.ExchangeNumberx, this.picikingPeople, this.form.ExchangeNote, this.PickingListNumber).then(response => { if (response.data[0].result === '1') { this.$message.success('增加成功') } else { this.$message.error('增加失败') } diff --git a/src/views/Inventory/InventoryManagement/index.vue b/src/views/Inventory/InventoryManagement/index.vue index a1fad173..1f6d153a 100644 --- a/src/views/Inventory/InventoryManagement/index.vue +++ b/src/views/Inventory/InventoryManagement/index.vue @@ -215,7 +215,7 @@ - + - + diff --git a/src/views/Inventory/PartOut/index.vue b/src/views/Inventory/PartOut/index.vue index f7fb9a76..d1f4e05d 100644 --- a/src/views/Inventory/PartOut/index.vue +++ b/src/views/Inventory/PartOut/index.vue @@ -178,7 +178,7 @@ @@ -289,9 +289,10 @@ 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].审批通过 === 0 ? data[i].是否禁用 = true : data[i].是否禁用 = false } this.tableDataExchange = data })