|
|
@@ -222,7 +222,13 @@ const LockStore = ({ prodList = [], dispatch, shouldUpdate }) => {
|
|
|
title: '出库状态',
|
|
|
dataIndex: 'stockStatus',
|
|
|
key: 'stockStatus',
|
|
|
- width: 70,
|
|
|
+ width: 85,
|
|
|
+ filters: true,
|
|
|
+ filterMultiple: false,
|
|
|
+ valueEnum: {
|
|
|
+ 1: { text: '生成' },
|
|
|
+ 2: { text: '接收' }
|
|
|
+ },
|
|
|
render: (_, { stockStatus }) => {
|
|
|
return <>{longleStockStatusNum[stockStatus]?.text}</>
|
|
|
}
|
|
|
@@ -251,7 +257,14 @@ const LockStore = ({ prodList = [], dispatch, shouldUpdate }) => {
|
|
|
title: '销售状态',
|
|
|
dataIndex: 'sellStatus',
|
|
|
key: 'sellStatus',
|
|
|
- width: 70,
|
|
|
+ width: 85,
|
|
|
+ filters: true,
|
|
|
+ filterMultiple: false,
|
|
|
+ valueEnum: {
|
|
|
+ 1: { text: '借出' },
|
|
|
+ 2: { text: '销售' },
|
|
|
+ 3: { text: '赠送' }
|
|
|
+ },
|
|
|
render: (_, { sellStatus }) => {
|
|
|
return <>{longleSellStatusNum[sellStatus]?.text}</>
|
|
|
}
|
|
|
@@ -266,7 +279,14 @@ const LockStore = ({ prodList = [], dispatch, shouldUpdate }) => {
|
|
|
title: '维护状态',
|
|
|
dataIndex: 'preserveStatus',
|
|
|
key: 'preserveStatus',
|
|
|
- width: 60,
|
|
|
+ width: 85,
|
|
|
+ filters: true,
|
|
|
+ filterMultiple: false,
|
|
|
+ valueEnum: {
|
|
|
+ 1: { text: '升级' },
|
|
|
+ 2: { text: '更换' },
|
|
|
+ 3: { text: '收回' }
|
|
|
+ },
|
|
|
render: (_, { preserveStatus }) => {
|
|
|
return <>{longlePreserveStatusNum[preserveStatus]?.text}</>
|
|
|
}
|