| | |
| | | <el-select |
| | | v-model="patientqueryParams.donorname" |
| | | filterable |
| | | allow-create |
| | | default-first-option |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | |
| | | // pacheckno: "047", |
| | | // checkstatus: 0, |
| | | pfundtaxid: 0, |
| | | departid: 0, |
| | | pageNum: 1, |
| | | pageSize: 10 |
| | | }, |
| | |
| | | handleUploadError() {}, |
| | | // 弹框添加 |
| | | AddDispatchpatients() { |
| | | this.donorchargeorgans = this.donorchargeorgans.concat(this.overallCase); |
| | | console.log(this.donorchargeorgans, "donorchargeorgans"); |
| | | this.donorchargeorgans.forEach(item => { |
| | | CalculationDetail({ id: item.id, fundTaxId: this.form.id }); |
| | | let newArr = this.donorchargeorgans.concat(this.overallCase); |
| | | this.donorchargeorgans = newArr.filter((item, index, self) => { |
| | | return !self.slice(index + 1).some(other => other.id === item.id); |
| | | }); |
| | | |
| | | console.log(this.donorchargeorgans, "donorchargeorgans"); |
| | | if (this.form.id) { |
| | | this.donorchargeorgans.forEach(item => { |
| | | CalculationDetail({ id: item.id, fundTaxId: this.form.id }); |
| | | }); |
| | | } |
| | | this.donorchargeorgans.forEach(item => { |
| | | item.taXmoney = item.pretaxcost - item.taxedcost; |
| | | item.taXmoney = item.taXmoney.toFixed(2); |
| | |
| | | if (this.multipleSelection.length <= selection.length) { |
| | | this.multipleSelection = selection; |
| | | } else { |
| | | console.log(11); |
| | | this.multipleSelection.forEach(item => { |
| | | if (selection.includes(item)) { |
| | | } else { |
| | |
| | | this.title = "新增专家费汇总单"; |
| | | //获取登录者信息 |
| | | getUserProfile().then(res => { |
| | | this.form.username = res.createBy; |
| | | this.form.username = res.data.createBy; |
| | | }); |
| | | }, |
| | | |