From 504e00da9a9898ac419e97f93fc66cc7c7c6f620 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期三, 28 二月 2024 14:30:25 +0800 Subject: [PATCH] 服务合同-去掉产品为空的判断增加保存时去掉未选择产品的对象 --- src/views/sales/refundForm/index.vue | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/views/sales/refundForm/index.vue b/src/views/sales/refundForm/index.vue index 51638cf..f34499e 100644 --- a/src/views/sales/refundForm/index.vue +++ b/src/views/sales/refundForm/index.vue @@ -185,7 +185,7 @@ let params = {} if (this.addConfig.id) { params = { - sourceID: this.addConfig.id, + sourceId: this.addConfig.id, page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize } @@ -235,16 +235,15 @@ }, // 鏂板缓 addBtnClick() { - this.editConfig.visible = true this.editConfig.title = "鏂板缓" - this.editConfig.infomation = { currency: "浜烘皯甯�" } + this.editConfig.infomation = { currency: "浜烘皯甯�", ...this.addConfig } + this.editConfig.visible = true }, // 缂栬緫 handleClick(row) { - console.log(row) - this.editConfig.visible = true this.editConfig.title = "缂栬緫" - this.editConfig.infomation = { ...row, currency: "浜烘皯甯�", sale_return_nunber: row.Source.number } + this.editConfig.infomation = { ...row, currency: "浜烘皯甯�", sale_return_nunber: row.salesReturn.number } + this.editConfig.visible = true }, // 鍒犻櫎 delClick(rowID) { -- Gitblit v1.8.0