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(() => { });