Commit 3bb7631d authored by 任鸿志's avatar 任鸿志

refactor(jiesuan): 优化结算功能和发票打印逻辑

- 修改了多个组件以支持发票打印功能
- 优化了结算流程,增加了对异地医保和长居异地人员的处理
- 调整了费用计算逻辑,考虑了个人自付金额
- 优化了界面布局和样式
parent 0b3e0c25
This diff is collapsed.
...@@ -474,6 +474,7 @@ import SelectCard from '@/components/SelectCard' ...@@ -474,6 +474,7 @@ import SelectCard from '@/components/SelectCard'
import ReadcardsNew from '@/components/ReadcardsNew' import ReadcardsNew from '@/components/ReadcardsNew'
export default { export default {
components: { components: {
invoicepost,
Cardlist, Cardlist,
Readcards, Readcards,
editProp1, editProp1,
......
...@@ -409,6 +409,7 @@ ...@@ -409,6 +409,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"></invoicepost>
<!-- loaidng 动画 --> <!-- loaidng 动画 -->
<div v-if="false" class="grey-cloth" id="loading"> <div v-if="false" class="grey-cloth" id="loading">
<div id="img"> <div id="img">
...@@ -434,6 +435,7 @@ ...@@ -434,6 +435,7 @@
</div> </div>
</template> </template>
<script> <script>
import invoicepost from '@/components/invoicepost'
import Cardlist from '@/components/SFCCardlist' import Cardlist from '@/components/SFCCardlist'
import Readcards from '@/components/ReadcardsSFC' import Readcards from '@/components/ReadcardsSFC'
import editProp1 from './components/editProp' //修改自付比例 import editProp1 from './components/editProp' //修改自付比例
...@@ -446,6 +448,7 @@ import ReadcardsNew from '@/components/ReadcardsNewSFC' ...@@ -446,6 +448,7 @@ import ReadcardsNew from '@/components/ReadcardsNewSFC'
export default { export default {
components: { components: {
Cardlist, Cardlist,
invoicepost,
Readcards, Readcards,
editProp1, editProp1,
SelectCard, SelectCard,
...@@ -454,6 +457,8 @@ export default { ...@@ -454,6 +457,8 @@ export default {
name: 'Outpatient', name: 'Outpatient',
data() { data() {
return { return {
invoicepostData:{},
invoicepostVisible:false,
checked: false, checked: false,
moreLoading: false, moreLoading: false,
moreshowdata: { moreshowdata: {
...@@ -1738,8 +1743,10 @@ export default { ...@@ -1738,8 +1743,10 @@ export default {
this.fullscreenLoading = false this.fullscreenLoading = false
this.jeizhishow = false this.jeizhishow = false
const jshidprint = response.data const jshidprint = response.data
this.invoicepostData=response.data
this.invoicepostVisible=true
// setTimeout(function () { // setTimeout(function () {
_this.printcard(jshidprint) // _this.printcard(jshidprint)
// }, 5000) // }, 5000)
//刷新列表 //刷新列表
...@@ -2302,6 +2309,8 @@ export default { ...@@ -2302,6 +2309,8 @@ export default {
.then(response => { .then(response => {
const _this = this const _this = this
this.$message.success('结算成功') this.$message.success('结算成功')
this.invoicepostData=response.data
this.invoicepostVisible=true
this.dialogVisible = false this.dialogVisible = false
this.sureshow = false this.sureshow = false
this.loadingapplyList = false this.loadingapplyList = false
...@@ -2310,7 +2319,7 @@ export default { ...@@ -2310,7 +2319,7 @@ export default {
this.jeizhishow = false this.jeizhishow = false
const jshidprint = response.data const jshidprint = response.data
// setTimeout(function () { // setTimeout(function () {
_this.printcard(jshidprint) // _this.printcard(jshidprint)
// }, 5000) // }, 5000)
//刷新列表 //刷新列表
......
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