refactor: replace transfer outbound type with production outbound across frontend and backend

This commit is contained in:
DXC
2026-03-19 17:13:24 +08:00
parent 29ab7432a3
commit faea0379da
3 changed files with 4 additions and 4 deletions

View File

@ -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] || ''