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