修改计费逻辑仅 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
@@ -1098,6 +1098,7 @@ function billingFailLabel(status) {
function billingFailTagType(status) {
const code = status == null ? 0 : Number(status)
if (code === 26) return 'info'
if (code > 0) return 'danger'
return 'success'
}
@@ -254,7 +254,8 @@ function billingFailStatusLabel(code) {
3: '销售价未匹配重量段',
23: '产品价未匹配产品',
24: '产品价未匹配国家',
25: '产品价未匹配重量段'
25: '产品价未匹配重量段',
26: '未计费'
}
const key = Number(code)
return map[key] != null ? map[key] : String(code)
@@ -405,7 +405,8 @@ const billingFailStatusOptions = [
{ label: '客户代码为空', value: 19 },
{ label: '客户已停用', value: 20 },
{ label: '运费为空', value: 21 },
{ label: '未知失败', value: 22 }
{ label: '未知失败', value: 22 },
{ label: '未计费', value: 26 }
]
function billingFailLabel(status) {
@@ -416,6 +417,7 @@ function billingFailLabel(status) {
function billingFailTagType(status) {
const code = status == null ? 0 : Number(status)
if (code === 26) return 'info'
if (code > 0) return 'danger'
return 'success'
}
@@ -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'
}