|
|
@@ -8,9 +8,9 @@
|
|
|
</template>
|
|
|
<el-descriptions-item label="姓名">{{ huanZheXinXi.name }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="住院号">
|
|
|
- <el-input size="mini" style="width: 120px" v-model="huanZheXinXi.inpatientNo" @keyup.enter="chaXunWeiGuiClick"></el-input>
|
|
|
+ <el-input size="mini" style="width: 120px" v-model="huanZheXinXi.inpatientNo" @keyup.enter="chaXunWeiGuiClick(true)"></el-input>
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
- <el-button @click="chaXunWeiGuiClick">查询</el-button>
|
|
|
+ <el-button @click="chaXunWeiGuiClick(true)">查询</el-button>
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item label="住院次数">{{ huanZheXinXi.admissTimes }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="未匹配">{{ weiPiPei.data.length }} 条</el-descriptions-item>
|
|
|
@@ -322,9 +322,8 @@ export default {
|
|
|
})
|
|
|
}, 10)
|
|
|
} else {
|
|
|
- chaXunWeiGuiClick()
|
|
|
+ chaXunWeiGuiClick(false)
|
|
|
}
|
|
|
- console.log(huanZheXinXi.value.openDialog)
|
|
|
}
|
|
|
|
|
|
const chaoZuoZhiNan = ref(false)
|
|
|
@@ -336,15 +335,14 @@ export default {
|
|
|
})
|
|
|
.then(() => {
|
|
|
yiZhuTuiFeiPiPei(huanZheXinXi.value.inpatientNo, huanZheXinXi.value.admissTimes, store.state.user.info.deptCode).then((res) => {
|
|
|
- chaXunWeiGuiClick()
|
|
|
+ chaXunWeiGuiClick(false)
|
|
|
})
|
|
|
})
|
|
|
.catch(() => {})
|
|
|
}
|
|
|
|
|
|
- const chaXunWeiGuiClick = () => {
|
|
|
+ const chaXunWeiGuiClick = (val) => {
|
|
|
weiGuiFeiYongFenXi(huanZheXinXi.value.inpatientNo, huanZheXinXi.value.deptCode).then((res) => {
|
|
|
- console.log(res)
|
|
|
huanZheXinXi.value.inpatientNo = res.inpatientNo
|
|
|
huanZheXinXi.value.admissTimes = res.admissTimes
|
|
|
huanZheXinXi.value.name = res.name
|
|
|
@@ -362,6 +360,11 @@ export default {
|
|
|
} else {
|
|
|
qingKong()
|
|
|
ctx.emit('open', huanZheXinXi.value.openDialog)
|
|
|
+ if (val) {
|
|
|
+ ElMessage.success({
|
|
|
+ message: '该患者没有违规的费用',
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if (weiPiPei.value.data.length === 0 && weiGuiFeiYong.value.data.length > 0) {
|