From 5f5425c1be29b82205f19b7779cda67cfcc3a6e5 Mon Sep 17 00:00:00 2001 From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com> Date: 星期三, 19 六月 2024 17:53:26 +0800 Subject: [PATCH] qxtj --- src/views/system/tijianall/index.vue | 40 +++++++++++++++++++++++++++++++++++++++- 1 files changed, 39 insertions(+), 1 deletions(-) diff --git a/src/views/system/tijianall/index.vue b/src/views/system/tijianall/index.vue index ab2dcc4..bee40f1 100644 --- a/src/views/system/tijianall/index.vue +++ b/src/views/system/tijianall/index.vue @@ -614,7 +614,12 @@ <el-button type="primary" @click="Package" size="mini" >閫夋嫨濂楅</el-button > - + <el-button + type="primary" + @click="resetpackage" + size="mini" + >閲嶇疆濂楅</el-button + > <el-button type="primary" @click="submitPrice" @@ -1431,6 +1436,39 @@ // return true; // } // }, + resetpackage(){ + if (this.form.cusIdcard) { + var cusId = this.form.cusIdcard; + } else { + this.$message.warning("璇峰厛濉啓淇℃伅锛屽啀閫変綋妫�鍐呭"); + } + let _this = this; + _this.pacId = ""; + this.proIds = []; + let data = { + cusId, + pacId: _this.pacId, + proIds: this.proIds, + }; + getaddtTransition(data).then((response) => { + if (response.code === 200) { + let cusId = this.form.cusIdcard; + this.proIds = []; + getTransitionList(cusId).then((response) => { + this.tableData1 = response.data; + this.TotalPrice1 = 0; + if (this.tableData1.length>=1) { + this.list1 = false; + this.list3 = true; + } else { + this.list1 = true; + + this.TotalPrice = "0.00"; + } + }); + } + }); + }, Package() { this.taocan = true; -- Gitblit v1.8.0