refactor: replace transfer outbound type with production outbound across frontend and backend
This commit is contained in:
@ -194,7 +194,7 @@ const formatType = (type: string) => {
|
||||
const map: any = {
|
||||
'SALES': '销售出库',
|
||||
'USE': '内部领用',
|
||||
'TRANSFER': '调拨',
|
||||
'PRODUCTION': '生产出库',
|
||||
'SCRAP': '报废'
|
||||
}
|
||||
return map[type] || type
|
||||
@ -204,7 +204,7 @@ const getTagType = (type: string) => {
|
||||
const map: any = {
|
||||
'SALES': 'success',
|
||||
'USE': 'warning',
|
||||
'TRANSFER': 'info',
|
||||
'PRODUCTION': 'info',
|
||||
'SCRAP': 'danger'
|
||||
}
|
||||
return map[type] || ''
|
||||
|
||||
Reference in New Issue
Block a user