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

feat(outpatientCharging): 添加多医生账单提醒功能

- 在处理账单时,增加对多个医生开立费用的检查
- 如果账单中包含多个医生开立的费用,显示警告消息提醒用户
parent bd44cbcf
......@@ -2170,6 +2170,12 @@ export default {
let that = this
let x = array
if (array.length > 1) {
if (!(array.every(item => item.doct_name === arr[0].doct_name))) {
that.$message({
message: '本次勾选账单,含多个医生开立的费用',
type: 'warning',
})
}
var set = new Set()
for (var i = 0; i < array.length; i++) {
set.add(array[i].distinct_no)
......
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