From d5d1506ed6e9052e5b1d034c05c4de841e3525a4 Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Sun, 5 May 2024 10:08:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E6=8F=90=E5=88=B7?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../distribution/inventory/distrilbutionBillLadingList.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/distribution/inventory/distrilbutionBillLadingList.vue b/src/views/distribution/inventory/distrilbutionBillLadingList.vue index 4de38af0..a8d30e59 100644 --- a/src/views/distribution/inventory/distrilbutionBillLadingList.vue +++ b/src/views/distribution/inventory/distrilbutionBillLadingList.vue @@ -805,7 +805,10 @@ export default { this.search = !this.search; }, searchChange() { - this.query.pickupBatchs= this.query.pickupBatchs.replace(/,/g, ","); + if(this.query.pickupBatchs){ + this.query.pickupBatchs= this.query.pickupBatchs.replace(/,/g, ","); + } + if(!this.query.pickupBatchs){ delete this.query.pickupBatchs }