diff --git a/openhis-ui-vue3/src/views/doctorstation/components/inspection/inspectionApplication.vue b/openhis-ui-vue3/src/views/doctorstation/components/inspection/inspectionApplication.vue
index 6e17e4f18..0cb5e6c18 100755
--- a/openhis-ui-vue3/src/views/doctorstation/components/inspection/inspectionApplication.vue
+++ b/openhis-ui-vue3/src/views/doctorstation/components/inspection/inspectionApplication.vue
@@ -56,6 +56,13 @@
+
+
+
+ {{ getStatusLabel(scope.row.applyStatus, scope.row) }}
+
+
+
{{ scope.row.itemName }}
@@ -1445,6 +1452,26 @@ const formatAmount = (amount) => {
return num.toFixed(2)
}
+// 单据状态标签文字
+const getStatusLabel = (applyStatus, row) => {
+ // applyStatus: 0=待开立, 1=已开立(已签发)
+ // 结合收费/执行标记推导更丰富的状态
+ if (applyStatus === 1) {
+ // 已收费后根据执行标记判断
+ if (row.needExecute === true) {
+ return '已执行'
+ }
+ return '已开立'
+ }
+ return '待开立'
+}
+
+// 单据状态标签颜色
+const getStatusType = (applyStatus) => {
+ if (applyStatus === 1) return 'success'
+ return 'info'
+}
+
// 格式化日期时间为字符串 YYYY-MM-DD HH:mm:ss
const formatDateTime = (date) => {
if (!date) return ''