From f8a755f1ea3218575198d605795d72e701bdbe28 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 21 三月 2024 11:12:00 +0800 Subject: [PATCH] 11 --- src/views/project/tallage/computingBill/index.vue | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/project/tallage/computingBill/index.vue b/src/views/project/tallage/computingBill/index.vue index 889e1e9..ae95a33 100644 --- a/src/views/project/tallage/computingBill/index.vue +++ b/src/views/project/tallage/computingBill/index.vue @@ -733,7 +733,7 @@ }, handleQuery() {}, resetQuery() { - this.patientqueryParams.donorname = null; + this.patientqueryParams.donorno = null; this.patientqueryParams.donorchargeid = null; this.handleAddpatient(); }, @@ -916,12 +916,15 @@ if (valid) { this.$modal.loading("姝e湪鎻愪氦锛岃绋嶅�欙紒"); //淇濆瓨 + console.log(1); this.form.serviceFunds = this.donorchargeorgans; + console.log(2); if (this.form.id != null) { updateFundtax(this.form).then(res1 => { if (res1.code == 200) { + console.log(3); this.$modal.msgSuccess("淇濆瓨鎴愬姛锛�"); - getFundtax(this.curId).then(response => { + getFundtax(this.form.id).then(response => { this.form = response.data; if (this.form.serviceFunds[0]) { this.donorchargeorgans = this.form.serviceFunds; @@ -941,10 +944,9 @@ } else { addFundtax(this.form).then(response => { if (response.code == 200) { - this.form.id = response.data.fundTaxId; this.$modal.msgSuccess("鏂板鎴愬姛锛�"); - getFundtax(response.msg).then(response => { - this.form = response.data; + getFundtax(response.data.fundTaxId).then(res => { + this.form = res.data; if (this.form.serviceFunds[0]) { this.donorchargeorgans = this.form.serviceFunds; this.donorchargeorgans.forEach(item => { -- Gitblit v1.9.3