自动跳单元格的方法,跨行的时候无法定位到单元格的问题处理+车间无法正常显示的问题
1个文件已修改
25 ■■■■■ 已修改文件
src/views/productManage/productRegisterForm/components/addProductDialog.vue 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/productManage/productRegisterForm/components/addProductDialog.vue
@@ -225,7 +225,7 @@
  created() {
  },
  watch:{
    "form": {
    "editDialogVisible": {
      handler() {
        this.getInfo()
      },
@@ -238,17 +238,13 @@
  },
  methods: {
    getInfo(){
      this.proForm={
          createTime: this.form.createTime,
          groupNumber: this.form.groupNumber,
          workshopId: this.form.workshopId,
          spec: this.form.spec,
          marketId: this.form.marketId,
          tareWeight: "",
          netWeight: "",
          carNumber: this.form.carNumber,
          pieceNumber: this.form.pieceNumber,
          pieces: this.form.pieces,
        this.proForm.createTime=this.form.createTime
        this.proForm.groupNumber=this.form.groupNumber
        this.proForm.workshopId=this.form.workshopId
        this.proForm.spec=this.form.spec
        this.proForm.marketId=this.form.marketId
        if(!this.proForm.carNumber){
          this.proForm.carNumber=this.form.carNumber
        }
        this.$forceUpdate();
    },
@@ -266,15 +262,12 @@
              }
            }
          });
          if(this.proForm.groupNumber){
            this.changeForm()
          }
      }else{
        this.workshopGroupList =[]
      }
    },
    changeForm(val){
      if(this.proForm.createTime&&this.proForm.groupNumber&&this.proForm.marketId&&this.proForm.spec&&this.proForm.workshopId){
      if(this.editDialogVisible&&this.proForm.createTime&&this.proForm.groupNumber&&this.proForm.marketId&&this.proForm.spec&&this.proForm.workshopId){
        changeYieldRegister({
          createTime: this.proForm.createTime,
          groupNumber: this.proForm.groupNumber,