解决bomId为空时会查询所有bom的bug

This commit is contained in:
砂糖
2025-08-01 12:57:30 +08:00
parent 7725a588ee
commit 5b619eca0a
9 changed files with 119 additions and 51 deletions

View File

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