From 05ad40a7d8370425a4a4eeadf50373a9586742e2 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Thu, 22 Feb 2024 14:25:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E9=85=8D=E7=BD=AE=E5=BC=95?= =?UTF-8?q?=E8=B5=B7=E7=9A=84=E5=8D=95=E6=8D=AE=E5=88=A0=E9=99=A4=EF=BC=8C?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E7=AD=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inout/IoAuditedOrder.vue | 2 +- src/views/inout/IoCheckAuditOrder.vue | 2 +- src/views/inout/IoCheckErrorOrder.vue | 2 +- src/views/inout/IoCheckSuccessOrder.vue | 2 +- src/views/inout/IoCreateBusOrder.vue | 4 ++-- src/views/inout/IoCreateErrorOrder.vue | 2 +- src/views/inout/IoCreateOrder.vue | 5 +++-- src/views/inout/IoCreateScanOrder.vue | 2 +- src/views/inout/IoDealOrder.vue | 2 +- src/views/inout/IoWaitAllocateOrder.vue | 2 +- 10 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/views/inout/IoAuditedOrder.vue b/src/views/inout/IoAuditedOrder.vue index d52f6078..7816baee 100644 --- a/src/views/inout/IoAuditedOrder.vue +++ b/src/views/inout/IoAuditedOrder.vue @@ -1389,7 +1389,7 @@ export default { type: "warning", }) .then(() => { - _this.deleteOrders(row); + _this.deleteOrders(row.billNo); }) .catch(() => { }); diff --git a/src/views/inout/IoCheckAuditOrder.vue b/src/views/inout/IoCheckAuditOrder.vue index 31a3f647..0b10a236 100644 --- a/src/views/inout/IoCheckAuditOrder.vue +++ b/src/views/inout/IoCheckAuditOrder.vue @@ -1721,7 +1721,7 @@ export default { type: "warning", }) .then(() => { - _this.deleteOrders(row); + _this.deleteOrders(row.billNo); }) .catch(() => { }); diff --git a/src/views/inout/IoCheckErrorOrder.vue b/src/views/inout/IoCheckErrorOrder.vue index 4673db8b..68bdddde 100644 --- a/src/views/inout/IoCheckErrorOrder.vue +++ b/src/views/inout/IoCheckErrorOrder.vue @@ -1422,7 +1422,7 @@ export default { type: "warning", }) .then(() => { - _this.deleteOrders(row); + _this.deleteOrders(row.billNo); }) .catch(() => { }); diff --git a/src/views/inout/IoCheckSuccessOrder.vue b/src/views/inout/IoCheckSuccessOrder.vue index 7a8d7560..71ea043b 100644 --- a/src/views/inout/IoCheckSuccessOrder.vue +++ b/src/views/inout/IoCheckSuccessOrder.vue @@ -1322,7 +1322,7 @@ export default { type: "warning", }) .then(() => { - _this.deleteOrders(row); + _this.deleteOrders(row.billNo); }) .catch(() => { }); diff --git a/src/views/inout/IoCreateBusOrder.vue b/src/views/inout/IoCreateBusOrder.vue index 19a44b9c..74ccdea2 100644 --- a/src/views/inout/IoCreateBusOrder.vue +++ b/src/views/inout/IoCreateBusOrder.vue @@ -635,7 +635,7 @@ export default { }, deleteOrders(data) { this.loading = true; - this.deleteData.billNo = data.billNo; + this.deleteData.billNo = data; deleteByOrderId(this.deleteData) .then((response) => { @@ -664,7 +664,7 @@ export default { type: "warning", }) .then(() => { - _this.deleteOrders(rowId); + _this.deleteOrders(rowId.billNo); }) .catch(() => { }); diff --git a/src/views/inout/IoCreateErrorOrder.vue b/src/views/inout/IoCreateErrorOrder.vue index 18457e4c..351b7036 100644 --- a/src/views/inout/IoCreateErrorOrder.vue +++ b/src/views/inout/IoCreateErrorOrder.vue @@ -603,7 +603,7 @@ export default { type: "warning", }) .then(() => { - _this.deleteOrders(rowId); + _this.deleteOrders(rowId.billNo); }) .catch(() => { }); diff --git a/src/views/inout/IoCreateOrder.vue b/src/views/inout/IoCreateOrder.vue index d738893a..25473071 100644 --- a/src/views/inout/IoCreateOrder.vue +++ b/src/views/inout/IoCreateOrder.vue @@ -643,11 +643,12 @@ export default { } _this.errView = 0; _this.idQuery = {}; - if (row != null && row.status === 4) { _this.errView = 1; _this.idQuery = row; } + if(row!=null) + _this.idQuery = row; _this.addOrderVisible = true; }, closeDialog() { @@ -718,7 +719,7 @@ export default { type: "warning", }) .then(() => { - _this.deleteOrders(rowId); + _this.deleteOrders(rowId.billNo); }) .catch(() => { }); diff --git a/src/views/inout/IoCreateScanOrder.vue b/src/views/inout/IoCreateScanOrder.vue index 163f97d5..610c4c89 100644 --- a/src/views/inout/IoCreateScanOrder.vue +++ b/src/views/inout/IoCreateScanOrder.vue @@ -659,7 +659,7 @@ export default { type: "warning", }) .then(() => { - _this.deleteOrders(rowId); + _this.deleteOrders(rowId.billNo); }) .catch(() => { }); diff --git a/src/views/inout/IoDealOrder.vue b/src/views/inout/IoDealOrder.vue index fed48cbb..ade497e7 100644 --- a/src/views/inout/IoDealOrder.vue +++ b/src/views/inout/IoDealOrder.vue @@ -788,7 +788,7 @@ export default { type: "warning", }) .then(() => { - _this.deleteOrders(rowId); + _this.deleteOrders(rowId.billNo); _this.currentRow = null; _this.bizDetailList = []; }) diff --git a/src/views/inout/IoWaitAllocateOrder.vue b/src/views/inout/IoWaitAllocateOrder.vue index a99008f9..117c53b8 100644 --- a/src/views/inout/IoWaitAllocateOrder.vue +++ b/src/views/inout/IoWaitAllocateOrder.vue @@ -827,7 +827,7 @@ export default { type: "warning", }) .then(() => { - _this.deleteOrders(rowId); + _this.deleteOrders(rowId.billNo); }) .catch(() => { });