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; }