diff --git a/src/views/technology/process/content.vue b/src/views/technology/process/content.vue index 176350f0..cfd5f40b 100644 --- a/src/views/technology/process/content.vue +++ b/src/views/technology/process/content.vue @@ -202,7 +202,7 @@ export default { methods: { //新增 设备选择弹出框 onItemSelectedEquipment(obj){ - if(this.form.device == null){ + if(this.form.device == null || this.form.device == ""){ console.log("device是空,if获取的obj",obj); console.log("device是空,if获取的device",this.form.device); this.form.device = obj; @@ -227,7 +227,7 @@ export default { //新增 设备选择弹出框 onItemSelectedBom(obj){ - if(this.form.material == null){ + if(this.form.material == null ||this.form.material == ""){ console.log("material是空,if获取的obj",obj); console.log("material是空,if获取的material",this.form.material); this.form.material = obj; diff --git a/src/views/technology/process/singleBom.vue b/src/views/technology/process/singleBom.vue index df5011ba..e62d83a5 100644 --- a/src/views/technology/process/singleBom.vue +++ b/src/views/technology/process/singleBom.vue @@ -33,10 +33,10 @@ @keyup.enter.native="handleQuery" /> - + - + + + -