add:退料支持入平库和货架

This commit is contained in:
zhaoyf
2026-12-01 18:30:33 +08:00
parent ca84098542
commit 958cf6cf2b
6 changed files with 138 additions and 18 deletions

View File

@@ -318,7 +318,7 @@ export default {
return this.statusLabel(status)
},
statusTagType(status) {
const map = { '0': '', '1': 'warning', '10': 'primary', '20': 'primary', '80': 'success', '90': 'danger' }
const map = { '0': 'primary', '1': 'warning', '10': 'warning', '20': 'primary', '80': 'success', '90': 'danger' }
return map[String(status)] || ''
},
deliveryMethodLabel(deliveryMethod) {
@@ -336,6 +336,9 @@ export default {
if (value === 'Manual') {
return '手工退料'
}
if (value === 'KG') {
return '库改退料'
}
return value || '-'
},
handleSelectionChange(selection) {