src/views/productManage/productRegisterForm/components/addProductDialog.vue
@@ -283,12 +283,16 @@ workshopId: this.proForm.workshopId, }).then((res) => { if (res.code == 200) { console.log(res,'res') if(res.data){ if(Object.keys(res.data).length>0){ this.$emit('changeForm',this.proForm,val,res.data) } } } }); }else{ this.$emit('changeForm',this.proForm,val,{}) } this.$emit('changeForm',this.proForm,val) }, changeTableInput(){ if(this.proForm.pieces&&this.proForm.carNumber&&this.proForm.pieceNumber){