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

refactor(components): 重构 ReadcardsNewSFC 组件

- 优化了组件的样式和布局
- 调整了部分变量和方法的命名
- 移除了冗余的注释和空行
- 统一了代码格式和风格
parent 44dddb11
This diff is collapsed.
...@@ -550,7 +550,7 @@ ...@@ -550,7 +550,7 @@
<!-- 读卡 --> <!-- 读卡 -->
<Readcards :isOpenCarded="carddialogFormVisible" @getyibaoinfo="getyibaoinfo" @closeReadcard="closeReadcard" /> <Readcards :isOpenCarded="carddialogFormVisible" @getyibaoinfo="getyibaoinfo" @closeReadcard="closeReadcard" />
<!-- 确认结算-新-不选择卡类型 --> <!-- 确认结算-新-不选择卡类型 -->
<ReadcardsNew :isOpenCarded="yibaoshowNew" :patientcard="form" :patientData="patientData" :selectTableArr="selectTableArr" @getyibaoinfo="selectCardYiboPreselect" @close="closeSelectCard" /> <ReadcardsNew :isOpenCarded="yibaoshowNew" :patientcard="form" :patientData="patientData" :selectTableArr="selectTableArr" @getyibaoinfo="selectCardYiboPreselect" @close="closeSelectCard" />
<invoicepost :isOpenCarded="invoicepostVisible" :patientData="invoicepostData" @success="invoicepostSuccess"></invoicepost> <invoicepost :isOpenCarded="invoicepostVisible" :patientData="invoicepostData" @success="invoicepostSuccess"></invoicepost>
<!-- loaidng 动画 --> <!-- loaidng 动画 -->
<div v-if="false" class="grey-cloth" id="loading"> <div v-if="false" class="grey-cloth" id="loading">
...@@ -1815,7 +1815,7 @@ export default { ...@@ -1815,7 +1815,7 @@ export default {
// }, // },
cardtype(type) { cardtype(type) {
this.invoicepostVisible=true // this.invoicepostVisible=true
this.patientInfo = {} this.patientInfo = {}
this.typeList = [] this.typeList = []
this.costlist = [] this.costlist = []
...@@ -2501,6 +2501,7 @@ export default { ...@@ -2501,6 +2501,7 @@ 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(res => { .then(res => {
// this.yibaoshowNew=false
this.bxxxinfo = res.data this.bxxxinfo = res.data
this.bxxxinfo.his_deduct_amount = 0 this.bxxxinfo.his_deduct_amount = 0
this.bxxxinfo.settle_type = this.bxxxinfo.settle_type =
...@@ -2589,16 +2590,18 @@ export default { ...@@ -2589,16 +2590,18 @@ export default {
}) })
}) })
.catch(err => { .catch(err => {
// this.yibaoshowNew=false
this.moreLoading = false this.moreLoading = false
this.yujiesuanLoading = false this.yujiesuanLoading = false
}) })
.finally(() => { .finally(() => {
this.yibaoshowNew=false
this.yujiesuanLoading = false this.yujiesuanLoading = false
this.closeSelectCard() this.closeSelectCard()
}) })
}, },
closeSelectCard() { closeSelectCard() {
this.yibaoshowNew = false // this.yibaoshowNew = false
}, },
// 自费预结算 // 自费预结算
zfBeforePre() { zfBeforePre() {
......
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