From 74dfc64fee47f49bea6b070d06005e7d790ac91d Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期四, 12 十月 2023 09:52:15 +0800 Subject: [PATCH] feat: 合同管理、服务合同、客户服务单、服务回访单 自动生成编号编辑回显时显示对应编码 --- src/views/sales/salesDetails/index.vue | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/views/sales/salesDetails/index.vue b/src/views/sales/salesDetails/index.vue index 48fcffd..7dd5807 100644 --- a/src/views/sales/salesDetails/index.vue +++ b/src/views/sales/salesDetails/index.vue @@ -276,15 +276,16 @@ this.editConfig.infomation = { ...row, sale_chance_name: "", currency: "浜烘皯甯�" } }, // 鍒犻櫎 - delClick() { - if (this.selValueList && this.selValueList.length > 0) { + delClick(rowID) { + console.log(rowID,"xxxxshanchu") + // if (this.selValueList && this.selValueList.length > 0) { this.$confirm("鏄惁纭鍒犻櫎?", "璀﹀憡", { confirmButtonText: "纭畾", cancelButtonText: "鍙栨秷", type: "warning" }) .then(() => { - getDelSalesDetails({ ids: this.selValueList }).then((response) => { + getDelSalesDetails({ ids: [rowID] }).then((response) => { if (response.code === 200) { this.$message.success("鍒犻櫎鎴愬姛") this.getData() @@ -294,9 +295,9 @@ }) }) .catch(() => {}) - } else { - this.$message.warning("璇疯嚦灏戦�夋嫨涓�鏉¤褰�") - } + // } else { + // this.$message.warning("璇疯嚦灏戦�夋嫨涓�鏉¤褰�") + // } }, getSelectArray(val) { console.log(val) -- Gitblit v1.8.0