From 789a2ddb815dbcac398928b32a048a490a5b414d Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 21 十二月 2023 19:00:17 +0800 Subject: [PATCH] 收款计划的收款计划负责人默认选中登录人的逻辑,之前是name修改为id,切初始的时候循环添加到列表中 --- src/views/sales/refundForm/index.vue | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/views/sales/refundForm/index.vue b/src/views/sales/refundForm/index.vue index 77593ed..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.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