-
{{ o.order_no }}
-
¥{{ o.amount }}
+
+
+ {{ o.order_no }}
+ ¥{{ o.amount }}
+
+
+ {{ formatPoCategory(o.order_type) }} · {{ formatPayOrderSource(o) }}
+
@@ -4641,7 +4656,7 @@ const editDiagnosisCreatorDeptBreadcrumbs = computed(() => {
.filter((segs) => segs.length > 0)
})
-const editPaidOrders = ref
>([])
+const editPaidOrders = ref>([])
const editPaidOrdersLoading = ref(false)
const editDepositMin = ref(0)
@@ -4657,6 +4672,24 @@ function formatPoCategory(t: unknown) {
return m[Number(t)] || '未知'
}
+function formatPayOrderSource(row: { payment_method?: unknown; create_type?: unknown }) {
+ const createType = String(row?.create_type || '')
+ if (createType === 'wechat_work') return '企业微信对外收款'
+ if (createType === 'fubei') return '付呗'
+ const paymentMethod = String(row?.payment_method || '')
+ const methodMap: Record = {
+ alipay: '支付宝',
+ wechat: '微信',
+ wechat_work: '企业微信',
+ fubei: '付呗',
+ manual: '手动确认到账'
+ }
+ if (paymentMethod && methodMap[paymentMethod]) {
+ return methodMap[paymentMethod]
+ }
+ return '普通订单'
+}
+
const editLinkedPaidTotal = computed(() => {
const ids = new Set(editForm.pay_order_ids.map((x) => Number(x)))
let s = 0
diff --git a/admin/src/views/consumer/prescription/order_list_h5.vue b/admin/src/views/consumer/prescription/order_list_h5.vue
index c65afcd9..f810e411 100644
--- a/admin/src/views/consumer/prescription/order_list_h5.vue
+++ b/admin/src/views/consumer/prescription/order_list_h5.vue
@@ -962,6 +962,11 @@
豁免
+
+
+ {{ formatPayOrderSource(row) }}
+
+
@@ -1020,6 +1025,11 @@
豁免
+
+
+ {{ formatPayOrderSource(row) }}
+
+
@@ -1555,7 +1565,7 @@
@@ -1565,7 +1575,7 @@
¥{{ o.amount }}