From eae60bd4eb4f4f7fd9f2da981e962c718d91335a Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期五, 13 十月 2023 14:14:46 +0800 Subject: [PATCH] 跟进记录的编辑反显bug+销售线索的新建,详情的调整 --- src/views/sales/salesDetails/index.vue | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/views/sales/salesDetails/index.vue b/src/views/sales/salesDetails/index.vue index 48fcffd..d3f1352 100644 --- a/src/views/sales/salesDetails/index.vue +++ b/src/views/sales/salesDetails/index.vue @@ -125,7 +125,7 @@ infomation: {} }, showSummary: { - show: true, + show: false, sumProp: [ "receiveTotalAmount", "total", @@ -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