解决bomId为空时会查询所有bom的bug
This commit is contained in:
@@ -48,7 +48,6 @@ export default {
|
||||
materialId: {
|
||||
handler: function (newVal) {
|
||||
const res = this.materialMap ? this.materialMap[this.materialId] : {};
|
||||
console.log(this.materialMap, this.materialId, 'materialMap', 'materialId', res);
|
||||
this.material = res;
|
||||
},
|
||||
immediate: true
|
||||
|
||||
Reference in New Issue
Block a user