diff --git a/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue b/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue index d1bdd181..e538d488 100755 --- a/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue +++ b/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue @@ -42,80 +42,51 @@
门诊收费日结单
基本信息
- - - - - - - - - -
经办人姓名:{{ userStore.nickName }}科室:{{ userStore.orgName }}时间:{{ queryTime[0] + '~' + queryTime[1] }}
+ + 经办人姓名:{{ userStore.nickName }} + 科室:{{ userStore.orgName }} + 时间:{{ queryTime[0] + '~' + queryTime[1] }} +
收费汇总
- - - - - - - - - - - -
实际现金收入:{{ formatValue(reportValue.cashSum) }}现金:{{ formatValue(reportValue.rmbCashSum) }}微信:{{ formatValue(reportValue.vxCashSum) }}支付宝:{{ formatValue(reportValue.aliCashSum) }}
+ + 实际现金收入:{{ formatValue(reportValue.cashSum) }} + 现金:{{ formatValue(reportValue.rmbCashSum) }} + 微信:{{ formatValue(reportValue.vxCashSum) }} + 支付宝:{{ formatValue(reportValue.aliCashSum) }} +
医保支付
- - - - - - - - - -
统筹支付:{{ formatValue(reportValue.tcSum) }}账户支付:{{ formatValue(reportValue.zhSum) }}基金支付总额:{{ formatValue(reportValue.fundSum) }}
+ + 统筹支付:{{ formatValue(reportValue.tcSum) }} + 账户支付:{{ formatValue(reportValue.zhSum) }} + 基金支付总额:{{ formatValue(reportValue.fundSum) }} +
费用明细
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
诊查费:{{ formatValue(reportValue.DIAGNOSTIC_FEE) }}检查费:{{ formatValue(reportValue.CHECK_FEE) }}化验费:{{ formatValue(reportValue.DIAGNOSTIC_TEST_FEE) }}治疗费:{{ formatValue(reportValue.MEDICAL_EXPENSE_FEE) }}
西药费:{{ formatValue(reportValue.WEST_MEDICINE) }}中药饮片费:{{ formatValue(reportValue.CHINESE_MEDICINE_SLICES_FEE) }}中成药费:{{ formatValue(reportValue.CHINESE_MEDICINE_FEE) }}卫生材料费:{{ formatValue(reportValue.SANITARY_MATERIALS_FEE) }}
诊疗费:{{ formatValue(reportValue.GENERAL_CONSULTATION_FEE) }}挂号费:{{ formatValue(reportValue.REGISTRATION_FEE) }}其他费用:{{ formatValue(reportValue.OTHER_FEE) }}
+ + 诊查费:{{ formatValue(reportValue.DIAGNOSTIC_FEE) }} + 检查费:{{ formatValue(reportValue.CHECK_FEE) }} + 化验费:{{ formatValue(reportValue.DIAGNOSTIC_TEST_FEE) }} + 治疗费:{{ formatValue(reportValue.MEDICAL_EXPENSE_FEE) }} + + + 西药费:{{ formatValue(reportValue.WEST_MEDICINE) }} + 中药饮片费:{{ formatValue(reportValue.CHINESE_MEDICINE_SLICES_FEE) }} + 中成药费:{{ formatValue(reportValue.CHINESE_MEDICINE_FEE) }} + 卫生材料费:{{ formatValue(reportValue.SANITARY_MATERIALS_FEE) }} + + + 诊疗费:{{ formatValue(reportValue.GENERAL_CONSULTATION_FEE) }} + 挂号费:{{ formatValue(reportValue.REGISTRATION_FEE) }} + 其他费用:{{ formatValue(reportValue.OTHER_FEE) }} +
@@ -263,6 +234,35 @@ async function print() { await boundAsync .printReport(getPrintFileName(contractNo.value), jsonString) .then((response) => { + console.log(response, 'response'); + var res = JSON.parse(response); + if (!res.IsSuccess) { + proxy.$modal.msgError('调用打印插件失败:' + res.ErrorMessage); + } + }) + .catch((error) => { + proxy.$modal.msgError('调用打印插件失败:' + error); + }); +} + +function getPrintFileName(value) { + switch (value) { + case '0000': + return '门诊日结单(按登录角色查询)自费.grf'; + case '229900': + return '门诊日结单(按登录角色查询)省医保.grf'; + case '220100': + return '门诊日结单(按登录角色查询)市医保.grf'; + } +} + +function formatValue(value) { + return value == null || value == undefined ? '0.00 元' : value.toFixed(2) + ' 元'; +} + +getList(); +getPharmacyCabinetLists(); + -.section-title { - font-size: 15px; - font-weight: bold; - color: #303133; - margin: 8px 0; - padding-left: 8px; - border-left: 3px solid #409eff; -} -.report-table { - width: 100%; - border-collapse: collapse; - margin: 12px 0; -} -.report-table td { - padding: 8px 4px; - vertical-align: middle; -} -.label-cell { - color: #606266; - white-space: nowrap; - text-align: right; - width: 100px; -} -.value-cell { - color: #303133; - font-weight: 500; - white-space: nowrap; -} -.divider { - height: 1px; - background-color: #dcdfe6; - margin: 16px 0; +@media screen and (max-width: 1200px) { + .cols-4 { + grid-template-columns: repeat(2, 1fr); + } + .span-2 { + grid-column: span 2; + } } @media screen and (max-width: 768px) { - .label-cell { - width: 80px; - font-size: 13px; + .cols-4 { + grid-template-columns: 1fr; } - .value-cell { - font-size: 13px; + .span-2 { + grid-column: span 1; + } + .label { + width: 100px; } }