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