From 6e5fd5d713852c73e2b6b28f968b6dbfff14c441 Mon Sep 17 00:00:00 2001 From: zuozhengqing <a13193816592@163.com> Date: 星期二, 10 十月 2023 16:32:08 +0800 Subject: [PATCH] 销售明细、退货、退款删除功能调整 --- src/views/sales/refundForm/index.vue | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/sales/refundForm/index.vue b/src/views/sales/refundForm/index.vue index 99d71d9..c91d629 100644 --- a/src/views/sales/refundForm/index.vue +++ b/src/views/sales/refundForm/index.vue @@ -237,15 +237,15 @@ this.editConfig.infomation = { ...row, currency: "浜烘皯甯�", sale_return_nunber: 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(() => { - getDelSalesRefund({ ids: this.selValueList }).then((response) => { + getDelSalesRefund({ ids: [rowID] }).then((response) => { if (response.code === 200) { this.$message.success("鍒犻櫎鎴愬姛") this.getData() @@ -255,9 +255,9 @@ }) }) .catch(() => {}) - } else { - this.$message.warning("璇疯嚦灏戦�夋嫨涓�鏉¤褰�") - } + // } else { + // this.$message.warning("璇疯嚦灏戦�夋嫨涓�鏉¤褰�") + // } }, getSelectArray(val) { console.log(val) -- Gitblit v1.8.0