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

省异地个账可以输入金额

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