From 932d08b7bc5db5c1a4d25353e92f1daa004ee628 Mon Sep 17 00:00:00 2001 From: 18650502300 <18650502300@163.com> Date: Thu, 24 Oct 2024 15:51:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/partner/index.vue | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/src/views/system/partner/index.vue b/src/views/system/partner/index.vue index 0e55322..856ab49 100644 --- a/src/views/system/partner/index.vue +++ b/src/views/system/partner/index.vue @@ -186,23 +186,14 @@ - -<<<<<<<<< Temporary merge branch 1 - + - - + + @@ -440,15 +431,10 @@ export default { let data = { pageNum: 1, pageSize: 30, - } listAgent(this.addDateRange(data)).then(response => { console.log(response,'responseresponseresponse'); this.agentList=response.rows - // this.options = response.rows.map(item => ({ - // value: item.userId, - // label: item.realName+' ' +item.phonenumber - // })); console.log( this.options,' this.options this.options'); }); @@ -590,6 +576,8 @@ export default { this.form.roleIds = response.roleIds[0]; // 取出第一个角色 ID console.log("回显-=====roleIds[0]",response.roleIds[0]) this.inputDividendProportion = this.form.dividendProportion * 100; + console.log("this.form.dividendProportion========",this.form.dividendProportion) + console.log("inputDividendProportion========",this.inputDividendProportion) this.open = true; this.title = "修改系统用户"; this.form.password = ""; @@ -626,7 +614,7 @@ export default { this.form.roleIds = [this.form.roleIds]; console.log("提交roleIds=========="+this.form.roleIds) this.form.dividendProportion = this.inputDividendProportion; // 转换为0.3 - // console.log('保存的分账比例:', this.form.dividendProportion); + console.log('保存的分账比例:', this.form.dividendProportion); this.form.dividendStatus = this.form.dividendStatus === "1" ? 1:0; if (valid) { if (this.form.userId != undefined) {