diff --git a/src/views/inventory/count/InvCountOrderModify.vue b/src/views/inventory/count/InvCountOrderModify.vue index 0aa46baf..19270236 100644 --- a/src/views/inventory/count/InvCountOrderModify.vue +++ b/src/views/inventory/count/InvCountOrderModify.vue @@ -713,7 +713,19 @@ export default { this.startCountVisible = true let invProductList = res.data.list; for (let product of invProductList) { - this.countProductList.push(product); + let product2 = { + orderIdFk: this.formData.orderId, + productId: product.relIdFk, + nameCode: product.nameCode, + batchNo: product.batchNo, + produceDate: product.productionDate, + expireDate: product.expireDate, + invCode: this.formData.invStorageCode, + invSpaceCode: this.formData.invSpaceCode, + invNum: product.reCount, + supId: product.supId + } + this.countProductList.push(product2); } this.saveOrder(1); }