Browse Source

charge

master
pengjun 2 years ago
parent
commit
e3e84f739c
  1. 17
      src/components/patientRegister/PatientRegisterEdit.vue
  2. 2
      src/components/patientRegister/PatientRegisterItem.vue
  3. 2
      src/components/patientRegister/patientRegisterQuery.vue
  4. 17
      src/router/index.js
  5. 203
      src/views/Home.vue
  6. 604
      src/views/charge/charge.vue

17
src/components/patientRegister/PatientRegisterEdit.vue

@ -917,6 +917,14 @@ export default {
::v-deep .el-form-item {
margin-bottom: -15px;
}
::v-deep .el-table--small .el-table__cell {
padding: 0px 0;
}
::v-deep .el-input__inner {
text-align: left;
padding-left: 5px;
padding-right: 15px;
}
.btn {
margin-top: 10px;
@ -936,13 +944,4 @@ export default {
height: 160px;
}
::v-deep .el-table--small .el-table__cell {
padding: 0px 0;
}
::v-deep .el-input__inner {
text-align: left;
padding-left: 5px;
padding-right: 15px;
}
</style>

2
src/components/patientRegister/PatientRegisterItem.vue

@ -77,7 +77,7 @@
:height="(window.pageHeight > 735 ? (window.pageHeight - 537) : 198)" width="100%" :summary-method="getSummaries"
show-summary @row-dblclick="removeAbs" @selection-change="selecteditems" size="small">
<!-- temporaryselection personnelUnit.nogroupselected-->
<el-table-column type="selection" align="center" />
<el-table-column type="selection" align="center"/>
<el-table-column label="已选组合项目" width="120" prop="asbitemName" />
<el-table-column label="标准价格" prop="standardPrice" width="70" align="center" />
<el-table-column label="折扣" prop="discount" width="60">

2
src/components/patientRegister/patientRegisterQuery.vue

@ -2,7 +2,7 @@
<div style="display: flex">
<div :style="'display: flex; flex-wrap: wrap; height:100px;width:' + (window.pageWidth - (orgEnable=='Y' ? 0:200) - 120 - 70) + 'px;'">
<div class="query">
<span class="demonstration">登记日期</span>
<span>登记日期</span>
<el-date-picker v-model="patientRegister.query.dateRange" type="daterange" align="right" unlink-panels
range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions" size="small"
style="width: 240px">

17
src/router/index.js

@ -224,6 +224,11 @@ const routes = [
name: "体检人员签到",
component: () => import("../views/customerOrg/patientRegisterSign.vue"),
},
{
path: "/personnelBatch",
name: "人员批量登记",
component: () => import("../views/doctorCheck/personnelBatch.vue"),
},
{
path: "/patientRegisterRecover",
name: "体检表回收",
@ -236,6 +241,12 @@ const routes = [
component: () =>
import("../views/customerOrg/patientRegisterRefuse.vue"),
},
{
path: "/charge",
name: "体检收费",
component: () =>
import("../views/charge/charge.vue"),
},
//---------------------- 体检登记 start ----------------------
//---------------------- 体 检 start ----------------------
{
@ -248,11 +259,7 @@ const routes = [
name: "总检医生诊台",
component: () => import("../views/doctorCheck/sumDoctorCheck.vue"),
},
{
path: "/personnelBatch",
name: "人员预约登记",
component: () => import("../views/doctorCheck/personnelBatch.vue"),
},
//---------------------- 体 检 end ----------------------
],
},

203
src/views/Home.vue

@ -8,16 +8,10 @@
<el-dropdown @command="handleCommand">
<span class="el-dropdown-link"> 用户权限管理 </span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="organization-units"
>组织架构</el-dropdown-item
>
<el-dropdown-item command="organization-units">组织架构</el-dropdown-item>
<el-dropdown-item command="role">角色管理</el-dropdown-item>
<el-dropdown-item command="user-list"
>用户管理</el-dropdown-item
>
<el-dropdown-item command="audit-log"
>安全日志</el-dropdown-item
>
<el-dropdown-item command="user-list">用户管理</el-dropdown-item>
<el-dropdown-item command="audit-log">安全日志</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
@ -26,61 +20,27 @@
<el-dropdown @command="handleCommand">
<span class="el-dropdown-link"> 基础字典 </span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="guide-type"
>导引类别</el-dropdown-item
>
<el-dropdown-item command="medical-report-type"
>体检报告类别</el-dropdown-item
>
<el-dropdown-item command="guide-type">导引类别</el-dropdown-item>
<el-dropdown-item command="medical-report-type">体检报告类别</el-dropdown-item>
<el-dropdown-item command="sex">性别</el-dropdown-item>
<el-dropdown-item command="marital-status"
>婚姻状况</el-dropdown-item
>
<el-dropdown-item command="marital-status">婚姻状况</el-dropdown-item>
<el-dropdown-item command="nation">民族</el-dropdown-item>
<el-dropdown-item command="birth-place">籍贯</el-dropdown-item>
<el-dropdown-item command="result-status"
>结果状态</el-dropdown-item
>
<el-dropdown-item command="medical-type"
>体检类别</el-dropdown-item
>
<el-dropdown-item command="personnel-type"
>人员类别</el-dropdown-item
>
<el-dropdown-item command="device-type"
>仪器类别</el-dropdown-item
>
<el-dropdown-item command="sample-type"
>标本类型</el-dropdown-item
>
<el-dropdown-item command="result-status">结果状态</el-dropdown-item>
<el-dropdown-item command="medical-type">体检类别</el-dropdown-item>
<el-dropdown-item command="personnel-type">人员类别</el-dropdown-item>
<el-dropdown-item command="device-type">仪器类别</el-dropdown-item>
<el-dropdown-item command="sample-type">标本类型</el-dropdown-item>
<el-dropdown-item command="unit">计量单位</el-dropdown-item>
<el-dropdown-item command="diagnosis-postfix"
>诊断后缀</el-dropdown-item
>
<el-dropdown-item command="medical-conclusion-type"
>体检结论类别</el-dropdown-item
>
<el-dropdown-item command="medical-conclusion"
>体检结论</el-dropdown-item
>
<el-dropdown-item command="sample-container"
>标本容器</el-dropdown-item
>
<el-dropdown-item command="common-char-type"
>常用字符类别</el-dropdown-item
>
<el-dropdown-item command="common-char"
>常用字符</el-dropdown-item
>
<el-dropdown-item command="customer-org-type"
>客户单位类别</el-dropdown-item
>
<el-dropdown-item command="item-default-result"
>项目默认结果</el-dropdown-item
>
<el-dropdown-item command="diagnosis-level"
>诊断级别</el-dropdown-item
>
<el-dropdown-item command="diagnosis-postfix">诊断后缀</el-dropdown-item>
<el-dropdown-item command="medical-conclusion-type">体检结论类别</el-dropdown-item>
<el-dropdown-item command="medical-conclusion">体检结论</el-dropdown-item>
<el-dropdown-item command="sample-container">标本容器</el-dropdown-item>
<el-dropdown-item command="common-char-type">常用字符类别</el-dropdown-item>
<el-dropdown-item command="common-char">常用字符</el-dropdown-item>
<el-dropdown-item command="customer-org-type">客户单位类别</el-dropdown-item>
<el-dropdown-item command="item-default-result">项目默认结果</el-dropdown-item>
<el-dropdown-item command="diagnosis-level">诊断级别</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
@ -89,9 +49,7 @@
<el-dropdown @command="handleCommand">
<span class="el-dropdown-link"> 收费设置 </span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="invoice-item-type"
>发票项目类别</el-dropdown-item
>
<el-dropdown-item command="invoice-item-type">发票项目类别</el-dropdown-item>
<el-dropdown-item command="pay-mode">支付方式</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
@ -101,14 +59,10 @@
<el-dropdown @command="handleCommand">
<span class="el-dropdown-link"> 常用设置 </span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="item-type"
>项目类别</el-dropdown-item
>
<el-dropdown-item command="item-type">项目类别</el-dropdown-item>
<el-dropdown-item command="item">项目设置</el-dropdown-item>
<el-dropdown-item command="asbitem">组合项目</el-dropdown-item>
<el-dropdown-item command="sample-group"
>条码分组</el-dropdown-item
>
<el-dropdown-item command="sample-group">条码分组</el-dropdown-item>
<!-- <el-dropdown-item
@click.native="$router.push({ path: '/reference-range' })"
>参考范围</el-dropdown-item
@ -120,24 +74,12 @@
>性激素参考范围</el-dropdown-item
> -->
<el-dropdown-item command="diagnosis">诊断</el-dropdown-item>
<el-dropdown-item command="diagnosis-template"
>诊断模板</el-dropdown-item
>
<el-dropdown-item command="item-result-template"
>项目结果模板</el-dropdown-item
>
<el-dropdown-item command="item-result-match"
>项目结果匹配</el-dropdown-item
>
<el-dropdown-item command="item-template"
>项目模板</el-dropdown-item
>
<el-dropdown-item command="medical-package"
>套餐</el-dropdown-item
>
<el-dropdown-item command="sys-parm-type"
>系统参数</el-dropdown-item
>
<el-dropdown-item command="diagnosis-template">诊断模板</el-dropdown-item>
<el-dropdown-item command="item-result-template">项目结果模板</el-dropdown-item>
<el-dropdown-item command="item-result-match">项目结果匹配</el-dropdown-item>
<el-dropdown-item command="item-template">项目模板</el-dropdown-item>
<el-dropdown-item command="medical-package">套餐</el-dropdown-item>
<el-dropdown-item command="sys-parm-type">系统参数</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
@ -146,27 +88,14 @@
<el-dropdown @command="handleCommand">
<span class="el-dropdown-link"> 体检登记 </span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="customerOrg"
>体检单位设置</el-dropdown-item
>
<el-dropdown-item command="customerOrgGroup"
>单位分组设置</el-dropdown-item
>
<el-dropdown-item command="patientRegister"
>体检人员登记</el-dropdown-item
>
<el-dropdown-item command="patientRegisterSign"
>体检人员签到</el-dropdown-item
>
<el-dropdown-item command="patientRegisterRecover"
>体检表回收</el-dropdown-item
>
<el-dropdown-item command="patientRegisterRefuse"
>弃检登记</el-dropdown-item
>
<el-dropdown-item command="personnelBatch"
>人员批量登记</el-dropdown-item
>
<el-dropdown-item command="customerOrg">体检单位设置</el-dropdown-item>
<el-dropdown-item command="customerOrgGroup">单位分组设置</el-dropdown-item>
<el-dropdown-item command="patientRegister">体检人员登记</el-dropdown-item>
<el-dropdown-item command="personnelBatch">人员批量登记</el-dropdown-item>
<el-dropdown-item command="patientRegisterSign">体检人员签到</el-dropdown-item>
<el-dropdown-item command="patientRegisterRecover">体检表回收</el-dropdown-item>
<el-dropdown-item command="patientRegisterRefuse">弃检登记</el-dropdown-item>
<el-dropdown-item command="charge">体检收费</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
@ -175,13 +104,9 @@
<el-dropdown @command="handleCommand">
<span class="el-dropdown-link"> 体检 </span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="doctorCheck"
>体检医生诊台</el-dropdown-item
>
<el-dropdown-item command="sumDoctorCheck"
>总检医生诊台</el-dropdown-item
>
<el-dropdown-item command="doctorCheck">体检医生诊台</el-dropdown-item>
<el-dropdown-item command="sumDoctorCheck">总检医生诊台</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
@ -193,51 +118,24 @@
操作 <i class="el-icon-arrow-down el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item @click.native="logout"
>退出登录</el-dropdown-item
>
<el-dropdown-item @click.native="editpassword"
>修改密码</el-dropdown-item
>
<el-dropdown-item @click.native="logout">退出登录</el-dropdown-item>
<el-dropdown-item @click.native="editpassword">修改密码</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
</div>
</el-header>
<!-- 修改密码弹框 -->
<el-dialog
title="修改密码"
:visible.sync="dialogVisible"
width="30%"
:close-on-click-modal="false"
>
<el-form
:model="form"
:rules="rules"
ref="ruleForm"
label-width="100px"
>
<el-dialog title="修改密码" :visible.sync="dialogVisible" width="30%" :close-on-click-modal="false">
<el-form :model="form" :rules="rules" ref="ruleForm" label-width="100px">
<el-form-item label="旧密码" prop="oldPassWord">
<el-input
v-model="form.oldPassWord"
autocomplete="new-password"
show-password
></el-input>
<el-input v-model="form.oldPassWord" autocomplete="new-password" show-password></el-input>
</el-form-item>
<el-form-item label="新密码" prop="newPassWord">
<el-input
v-model="form.newPassWord"
autocomplete="new-password"
show-password
></el-input>
<el-input v-model="form.newPassWord" autocomplete="new-password" show-password></el-input>
</el-form-item>
<el-form-item label="确认密码" prop="newPassWord">
<el-input
v-model="confirmpassword"
type="password"
autocomplete="new-password"
show-password
></el-input>
<el-input v-model="confirmpassword" type="password" autocomplete="new-password" show-password></el-input>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
@ -500,7 +398,7 @@ export default {
handleCommand(command) {
if (this.router.path != command) {
this.router.path = command;
this.$router.push({ path: command }).catch(()=>{})
this.$router.push({ path: command }).catch(() => { })
}
},
//
@ -546,6 +444,7 @@ export default {
.el-dropdown-item {
text-align: center;
}
.el-dropdown-menu {
text-align: center;
overflow: scroll;
@ -554,6 +453,7 @@ export default {
overflow-x: hidden;
/* margin-left: 5%; */
}
.el-header {
position: fixed;
/* top:0;
@ -563,15 +463,18 @@ export default {
overflow: auto;
z-index: 999;
}
.el-container {
/* position: fixed; */
width: 100%;
}
.el-dropdown-link {
width: 100%;
display: block;
position: relative;
}
.el-menu {
border-right: none;
}

604
src/views/charge/charge.vue

@ -0,0 +1,604 @@
<template>
<div>
<el-card>
<div style="display: flex; width: 100%;">
<!-- 查询条件 与列表 -->
<div class="queryDivClass">
<!-- 查询条件 -->
<div style="height: 80px;">
<div style="display:flex;">
<div>
<span>登记日期</span>
<el-date-picker v-model="query.dateRange" type="daterange" align="right" unlink-panels range-separator=""
start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions" size="small"
style="width: 240px">
</el-date-picker>
</div>
<div style="margin-left:10px;">
<el-button type="primary" class="btnClass" @click="Query">查询</el-button>
</div>
</div>
<div style="display:flex;margin-top:10px;">
<el-radio v-model="query.chargeFlag" label="N">未收费</el-radio>
<el-radio v-model="query.chargeFlag" label="Y">已收费</el-radio>
<el-radio v-model="query.chargeFlag" label="B">退费</el-radio>
</div>
</div>
<!-- 列表 -->
<div class="prListDivClass">
<el-table :data="patientRegister.prList" border highlight-current-row
:height="(window.pageHeight > 600 ? (window.pageHeight - 230) : 350)" @row-click="rowClick" size="small"
@selection-change="handleSelectionChange">
<el-table-column prop="customerOrgParentName" label="单位" width="180">
<template slot-scope="scope">
<div>{{ scope.row.customerOrgParentName ? scope.row.customerOrgParentName : scope.row.customerOrgName }}
</div>
</template>
</el-table-column>
<el-table-column prop="patientName" label="姓名" />
<el-table-column prop="sexId" label="性别">
<template slot-scope="scope">
<div>{{ dddw(dict.sex, "id", scope.row.sexId, "displayName") }}</div>
</template>
</el-table-column>
<el-table-column prop="age" label="年龄" />
<el-table-column prop="patientRegisterNo" label="条码号" width="150" />
<el-table-column prop="patientNo" label="档案号" />
<el-table-column prop="medicalTimes" label="体检次数"></el-table-column>
<el-table-column label="分组/套餐" width="150">
<template slot-scope="scope">
<div
v-if="scope.row.medicalPackageId !== dict.personOrgId && scope.row.customerOrgId === dict.personOrgId">
{{ dddw(dict.medicalPackage, "id", scope.row.medicalPackageId, "displayName") }}
</div>
<div
v-if="scope.row.medicalPackageId !== dict.personOrgId && scope.row.customerOrgId !== dict.personOrgId">
{{ dddw(dict.customerOrgGroupAll, "id", scope.row.customerOrgGroupId, "displayName") }}
</div>
</template>
</el-table-column>
<el-table-column prop="completeFlag" label="体检进度">
<template slot-scope="scope">
<div>{{ dddw(dict.completeFlag, "id", scope.row.completeFlag, "displayName") }}</div>
</template>
</el-table-column>
<el-table-column prop="guidePrintTimes" label="打印" width="50">
<template slot-scope="scope">
<i class="el-icon-printer" v-if="scope.row.guidePrintTimes > 0"
style="font-size: 24px;color: green;"></i>
</template>
</el-table-column>
<el-table-column prop="isLock" label="锁住">
<template slot-scope="scope">
<div>{{ scope.row.isLock == "Y" ? "是" : "否" }}</div>
</template>
</el-table-column>
<el-table-column prop="customerOrgName" label="部门" width="180">
<template slot-scope="scope">
<div>{{ scope.row.customerOrgParentName ? scope.row.customerOrgName : "" }}</div>
</template>
</el-table-column>
<el-table-column prop="nationId" label="民族">
<template slot-scope="scope">
<div>
{{ dddw(dict.nation, "nationId", scope.row.nationId, "displayName") }}
</div>
</template>
</el-table-column>
<el-table-column prop="idNo" label="身份证" width="150" />
<el-table-column prop="birthDate" label="出生日期" width="100">
<template slot-scope="scope">
<div v-if="scope.row.birthDate">
{{ lmoment(scope.row.birthDate, "yyyy-MM-DD") }}
</div>
</template>
</el-table-column>
<el-table-column prop="email" label="邮箱" width="180" />
<el-table-column prop="mobileTelephone" label="手机" width="100" />
<el-table-column prop="telephone" label="电话" width="100" />
<el-table-column prop="address" label="地址" width="300" />
<el-table-column prop="medicalCardNo" label="体检卡号" />
<el-table-column prop="jobCardNo" label="工卡号" />
<el-table-column prop="maritalStatusId" label="婚姻状况">
<template slot-scope="scope">
<div>
{{ dddw(dict.maritalStatus, "id", scope.row.maritalStatusId, "displayName") }}
</div>
</template>
</el-table-column>
<el-table-column prop="medicalTypeId" label="体检类别">
<template slot-scope="scope">
<div v-if="scope.row.medicalTypeId !== dict.personOrgId">
{{ dddw(dict.medicalType, "id", scope.row.medicalTypeId, "displayName") }}
</div>
</template>
</el-table-column>
<el-table-column prop="personnelTypeId" label="人员类别">
<template slot-scope="scope">
<div v-if="scope.row.personnelTypeId !== dict.personOrgId">
{{ dddw(dict.personnelType, "id", scope.row.personnelTypeId, "displayName") }}
</div>
</template>
</el-table-column>
<el-table-column prop="jobPost" label="职务" />
<el-table-column prop="jobTitle" label="职称" />
<el-table-column prop="salesman" label="介绍人" />
<el-table-column prop="isVip" label="是否VIP">
<template slot-scope="scope">
<div>{{ scope.row.isVip == "Y" ? "是" : "否" }}</div>
</template>
</el-table-column>
<el-table-column prop="creatorName" label="登记人" />
<el-table-column prop="creationTime" label="登记日期" width="100">
<template slot-scope="scope">
<div>{{ lmoment(scope.row.creationTime, "yyyy-MM-DD") }}</div>
</template>
</el-table-column>
<el-table-column prop="isUpload" label="是否上传">
<template slot-scope="scope">
<div>{{ scope.row.isUpload == "Y" ? "是" : "否" }}</div>
</template>
</el-table-column>
</el-table>
</div>
</div>
<!-- 收费操作 -->
<div class="queryDivClass" style="margin-left:5px;">
<!-- 查询信息 -->
<div style="height: 40px;">
<div style="display: flex; flex-wrap: wrap;margin-top:40px; height:40px; width: 100%;">
<div class="query">
<span>条码号</span>
<el-input placeholder="条码号" v-model="query.patientRegisterNo" size="small" style="width: 140px" clearable
@change="Query" />
</div>
<div class="query">
<span>档案号</span>
<el-input placeholder="档案号" v-model="query.patientNo" size="small" style="width: 100px" clearable
@change="Query" />
</div>
<div class="query">
<span>姓名</span>
<el-input placeholder="姓名" v-model="query.patientName" size="small" style="width: 100px" disabled />
</div>
</div>
</div>
<!-- 收费信息 -->
<div class="prListDivClass">
<!-- charge -->
<div>
<el-form ref="form" :model="form" label-width="80px" :rules="rules" size="small">
<el-row>
<el-col :span="12">
<el-form-item label="发票号" prop="invoiceNo">
<el-input v-model="form.invoiceNo" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="开票抬头" prop="invoiceOrgName">
<el-input v-model="form.invoiceOrgName" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="折扣" prop="discount">
<el-input v-model="form.discount" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="应收金额" prop="total">
<el-input v-model="form.total" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="预收金额" prop="preTotal">
<el-input v-model="form.preTotal" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="找零" prop="balance">
<el-input v-model="form.balance" />
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
<!-- charge_pay -->
<div>
<div style="margin-top:5px;font-size:10px;">收费方式</div>
<el-table :data="chargePays" border highlight-current-row size="small"
:height="window.pageHeight > 600 ? (window.pageHeight - 230 - 146) / 2 : 112" >
<el-table-column prop="payModeId" label="收费方式" width="180">
<template slot-scope="scope">
<div>{{ dddw(dict.payMode, "id", scope.row.payModeId, "displayName") }}</div>
</template>
</el-table-column>
<el-table-column prop="chargeMoney" label="金额">
<template slot-scope="scope">
<el-input type="number" v-model="scope.row.chargeMoney" size="small" @input="inputMoney" />
</template>
</el-table-column>
<el-table-column prop="cardBillId" label="会员卡">
<template slot-scope="scope">
<el-select v-model="scope.row.cardBillId" placeholder="请选择" size="small"
filterable clearable :disabled="scope.row.payModeId == '05' ? false:true" >
<el-option v-for="item in cardRegister" :key="item.id" :label="item.idNo" :value="item.id" />
</el-select>
</template>
</el-table-column>
</el-table>
</div>
<!-- asbitem -->
<div>
<div style="margin-top:5px; font-size:10px;">待收费项目</div>
<el-table :data="asbItemsForFee" border highlight-current-row
:height="window.pageHeight > 600 ? (window.pageHeight - 230 - 146) / 2 : 112"
size="small" @selection-change="handleSelectionChange">
<el-table-column type="selection" align="center" />
<el-table-column label="已选组合项目" width="120" prop="asbitemName" />
<el-table-column label="标准价格" prop="standardPrice" width="80" align="center" />
<el-table-column label="折扣" prop="discount" width="60">
<template slot-scope="scope">
<el-input type="number" v-model="scope.row.discount" size="small" @input="changeDiscount(scope.$index)"/>
</template>
</el-table-column>
<el-table-column label="数量" prop="amount" width="50">
<template slot-scope="scope">
<el-input type="number" v-model="scope.row.amount" size="small" />
</template>
</el-table-column>
<el-table-column label="实收价格" prop="chargePrice" width="80">
<template slot-scope="scope">
<el-input type="number" v-model="patientRegister.patientRegisterAbs[scope.$index].chargePrice" size="small"
@input="changePrice(scope.$index)" />
</template>
</el-table-column>
<el-table-column prop="total" label="金额" width="70" v-if="false" />
<el-table-column prop="standardPrice" label="标准金额" width="80" v-if="false" />
<el-table-column label="支付方式" prop="payTypeFlag" width="100">
<template slot-scope="scope">
<el-select v-model="scope.row.payTypeFlag" size="small">
<el-option v-for="item in dict.payType" :key="item.id" :label="item.displayName" :value="item.id" />
</el-select>
</template>
</el-table-column>
<el-table-column prop="checkCompleteFlag" label="状态" align="center">
<template slot-scope="scope">
<div>{{ ldddw(dict.checkCompleteFlag, "id", scope.row.checkCompleteFlag, "displayName") }}</div>
</template>
</el-table-column>
<el-table-column prop="creatorName" label="登记人" align="center"/>
<el-table-column prop="creationTime" label="登记日期" width="90" align="center"/>
</el-table>
<template slot-scope="scope">
<div>{{ moment(scope.row.creationTime, 'yyyy-MM-DD') }}</div>
</template>
</el-table-column>
</el-table>
</div>
</div>
</div>
<div class="btnDivClass">
<div class="btnListClass">
<el-button type="primary" class="btnClass">收费</el-button>
</div>
<div class="btnListClass">
<el-button type="primary" class="btnClass">打印</el-button>
</div>
</div>
</div>
</el-card>
</div>
</template>
<script>
import moment from 'moment';
import { mapState, mapActions } from "vuex";
import { getapi, postapi, putapi, deletapi } from "@/api/api";
import { tcdate, dddw } from "../../utlis/proFunc";
import PatientRegisterQuery from "../../components/patientRegister/patientRegisterQuery.vue";
import PatientRegisterRefuseList from "../../components/patientRegister/PatientRegisterRefuseList.vue";
export default {
components: {
PatientRegisterQuery,
PatientRegisterRefuseList,
},
data() {
return {
query: { chargeFlag: 'N' },//
form: {}, //
rules: {
invoiceNo: [
{ required: true, message: "请填写发票/收据号", trigger: "blur" },
],
total: [
{ required: true, message: "请填写应收金额", trigger: "blur" },
],
},
pickerOptions: {
shortcuts: [
{
text: "最近一周",
onClick(picker) {
const end = new Date();
const start = new Date();
start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
picker.$emit("pick", [start, end]);
},
},
{
text: "最近一个月",
onClick(picker) {
const end = new Date();
const start = new Date();
start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
picker.$emit("pick", [start, end]);
},
},
{
text: "最近三个月",
onClick(picker) {
const end = new Date();
const start = new Date();
start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
picker.$emit("pick", [start, end]);
},
},
],
},
chargePays: [], //
asbItemsForFee: [], //
cardRegister:[{id:'00000000-0000-0000-0000-000000000000',idNo:'0001'}], //
cardRegisterAll:[], //
};
},
created() { },
//
mounted() {
this.dictInit();
},
computed: {
...mapState(["window", "dict", "patientRegister", "customerOrg"]),
},
methods: {
...mapActions(["getCustomerOrgGroup"]),
dddw,moment,
//
Query() {
console.log('query', this.query);
},
//
rowClick(row){
},
//
inputMoney(){
},
//
handleSelectionChange(){
},
//
changeDiscount(row){
},
//
changePrice(row){
},
//
dictInit() {
//
getapi("/api/app/sex").then((res) => {
if (res.code == 1) {
this.dict.sex = res.data;
}
});
//
getapi("/api/app/for-sex").then((res) => {
if (res.code == 1) {
this.dict.forSex = res.data;
}
});
//
getapi("/api/app/customer-org/by-code-all").then((res) => {
this.patientRegister.customerOrgTreeAll = res.data;
tcdate(this.patientRegister.customerOrgTreeAll)
});
//
getapi("/api/app/organization-units/organization-unit-by-is-peis").then(
(res) => {
if (res.code == 1) {
this.dict.organization = res.data;
}
}
);
//
getapi("/api/app/customer-org/in-filter").then((res) => {
if (res.code == 1) {
this.dict.customerOrg = res.data.items;
}
});
//
getapi("/api/app/medical-type/in-filter").then((res) => {
if (res.code == 1) {
this.dict.medicalType = res.data.items;
}
});
//
getapi("/api/app/personnel-type/in-filter").then((res) => {
if (res.code == 1) {
this.dict.personnelType = res.data.items;
}
});
//
getapi("/api/app/marital-statuses").then((res) => {
if (res.code == 1) {
this.dict.maritalStatus = res.data.items;
}
});
//
getapi("/api/app/sex-hormone-term/in-filter").then((res) => {
if (res.code == 1) {
this.dict.sexHormoneTerm = res.data.items;
}
});
//
getapi("/api/app/nation/in-filter").then((res) => {
if (res.code == 1) {
this.dict.nation = res.data.items;
}
});
//
getapi("/api/app/birth-place/in-filter").then((res) => {
if (res.code == 1) {
this.dict.birthPlace = res.data.items;
}
});
//
getapi("/api/app/medical-package/in-filter").then((res) => {
if (res.code == 1) {
this.dict.medicalPackage = res.data.items;
}
});
//
getapi("/api/app/customer-org-group").then((res) => {
if (res.code == 1) {
this.dict.customerOrgGroupAll = res.data.items;
}
});
//
getapi("/api/app/pay-mode").then((res) => {
if (res.code == 1) {
this.dict.payMode = res.data;
//
this.chargePays = [];
this.dict.payMode.forEach(e => {
this.chargePays.push({ chargeId: null, payModeId: e.id, chargeMoney: 0, cardBillId: null })
})
}
});
//
getapi("/api/app/item-type/by-code-all").then((res) => {
if (res.code == 1) {
this.dict.itemTypeTree = res.data;
tcdate(this.dict.itemTypeTree);
}
});
getapi("/api/app/asbitem/in-filter?Filter").then((res) => {
if (res.code == 1) {
this.dict.asbItemAll = res.data.items;
}
});
console.log("dict", this.dict);
},
},
//()
watch: {
},
};
</script>
<style scoped>
::v-deep .el-form-item {
margin-bottom: 1px;
}
::v-deep .el-table--small .el-table__cell {
padding: 0px 0;
}
::v-deep .el-input__inner {
text-align: left;
padding-left: 5px;
padding-right: 15px;
}
::v-deep input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none !important;
margin: 0 !important;
}
::v-deep .el-table th.el-table__cell {
text-align: center;
padding-left: 1px;
padding-right: 1px;
}
::v-deep .el-table td.el-table__cell {
padding-left: 1px;
padding-right: 1px;
}
::v-deep .el-table .cell {
padding-left: 1px;
padding-right: 1px;
}
.queryDivClass {
display: block;
width: v-bind("(window.pageWidth > 600 ? (window.pageWidth - 120 - 80) / 2 : 200) + 'px'");
height: v-bind("(window.pageHeight > 600 ? (window.pageHeight - 150) : 450) + 'px'");
}
.query {
margin-left: 10px;
}
.prListDivClass {
height: v-bind("(window.pageHeight > 600 ? (window.pageHeight - 250) : 350) + 'px'");
}
.btnDivClass {
display: block;
width: 110px;
margin-left: 5px;
margin-top: 180px;
}
.btnListClass {
margin-top: 10px;
}
.btnClass {
width: 110px;
}
</style>
Loading…
Cancel
Save