zuozhengqing
2024-04-11 dd4a1597a35e19078aa580f596418902df0f8c5f
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){