From b169e0fe3ecad3713880626bd6152c58d8ed4222 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 10 十月 2023 19:59:57 +0800
Subject: [PATCH] Merge branch 'dev' of http://192.168.5.5:10010/r/web/crm-web into wn

---
 src/views/sales/salesReturn/index.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/views/sales/salesReturn/index.vue b/src/views/sales/salesReturn/index.vue
index 83e3008..b0cfa3f 100644
--- a/src/views/sales/salesReturn/index.vue
+++ b/src/views/sales/salesReturn/index.vue
@@ -242,15 +242,15 @@
       this.editConfig.infomation = { ...row, currency: "浜烘皯甯�", salesDetailNumber: row.Source.number }
     },
     // 鍒犻櫎
-    delClick() {
-      if (this.selValueList && this.selValueList.length > 0) {
+    delClick(rowID) {
+      // if (this.selValueList && this.selValueList.length > 0) {
         this.$confirm("鏄惁纭鍒犻櫎?", "璀﹀憡", {
           confirmButtonText: "纭畾",
           cancelButtonText: "鍙栨秷",
           type: "warning"
         })
           .then(() => {
-            getDelSalesReturn({ ids: this.selValueList }).then((response) => {
+            getDelSalesReturn({ ids:[rowID] }).then((response) => {
               if (response.code === 200) {
                 this.$message.success("鍒犻櫎鎴愬姛")
                 this.getData()
@@ -260,9 +260,9 @@
             })
           })
           .catch(() => {})
-      } else {
-        this.$message.warning("璇疯嚦灏戦�夋嫨涓�鏉¤褰�")
-      }
+      // } else {
+      //   this.$message.warning("璇疯嚦灏戦�夋嫨涓�鏉¤褰�")
+      // }
     },
     getSelectArray(val) {
       console.log(val)

--
Gitblit v1.8.0