Commit 76ca0427 authored by 任鸿志's avatar 任鸿志

省异地个账可以输入金额

parent 374ab221
...@@ -3,8 +3,7 @@ ...@@ -3,8 +3,7 @@
<el-card class="userInfo_box" v-if="!titleshow"> <el-card class="userInfo_box" v-if="!titleshow">
<div class="boxmain"> <div class="boxmain">
<div class="btslist" v-if="!cardNoShow"> <div class="btslist" v-if="!cardNoShow">
<el-button @click="cardtype('1')" <el-button @click="cardtype('1')" style="color: #3d7ff5; width: 97px; font-size: 17px; font-weight: 600; border-radius: 8px">读卡</el-button>
style="color: #3d7ff5; width: 97px; font-size: 17px; font-weight: 600; border-radius: 8px">读卡</el-button>
</div> </div>
<div class="userInfo_div"> <div class="userInfo_div">
<div class="userInfo_div_1"> <div class="userInfo_div_1">
...@@ -23,18 +22,16 @@ ...@@ -23,18 +22,16 @@
</div> </div>
</div> </div>
</el-card> </el-card>
<div style="display: flex; justify-content: space-around; margin-top: 10px" v-loading="yujiesuanLoading" <div style="display: flex; justify-content: space-around; margin-top: 10px" v-loading="yujiesuanLoading" element-loading-text="预结算中...">
element-loading-text="预结算中...">
<div class="box-card" style="width: 49%"> <div class="box-card" style="width: 49%">
<div class="box_card_title"> <div class="box_card_title">
<div>结算清单</div> <div>结算清单</div>
<div style="font-weight: 500;" v-if="isGS">工商时间 <div style="font-weight: 500" v-if="isGS">
<el-date-picker size="mini" v-model="GSdatatime" type="date" value-format="yyyy-MM-dd" 工商时间
placeholder="选择日期"> <el-date-picker size="mini" v-model="GSdatatime" type="date" value-format="yyyy-MM-dd" placeholder="选择日期"> </el-date-picker>
</el-date-picker>
</div> </div>
<div style="display: flex"> <div style="display: flex">
<el-checkbox v-model="gz_name" style="margin-right: 10px;">转为个账账单</el-checkbox> <el-checkbox v-model="gz_name" style="margin-right: 10px">转为个账账单</el-checkbox>
<el-checkbox v-model="man_name">转为自费账单</el-checkbox> <el-checkbox v-model="man_name">转为自费账单</el-checkbox>
<!-- <div style="line-height: 40px">结算类型</div> <!-- <div style="line-height: 40px">结算类型</div>
<div class="selectinput" style="margin-left: 20px"> <div class="selectinput" style="margin-left: 20px">
...@@ -46,34 +43,35 @@ ...@@ -46,34 +43,35 @@
</div> </div>
<div class="content-left-type" style="height: 30px; line-height: 30px; padding: 0 10px"> <div class="content-left-type" style="height: 30px; line-height: 30px; padding: 0 10px">
<el-radio-group v-model="patientInfo.yblx" size="medium" @input="seletei"> <el-radio-group v-model="patientInfo.yblx" size="medium" @input="seletei">
<el-radio :label="item.settle_type.name" v-for="(item, index) in typeList" :key="index">{{ <el-radio :label="item.settle_type.name" v-for="(item, index) in typeList" :key="index">{{ item.settle_type.name }}</el-radio>
item.settle_type.name }}</el-radio>
</el-radio-group> </el-radio-group>
</div> </div>
<el-table ref="multipleTableClinicRoom" @selection-change="handleSelectionChange" :data="tableDataList" <el-table
tooltip-effect="dark" style="width: 100%; height: calc(100vh - 300px)" ref="multipleTableClinicRoom"
:header-cell-style="{ background: '#E7EEFF', color: '#333333' }" v-loading="loading" @selection-change="handleSelectionChange"
element-loading-text="拼命加载中"> :data="tableDataList"
tooltip-effect="dark"
style="width: 100%; height: calc(100vh - 300px)"
:header-cell-style="{ background: '#E7EEFF', color: '#333333' }"
v-loading="loading"
element-loading-text="拼命加载中"
>
<template slot="empty"> <template slot="empty">
<el-empty :image="tempsrc" :image-size="300" description="暂无数据"></el-empty> <el-empty :image="tempsrc" :image-size="300" description="暂无数据"></el-empty>
</template> </template>
<el-table-column align="center" type="selection" width="45"> </el-table-column> <el-table-column align="center" type="selection" width="45"> </el-table-column>
<el-table-column prop="occurrence_dept_name" label="开单科室" :show-overflow-tooltip="true"> <el-table-column prop="occurrence_dept_name" label="开单科室" :show-overflow-tooltip="true"> </el-table-column>
</el-table-column> <el-table-column prop="doct_name" label="医生姓名" width="110" :show-overflow-tooltip="true"> </el-table-column>
<el-table-column prop="doct_name" label="医生姓名" width="110" :show-overflow-tooltip="true">
</el-table-column>
<!-- <el-table-column prop="serial_no" label="付数" width="110"> </el-table-column> --> <!-- <el-table-column prop="serial_no" label="付数" width="110"> </el-table-column> -->
<!-- <el-table-column label="患者ID"> <!-- <el-table-column label="患者ID">
<template> <template>
<span>{{ tableData.patient.id }}</span> <span>{{ tableData.patient.id }}</span>
</template> </template>
</el-table-column> --> </el-table-column> -->
<el-table-column prop="occurrence_time" label="费用发生日期" width="130" :show-overflow-tooltip="true"> <el-table-column prop="occurrence_time" label="费用发生日期" width="130" :show-overflow-tooltip="true"> </el-table-column>
</el-table-column>
<el-table-column prop="visit_no" label="就诊序号" :show-overflow-tooltip="true"> </el-table-column> <el-table-column prop="visit_no" label="就诊序号" :show-overflow-tooltip="true"> </el-table-column>
<el-table-column prop="serial_no" label="费用流水号" width="100" :show-overflow-tooltip="true"> <el-table-column prop="serial_no" label="费用流水号" width="100" :show-overflow-tooltip="true"> </el-table-column>
</el-table-column>
<el-table-column prop="total" align="center" label="总金额" width="110"> </el-table-column> <el-table-column prop="total" align="center" label="总金额" width="110"> </el-table-column>
</el-table> </el-table>
</div> </div>
...@@ -87,9 +85,15 @@ ...@@ -87,9 +85,15 @@
<!-- <div class="content-left-type" style="height: 30px; line-height: 30px"></div> --> <!-- <div class="content-left-type" style="height: 30px; line-height: 30px"></div> -->
<el-table :data="costlist" tooltip-effect="dark" <el-table
:header-cell-style="{ background: '#E7EEFF', color: '#333333' }" style="height: calc(100vh - 300px)" :data="costlist"
:cell-style="styleBack" v-loading="loading2" element-loading-text="拼命加载中"> tooltip-effect="dark"
:header-cell-style="{ background: '#E7EEFF', color: '#333333' }"
style="height: calc(100vh - 300px)"
:cell-style="styleBack"
v-loading="loading2"
element-loading-text="拼命加载中"
>
<template slot="empty"> <template slot="empty">
<el-empty :image="tempsrc" :image-size="300" description="暂无数据"></el-empty> <el-empty :image="tempsrc" :image-size="300" description="暂无数据"></el-empty>
</template> </template>
...@@ -102,17 +106,14 @@ ...@@ -102,17 +106,14 @@
<div> <div>
<span v-if="scope.row.zfbl_desc.length <= 1">{{ scope.row.zfbl }}</span> <span v-if="scope.row.zfbl_desc.length <= 1">{{ scope.row.zfbl }}</span>
<!-- <el-input v-model="scope.row.zfbl" type="text" ref="zifu" @focus="savefocus(scope.row)"></el-input> --> <!-- <el-input v-model="scope.row.zfbl" type="text" ref="zifu" @focus="savefocus(scope.row)"></el-input> -->
<el-select v-model="scope.row.zfbl" placeholder="请选择" @change="savebtn(scope.row)" <el-select v-model="scope.row.zfbl" placeholder="请选择" @change="savebtn(scope.row)" v-else>
v-else> <el-option v-for="(value, key, index) in scope.row.zfbl_desc" :key="key" :label="key" :value="key">
<el-option v-for="(value, key, index) in scope.row.zfbl_desc" :key="key"
:label="key" :value="key">
<el-tooltip :content="value" placement="top" effect="dark"> <el-tooltip :content="value" placement="top" effect="dark">
<span>{{ key }}</span> <span>{{ key }}</span>
</el-tooltip> </el-tooltip>
</el-option> </el-option>
</el-select> </el-select>
<el-button size="mini" type="primary" v-if="seemodel == scope.row.id" <el-button size="mini" type="primary" v-if="seemodel == scope.row.id" @click.stop="savebtn(scope.row)">保存</el-button>
@click.stop="savebtn(scope.row)">保存</el-button>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
...@@ -130,16 +131,14 @@ ...@@ -130,16 +131,14 @@
<span>¥{{ total }}</span> <span>¥{{ total }}</span>
</div> </div>
<!-- <el-checkbox v-model="checked" style="margin-left: 100px;">自费结算</el-checkbox>--> <!-- <el-checkbox v-model="checked" style="margin-left: 100px;">自费结算</el-checkbox>-->
<el-button class="jiesuan_btn" type="primary" @click="jiesuan" <el-button class="jiesuan_btn" type="primary" @click="jiesuan" style="margin-left: 100px; width: 80px; z-index: 99" v-loading="yujiesuanload">确认结算</el-button>
style="margin-left: 100px; width: 80px; z-index: 99" v-loading="yujiesuanload">确认结算</el-button>
</div> </div>
<el-dialog title="提示" :visible.sync="dialogVisible" width="70%" :close-on-click-modal="false"> <el-dialog title="提示" :visible.sync="dialogVisible" width="70%" :close-on-click-modal="false">
<div slot="title" class="" style="border-bottom: 1px solid #e6e6e6; margin-bottom: 10px"> <div slot="title" class="" style="border-bottom: 1px solid #e6e6e6; margin-bottom: 10px">
<span class="titles" style="color: #484848">结算确认</span><span style="color: #666666">( 姓名:{{ <span class="titles" style="color: #484848">结算确认</span
patientData.name }} ><span style="color: #666666"
<span style="margin: 0px 10px"> 门诊号码: {{ patientData.patient_id }} </span>病人ID:{{ >( 姓名:{{ patientData.name }} <span style="margin: 0px 10px"> 门诊号码: {{ patientData.patient_id }} </span>病人ID:{{ patientData.id_card }}
patientData.id_card }}
<span style="color: red">{{ selectTableArr[0] ? selectTableArr[0].settle_type.name : '' }}</span> <span style="color: red">{{ selectTableArr[0] ? selectTableArr[0].settle_type.name : '' }}</span>
</span> </span>
...@@ -147,8 +146,7 @@ ...@@ -147,8 +146,7 @@
</div> </div>
<div style="position: relative"> <div style="position: relative">
<div style="" class="abc"> <div style="" class="abc">
<el-form ref="form2" size="mini" :model="form" element-loading-text="结算中,请稍后..." <el-form ref="form2" size="mini" :model="form" element-loading-text="结算中,请稍后..." element-loading-spinner="el-icon-loading">
element-loading-spinner="el-icon-loading">
<el-card style="width: 100%; overflow: auto" class="fullbox"> <el-card style="width: 100%; overflow: auto" class="fullbox">
<div> <div>
<div> <div>
...@@ -164,8 +162,7 @@ ...@@ -164,8 +162,7 @@
<el-form-item> <el-form-item>
<div class="form_item"> <div class="form_item">
<el-tag class="label" color="#E7EEFF">人员类别</el-tag> <el-tag class="label" color="#E7EEFF">人员类别</el-tag>
<el-input v-model="form.rqlbName" <el-input v-model="form.rqlbName" disabled></el-input>
disabled></el-input>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
...@@ -204,15 +201,13 @@ ...@@ -204,15 +201,13 @@
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<div class="form_item"> <div class="form_item">
<el-tag class="label" color="#E7EEFF" <el-tag class="label" color="#E7EEFF" style="color: #1a5bfd; font-weight: 600">院内账户余额</el-tag>
style="color: #1a5bfd; font-weight: 600">院内账户余额</el-tag>
<el-input v-model="bxxxinfo.cash_balance" disabled></el-input> <el-input v-model="bxxxinfo.cash_balance" disabled></el-input>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<div class="form_item"> <div class="form_item">
<el-tag class="label" color="#E7EEFF" <el-tag class="label" color="#E7EEFF" style="color: #1a5bfd; font-weight: 600">医保账户余额</el-tag>
style="color: #1a5bfd; font-weight: 600">医保账户余额</el-tag>
<el-input v-model="bxxxinfo.personal_balance" disabled></el-input> <el-input v-model="bxxxinfo.personal_balance" disabled></el-input>
</div> </div>
</el-form-item> </el-form-item>
...@@ -223,8 +218,7 @@ ...@@ -223,8 +218,7 @@
<el-form-item> <el-form-item>
<div class="form_item"> <div class="form_item">
<el-tag class="label" color="#E7EEFF">结算类型</el-tag> <el-tag class="label" color="#E7EEFF">结算类型</el-tag>
<el-input <el-input v-model="bxxxinfo.settle_type.name" disabled></el-input>
v-model="bxxxinfo.settle_type.name" disabled></el-input>
</div> </div>
</el-form-item> </el-form-item>
...@@ -329,22 +323,19 @@ ...@@ -329,22 +323,19 @@
<div class="boxmain"> <div class="boxmain">
<el-form-item> <el-form-item>
<div class="form_item"> <div class="form_item">
<el-tag class="label" color="#E7EEFF" <el-tag class="label" color="#E7EEFF" style="color: #1a5bfd; font-weight: 600"><span>金额总计</span></el-tag>
style="color: #1a5bfd; font-weight: 600"><span>金额总计</span></el-tag>
<el-input v-model="bxxxinfo.total" disabled></el-input> <el-input v-model="bxxxinfo.total" disabled></el-input>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<div class="form_item"> <div class="form_item">
<el-tag class="label" color="#E7EEFF" <el-tag class="label" color="#E7EEFF" style="color: #1a5bfd; font-weight: 600">医保负担金额</el-tag>
style="color: #1a5bfd; font-weight: 600">医保负担金额</el-tag>
<el-input v-model="bxxxinfo.insurance_burden" disabled></el-input> <el-input v-model="bxxxinfo.insurance_burden" disabled></el-input>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<div class="form_item"> <div class="form_item">
<el-tag class="label" color="#E7EEFF" <el-tag class="label" color="#E7EEFF" style="color: #1a5bfd; font-weight: 600">异地个账支付</el-tag>
style="color: #1a5bfd; font-weight: 600">异地个账支付</el-tag>
<el-input v-model="bxxxinfo.personal_pay_syd" disabled></el-input> <el-input v-model="bxxxinfo.personal_pay_syd" disabled></el-input>
</div> </div>
</el-form-item> </el-form-item>
...@@ -353,25 +344,20 @@ ...@@ -353,25 +344,20 @@
<div class="boxmain"> <div class="boxmain">
<el-form-item> <el-form-item>
<div class="form_item"> <div class="form_item">
<el-tag class="label" color="#E7EEFF" <el-tag class="label" color="#E7EEFF" style="color: #1a5bfd; font-weight: 700"><span>病人负担金额</span></el-tag>
style="color: #1a5bfd; font-weight: 700"><span>病人负担金额</span></el-tag>
<el-input v-model="bxxxinfo.patient_burden"></el-input> <el-input v-model="bxxxinfo.patient_burden"></el-input>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<div class="form_item"> <div class="form_item">
<el-tag class="label" color="#E7EEFF" <el-tag class="label" color="#E7EEFF" style="color: #1a5bfd; font-weight: 600">共济账户支付</el-tag>
style="color: #1a5bfd; font-weight: 600">共济账户支付</el-tag> <el-input v-model="bxxxinfo.gjzhzf" type="number" @input="gjzhifu"></el-input>
<el-input v-model="bxxxinfo.gjzhzf" type="number"
@input="gjzhifu"></el-input>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<div class="form_item"> <div class="form_item">
<el-tag class="label" color="#E7EEFF" <el-tag class="label" color="#E7EEFF" style="color: #1a5bfd; font-weight: 600">院内账户支付</el-tag>
style="color: #1a5bfd; font-weight: 600">院内账户支付</el-tag> <el-input v-model="bxxxinfo.his_deduct_amount" type="number" @input="gjzhifu"></el-input>
<el-input v-model="bxxxinfo.his_deduct_amount" type="number"
@input="gjzhifu"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</div> </div>
...@@ -379,26 +365,20 @@ ...@@ -379,26 +365,20 @@
<div class="boxmain"> <div class="boxmain">
<el-form-item> <el-form-item>
<div class="form_item"> <div class="form_item">
<el-tag class="label" color="#E7EEFF" <el-tag class="label" color="#E7EEFF" style="color: #1a5bfd; font-weight: 600"><span>医保个账支付</span></el-tag>
style="color: #1a5bfd; font-weight: 600"><span>医保个账支付</span></el-tag> <el-input v-model="bxxxinfo.grzhzf" @input="gjzhifu()" @blur="grzhzfBlur()" type="number" :disabled="form.insurance_type == 'LONGDISTANCE'"></el-input>
<el-input v-model="bxxxinfo.grzhzf" @input="gjzhifu()" @blur="grzhzfBlur()"
type="number"
:disabled="form.insurance_type == 'LONGDISTANCE' || form.insurance_type == 'OFFSITE'"></el-input>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<div class="form_item"> <div class="form_item">
<el-tag class="label" color="#E7EEFF" <el-tag class="label" color="#E7EEFF" style="color: #1a5bfd; font-weight: 600">待缴费</el-tag>
style="color: #1a5bfd; font-weight: 600">待缴费</el-tag>
<el-input v-model="form.djf" type="number"></el-input> <el-input v-model="form.djf" type="number"></el-input>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item style="visibility: hidden"> <el-form-item style="visibility: hidden">
<div class="form_item"> <div class="form_item">
<el-tag class="label" color="#E7EEFF" <el-tag class="label" color="#E7EEFF" style="color: #1a5bfd; font-weight: 600">共济账户支付</el-tag>
style="color: #1a5bfd; font-weight: 600">共济账户支付</el-tag> <el-input v-model="bxxxinfo.family_ba222lance" type="number" @input="gjzhifu()"></el-input>
<el-input v-model="bxxxinfo.family_ba222lance" type="number"
@input="gjzhifu()"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</div> </div>
...@@ -407,8 +387,7 @@ ...@@ -407,8 +387,7 @@
<div style="display: flex"> <div style="display: flex">
<el-form-item> <el-form-item>
<div style="display: flex; margin-top: 10px"> <div style="display: flex; margin-top: 10px">
<el-button style="margin-left: 5px" type="success" @click="zhifu('1')" <el-button style="margin-left: 5px" type="success" @click="zhifu('1')" :disabled="form.djf <= 0">聚合支付</el-button>
:disabled="form.djf <= 0">聚合支付</el-button>
<!-- <el-button style="margin-left: 5px" type="success" @click="zhifu('1')" <!-- <el-button style="margin-left: 5px" type="success" @click="zhifu('1')"
:disabled="form.djf <= 0">微信</el-button> :disabled="form.djf <= 0">微信</el-button>
<el-button type="primary" @click="zhifu('2')" :disabled="form.djf <= 0">支付宝</el-button> <el-button type="primary" @click="zhifu('2')" :disabled="form.djf <= 0">支付宝</el-button>
...@@ -420,23 +399,19 @@ ...@@ -420,23 +399,19 @@
</div> </div>
</el-form-item> </el-form-item>
<div> <div>
<el-button type="primary" @click="qrjsmiss('1')" <el-button type="primary" @click="qrjsmiss('1')" style="position: absolute; right: 21px; bottom: 8px">确认结算</el-button>
style="position: absolute; right: 21px; bottom: 8px">确认结算</el-button>
<!-- :disabled="sureshow" --> <!-- :disabled="sureshow" -->
</div> </div>
</div> </div>
</el-form> </el-form>
</div> </div>
<div style="width: 100%; height: 100%; background-color: #d6d6d6; position: absolute; top: 0px; text-align: center" <div style="width: 100%; height: 100%; background-color: #d6d6d6; position: absolute; top: 0px; text-align: center" v-if="loadingapplyList">
v-if="loadingapplyList">
<div><img src="../../assets/images/1223.png" alt="" style="width: 38%; margin-top: 37px" /></div> <div><img src="../../assets/images/1223.png" alt="" style="width: 38%; margin-top: 37px" /></div>
<div><img src="../../assets/images/jiazai1.gif" alt="" <div><img src="../../assets/images/jiazai1.gif" alt="" style="height: 225px; width: 340px; margin-top: -92px" /></div>
style="height: 225px; width: 340px; margin-top: -92px" /></div>
<!-- <el-progress :percentage="progress" :indeterminate="true" striped striped-flow status="primary" style="width:50%;margin:264px auto 0px" /> --> <!-- <el-progress :percentage="progress" :indeterminate="true" striped striped-flow status="primary" style="width:50%;margin:264px auto 0px" /> -->
<div style="text-align: center; margin-top: -96px; font-size: 17px"> <div style="text-align: center; margin-top: -96px; font-size: 17px">
<span v-if="contenttime < 4">地纬接口结算中........</span><span <span v-if="contenttime < 4">地纬接口结算中........</span><span v-if="contenttime >= 4">His接口调用中........</span>
v-if="contenttime >= 4">His接口调用中........</span>
</div> </div>
</div> </div>
</div> </div>
...@@ -447,8 +422,7 @@ ...@@ -447,8 +422,7 @@
--> -->
<el-dialog title="选择就诊介质" :visible.sync="jeizhishow" width="560px" :close-on-click-modal="false"> <el-dialog title="选择就诊介质" :visible.sync="jeizhishow" width="560px" :close-on-click-modal="false">
<img :src="logo" style="display: block" alt="logo" /> <img :src="logo" style="display: block" alt="logo" />
<el-form :model="yibaoinfo" :inline="true" @submit.native.prevent v-loading="jiezhiLoading" <el-form :model="yibaoinfo" :inline="true" @submit.native.prevent v-loading="jiezhiLoading" element-loading-text="结算中...">
element-loading-text="结算中...">
<div style="text-align: center"> <div style="text-align: center">
<el-form-item label="介质类型"> <el-form-item label="介质类型">
<el-radio-group v-model="jiezhi"> <el-radio-group v-model="jiezhi">
...@@ -457,9 +431,16 @@ ...@@ -457,9 +431,16 @@
</el-form-item> </el-form-item>
</div> </div>
<div style="text-align: center; padding-bottom: 36px"> <div style="text-align: center; padding-bottom: 36px">
<el-input v-if="jiezhi == 'A'" v-model="pingzhengma" type="text" placeholder="请输入患者卡号" <el-input
@blur="handleSetFocus()" @keyup.enter.native="cardjiesuan" ref="inputlast" v-if="jiezhi == 'A'"
style="width: 300px"></el-input> v-model="pingzhengma"
type="text"
placeholder="请输入患者卡号"
@blur="handleSetFocus()"
@keyup.enter.native="cardjiesuan"
ref="inputlast"
style="width: 300px"
></el-input>
</div> </div>
</el-form> </el-form>
</el-dialog> </el-dialog>
...@@ -470,8 +451,7 @@ ...@@ -470,8 +451,7 @@
<!-- 读卡 --> <!-- 读卡 -->
<Readcards :isOpenCarded="carddialogFormVisible" @getyibaoinfo="getyibaoinfo" @closeReadcard="closeReadcard" /> <Readcards :isOpenCarded="carddialogFormVisible" @getyibaoinfo="getyibaoinfo" @closeReadcard="closeReadcard" />
<!-- 确认结算-新-不选择卡类型 --> <!-- 确认结算-新-不选择卡类型 -->
<ReadcardsNew :isOpenCarded="yibaoshowNew" :patientcard="form" :patientData="patientData" <ReadcardsNew :isOpenCarded="yibaoshowNew" :patientcard="form" :patientData="patientData" :selectTableArr="selectTableArr" @getyibaoinfo="selectCardYiboPreselect" @close="closeSelectCard" />
:selectTableArr="selectTableArr" @getyibaoinfo="selectCardYiboPreselect" @close="closeSelectCard" />
<!-- 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">
...@@ -487,15 +467,11 @@ ...@@ -487,15 +467,11 @@
<el-dialog title="提示" :visible.sync="moreshow" width="30%" v-loading="moreLoading"> <el-dialog title="提示" :visible.sync="moreshow" width="30%" v-loading="moreLoading">
<span>请选择诊断</span> <span>请选择诊断</span>
<el-radio-group v-model="zhenduan"> <el-radio-group v-model="zhenduan">
<el-radio :label="item.code" v-for="item in moreshowdata.data.mzdbjbs_arr" :key="item.value">{{ <el-radio :label="item.code" v-for="item in moreshowdata.data.mzdbjbs_arr" :key="item.value">{{ item.name }}</el-radio>
item.name
}}</el-radio>
</el-radio-group> </el-radio-group>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="moreshow = false">取 消</el-button> <el-button @click="moreshow = false">取 消</el-button>
<el-button type="primary" <el-button type="primary" @click="selectCardYiboPre(moreshowdata.data, moreshowdata.x, moreshowdata.y, zhenduan)">确 定</el-button>
@click="selectCardYiboPre(moreshowdata.data, moreshowdata.x, moreshowdata.y, zhenduan)">
</el-button>
</span> </span>
</el-dialog> </el-dialog>
<el-dialog title="提示" :visible.sync="GSshow" width="30%" v-loading="moreLoading"> <el-dialog title="提示" :visible.sync="GSshow" width="30%" v-loading="moreLoading">
...@@ -503,7 +479,6 @@ ...@@ -503,7 +479,6 @@
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="GSshow = false">确定</el-button> <el-button @click="GSshow = false">确定</el-button>
</span> </span>
</el-dialog> </el-dialog>
<!-- <el-dialog title="提示" :visible.sync="found" width="30%" v-loading="moreLoading"> <!-- <el-dialog title="提示" :visible.sync="found" width="30%" v-loading="moreLoading">
...@@ -517,36 +492,37 @@ ...@@ -517,36 +492,37 @@
<el-dialog title="违规信息提示" :visible.sync="ViolationShow" width="60%" v-loading="moreLoading" :close-on-click-modal="false"> <el-dialog title="违规信息提示" :visible.sync="ViolationShow" width="60%" v-loading="moreLoading" :close-on-click-modal="false">
<div class="ViolationShow"> <div class="ViolationShow">
<el-table ref="multipleTableClinicRoom" @selection-change="handleSelectionChange" :data="weiguiList" <el-table
tooltip-effect="dark" style="width: 100%; height: calc(100vh - 430px)" ref="multipleTableClinicRoom"
:header-cell-style="{ background: '#E7EEFF', color: '#333333' }" v-loading="loading" @selection-change="handleSelectionChange"
element-loading-text="拼命加载中"> :data="weiguiList"
tooltip-effect="dark"
style="width: 100%; height: calc(100vh - 430px)"
:header-cell-style="{ background: '#E7EEFF', color: '#333333' }"
v-loading="loading"
element-loading-text="拼命加载中"
>
<template slot="empty"> <template slot="empty">
<el-empty :image="tempsrc" :image-size="100" description="暂无数据"></el-empty> <el-empty :image="tempsrc" :image-size="100" description="暂无数据"></el-empty>
</template> </template>
<el-table-column prop="rulename" label="规则名称" :show-overflow-tooltip="true"> <el-table-column prop="rulename" label="规则名称" :show-overflow-tooltip="true"> </el-table-column>
</el-table-column> <el-table-column prop="volacont" label="违规内容" width="110" :show-overflow-tooltip="true"> </el-table-column>
<el-table-column prop="volacont" label="违规内容" width="110" :show-overflow-tooltip="true">
</el-table-column>
<el-table-column prop="volabhvrtype" label="违规行为分类" width="130" :show-overflow-tooltip="true"> <el-table-column prop="volabhvrtype" label="违规行为分类" width="130" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
<div>{{scope.row.volabhvrtype=='1'?'就诊类':'项目类' }}</div> <div>{{ scope.row.volabhvrtype == '1' ? '就诊类' : '项目类' }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="volaamtstas" label="违规金额计算状态" width="150" :show-overflow-tooltip="true"> <el-table-column prop="volaamtstas" label="违规金额计算状态" width="150" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
<div>{{scope.row.volabhvrtype=='0'?'异常':'正常' }}</div> <div>{{ scope.row.volabhvrtype == '0' ? '异常' : '正常' }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="sevdeg" label="严重程度" width="100" :show-overflow-tooltip="true"> <el-table-column prop="sevdeg" label="严重程度" width="100" :show-overflow-tooltip="true"> </el-table-column>
</el-table-column>
</el-table> </el-table>
</div> </div>
<div style="margin: 20px 0px;">反馈原因</div> <div style="margin: 20px 0px">反馈原因</div>
<div> <div>
<el-input type="textarea" :rows="3" placeholder="请输入内容" v-model="shiqianText"> <el-input type="textarea" :rows="3" placeholder="请输入内容" v-model="shiqianText"> </el-input>
</el-input>
</div> </div>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="Violationfunction">继续保存 </el-button> <el-button @click="Violationfunction">继续保存 </el-button>
...@@ -559,7 +535,7 @@ ...@@ -559,7 +535,7 @@
import Cardlist from '@/components/Cardlist' import Cardlist from '@/components/Cardlist'
import Readcards from '@/components/Readcards' import Readcards from '@/components/Readcards'
import editProp1 from './components/editProp' //修改自付比例 import editProp1 from './components/editProp' //修改自付比例
import { pdxx, mzxx, mzxxs, mzxxs_ewm, pdxq, info, bxxx, prescription,serviceInvoke, jsxx, hiscard, printmis, queryReadRard, verifyFeeStatus, jhsubmit } from '@/api/mz' import { pdxx, mzxx, mzxxs, mzxxs_ewm, pdxq, info, bxxx, prescription, serviceInvoke, jsxx, hiscard, printmis, queryReadRard, verifyFeeStatus, jhsubmit } from '@/api/mz'
import { get_serial_number, editProp, zfbl, freemoney, settlementPre, familybalanceinfor, patient, settleSelfPre, selfPre, yundaMis, familyBalance, get_zfbl } from '@/api/jiesuan' import { get_serial_number, editProp, zfbl, freemoney, settlementPre, familybalanceinfor, patient, settleSelfPre, selfPre, yundaMis, familyBalance, get_zfbl } from '@/api/jiesuan'
import printProof from '../../utils/print_proof' import printProof from '../../utils/print_proof'
import getLodop from '../../assets/js/LodopFuncs' import getLodop from '../../assets/js/LodopFuncs'
...@@ -576,10 +552,10 @@ export default { ...@@ -576,10 +552,10 @@ export default {
name: 'Outpatient', name: 'Outpatient',
data() { data() {
return { return {
weiguiList:[], weiguiList: [],
shiqianText:'', shiqianText: '',
weiguiData:[], weiguiData: [],
yijiShow:false, yijiShow: false,
ViolationShow: false, ViolationShow: false,
gz_name: false, gz_name: false,
dataText: '', dataText: '',
...@@ -671,7 +647,7 @@ export default { ...@@ -671,7 +647,7 @@ export default {
channel: 'local', channel: 'local',
}, },
bxxxinfo: { bxxxinfo: {
settle_type:'', settle_type: '',
djf: 0, djf: 0,
zhye: 0, zhye: 0,
brxm: '', brxm: '',
...@@ -768,7 +744,7 @@ export default { ...@@ -768,7 +744,7 @@ export default {
visitDate: '', visitDate: '',
jsroundData: {}, jsroundData: {},
ismb: false, ismb: false,
channel:'' channel: '',
} }
}, },
mounted() { mounted() {
...@@ -778,7 +754,7 @@ export default { ...@@ -778,7 +754,7 @@ export default {
// if (this.$route.query?.jobNumber) { // if (this.$route.query?.jobNumber) {
// localStorage.setItem('jobNumber', this.$route.query.jobNumber) // localStorage.setItem('jobNumber', this.$route.query.jobNumber)
// } // }
this.channel= this.$route.query?.channel || '' this.channel = this.$route.query?.channel || ''
this.titleshow = this.$route.query?.layoutShow || '' this.titleshow = this.$route.query?.layoutShow || ''
this.cardNo = this.$route.query?.cardNo || '' this.cardNo = this.$route.query?.cardNo || ''
this.cardType = this.$route.query?.cardType || '' this.cardType = this.$route.query?.cardType || ''
...@@ -820,33 +796,31 @@ export default { ...@@ -820,33 +796,31 @@ export default {
}, },
}, },
methods: { methods: {
async deleteViolation(){ async deleteViolation() {
await serviceInvoke({ await serviceInvoke({
warn_rslt_id:this.weiguiList[0].jrid, warn_rslt_id: this.weiguiList[0].jrid,
dspo_way_rea:this.shiqianText, dspo_way_rea: this.shiqianText,
dspo_way:"2" dspo_way: '2',
}) }).then(response => {
.then(response => { this.$message({
this.$message({ message: '返回成功',
message: '返回成功', type: 'success',
type: 'success',
})
this.ViolationShow = false
}) })
this.ViolationShow = false
})
}, },
// 事前反馈 // 事前反馈
async Violationfunction() { async Violationfunction() {
await serviceInvoke({ await serviceInvoke({
warn_rslt_id:this.weiguiList[0].jrid, warn_rslt_id: this.weiguiList[0].jrid,
dspo_way_rea:this.shiqianText, dspo_way_rea: this.shiqianText,
dspo_way:"1" dspo_way: '1',
}) }).then(response => {
.then(response => { this.$message({
this.$message({ message: '提交成功',
message: '提交成功', type: 'success',
type: 'success',
})
}) })
})
this.ViolationShow = false this.ViolationShow = false
this.dialogVisible = true this.dialogVisible = true
}, },
...@@ -1015,9 +989,9 @@ export default { ...@@ -1015,9 +989,9 @@ export default {
//读卡器方法 //读卡器方法
socketInit() { socketInit() {
this.wj = new WebSocket('ws://127.0.0.1:6932/') this.wj = new WebSocket('ws://127.0.0.1:6932/')
this.wj.onopen = function () { } this.wj.onopen = function () {}
this.wj.onmessage = this.onmessagecard this.wj.onmessage = this.onmessagecard
this.wj.onclose = function () { } this.wj.onclose = function () {}
}, },
//退款结果 //退款结果
reimResult(evt) { reimResult(evt) {
...@@ -1226,7 +1200,7 @@ export default { ...@@ -1226,7 +1200,7 @@ export default {
type: 'MIS', type: 'MIS',
value: x, value: x,
valtp: 'mz_ylmiss', valtp: 'mz_ylmiss',
}).then(response => { }) }).then(response => {})
this.resorderID = response.data.value this.resorderID = response.data.value
// if (_this.ws.readyState === _this.ws.OPEN) { // if (_this.ws.readyState === _this.ws.OPEN) {
// _this.ws.send(x) // _this.ws.send(x)
...@@ -1249,7 +1223,7 @@ export default { ...@@ -1249,7 +1223,7 @@ export default {
_this.ws.send(x) _this.ws.send(x)
} }
_this.ws.onmessage = this.BanksetOnmessageMessage _this.ws.onmessage = this.BanksetOnmessageMessage
_this.ws.onclose = function () { } _this.ws.onclose = function () {}
}) })
.finally(() => { .finally(() => {
this.uploadfeeshow = false this.uploadfeeshow = false
...@@ -1686,7 +1660,7 @@ export default { ...@@ -1686,7 +1660,7 @@ export default {
var that = this var that = this
this.gz_name = false this.gz_name = false
var obj = { var obj = {
channel:this.channel, channel: this.channel,
visit_no: this.visitNo, visit_no: this.visitNo,
visit_date: this.visitDate, visit_date: this.visitDate,
patient_id: this.patientData.patient_id, //this.cardNo, patient_id: this.patientData.patient_id, //this.cardNo,
...@@ -1710,20 +1684,20 @@ export default { ...@@ -1710,20 +1684,20 @@ export default {
}) })
}, },
async jiesuan() { async jiesuan() {
this.shiqianText='' this.shiqianText = ''
this.weiguiList=[] this.weiguiList = []
this.shenfenzheng = this.tableData.patient.idCard this.shenfenzheng = this.tableData.patient.idCard
this.adminpingzhengma = '' this.adminpingzhengma = ''
this.bxxxinfo = { this.bxxxinfo = {
settle_type:'' settle_type: '',
} }
this.ismb = false this.ismb = false
this.orders.forEach(element => { this.orders.forEach(element => {
if (element) { if (element) {
this.ismb = true this.ismb = true
} }
}); })
if ((!this.ismb && this.man_name == false) || this.channel=='4') { if ((!this.ismb && this.man_name == false) || this.channel == '4') {
if (this.orders.length > 0) { if (this.orders.length > 0) {
this.ybjs() this.ybjs()
} else { } else {
...@@ -1749,7 +1723,6 @@ export default { ...@@ -1749,7 +1723,6 @@ export default {
} }
} }
} }
}, },
// ldjkfsl(){ // ldjkfsl(){
// if(this.manFeeStatus()){ // if(this.manFeeStatus()){
...@@ -1814,10 +1787,7 @@ export default { ...@@ -1814,10 +1787,7 @@ export default {
is_pre: 1, is_pre: 1,
pre_id: '1', pre_id: '1',
p_ewm: this.adminpingzhengma, p_ewm: this.adminpingzhengma,
}) }).then(response => {})
.then(response => {
})
}, },
//#####################预结算################### //#####################预结算###################
...@@ -1834,7 +1804,6 @@ export default { ...@@ -1834,7 +1804,6 @@ export default {
p_ewm: this.adminpingzhengma, p_ewm: this.adminpingzhengma,
}) })
.then(async response => { .then(async response => {
this.dialogVisible = true this.dialogVisible = true
this.yujiesuanload = false this.yujiesuanload = false
this.bxxxinfo = response.data this.bxxxinfo = response.data
...@@ -1849,7 +1818,7 @@ export default { ...@@ -1849,7 +1818,7 @@ export default {
let free = this.round(this.bxxxinfo.brfdje * 1 - this.bxxxinfo.his_deduct_amount * 1, 2) let free = this.round(this.bxxxinfo.brfdje * 1 - this.bxxxinfo.his_deduct_amount * 1, 2)
this.form.djf = this.round(this.round(free - this.bxxxinfo.grzhzf * 1, 2) - this.bxxxinfo.gjzhzf * 1, 2) this.form.djf = this.round(this.round(free - this.bxxxinfo.grzhzf * 1, 2) - this.bxxxinfo.gjzhzf * 1, 2)
}) })
.finally(() => { }) .finally(() => {})
}, },
//确认结算判断是否东营本地弹窗 //确认结算判断是否东营本地弹窗
qrjsmiss(e) { qrjsmiss(e) {
...@@ -1862,7 +1831,7 @@ export default { ...@@ -1862,7 +1831,7 @@ export default {
this.sureshow = true this.sureshow = true
if (this.form.djf > 0) { if (this.form.djf > 0) {
this.$message({ this.$message({
message: '院内余额不足,请充值'+this.form.djf+'元后进行缴费缴费', message: '院内余额不足,请充值' + this.form.djf + '元后进行缴费缴费',
type: 'warning', type: 'warning',
}) })
this.sureshow = false this.sureshow = false
...@@ -1892,8 +1861,8 @@ export default { ...@@ -1892,8 +1861,8 @@ export default {
szyb() { szyb() {
let x = {} let x = {}
yundaMis(x) yundaMis(x)
.then(res => { }) .then(res => {})
.catch(err => { }) .catch(err => {})
}, },
//结算按钮预结算按钮 //结算按钮预结算按钮
queren() { queren() {
...@@ -2019,7 +1988,7 @@ export default { ...@@ -2019,7 +1988,7 @@ export default {
}, 1000) }, 1000)
this.sureshow = true this.sureshow = true
let y = { let y = {
channel:this.channel, channel: this.channel,
is_gz: this.gz_name, is_gz: this.gz_name,
family_type: this.familyType, family_type: this.familyType,
patient_id: this.patientData.patient_id, patient_id: this.patientData.patient_id,
...@@ -2060,11 +2029,11 @@ export default { ...@@ -2060,11 +2029,11 @@ export default {
// break; // break;
// } // }
// } // }
let dept=localStorage.getItem('deptCode') let dept = localStorage.getItem('deptCode')
if ( dept !='0502' ){ if (dept != '0502') {
_this.printcard(jshidprint) _this.printcard(jshidprint)
} }
// }, 5000) // }, 5000)
//刷新列表 //刷新列表
...@@ -2381,9 +2350,8 @@ export default { ...@@ -2381,9 +2350,8 @@ export default {
}) })
}, },
selectCardYiboPreselect(data, x, y) { selectCardYiboPreselect(data, x, y) {
// 判断慢病
// 判断慢病 if (this.selectTableArr[0]?.settle_type.is_mb) {
if (this.selectTableArr[0]?.settle_type.is_mb) {
// 判断多病种慢病 // 判断多病种慢病
if (data?.mzdbjbs_arr.length > 1) { if (data?.mzdbjbs_arr.length > 1) {
this.moreshow = true this.moreshow = true
...@@ -2396,10 +2364,9 @@ export default { ...@@ -2396,10 +2364,9 @@ export default {
this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code) this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code)
} }
} else { } else {
this.selectCardYiboPre(data, x, y,data?.mzdbjbs_arr[0]?.code) this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code)
} }
// if (data?.mzdbjbs_arr.length > 1 && this.selectTableArr[0]?.settle_type.is_mb) { // if (data?.mzdbjbs_arr.length > 1 && this.selectTableArr[0]?.settle_type.is_mb) {
// this.moreshow = true // this.moreshow = true
// this.moreshowdata = { // this.moreshowdata = {
...@@ -2409,7 +2376,7 @@ export default { ...@@ -2409,7 +2376,7 @@ export default {
// } // }
// } else {//(data?.mzdbjbs_arr.length == 1 && this.selectTableArr[0]?.settle_type.is_mb) // } else {//(data?.mzdbjbs_arr.length == 1 && this.selectTableArr[0]?.settle_type.is_mb)
// this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code) // this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code)
// } // }
// 所有都穿诊断 // 所有都穿诊断
// else { // else {
// this.selectCardYiboPre(data, x, y) // this.selectCardYiboPre(data, x, y)
...@@ -2428,7 +2395,7 @@ export default { ...@@ -2428,7 +2395,7 @@ export default {
settlementPre({ settlementPre({
is_gz: this.gz_name, is_gz: this.gz_name,
injury_date: this.GSdatatime, injury_date: this.GSdatatime,
p_jbbm: this.selectTableArr[0]?.settle_type.is_mb?zhenduan:'', p_jbbm: this.selectTableArr[0]?.settle_type.is_mb ? zhenduan : '',
patient_id: this.patientData.patient_id, patient_id: this.patientData.patient_id,
cache_key: data.cache_key, cache_key: data.cache_key,
prescription_nos: this.cost_id, prescription_nos: this.cost_id,
...@@ -2464,30 +2431,34 @@ export default { ...@@ -2464,30 +2431,34 @@ export default {
prescription({ prescription({
patient_id: this.patientData.patient_id, patient_id: this.patientData.patient_id,
settle_type: this.selectTableArr[0] ? this.selectTableArr[0].settle_type.code : '', settle_type: this.selectTableArr[0] ? this.selectTableArr[0].settle_type.code : '',
prescription_nos: this.cost_id, prescription_nos: this.cost_id,
js_type:"1", js_type: '1',
p_jbbm:zhenduan p_jbbm: zhenduan,
}).then(response => {
if (response.data.result.length > 0) {
this.weiguiList = response.data.result
this.weiguiData = response.data.result
this.ViolationShow = true
} else {
this.dialogVisible = true
}
}) })
.then(response => {
if (response.data.result.length>0) {
this.weiguiList=response.data.result
this.weiguiData=response.data.result
this.ViolationShow=true
}else{
this.dialogVisible = true
}
})
this.bxxxinfo.family_balance = res2.data.gjzhye this.bxxxinfo.family_balance = res2.data.gjzhye
this.bxxxinfo.his_deduct_amount = 0 this.bxxxinfo.his_deduct_amount = 0
this.bxxxinfo.grzhzf = 0 this.bxxxinfo.grzhzf = 0
let djf = this.round(this.round(this.round(this.bxxxinfo.patient_burden - this.bxxxinfo.gjzhzf, 2) - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.grzhzf, 2) let djf = this.round(this.round(this.round(this.bxxxinfo.patient_burden - this.bxxxinfo.gjzhzf, 2) - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.grzhzf, 2)
if (this.bxxxinfo.personal_balance >= djf) { if (this.bxxxinfo.personal_balance >= djf) {
this.bxxxinfo.grzhzf = djf this.bxxxinfo.grzhzf = djf
if (this.form.insurance_type == 'LONGDISTANCE') {
this.bxxxinfo.grzhzf = 0
}
} }
if (this.bxxxinfo.personal_balance < djf) { if (this.bxxxinfo.personal_balance < djf) {
this.bxxxinfo.grzhzf = this.bxxxinfo.personal_balance this.bxxxinfo.grzhzf = this.bxxxinfo.personal_balance
if (this.form.insurance_type == 'LONGDISTANCE') {
this.bxxxinfo.grzhzf = 0
}
if (res2.data.family_type != '1') { if (res2.data.family_type != '1') {
if (res2.data.gjzhye > this.round(djf - this.bxxxinfo.grzhzf, 2)) { if (res2.data.gjzhye > this.round(djf - this.bxxxinfo.grzhzf, 2)) {
this.bxxxinfo.gjzhzf = this.round(djf - this.bxxxinfo.grzhzf, 2) this.bxxxinfo.gjzhzf = this.round(djf - this.bxxxinfo.grzhzf, 2)
...@@ -2529,7 +2500,6 @@ export default { ...@@ -2529,7 +2500,6 @@ export default {
this.form = {} this.form = {}
settleSelfPre({ patient_id: this.patientData.patient_id, prescription_nos: this.cost_id, settle_type: this.selectTableArr[0] ? this.selectTableArr[0].settle_type.code : '' }) settleSelfPre({ patient_id: this.patientData.patient_id, prescription_nos: this.cost_id, settle_type: this.selectTableArr[0] ? this.selectTableArr[0].settle_type.code : '' })
.then(res => { .then(res => {
this.yujiesuanLoading = false this.yujiesuanLoading = false
this.dialogVisible = true this.dialogVisible = true
this.bxxxinfo = res.data this.bxxxinfo = res.data
...@@ -2657,18 +2627,24 @@ export default { ...@@ -2657,18 +2627,24 @@ export default {
<div class="conline"><span>就诊卡号:</span><span class="money">${e.id_card}</span></div> <div class="conline"><span>就诊卡号:</span><span class="money">${e.id_card}</span></div>
<div class="conline"><span>交易方式:</span><span class="money">${e.trade_type}</span></div> <div class="conline"><span>交易方式:</span><span class="money">${e.trade_type}</span></div>
<div class="conline"><span>开单医师:</span><span class="money">${e.doctor_name}</span></div> <div class="conline"><span>开单医师:</span><span class="money">${e.doctor_name}</span></div>
<div class="conline" style="${this.bxxxinfo.patient_burden != 0 && (this.bxxxinfo.patient_burden != '0.00') == false ? 'display:none' : 'display:block' <div class="conline" style="${
}"><span>个人负担金额:</span><span class="money" >${this.bxxxinfo.patient_burden}元</span></div> this.bxxxinfo.patient_burden != 0 && (this.bxxxinfo.patient_burden != '0.00') == false ? 'display:none' : 'display:block'
<div class="conline" style="${(this.bxxxinfo.insurance_burden != 0 && this.bxxxinfo.insurance_burden != '0.00') == false ? 'display:none' : 'display:block' }"><span>个人负担金额:</span><span class="money" >${this.bxxxinfo.patient_burden}元</span></div>
}"><span>医保负担金额:</span><span class="money" >${this.bxxxinfo.insurance_burden}元</span></div> <div class="conline" style="${
<div class="conline" style="${(this.bxxxinfo.personal_pay_syd != 0 && this.bxxxinfo.personal_pay_syd != '0.00') == false ? 'display:none' : 'display:block' (this.bxxxinfo.insurance_burden != 0 && this.bxxxinfo.insurance_burden != '0.00') == false ? 'display:none' : 'display:block'
}"><span>省异地个帐支付:</span><span class="money" >${this.bxxxinfo.personal_pay_syd}元</span></div> }"><span>医保负担金额:</span><span class="money" >${this.bxxxinfo.insurance_burden}元</span></div>
<div class="conline" style="${(this.bxxxinfo.his_deduct_amount != 0 && this.bxxxinfo.his_deduct_amount != '0.00') == false ? 'display:none' : 'display:block' <div class="conline" style="${
}"><span>院内账户支付:</span><span class="money" >${this.bxxxinfo.his_deduct_amount}元</span></div> (this.bxxxinfo.personal_pay_syd != 0 && this.bxxxinfo.personal_pay_syd != '0.00') == false ? 'display:none' : 'display:block'
<div class="conline" style="${(this.bxxxinfo.grzhzf != 0 && this.bxxxinfo.grzhzf != '0.00') == false ? 'display:none' : 'display:block' }"><span>省异地个帐支付:</span><span class="money" >${this.bxxxinfo.personal_pay_syd}元</span></div>
}"><span>医保账户支付:</span><span class="money" >${this.bxxxinfo.grzhzf}元 </span></div> <div class="conline" style="${
<div class="conline" style="${(this.bxxxinfo.gjzhzf != 0 && this.bxxxinfo.gjzhzf != '0.00') == false ? 'display:none' : 'display:block' (this.bxxxinfo.his_deduct_amount != 0 && this.bxxxinfo.his_deduct_amount != '0.00') == false ? 'display:none' : 'display:block'
}"><span>共济账户支付:</span><span class="money">${this.bxxxinfo.gjzhzf}元</span></div> }"><span>院内账户支付:</span><span class="money" >${this.bxxxinfo.his_deduct_amount}元</span></div>
<div class="conline" style="${
(this.bxxxinfo.grzhzf != 0 && this.bxxxinfo.grzhzf != '0.00') == false ? 'display:none' : 'display:block'
}"><span>医保账户支付:</span><span class="money" >${this.bxxxinfo.grzhzf}元 </span></div>
<div class="conline" style="${
(this.bxxxinfo.gjzhzf != 0 && this.bxxxinfo.gjzhzf != '0.00') == false ? 'display:none' : 'display:block'
}"><span>共济账户支付:</span><span class="money">${this.bxxxinfo.gjzhzf}元</span></div>
<div class="btnborder conline"><span>费用合计:</span><span class="money">${this.bxxxinfo.total}元</span></div> <div class="btnborder conline"><span>费用合计:</span><span class="money">${this.bxxxinfo.total}元</span></div>
` + ` +
textend + textend +
...@@ -2814,7 +2790,7 @@ export default { ...@@ -2814,7 +2790,7 @@ export default {
return false return false
} }
let y = { let y = {
channel:this.channel, channel: this.channel,
patient_id: this.patientData.patient_id, patient_id: this.patientData.patient_id,
personal_pay: this.bxxxinfo.grzhzf, personal_pay: this.bxxxinfo.grzhzf,
family_pay: this.bxxxinfo.gjzhzf, family_pay: this.bxxxinfo.gjzhzf,
...@@ -2822,51 +2798,50 @@ export default { ...@@ -2822,51 +2798,50 @@ export default {
pre_key: this.bxxxinfo.pre_key, pre_key: this.bxxxinfo.pre_key,
cache_key: this.form.cache_key, cache_key: this.form.cache_key,
} }
selfPre(y) selfPre(y).then(response => {
.then(response => { const _this = this
const _this = this this.$message.success('结算成功')
this.$message.success('结算成功') this.dialogVisible = false
this.dialogVisible = false this.sureshow = false
this.sureshow = false this.loadingapplyList = false
this.loadingapplyList = false this.yibaoshow = false
this.yibaoshow = false this.fullscreenLoading = false
this.fullscreenLoading = false this.jeizhishow = false
this.jeizhishow = false const jshidprint = response.data
const jshidprint = response.data this.jsroundData = response.data
this.jsroundData = response.data // setTimeout(function () {
// setTimeout(function () { // this.found=false
// this.found=false // for (let index = 0; index <jshidprint.settle_fees.length; index++) {
// for (let index = 0; index <jshidprint.settle_fees.length; index++) { // if (response.data.settle_fees[index].address === "西药房") {
// if (response.data.settle_fees[index].address === "西药房") { // this.found = true;
// this.found = true; // break;
// break; // }
// } // }
// } let dept = localStorage.getItem('deptCode')
let dept=localStorage.getItem('deptCode') if (dept != '0502') {
if ( dept !='0502' ){ _this.printcard(jshidprint)
_this.printcard(jshidprint) }
} // _this.printcard(jshidprint)
// _this.printcard(jshidprint) // }, 5000)
// }, 5000) this.yibaoshow = false
this.yibaoshow = false this.jeizhishow = false
this.jeizhishow = false
this.getWaiting() this.getWaiting()
// var obj = { // var obj = {
// patient_id: this.cardNo, // patient_id: this.cardNo,
// } // }
// pdxq(obj) // pdxq(obj)
// .then(response => { // .then(response => {
// this.tableData.cost = response.data // this.tableData.cost = response.data
// this.tableDataList = response.data // this.tableDataList = response.data
// this.tylist = response.data // this.tylist = response.data
// this.tiles(this.tylist) // this.tiles(this.tylist)
// }) // })
// .finally(res => { // .finally(res => {
// this.loading = false // this.loading = false
// }) // })
}) })
}, },
// 获取共济余额 // 获取共济余额
getFamilyBalance() { getFamilyBalance() {
...@@ -3257,7 +3232,8 @@ export default { ...@@ -3257,7 +3232,8 @@ export default {
align-items: center; align-items: center;
} }
.app-container {} .app-container {
}
::v-deep .el-card__body { ::v-deep .el-card__body {
padding: 15px 9px; padding: 15px 9px;
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<div style="display: flex"> <div style="display: flex">
<!-- <el-checkbox v-model="gz_name" style="margin-right: 10px">转为个账账单</el-checkbox> --> <!-- <el-checkbox v-model="gz_name" style="margin-right: 10px">转为个账账单</el-checkbox> -->
<!-- <el-checkbox v-model="man_name">转为自费账单</el-checkbox> --> <!-- <el-checkbox v-model="man_name">转为自费账单</el-checkbox> -->
<el-checkbox v-model="is_sy">生育</el-checkbox> <el-checkbox v-model="is_sy">计划生育</el-checkbox>
<!-- <el-checkbox v-model="insurance_payment">智慧医保支付</el-checkbox> --> <!-- <el-checkbox v-model="insurance_payment">智慧医保支付</el-checkbox> -->
</div> </div>
<div style="display: flex" v-if="patientInfo.yblx != '01'"> <div style="display: flex" v-if="patientInfo.yblx != '01'">
...@@ -372,7 +372,7 @@ ...@@ -372,7 +372,7 @@
@input="gjzhifu()" @input="gjzhifu()"
@blur="grzhzfBlur()" @blur="grzhzfBlur()"
type="number" type="number"
:disabled="form.insurance_type == 'LONGDISTANCE' || form.insurance_type == 'OFFSITE'" :disabled="form.insurance_type == 'LONGDISTANCE'"
></el-input> ></el-input>
</div> </div>
</el-form-item> </el-form-item>
...@@ -2463,13 +2463,13 @@ export default { ...@@ -2463,13 +2463,13 @@ export default {
let djf = this.round(this.round(this.round(this.round(this.bxxxinfo.patient_burden - this.bxxxinfo.gjzhzf, 2) - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.grzhzf, 2) - this.bxxxinfo.personal_pay_syd,2) let djf = this.round(this.round(this.round(this.round(this.bxxxinfo.patient_burden - this.bxxxinfo.gjzhzf, 2) - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.grzhzf, 2) - this.bxxxinfo.personal_pay_syd,2)
if (this.bxxxinfo.personal_balance >= djf) { if (this.bxxxinfo.personal_balance >= djf) {
this.bxxxinfo.grzhzf = djf this.bxxxinfo.grzhzf = djf
if (this.form.insurance_type == 'OFFSITE' || this.form.insurance_type == 'LONGDISTANCE') { if ( this.form.insurance_type == 'LONGDISTANCE') {
this.bxxxinfo.grzhzf = 0 this.bxxxinfo.grzhzf = 0
} }
} }
if (this.bxxxinfo.personal_balance < djf) { if (this.bxxxinfo.personal_balance < djf) {
this.bxxxinfo.grzhzf = this.bxxxinfo.personal_balance this.bxxxinfo.grzhzf = this.bxxxinfo.personal_balance
if (this.form.insurance_type == 'OFFSITE' || this.form.insurance_type == 'LONGDISTANCE') { if ( this.form.insurance_type == 'LONGDISTANCE') {
this.bxxxinfo.grzhzf = 0 this.bxxxinfo.grzhzf = 0
} }
if (res2.data.family_type != '1') { if (res2.data.family_type != '1') {
......
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