From 2e54592b7adf069f6ddfc9348c6daf9612f34f79 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期五, 13 十月 2023 11:33:44 +0800
Subject: [PATCH] 新建弹窗详情页打开时不能输入问题修复

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

diff --git a/src/views/sales/salesReturn/index.vue b/src/views/sales/salesReturn/index.vue
index 83e3008..f3c5546 100644
--- a/src/views/sales/salesReturn/index.vue
+++ b/src/views/sales/salesReturn/index.vue
@@ -239,18 +239,18 @@
       console.log(row)
       this.editConfig.visible = true
       this.editConfig.title = "缂栬緫"
-      this.editConfig.infomation = { ...row, currency: "浜烘皯甯�", salesDetailNumber: row.Source.number }
+      this.editConfig.infomation = { ...row, currency: "浜烘皯甯�"}
     },
     // 鍒犻櫎
-    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