领料优化

This commit is contained in:
bb_pan 2025-08-15 18:23:39 +08:00
parent 3702be5f60
commit 1025d540cc
2 changed files with 4 additions and 3 deletions

View File

@ -813,6 +813,7 @@ export default {
// console.log('🚀 ~ changeTypeName ~ type:', type) // console.log('🚀 ~ changeTypeName ~ type:', type)
row.unitName = type.unitName row.unitName = type.unitName
row.typeName = type.name row.typeName = type.name
row.unitValue = type.unitValue
}, },
// //
async getStandardConfigList() { async getStandardConfigList() {
@ -990,7 +991,7 @@ export default {
// //
this.equipmentList.unshift({ this.equipmentList.unshift({
...typeData, ...typeData,
preNum: 0 preNum: ''
}) })
this.deviceType.push(lastSelected) this.deviceType.push(lastSelected)
this.$message({ this.$message({
@ -1054,7 +1055,7 @@ export default {
maTypeName: '', maTypeName: '',
typeId: '', typeId: '',
typeName: '', typeName: '',
preNum: 0, preNum: '',
remark: '', remark: '',
typeList: [] typeList: []
}) })

View File

@ -810,7 +810,7 @@ export default {
// //
this.equipmentList.unshift({ this.equipmentList.unshift({
...typeData, ...typeData,
preNum: 0 preNum: ''
}); });
this.deviceType.push(lastSelected); this.deviceType.push(lastSelected);
this.$message({ this.$message({