修改计费逻辑仅 billing_fail_status = 0 才写 prc_income_bill
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user