skyouc
2025-08-05 7a7b59b3b4350c7c36360183c093b36b709e4673
播种墙播种数量修改
1个文件已修改
9 ■■■■■ 已修改文件
construction-data/src/components/datav/index.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
construction-data/src/components/datav/index.vue
@@ -117,7 +117,7 @@
                    <el-col>
                      <div class="header-title">拣货数量:</div>
                      <dv-border-box-10  class="box">
                        <el-input type="text" v-model="workQty"></el-input>
                        <el-input type="text" v-model="getWorkQty" disabled></el-input>
                      </dv-border-box-10>
                    </el-col>
                  </el-row>
@@ -203,6 +203,9 @@
          return  'background: gainsboro;'
        }
      }
    },
    getWorkQty() {
      return this.selected.anfme - this.selected.workQty
    }
  },
  methods: {
@@ -329,7 +332,7 @@
      for (let i = 0; i < this.mergeTaskDetl.length; i++) {
        if (this.mergeTaskDetl[i].matnr === this.selected.matnr && this.workQty > this.mergeTaskDetl[i].anfme) {
            this.$message({
              message: '拣货数量不能大于任务数量!!',
              message: '拣货数量应等于任务数量!!',
              type: 'error'
            })
            return
@@ -338,7 +341,7 @@
      //隐藏弹框
      this.show = false
      // eslint-disable-next-line no-undef
      $ajax.post('wave/sow/review', { waveSeedId: this.selected.id, reviewNum: this.workQty }).then(response => {
      $ajax.post('wave/sow/review', { waveSeedId: this.selected.id, reviewNum: this.getWorkQty }).then(response => {
        if (response.code === 200) {
          this.getWaves()
        } else {