fix:修复状态显示
This commit is contained in:
parent
b497242585
commit
60426f4594
@ -92,6 +92,7 @@
|
|||||||
align="center"
|
align="center"
|
||||||
:label="__('用户是否确认')"
|
:label="__('用户是否确认')"
|
||||||
prop="order_item_confirm_status"
|
prop="order_item_confirm_status"
|
||||||
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ formatUserConfirmType(scope.row.order_item_confirm_status) }}
|
{{ formatUserConfirmType(scope.row.order_item_confirm_status) }}
|
||||||
@ -828,8 +829,8 @@
|
|||||||
// 返回一个函数,供模板调用
|
// 返回一个函数,供模板调用
|
||||||
return (val) => {
|
return (val) => {
|
||||||
const map = {
|
const map = {
|
||||||
0: '已确认',
|
0: '未确认',
|
||||||
1: '未确认'
|
1: '已确认'
|
||||||
}
|
}
|
||||||
return map[val] ?? val
|
return map[val] ?? val
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user