haoxuan
2024-04-11 8003ace3fff94312edeca29c0e1607b903b807e6
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){