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

诊间充值

parent 276dcb5b
# 页面标题
VUE_APP_TITLE = 统一结算平台
# 生产环境配置
NODE_ENV = 'production'
# 统一结算平台/生产环境
VUE_APP_BASE_API = ''
# VUE_APP_BASE_URL = 'http://newfinance-system.fancyinfo.net'
VUE_APP_BASE_URL = 'http://10.10.9.219:9902'
VUE_APP_BASE_URL_SFC = 'http://10.10.9.219:8802'
VUE_APP_BASE_URL_change = 'http://10.10.8.230:6200/fancy'
# VUE_APP_BASE_URL = 'http://med-api.fancyinfo.net'
# VUE_APP_BASE_URL = 'http://10.10.40.10:9902'
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
"scripts": { "scripts": {
"dev": "vue-cli-service serve", "dev": "vue-cli-service serve",
"build:prod": "vue-cli-service build", "build:prod": "vue-cli-service build",
"build:test": "vue-cli-service build --mode test && node ./deploy-test.js",
"build:stage": "vue-cli-service build && node ./deploy-test.js", "build:stage": "vue-cli-service build && node ./deploy-test.js",
"preview": "node build/index.js --preview", "preview": "node build/index.js --preview",
"lint": "eslint --ext .js,.vue src" "lint": "eslint --ext .js,.vue src"
......
...@@ -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,40 @@ ...@@ -379,26 +365,40 @@
<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
<el-input v-model="bxxxinfo.grzhzf" @input="gjzhifu()" @blur="grzhzfBlur()" v-model="bxxxinfo.grzhzf"
@input="gjzhifu()"
@blur="grzhzfBlur()"
type="number" type="number"
:disabled="form.insurance_type == 'LONGDISTANCE' || form.insurance_type == 'OFFSITE'"></el-input> :disabled="form.insurance_type == 'LONGDISTANCE' || form.insurance_type == 'OFFSITE'"
></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"><span>现金支付</span></el-tag>
<el-input v-model="xj_amount" type="number" 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"><span>聚合支付</span></el-tag>
<el-input v-model="source_pay_amount" type="number" disabled></el-input>
</div> </div>
</el-form-item> </el-form-item>
</div>
<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">待缴费</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,36 +407,31 @@ ...@@ -407,36 +407,31 @@
<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>
<el-button style="margin-left: 5px" type="warning" @click="zhifu('3')" <el-button style="margin-left: 5px" type="warning" @click="zhifu('3')"
:disabled="form.djf <= 0"> 银行卡</el-button> :disabled="form.djf <= 0"> 银行卡</el-button> -->
<el-button type="info" @click="zhifu('5')" :disabled="form.djf <= 0">现金</el-button> <el-button type="info" @click="zhifu('5')" :disabled="form.djf <= 0">现金</el-button>
<el-checkbox v-model="gjzhzfje" :disabled="bxxxinfo.gjzhye <= 0" <!-- <el-checkbox v-model="gjzhzfje" :disabled="bxxxinfo.gjzhye <= 0"
style="margin-left: 50px">共济账户支付</el-checkbox> --> style="margin-left: 50px">共济账户支付</el-checkbox> -->
</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 +442,7 @@ ...@@ -447,8 +442,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,11 +451,71 @@ ...@@ -457,11 +451,71 @@
</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>
</el-form>
</el-dialog>
<el-dialog width="50%" title="付款方式" :visible.sync="uploadfeeshow" :close-on-click-modal="false">
<el-form :model="feelist" :inline="true" @submit.native.prevent>
<div>
<div style="text-align: center">
<div style="margin-bottom: 30px" v-if="feelist.channel == '1'">
<span class="feetexts">付款方式——<span class="feetext">聚合</span>付款</span>
</div>
<div style="margin-bottom: 30px" v-if="feelist.channel == '3'">
<span class="feetexts">付款方式——<span class="feetext">银行卡</span>付款</span>
</div>
<!-- <div style="margin-bottom: 30px" v-if="feelist.channel == '5'">
<span class="feetexts">付款方式——<span class="feetext">现金</span>付款</span>
</div> -->
<div style="text-align: center">
<el-input
v-if="feelist.channel == '1'"
v-model="fee.weixin"
type="text"
placeholder="请刷聚合支付付款码"
@keyup.enter.native="feesure(1)"
ref="inputWX"
style="width: 300px"
></el-input>
<el-input
v-if="feelist.channel == '5'"
v-model="form.admin_djf"
type="number"
@input="handleInput"
placeholder="现金金额"
@keyup.enter.native="feesure(5)"
ref="inputXJ"
style="width: 300px"
></el-input>
<div v-if="feelist.channel == '5'" style="display: flex; font-size: 30px; color: red; line-height: 80px; justify-content: center">
<div style="margin-right: 20px">
<span>收款:{{ form.admin_djf }}</span>
</div>
<div style="margin-right: 20px">
<span>待缴费:{{ form.djf }}</span>
</div>
<div>
<span>找零:{{ form.admin_djf > 0 ? zhmoney : '' }}</span>
</div>
</div>
</div>
</div>
</div> </div>
</el-form> </el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="feesure(feelist.channel)" v-loading="fullscreenLoading" :disabled="cash_disable">确 定</el-button>
</div>
</el-dialog> </el-dialog>
<Cardlist :cardlist="cardlist" @cardcolsein="cardcolsein" :cardlistdata="patientData.patient_id" /> <Cardlist :cardlist="cardlist" @cardcolsein="cardcolsein" :cardlistdata="patientData.patient_id" />
<!-- 选择卡类型new---废弃 --> <!-- 选择卡类型new---废弃 -->
...@@ -470,8 +524,7 @@ ...@@ -470,8 +524,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 +540,11 @@ ...@@ -487,15 +540,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 +552,6 @@ ...@@ -503,7 +552,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 +565,37 @@ ...@@ -517,36 +565,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 +608,7 @@ ...@@ -559,7 +608,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,15 +625,20 @@ export default { ...@@ -576,15 +625,20 @@ 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: '',
GSshow: false, GSshow: false,
isGS: false, isGS: false,
zhmoney: 0,
cash_disable: false,
payData: {},
source_pay_amount: 0,
xj_amount: 0,
GSdatatime: '', GSdatatime: '',
found: false, found: false,
yujiesuanLoading: false, yujiesuanLoading: false,
...@@ -671,7 +725,7 @@ export default { ...@@ -671,7 +725,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 +822,7 @@ export default { ...@@ -768,7 +822,7 @@ export default {
visitDate: '', visitDate: '',
jsroundData: {}, jsroundData: {},
ismb: false, ismb: false,
channel:'' channel: '',
} }
}, },
mounted() { mounted() {
...@@ -778,7 +832,7 @@ export default { ...@@ -778,7 +832,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,13 +874,12 @@ export default { ...@@ -820,13 +874,12 @@ 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',
...@@ -837,11 +890,10 @@ export default { ...@@ -837,11 +890,10 @@ export default {
// 事前反馈 // 事前反馈
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',
...@@ -972,9 +1024,14 @@ export default { ...@@ -972,9 +1024,14 @@ export default {
//当共济支付开关打开时,其他额度根据共济变动 //当共济支付开关打开时,其他额度根据共济变动
gjzhifu(e) { gjzhifu(e) {
this.$forceUpdate() this.$forceUpdate()
let chongzhi = this.source_pay_amount * 1 + this.xj_amount * 1
// let djsold = this.round(this.bxxxinfo.brfdje * 1 - this.bxxxinfo.grzhzf * 1, 2) // let djsold = this.round(this.bxxxinfo.brfdje * 1 - this.bxxxinfo.grzhzf * 1, 2)
// this.form.djf = this.round(this.round(djsold * 1 - this.bxxxinfo.his_deduct_amount * 1, 2) - this.bxxxinfo.gjzhzf * 1, 2) // this.form.djf = this.round(this.round(djsold * 1 - this.bxxxinfo.his_deduct_amount * 1, 2) - this.bxxxinfo.gjzhzf * 1, 2)
this.form.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) // this.form.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)
this.form.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) - chongzhi,
2,
)
}, },
//医保个人账户支付输入值blur //医保个人账户支付输入值blur
grzhzfBlur() { grzhzfBlur() {
...@@ -1015,9 +1072,9 @@ export default { ...@@ -1015,9 +1072,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) {
...@@ -1106,34 +1163,48 @@ export default { ...@@ -1106,34 +1163,48 @@ export default {
}, },
//微信支付宝银行卡现金充值接口 //微信支付宝银行卡现金充值接口
feesure(e) { feesure(e) {
this.cash_disable = true
this.fullscreenLoading = true this.fullscreenLoading = true
if (e == '1') { if (e == '1' || e == '5') {
// return false // return false
freemoney({ freemoney({
payment_type: 'WX_BAR',
amount: this.form.djf, amount: this.form.djf,
auth_code: this.fee.weixin, authCode: this.fee.weixin,
his_patient_id: this.tableData.patient.id, operatorNo: this.jobNumber,
patient_type: 'mz', payType: e == '1' ? 'cumsNative' : e == '5' ? 'cash' : '', // 支付类型 cumsNative 聚合支付 cash 现金
settlement_no: this.bxxxinfo.settlement_no, rechargeType: 1, // 是否预交金充值 1是 0否,
patientId: this.patientData.patient_id,
deptCode: this.dept,
}) })
.then(response => { .then(response => {
if (response.code == 200) {
this.$message({ this.$message({
message: response.message, message: response.message,
type: 'success', type: 'success',
}) })
if (this.bxxxinfo.brfdje * 1 > response.data.his_balance * 1) { this.payData = response.data
this.bxxxinfo.his_deduct_amount = response.data.his_balance * 1 if (e == '1') {
this.xj_amount = 0
this.source_pay_amount = this.form.djf
} else { } else {
this.bxxxinfo.his_deduct_amount = this.bxxxinfo.brfdje * 1 this.xj_amount = this.form.djf
this.source_pay_amount = 0
} }
this.form.djf = 0
// if (this.bxxxinfo.brfdje * 1 > response.data.his_balance * 1) {
// this.bxxxinfo.his_deduct_amount = response.data.his_balance * 1
// } else {
// this.bxxxinfo.his_deduct_amount = this.bxxxinfo.brfdje * 1
// }
// let balancenew = response.data.his_balance * 1 // let balancenew = response.data.his_balance * 1
// this.bxxxinfo.his_deduct_amount = this.bxxxinfo.his_deduct_amount * 1 + (balancenew * 100 - this.bxxxinfo.his_balance * 100) / 100 // this.bxxxinfo.his_deduct_amount = this.bxxxinfo.his_deduct_amount * 1 + (balancenew * 100 - this.bxxxinfo.his_balance * 100) / 100
//接口返回新的院内账户余额 //接口返回新的院内账户余额
this.bxxxinfo.his_balance = response.data.his_balance * 1 this.bxxxinfo.his_balance = response.data.his_balance * 1
let djsold = this.round(this.bxxxinfo.brfdje - this.bxxxinfo.grzhzf, 2) let djsold = this.round(this.bxxxinfo.brfdje - this.bxxxinfo.grzhzf, 2)
let chongzhi = this.source_pay_amount * 1 + this.xj_amount * 1
//充值成功后的代缴费金额 //充值成功后的代缴费金额
this.form.djf = this.round(this.round(djsold - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.gjzhzf, 2) // this.form.djf = this.round(this.round(djsold - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.gjzhzf, 2)
this.form.djf = this.round(this.round(this.round(djsold - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.gjzhzf, 2) - chongzhi, 2)
//微信支付宝弹窗 //微信支付宝弹窗
this.uploadfeeshow = false this.uploadfeeshow = false
...@@ -1142,57 +1213,64 @@ export default { ...@@ -1142,57 +1213,64 @@ export default {
//结算 //结算
// this.qrjs() // this.qrjs()
this.qrjsmiss('1') this.qrjsmiss('1')
}) } else {
.finally(() => {
this.fee.weixin = ''
//微信支付宝弹窗
this.uploadfeeshow = false
// 总的大弹窗
this.fullscreenLoading = false
})
}
if (e == '5') {
freemoney({
payment_type: 'CASH',
amount: this.form.admin_djf,
auth_code: 'not',
his_patient_id: this.tableData.patient.id,
patient_type: 'mz',
settlement_no: this.bxxxinfo.settlement_no,
})
.then(response => {
this.$message({ this.$message({
message: response.message, message: response.message,
type: 'success', type: 'error',
}) })
if (this.bxxxinfo.brfdje * 1 > response.data.his_balance * 1) {
this.bxxxinfo.his_deduct_amount = response.data.his_balance * 1
} else {
this.bxxxinfo.his_deduct_amount = this.bxxxinfo.brfdje * 1
} }
// let balancenew = response.data.his_balance * 1
// this.bxxxinfo.his_deduct_amount = this.bxxxinfo.his_deduct_amount * 1 + this.round(balancenew - this.bxxxinfo.his_balance * 1, 2)
this.bxxxinfo.his_balance = response.data.his_balance * 1
let djsold = this.round(this.bxxxinfo.brfdje - this.bxxxinfo.grzhzf, 2)
this.form.djf = this.round(this.round(djsold - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.gjzhzf, 2)
// this.qrjs()
this.qrjsmiss('1')
//微信支付宝弹窗
this.uploadfeeshow = false
// 总的大弹窗
this.fullscreenLoading = false
}) })
.finally(() => { .finally(() => {
this.cash_disable = false
this.fee.weixin = ''
//微信支付宝弹窗 //微信支付宝弹窗
this.uploadfeeshow = false this.uploadfeeshow = false
// 总的大弹窗 // 总的大弹窗
this.fullscreenLoading = false this.fullscreenLoading = false
}) })
} }
if (this.feelist.channel == '3') {
this.get_serial_number('3') // if (e == '5') {
} // freemoney({
// payment_type: 'CASH',
// amount: this.form.admin_djf,
// auth_code: 'not',
// his_patient_id: this.tableData.patient.id,
// patient_type: 'mz',
// settlement_no: this.bxxxinfo.settlement_no,
// })
// .then(response => {
// this.$message({
// message: response.message,
// type: 'success',
// })
// if (this.bxxxinfo.brfdje * 1 > response.data.his_balance * 1) {
// this.bxxxinfo.his_deduct_amount = response.data.his_balance * 1
// } else {
// this.bxxxinfo.his_deduct_amount = this.bxxxinfo.brfdje * 1
// }
// // let balancenew = response.data.his_balance * 1
// // this.bxxxinfo.his_deduct_amount = this.bxxxinfo.his_deduct_amount * 1 + this.round(balancenew - this.bxxxinfo.his_balance * 1, 2)
// this.bxxxinfo.his_balance = response.data.his_balance * 1
// let djsold = this.round(this.bxxxinfo.brfdje - this.bxxxinfo.grzhzf, 2)
// this.form.djf = this.round(this.round(djsold - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.gjzhzf, 2)
// // this.qrjs()
// this.qrjsmiss('1')
// //微信支付宝弹窗
// this.uploadfeeshow = false
// // 总的大弹窗
// this.fullscreenLoading = false
// })
// .finally(() => {
// //微信支付宝弹窗
// this.uploadfeeshow = false
// // 总的大弹窗
// this.fullscreenLoading = false
// })
// }
// if (this.feelist.channel == '3') {
// this.get_serial_number('3')
// }
}, },
//银行卡mis交易、获取参考号 //银行卡mis交易、获取参考号
get_serial_number(e) { get_serial_number(e) {
...@@ -1226,7 +1304,7 @@ export default { ...@@ -1226,7 +1304,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 +1327,7 @@ export default { ...@@ -1249,7 +1327,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 +1764,7 @@ export default { ...@@ -1686,7 +1764,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 +1788,20 @@ export default { ...@@ -1710,20 +1788,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 +1827,6 @@ export default { ...@@ -1749,7 +1827,6 @@ export default {
} }
} }
} }
}, },
// ldjkfsl(){ // ldjkfsl(){
// if(this.manFeeStatus()){ // if(this.manFeeStatus()){
...@@ -1814,10 +1891,7 @@ export default { ...@@ -1814,10 +1891,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 +1908,6 @@ export default { ...@@ -1834,7 +1908,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 +1922,10 @@ export default { ...@@ -1849,7 +1922,10 @@ 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(() => {})
},
handleInput(e) {
this.zhmoney = this.round(this.form.admin_djf - this.form.djf, 2)
}, },
//确认结算判断是否东营本地弹窗 //确认结算判断是否东营本地弹窗
qrjsmiss(e) { qrjsmiss(e) {
...@@ -1862,7 +1938,7 @@ export default { ...@@ -1862,7 +1938,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 +1968,8 @@ export default { ...@@ -1892,8 +1968,8 @@ export default {
szyb() { szyb() {
let x = {} let x = {}
yundaMis(x) yundaMis(x)
.then(res => { }) .then(res => {})
.catch(err => { }) .catch(err => {})
}, },
//结算按钮预结算按钮 //结算按钮预结算按钮
queren() { queren() {
...@@ -2019,8 +2095,13 @@ export default { ...@@ -2019,8 +2095,13 @@ export default {
}, 1000) }, 1000)
this.sureshow = true this.sureshow = true
let y = { let y = {
channel:this.channel, source_type: this.payData.targetSys,
source_trade_no: this.payData.sourceTradeNo,
is_gz: this.gz_name, is_gz: this.gz_name,
channel: this.channel,
xj_amount: this.xj_amount,
source_pay_amount: this.source_pay_amount,
tradeNo: this.payData.tradeNo,
family_type: this.familyType, family_type: this.familyType,
patient_id: this.patientData.patient_id, patient_id: this.patientData.patient_id,
personal_pay: this.bxxxinfo.grzhzf, personal_pay: this.bxxxinfo.grzhzf,
...@@ -2060,8 +2141,8 @@ export default { ...@@ -2060,8 +2141,8 @@ 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)
} }
...@@ -2381,7 +2462,6 @@ export default { ...@@ -2381,7 +2462,6 @@ 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) {
// 判断多病种慢病 // 判断多病种慢病
...@@ -2396,10 +2476,9 @@ export default { ...@@ -2396,10 +2476,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 = {
...@@ -2418,6 +2497,8 @@ export default { ...@@ -2418,6 +2497,8 @@ export default {
// 医保预结算 // 医保预结算
selectCardYiboPre(data, x, y, zhenduan) { selectCardYiboPre(data, x, y, zhenduan) {
this.yujiesuanLoading = true this.yujiesuanLoading = true
this.xj_amount = 0
this.source_pay_amount = 0
this.moreshow = false this.moreshow = false
this.moreLoading = true this.moreLoading = true
this.oldewmpingzheng = y this.oldewmpingzheng = y
...@@ -2428,7 +2509,7 @@ export default { ...@@ -2428,7 +2509,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,
...@@ -2465,15 +2546,14 @@ export default { ...@@ -2465,15 +2546,14 @@ export default {
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 => {
.then(response => { if (response.data.result.length > 0) {
if (response.data.result.length>0) { this.weiguiList = response.data.result
this.weiguiList=response.data.result this.weiguiData = response.data.result
this.weiguiData=response.data.result this.ViolationShow = true
this.ViolationShow=true } else {
}else{
this.dialogVisible = true this.dialogVisible = true
} }
}) })
...@@ -2526,10 +2606,11 @@ export default { ...@@ -2526,10 +2606,11 @@ export default {
// 自费预结算 // 自费预结算
zfBeforePre() { zfBeforePre() {
this.yujiesuanLoading = true this.yujiesuanLoading = true
this.xj_amount = 0
this.source_pay_amount = 0
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,17 +2738,23 @@ export default { ...@@ -2657,17 +2738,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.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="${
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> }"><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> }"><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> }"><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> }"><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> }"><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> }"><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>
` + ` +
...@@ -2814,7 +2901,12 @@ export default { ...@@ -2814,7 +2901,12 @@ export default {
return false return false
} }
let y = { let y = {
channel:this.channel, source_type: this.payData.targetSys,
source_trade_no: this.payData.sourceTradeNo,
xj_amount: this.xj_amount,
source_pay_amount: this.source_pay_amount,
tradeNo: this.payData.tradeNo,
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,8 +2914,7 @@ export default { ...@@ -2822,8 +2914,7 @@ 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
...@@ -2842,8 +2933,8 @@ export default { ...@@ -2842,8 +2933,8 @@ 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)
} }
// _this.printcard(jshidprint) // _this.printcard(jshidprint)
...@@ -3257,7 +3348,8 @@ export default { ...@@ -3257,7 +3348,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;
......
...@@ -26,13 +26,12 @@ ...@@ -26,13 +26,12 @@
<div class="box_card_title"> <div class="box_card_title">
<div style="display: flex; justify-content: space-between; width: 100%"> <div style="display: flex; justify-content: space-between; width: 100%">
<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>
<el-checkbox v-model="insurance_payment">智慧医保支付</el-checkbox> <el-checkbox v-model="insurance_payment">智慧医保支付</el-checkbox>
</div> </div>
...@@ -537,41 +536,41 @@ ...@@ -537,41 +536,41 @@
<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="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>
...@@ -584,7 +583,7 @@ ...@@ -584,7 +583,7 @@
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' //修改自付比例
import { pdxx, mzxx, mzxxs, mzxxs_ewm, pdxq, info, bxxx,prescription,serviceInvoke, jsxx, hiscard, printmis, queryReadRard, verifyFeeStatus } from '@/api/mzSFC' import { pdxx, mzxx, mzxxs, mzxxs_ewm, pdxq, info, bxxx, prescription, serviceInvoke, jsxx, hiscard, printmis, queryReadRard, verifyFeeStatus } from '@/api/mzSFC'
import { get_serial_number, editProp, zfbl, freemoney, settlementPre, familybalanceinfor, patient, settleSelfPre, selfPre, yundaMis, familyBalance, get_zfbl } from '@/api/jiesuanSFC' import { get_serial_number, editProp, zfbl, freemoney, settlementPre, familybalanceinfor, patient, settleSelfPre, selfPre, yundaMis, familyBalance, get_zfbl } from '@/api/jiesuanSFC'
import { recharge } from '@/api/changeFree' import { recharge } from '@/api/changeFree'
import printProof from '../../utils/print_proof' import printProof from '../../utils/print_proof'
...@@ -602,10 +601,10 @@ export default { ...@@ -602,10 +601,10 @@ export default {
name: 'Outpatient', name: 'Outpatient',
data() { data() {
return { return {
GSdatatime:'', GSdatatime: '',
weiguiList:[], weiguiList: [],
shiqianText:'', shiqianText: '',
weiguiData:[], weiguiData: [],
ViolationShow: false, ViolationShow: false,
gz_name: false, gz_name: false,
dataText: '', dataText: '',
...@@ -704,7 +703,7 @@ export default { ...@@ -704,7 +703,7 @@ export default {
}, },
bxxxinfo: { bxxxinfo: {
settle_type: { settle_type: {
name:'' name: '',
}, },
djf: 0, djf: 0,
zhye: 0, zhye: 0,
...@@ -799,8 +798,8 @@ export default { ...@@ -799,8 +798,8 @@ export default {
cardNoShow: false, cardNoShow: false,
visitNo: '', visitNo: '',
visitDate: '', visitDate: '',
jobNumber:'', jobNumber: '',
dept:'' dept: '',
} }
}, },
mounted() { mounted() {
...@@ -851,13 +850,12 @@ export default { ...@@ -851,13 +850,12 @@ 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',
...@@ -868,11 +866,10 @@ export default { ...@@ -868,11 +866,10 @@ export default {
// 事前反馈 // 事前反馈
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',
...@@ -1085,7 +1082,7 @@ export default { ...@@ -1085,7 +1082,7 @@ export default {
//首次进页面第一次刷卡返回的信息 //首次进页面第一次刷卡返回的信息
getyibaoinfo(e, x) { getyibaoinfo(e, x) {
this.man_name = false this.man_name = false
this.insurance_payment=false this.insurance_payment = false
this.only_qq = 0 this.only_qq = 0
//第一次读二维码不需要from_web //第一次读二维码不需要from_web
if (x) { if (x) {
...@@ -1129,28 +1126,28 @@ export default { ...@@ -1129,28 +1126,28 @@ export default {
amount: this.form.djf, amount: this.form.djf,
authCode: this.fee.weixin, authCode: this.fee.weixin,
operatorNo: this.jobNumber, operatorNo: this.jobNumber,
payType: e=='1'?'cumsNative':e=='5'?'cash':'', // 支付类型 cumsNative 聚合支付 cash 现金 payType: e == '1' ? 'cumsNative' : e == '5' ? 'cash' : '', // 支付类型 cumsNative 聚合支付 cash 现金
rechargeType: 1, // 是否预交金充值 1是 0否, rechargeType: 1, // 是否预交金充值 1是 0否,
patientId: this.patientData.patient_id, patientId: this.patientData.patient_id,
deptCode: this.dept deptCode: this.dept,
// amount: this.form.djf, // amount: this.form.djf,
// auth_code: this.fee.weixin, // auth_code: this.fee.weixin,
// patient_id: this.patientData.patient_id, // patient_id: this.patientData.patient_id,
// settlement_no: this.bxxxinfo.settlement_no, // settlement_no: this.bxxxinfo.settlement_no,
}) })
.then(response => { .then(response => {
if (response.code==200) { if (response.code == 200) {
this.$message({ this.$message({
message: response.message, message: response.message,
type: 'success', type: 'success',
}) })
this.payData = response.data this.payData = response.data
if (e=='1') { if (e == '1') {
this.xj_amount = 0 this.xj_amount = 0
this.source_pay_amount = this.form.djf this.source_pay_amount = this.form.djf
}else{ } else {
this.xj_amount = this.form.djf this.xj_amount = this.form.djf
this.source_pay_amount =0 this.source_pay_amount = 0
} }
this.form.djf = 0 this.form.djf = 0
//接口返回新的院内账户余额 //接口返回新的院内账户余额
...@@ -1167,14 +1164,13 @@ export default { ...@@ -1167,14 +1164,13 @@ export default {
//结算 //结算
// this.qrjs() // this.qrjs()
this.qrjsmiss('1') this.qrjsmiss('1')
}else{ } else {
this.$message({ this.$message({
message: response.message, message: response.message,
type: 'error', type: 'error',
}) })
} }
console.log(response,'充值成功++++++++++++++++') console.log(response, '充值成功++++++++++++++++')
}) })
.finally(() => { .finally(() => {
this.cash_disable = false this.cash_disable = false
...@@ -1661,23 +1657,23 @@ export default { ...@@ -1661,23 +1657,23 @@ 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: {
name:'' name: '',
} },
} }
this.ismb = false this.ismb = false
this.orders.forEach(element => { this.orders.forEach(element => {
if (element) { if (element) {
this.ismb = true this.ismb = true
} }
}); })
// 医技预约channel=4不走审核 // 医技预约channel=4不走审核
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 {
...@@ -1703,7 +1699,6 @@ export default { ...@@ -1703,7 +1699,6 @@ export default {
} }
} }
} }
}, },
// async jiesuan() { // async jiesuan() {
// this.shenfenzheng = this.tableData.patient.idCard // this.shenfenzheng = this.tableData.patient.idCard
...@@ -1784,10 +1779,7 @@ export default { ...@@ -1784,10 +1779,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 => {
})
}, },
//#####################预结算################### //#####################预结算###################
jiesuanadmin(e) { jiesuanadmin(e) {
...@@ -1803,7 +1795,6 @@ export default { ...@@ -1803,7 +1795,6 @@ export default {
p_ewm: this.adminpingzhengma, p_ewm: this.adminpingzhengma,
}) })
.then(response => { .then(response => {
this.dialogVisible = true this.dialogVisible = true
this.yujiesuanload = false this.yujiesuanload = false
this.bxxxinfo = response.data this.bxxxinfo = response.data
...@@ -1834,7 +1825,7 @@ export default { ...@@ -1834,7 +1825,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
...@@ -1853,7 +1844,7 @@ export default { ...@@ -1853,7 +1844,7 @@ export default {
} else { } else {
this.qrjs() this.qrjs()
} }
} else if (this.ztvalue.value == 'SELF_PAY' || this.man_name ==true) { } else if (this.ztvalue.value == 'SELF_PAY' || this.man_name == true) {
this.selfPre() this.selfPre()
} else { } else {
this.qrjs() this.qrjs()
...@@ -1988,7 +1979,6 @@ export default { ...@@ -1988,7 +1979,6 @@ export default {
}, 1000) }, 1000)
this.sureshow = true this.sureshow = true
let y = { let y = {
source_type: this.payData.targetSys, source_type: this.payData.targetSys,
source_trade_no: this.payData.sourceTradeNo, source_trade_no: this.payData.sourceTradeNo,
is_gz: this.gz_name, is_gz: this.gz_name,
...@@ -2310,7 +2300,7 @@ export default { ...@@ -2310,7 +2300,7 @@ 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
...@@ -2340,7 +2330,7 @@ export default { ...@@ -2340,7 +2330,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,
...@@ -2358,7 +2348,7 @@ export default { ...@@ -2358,7 +2348,7 @@ export default {
this.yujiesuanLoading = false this.yujiesuanLoading = false
this.moreLoading = false this.moreLoading = false
console.log(res.data.his_deduct_amount,'*********************') console.log(res.data.his_deduct_amount, '*********************')
familybalanceinfor({ familybalanceinfor({
patient_id: this.patientData.patient_id, patient_id: this.patientData.patient_id,
pre_key: res.data.pre_key, pre_key: res.data.pre_key,
...@@ -2379,7 +2369,7 @@ export default { ...@@ -2379,7 +2369,7 @@ export default {
this.bxxxinfo.family_balance = res2.data.gjzhye this.bxxxinfo.family_balance = res2.data.gjzhye
// this.dialogVisible = true // this.dialogVisible = true
console.log( this.bxxxinfo.his_deduct_amount,'oooooooooooooooooo') console.log(this.bxxxinfo.his_deduct_amount, 'oooooooooooooooooo')
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) {
...@@ -2407,27 +2397,24 @@ export default { ...@@ -2407,27 +2397,24 @@ export default {
} }
} }
} }
console.log( this.bxxxinfo.his_deduct_amount,'++++++++++++') console.log(this.bxxxinfo.his_deduct_amount, '++++++++++++')
this.form.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) this.form.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)
// 验证违规 // 验证违规
await prescription({ await 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 => {
.then(response => { if (response.data.result.length > 0) {
if (response.data.result.length>0) { this.weiguiList = response.data.result
this.weiguiList=response.data.result this.weiguiData = response.data.result
this.weiguiData=response.data.result this.ViolationShow = true
this.ViolationShow=true } else {
}else{
this.dialogVisible = true this.dialogVisible = true
} }
}) })
}) })
}) })
.catch(err => { .catch(err => {
...@@ -2444,7 +2431,7 @@ export default { ...@@ -2444,7 +2431,7 @@ export default {
}, },
// 自费预结算 // 自费预结算
zfBeforePre() { zfBeforePre() {
this.yujiesuanLoading = true; this.yujiesuanLoading = true
this.xj_amount = 0 this.xj_amount = 0
this.source_pay_amount = 0 this.source_pay_amount = 0
this.form = {} this.form = {}
......
...@@ -241,7 +241,7 @@ export default { ...@@ -241,7 +241,7 @@ export default {
settlement: {}, settlement: {},
patientinfors: { channel: '' }, patientinfors: { channel: '' },
param: {}, param: {},
refoundStateVisible: false, refoundStateVisible: true,
blod_data: { blod_data: {
data: null, data: null,
notify: { msg: '' }, notify: { msg: '' },
......
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