| | |
| | | <!-- </el-col>--> |
| | | <!-- </el-row>--> |
| | | <div class="pick-wall-box"> |
| | | <el-col :span="6" v-for="(item, index) in seedBracket" :key="index" @click.native="lightClick(item)"> |
| | | <el-col :span="6" v-for="(item, index) in seedBracket" :key="index" > |
| | | <div class="seed-bracket" :style="getLightStatus(item)" /> |
| | | </el-col> |
| | | </div> |
| | |
| | | <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="selected.revQty" disabled></el-input> |
| | | </dv-border-box-10> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | return 'background: gainsboro;' |
| | | } |
| | | } |
| | | }, |
| | | getWorkQty() { |
| | | return this.selected.anfme - this.selected.workQty |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | 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 |
| | |
| | | //隐藏弹框 |
| | | 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.selected.revQty }).then(response => { |
| | | if (response.code === 200) { |
| | | this.getWaves() |
| | | } else { |
| | |
| | | .pick-order-detl { |
| | | padding: 0 15px; |
| | | .detl-box-border { |
| | | height: 55vh; |
| | | height: 45vh; |
| | | .detl-box-padding { |
| | | height: 65px |
| | | } |
| | |
| | | width: 74vh; |
| | | padding-top: 65px; |
| | | height: 275px; |
| | | overflow: hidden; |
| | | overflow-y: auto; |
| | | |
| | | .popover-order { |
| | | width: 300px; |
| | |
| | | .order-detl-list { |
| | | overflow: hidden; |
| | | overflow-y: scroll; |
| | | height: 43vh; |
| | | height: 38vh; |
| | | padding: 0 15px; |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | .table-matnr { |
| | | height: 26vh; |
| | | height: 16vh; |
| | | } |
| | | |
| | | .el-table { |
| | |
| | | width: 74vh; |
| | | padding-top: 65px; |
| | | height: 275px; |
| | | overflow: hidden; |
| | | overflow-y: auto; |
| | | |
| | | .btnPrint { |
| | | font-size: 9px; |