From 1f549a140423a5afeb496b467cd21d23659d88a0 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 24 五月 2024 17:34:37 +0800 Subject: [PATCH] 11 --- src/views/project/tallage/computingBill/index.vue | 58 ++++++++++++++++++++++++++++++++++++---------------------- 1 files changed, 36 insertions(+), 22 deletions(-) diff --git a/src/views/project/tallage/computingBill/index.vue b/src/views/project/tallage/computingBill/index.vue index 2c48bfa..60cf63e 100644 --- a/src/views/project/tallage/computingBill/index.vue +++ b/src/views/project/tallage/computingBill/index.vue @@ -118,7 +118,7 @@ prop="index" align="center" fixed - label="妗堜緥鎹愮尞鑰�" + label="搴忓彿" width="120" > </el-table-column> @@ -306,19 +306,29 @@ > <el-form-item label="鎹愮尞妗堜緥" prop="status"> <el-select - v-model="patientqueryParams.donorno" + v-model="patientqueryParams.donorname" filterable + allow-create + default-first-option placeholder="璇烽�夋嫨" > <el-option v-for="item in donorchargeanlList" :key="item.id" :label="item.name" - :value="item.id" + :value="item.name" > </el-option> - </el-select> </el-form-item - ><el-form-item label="绠楃◣鐘舵��" prop="status"> + </el-select> + </el-form-item> + <el-form-item label="鐢宠浜�" prop="name"> + <el-input + v-model="patientqueryParams.pausername" + placeholder="璇疯緭鍏ョ敵璇蜂汉濮撳悕" + @keyup.enter.native="handleAddpatient" + /> + </el-form-item> + <!-- <el-form-item label="绠楃◣鐘舵��" prop="status"> <el-select v-model="patientqueryParams.istax" filterable @@ -332,7 +342,7 @@ > </el-option> </el-select> - </el-form-item> + </el-form-item> --> <el-form-item> <el-button @@ -581,8 +591,8 @@ data() { return { swgatheringlist: [ - { label: "鏈畻绋�", value: 0 }, - { label: "宸茬畻绋�", value: 1 } + { label: "宸茬畻绋�", value: 1 }, + { label: "鏈畻绋�", value: 0 } ], gatheringlist: [ { label: "鏈粯娆�", value: "0" }, @@ -594,9 +604,9 @@ overallCase: [], patientqueryParams: { paApplyType: 1, - pacheckno: "047", - checkstatus: 0, - istax: 0, + // pacheckno: "047", + // checkstatus: 0, + pfundtaxid: 0, pageNum: 1, pageSize: 10 }, @@ -783,8 +793,8 @@ }, handleQuery() {}, resetQuery() { - this.patientqueryParams.donorno = null; - this.patientqueryParams.donorchargeid = null; + this.patientqueryParams.pausername = null; + this.patientqueryParams.donorname = null; this.handleAddpatient(); }, handleUploadError() {}, @@ -970,11 +980,11 @@ }); }, - /** 閲嶇疆鎸夐挳鎿嶄綔 */ - resetQuery() { - this.resetForm("queryForm"); - this.handleQuery(); - }, + // /** 閲嶇疆鎸夐挳鎿嶄綔 */ + // resetQuery() { + // this.resetForm("queryForm"); + // this.handleQuery(); + // }, // 鍙栨秷鎸夐挳 cancel() { @@ -987,7 +997,7 @@ this.title = "鏂板涓撳璐规眹鎬诲崟"; //鑾峰彇鐧诲綍鑰呬俊鎭� getUserProfile().then(res => { - this.form.username = res.createBy; + this.form.username = res.data.createBy; }); }, @@ -1015,9 +1025,10 @@ this.form = response.data; if (this.form.serviceFunds[0]) { this.donorchargeorgans = this.form.serviceFunds; - this.donorchargeorgans.forEach(item => { + this.donorchargeorgans.forEach((item, index) => { item.taXmoney = item.pretaxcost - item.taxedcost; item.taXmoney = item.taXmoney.toFixed(2); + item.index = index + 1; this.accumulation(); }); } @@ -1043,9 +1054,10 @@ this.form = response.data; if (this.form.serviceFunds[0]) { this.donorchargeorgans = this.form.serviceFunds; - this.donorchargeorgans.forEach(item => { + this.donorchargeorgans.forEach((item, index) => { item.taXmoney = item.pretaxcost - item.taxedcost; item.taXmoney = item.taXmoney.toFixed(2); + item.index = index + 1; this.accumulation(); }); } @@ -1064,9 +1076,11 @@ this.form = res.data; if (this.form.serviceFunds[0]) { this.donorchargeorgans = this.form.serviceFunds; - this.donorchargeorgans.forEach(item => { + this.donorchargeorgans.forEach((item, index) => { item.taXmoney = item.pretaxcost - item.taxedcost; item.taXmoney = item.taXmoney.toFixed(2); + item.index = index + 1; + this.accumulation(); }); } -- Gitblit v1.9.3