Browse Source

修复自提已经签包件勾选错误

dev
马远东 1 month ago
parent
commit
ec4b79578c
  1. 14
      src/views/distribution/inventory/distrilbutionBillLading.vue

14
src/views/distribution/inventory/distrilbutionBillLading.vue

@ -2536,7 +2536,13 @@ export default {
if (_check.length) {
this.$refs.orderChooseTable.handleCheckSelect(_check);
} else {
this.$refs.orderChooseTable.handleCheckSelect(data.records);
console.log(data.records, 'data.records');
let _list = data.records.filter(item => {
return item.orderPackageStatusName !== '已签收';
});
console.log(_list, '_lsit');
this.$refs.orderChooseTable.handleCheckSelect(_list);
}
console.log(this.order.selectList, '已经回显的值');
this.selectionClear();
@ -3530,10 +3536,10 @@ export default {
console.log('执行了二次操作');
const data = res.data.data;
this.dataList = data.records;
if(this.dataList?.length){
if (this.dataList?.length) {
this.dataList.forEach(i => {
i.reservationNum = i.handQuantity;
})
i.reservationNum = i.handQuantity;
});
}
this.loading = false;

Loading…
Cancel
Save