From 7115563ff951a18ac624bb61224f7e242de791ba Mon Sep 17 00:00:00 2001 From: zhaoyun Date: Fri, 22 May 2026 10:01:12 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20Bug=20#568:=20=E4=BF=AE=E5=A4=8D=E9=97=A8?= =?UTF-8?q?=E8=AF=8A=E6=97=A5=E7=BB=93=E9=A1=B5=E9=9D=A2=E6=8E=92=E7=89=88?= =?UTF-8?q?=E6=B7=B7=E4=B9=B1=E9=97=AE=E9=A2=98=20-=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=9B=BA=E5=AE=9Alabel=E5=AE=BD=E5=BA=A6=E3=80=81=E5=88=86?= =?UTF-8?q?=E9=9A=94=E7=BA=BF=E5=92=8C=E7=BB=9F=E4=B8=80=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/clinicmanagement/dayEnd/index.vue | 136 ++++++++---------- 1 file changed, 58 insertions(+), 78 deletions(-) diff --git a/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue b/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue index 2777b42d..59cdfc8e 100755 --- a/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue +++ b/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue @@ -36,178 +36,158 @@ 查询 打印 - - -
+
- + 经办人姓名: {{ userStore.nickName }} - + 科室: {{ userStore.orgName }} - + 时间: {{ queryTime[0] + '~' + queryTime[1] }} +
- + 实际现金收入: {{ formatValue(reportValue.cashSum) }} - + 现金: {{ formatValue(reportValue.rmbCashSum) }} - + 微信: {{ formatValue(reportValue.vxCashSum) }} - + 支付宝: {{ formatValue(reportValue.aliCashSum) }} +
- + 统筹支付: {{ 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) }} @@ -223,12 +203,11 @@ import {formatDateStr} from '@/utils/index'; import Decimal from 'decimal.js'; const userStore = useUserStore(); -// import Dialog from "./components/Dialog"; const router = useRouter(); const { proxy } = getCurrentInstance(); -const purchaseinventoryRef = ref(null); // 初始化 ref +const purchaseinventoryRef = ref(null); const purchaseinventoryList = ref([]); const open = ref(false); const loading = ref(true); @@ -285,10 +264,6 @@ function getContract() { } function getPharmacyCabinetLists() { - // occurrenceTime.value = - // getDepartmentList().then((response) => { - // issueDepartmentDto.value = response.data - // }) } /** 查询调拨管理项目列表 */ function getList() { @@ -316,7 +291,6 @@ function handleQuery() { /** 清空条件按钮操作 */ function handleClear() { - // 清空查询条件 queryParams.value.approvalTimeSTime = ''; queryParams.value.approvalTimeETime = ''; occurrenceTime.value = ''; @@ -333,12 +307,11 @@ function handleSelectionChange(selection) { /** 打印门诊日结 */ async function print() { - // const selectedRows = proxy.$refs['tableRef'].getSelectionRows(); console.log(reportValue.value, '==reportValue.value=='); const result = { data: [ { - ...reportValue.value, // 将 reportValue.value 中的所有属性展开到 result 中 + ...reportValue.value, nickName: userStore.nickName, orgName: userStore.orgName, fixmedinsName: userStore.hospitalName, @@ -359,14 +332,12 @@ async function print() { ], }; console.log(result, '==result.data=='); - // 将对象转换为 JSON 字符串 let jsonString = JSON.stringify(result, null, 2); console.log(jsonString, 'jsonstring'); await CefSharp.BindObjectAsync('boundAsync'); await boundAsync .printReport(getPrintFileName(contractNo.value), jsonString) .then((response) => { - //返回结果是jsonString,可判断其调用是否成功 console.log(response, 'response'); var res = JSON.parse(response); if (!res.IsSuccess) { @@ -382,9 +353,9 @@ function getPrintFileName(value) { switch (value) { case '0000': return '门诊日结单(按登录角色查询)自费.grf'; - case '229900': // 省医保 + case '229900': return '门诊日结单(按登录角色查询)省医保.grf'; - case '220100': // 市医保 + case '220100': return '门诊日结单(按登录角色查询)市医保.grf'; } } @@ -408,12 +379,21 @@ getPharmacyCabinetLists(); margin-bottom: 10px; } .label { + display: inline-block; + width: 120px !important; color: #606266; - white-space: nowrap; } .value { + float: right; color: #303133; font-weight: 500; - white-space: nowrap; +} +.el-col { + margin-right: 50px; +} +.divider { + height: 3px; + background-color: #000; + margin: 20px 0; }