diff --git a/klp-ui/src/views/wms/warehouse/components/WarehouseInterlaced.vue b/klp-ui/src/views/wms/warehouse/components/WarehouseInterlaced.vue index 88441f7a..c0e79b70 100644 --- a/klp-ui/src/views/wms/warehouse/components/WarehouseInterlaced.vue +++ b/klp-ui/src/views/wms/warehouse/components/WarehouseInterlaced.vue @@ -126,6 +126,13 @@ export default { small: 29, rows: [0, 1, 2, 3, 4] }, + // 成品2库B区,F2B + '1998933646134919170': { + col: 7, + big: 29 + 28, + small: 43 + 42, + rows: [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26] + } }, dialogOpen: false, currentWarehouse: null, @@ -141,16 +148,19 @@ export default { // 当前的库区是否支持复合架 isComposite() { if (!this.compositeRules[this.id]) { + console.log('当前库区不支持复合架'); return false; } // 检车规则是否合法, // 1. (small - big) / 2 = rows.length if ((this.compositeRules[this.id].small - this.compositeRules[this.id].big) / 2 !== this.compositeRules[this.id].rows.length) { + console.log('检车规则不合法,(small - big) / 2 !== rows.length'); return false; } // 2. row中最大的值小于等于big const maxRow = Math.max(...this.compositeRules[this.id].rows); if (maxRow > this.compositeRules[this.id].big) { + console.log('检车规则不合法,row中最大的值大于big'); return false; }