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

预结算比例报错,不需要刷卡

parent 92e410a3
...@@ -681,6 +681,11 @@ export default { ...@@ -681,6 +681,11 @@ export default {
name: 'Outpatient', name: 'Outpatient',
data() { data() {
return { return {
MBList:{
MBList_x:'',
MBList_y:''
},
preSettlement:true,
YBData:{ YBData:{
yfdxbzName:'', yfdxbzName:'',
yfdxlb:'' yfdxlb:''
...@@ -1396,6 +1401,7 @@ export default { ...@@ -1396,6 +1401,7 @@ export default {
name: '', name: '',
}, },
}] }]
this.preSettlement=true
this.patientInfo = {} this.patientInfo = {}
this.typeList = [] this.typeList = []
this.costlist = [] this.costlist = []
...@@ -1415,9 +1421,14 @@ export default { ...@@ -1415,9 +1421,14 @@ export default {
}) })
return false return false
} }
// this.yibaoshow = true if (this.preSettlement) {
this.yibaoshowNew = true this.yibaoshowNew = true
this.yujiesuanload = false this.yujiesuanload = false
}else{
selectCardYiboPreselect( this.YBData,this.MBList.MBList_x,this.MBList.MBList_y)
}
// this.yibaoshow = true
} else { } else {
if (!this.zifei_disable) { if (!this.zifei_disable) {
this.$message({ this.$message({
...@@ -1621,6 +1632,7 @@ export default { ...@@ -1621,6 +1632,7 @@ export default {
const _this = this const _this = this
// _this.channels = response.data.settle_type.name // _this.channels = response.data.settle_type.name
this.$message.success('结算成功') this.$message.success('结算成功')
this.preSettlement=true
this.addEventListener() this.addEventListener()
this.saveLoding = false this.saveLoding = false
this.dialogVisible = false this.dialogVisible = false
...@@ -1942,6 +1954,10 @@ export default { ...@@ -1942,6 +1954,10 @@ export default {
}) })
}, },
selectCardYiboPreselect(data, x, y) { selectCardYiboPreselect(data, x, y) {
this.MBList={
MBList_x:x,
MBList_y:y
}
this.YBData=data this.YBData=data
this.YBData.yfdxbzName=data.yfdxbz=='1'?'优抚对象' : ''; this.YBData.yfdxbzName=data.yfdxbz=='1'?'优抚对象' : '';
// 验证违规 // 验证违规
...@@ -2019,6 +2035,9 @@ export default { ...@@ -2019,6 +2035,9 @@ export default {
settle_type: this.selectTableArr[0] ? this.selectTableArr[0].settle_type.code : '', settle_type: this.selectTableArr[0] ? this.selectTableArr[0].settle_type.code : '',
}) })
.then(async res => { .then(async res => {
if (res.code != 200) {
this.preSettlement=false
}
// this.yibaoshowNew=false // this.yibaoshowNew=false
this.bxxxinfo = res.data this.bxxxinfo = res.data
this.bxxxinfo.settle_type = //this.bxxxinfo.settle_type.name this.bxxxinfo.settle_type = //this.bxxxinfo.settle_type.name
...@@ -2094,6 +2113,7 @@ export default { ...@@ -2094,6 +2113,7 @@ export default {
}) })
}) })
.catch(err => { .catch(err => {
this.preSettlement=false
this.moreLoading = false this.moreLoading = false
this.yujiesuanLoading = false this.yujiesuanLoading = false
}) })
...@@ -2331,6 +2351,7 @@ if (this.bxxxinfo.gjzhzf == '' || this.bxxxinfo.gjzhzf == null || this.bxxxinfo. ...@@ -2331,6 +2351,7 @@ if (this.bxxxinfo.gjzhzf == '' || this.bxxxinfo.gjzhzf == null || this.bxxxinfo.
.then(response => { .then(response => {
const _this = this const _this = this
this.$message.success('结算成功') this.$message.success('结算成功')
this.preSettlement=true
this.saveLoding = false this.saveLoding = false
this.dialogVisible = false this.dialogVisible = false
this.sureshow = false this.sureshow = false
......
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