From faf8e0521f8244d157e0e30daf426442ba442616 Mon Sep 17 00:00:00 2001
From: wangwei <1610949092@qq.com>
Date: Thu, 8 Jun 2023 15:25:12 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E5=8F=91=E7=A5=A8=E4=BB=B7=E6=A0=BC?=
 =?UTF-8?q?=E4=B8=8D=E5=8C=B9=E9=85=8D=E6=97=B6=20=E7=8A=B6=E6=80=81?=
 =?UTF-8?q?=E6=98=AF=E6=9C=AA=E7=99=BB=E8=AE=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/views/inout/InvoiceCkeck.vue | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/views/inout/InvoiceCkeck.vue b/src/views/inout/InvoiceCkeck.vue
index fde0998..6bbbbb4 100644
--- a/src/views/inout/InvoiceCkeck.vue
+++ b/src/views/inout/InvoiceCkeck.vue
@@ -510,7 +510,7 @@ export default {
           type: "warning",
         })
           .then(() => {
-            this.postInvoice();
+            this.postInvoice("key");
           })
           .catch(() => {
           });
@@ -522,7 +522,7 @@ export default {
 
     },
 
-    postInvoice() {
+    postInvoice(val) {
       insertInvoice(this.inputQuery)
         .then((response) => {
           if (response.code === 20000) {
@@ -537,7 +537,11 @@ export default {
         });
 
       // 加状态
-      updateorderBiz(this.inputQuery.list).then((res) => {
+      let param={
+        list:this.inputQuery.list,
+        key:val
+      }
+      updateorderBiz(param).then((res) => {
         this.closeDialog();
       });
     },

From 74d126b6009c5913e695172e6c07187d0f7e4b90 Mon Sep 17 00:00:00 2001
From: wangwei <1610949092@qq.com>
Date: Thu, 8 Jun 2023 15:32:14 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/views/inout/InvoiceRegistration.vue | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/views/inout/InvoiceRegistration.vue b/src/views/inout/InvoiceRegistration.vue
index 66f2c8a..4a34ab8 100644
--- a/src/views/inout/InvoiceRegistration.vue
+++ b/src/views/inout/InvoiceRegistration.vue
@@ -838,13 +838,14 @@ export default {
               if (response.code == 20000) {
                 if(response.data.length == 0){
                   this.getList();
+                }else{
+                  this.getCodeDetailList();
                 }
                 this.getBizDetailListInv(this.subRow);
                 this.$message({
                   type: "success",
                   message: "删除成功!",
                 });
-                this.getCodeDetailList();
               }
             })
             .catch(() => {