fix: 开启和修复整单盘点功能

lh_dev_ksck
chenhc 4 months ago
parent 6877dcc229
commit 6f8f84e06e

@ -726,7 +726,19 @@ export default {
if (res.data.total !== 0) {
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);
}

@ -128,7 +128,7 @@
<el-button icon="el-icon-view" type="primary" @click="hideSearch">/</el-button>
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
<el-button type="primary" icon="el-icon-search" @click="onSubmit"></el-button>
<!-- <el-button type="primary" icon="el-icon-plus" @click="addCountOrder(0)"></el-button> -->
<el-button type="primary" icon="el-icon-plus" @click="addCountOrder(0)"></el-button>
<!-- <el-button type="primary" icon="el-icon-plus" @click="addCountOrder(1)"></el-button> -->
<el-button type="primary" icon="el-icon-plus" @click="addCountOrder(2)"></el-button>
</el-button-group>

Loading…
Cancel
Save