Commit d315752f authored by 任鸿志's avatar 任鸿志

feat(outpatientCharging): 更新病人负担金额相关功能

- 禁用病人负担金额输入框,防止手动修改
- 初始化病人负担金额相关字段为0
- 添加共济支付相关逻辑和字段
- 优化数据格式,确保数值类型字段不为空
parent d2f59b75
......@@ -359,7 +359,7 @@
<el-form-item>
<div class="form_item">
<el-tag class="label" color="#E7EEFF" style="color: #1a5bfd; font-weight: 600"><span>病人负担金额</span></el-tag>
<el-input v-model="bxxxinfo.patient_burden"></el-input>
<el-input v-model="bxxxinfo.patient_burden" disabled></el-input>
</div>
</el-form-item>
<el-form-item>
......@@ -761,17 +761,21 @@ export default {
settle_type: {
name: '',
},
patient_burden:0,
his_deduct_amount:0,
grzhzf:0,
djf: 0,
zhye: 0,
brxm: '',
brxb: '',
ynzhye: '',
ybzhye: '',
ynzhye: 0,
ybzhye: 0,
gjzhye: 0,
jezj: '',
ydgzzf: '',
ybfdje: '',
brfdje: '',
ydgzzf: 0,
ybfdje: 0,
brfdje: 0,
gjzhzf: 0,
gzzf: '',
ynzhzf: '',
......@@ -779,13 +783,13 @@ export default {
},
carddialogFormVisible: false,
form: {
djf: '',
djf: 0,
admin_djf: '',
grzhzf:0,
ybkh: '',
sfzh: '',
jbjg: '',
dwmc: '',
djf: 0,
zhye: '',
brxm: '',
brxb: '',
......@@ -793,14 +797,14 @@ export default {
ybzhye: '',
gjzhye: '',
jezj: '',
ydgzzf: '',
ybfdje: '',
brfdje: '',
ydgzzf: 0,
ybfdje: 0,
brfdje: 0,
gzzf: '',
ynzhzf: '',
xjzf: '',
},
dialogVisible: false,
dialogVisible: true,
patientInfo: {
channel: '',
yblx: '',
......@@ -1057,6 +1061,16 @@ export default {
//当共济支付开关打开时,其他额度根据共济变动
gjzhifu(e) {
this.$forceUpdate()
if(this.bxxxinfo.his_deduct_amount==''){
this.bxxxinfo.his_deduct_amount = 0
}
if (this.bxxxinfo.gjzhzf=='') {
this.bxxxinfo.gjzhzf=0
}
if (this.bxxxinfo.grzhzf=='') {
this.bxxxinfo.grzhzf=0
}
let chongzhi = this.source_pay_amount * 1 + this.xj_amount * 1
this.form.djf =
// this.round(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment