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

只有慢病才医保审核接口

parent 1698f20b
......@@ -739,6 +739,7 @@ export default {
visitNo: '',
visitDate: '',
jsroundData: {},
ismb:false,
}
},
mounted() {
......@@ -1650,7 +1651,22 @@ export default {
this.shenfenzheng = this.tableData.patient.idCard
this.adminpingzhengma = ''
this.bxxxinfo = {}
const { code, data } = await verifyFeeStatus({
this.ismb=false
this.orders.forEach(element => {
if (element) {
this.ismb=true
}
});
if (!this.ismb) {
if (this.orders.length > 0) {
console.log(this.orders,'ppppppppppppppp')
this.ybjs()
} else {
this.$message.error('请勾选结算类型和待结算的费用清单')
this.yujiesuanload = false
}
}else{
const { code, data } = await verifyFeeStatus({
patient_id: this.patientData.patient_id,
serial_no: this.cost_id.toString(),
})
......@@ -1660,6 +1676,7 @@ export default {
return false
} else {
if (this.orders.length > 0) {
console.log(this.orders,'ppppppppppppppp')
this.ybjs()
} else {
this.$message.error('请勾选结算类型和待结算的费用清单')
......@@ -1667,6 +1684,8 @@ export default {
}
}
}
}
},
// ldjkfsl(){
// if(this.manFeeStatus()){
......@@ -2018,7 +2037,7 @@ export default {
var cost_ids = []
x.slice(0, x.length - 1).forEach(function (element) {
total += element.total * 1 * 1
orders.push(element.group_id)
orders.push(element.settle_type.is_mb)
cost_ids.push(element.serial_no)
costint.push(element)
})
......@@ -2058,7 +2077,7 @@ export default {
var cost_ids = []
array.forEach(function (element) {
total += element.total * 1 * 1
orders.push(element.group_id)
orders.push(element.settle_type.is_mb)
cost_ids.push(element.serial_no)
costint.push(element)
})
......@@ -2098,12 +2117,13 @@ export default {
var cost_ids = []
array.forEach(function (element) {
total += element.total * 1 * 1
orders.push(element.group_id)
orders.push(element.settle_type.is_mb)
cost_ids.push(element.serial_no)
costint.push(element)
})
this.cost_id = cost_ids
console.log(orders,'iiiiiiiiiiiiiiiiiii')
this.orders = orders
this.total = total.toFixed(2)
......
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