From ec4b79578cfa177995a06577a5348c5c39eb72ac Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Fri, 13 Dec 2024 11:37:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E6=8F=90=E5=B7=B2?= =?UTF-8?q?=E7=BB=8F=E7=AD=BE=E5=8C=85=E4=BB=B6=E5=8B=BE=E9=80=89=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventory/distrilbutionBillLading.vue | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/views/distribution/inventory/distrilbutionBillLading.vue b/src/views/distribution/inventory/distrilbutionBillLading.vue index a1d31bb7..7fb8ed4a 100644 --- a/src/views/distribution/inventory/distrilbutionBillLading.vue +++ b/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;