修改计费逻辑仅 billing_fail_status = 0 才写 prc_income_bill

This commit is contained in:
wuweihua
2026-11-11 09:49:59 +08:00
parent a211f06663
commit a58de9bb7e
11 changed files with 38 additions and 15 deletions
@@ -494,7 +494,8 @@ const billingFailStatusOptions = [
{ label: '客户代码为空', value: 19 },
{ label: '客户已停用', value: 20 },
{ label: '运费为空', value: 21 },
{ label: '未知失败', value: 22 }
{ label: '未知失败', value: 22 },
{ label: '未计费', value: 26 }
]
const orderStatusAllValues = computed(() => orderStatusOptions.map(o => o.value))
@@ -1003,6 +1004,7 @@ function billingFailLabel(status) {
function billingFailTagType(status) {
const code = status == null ? 0 : Number(status)
if (code === 26) return 'info'
return code > 0 ? 'danger' : 'success'
}