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

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

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