Browse Source

取消强制高度

master
常熟吴彦祖 3 weeks ago
parent
commit
8ff58f48bc
  1. 9
      src/views/modules/haianAutoWarehouse/haianPalletPacking.vue

9
src/views/modules/haianAutoWarehouse/haianPalletPacking.vue

@ -74,10 +74,10 @@
</div>
</div>
<!-- 海安组盘高度必须由现场选择,提交时随托盘保存并传给WCS - rqrq -->
<!-- 海安组盘高度选填;已选值随请求保存并传给WCS,未选时由后端复用托盘高度或默认档位 - rqrq -->
<div v-if="palletScanned" class="input-group">
<label class="input-label">托盘高度</label>
<el-select v-model="currentHeight" placeholder="请选择托盘高度" style="width: 100%;" :disabled="interfaceBusy">
<el-select v-model="currentHeight" placeholder="请选择托盘高度(可选)" clearable style="width: 100%;" :disabled="interfaceBusy">
<el-option v-for="item in heightOptions" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
</div>
@ -1186,10 +1186,6 @@ export default {
return
}
// 栈板未绑定当前库位时禁止手工触发运输入库,避免无站点上下文误发请求 - rqrq
if (!this.currentHeight) {
this.$alert('请选择托盘高度', '提示', { confirmButtonText: '确定' })
return
}
if (!this.currentPalletStation || !this.currentPalletStation.trim()) {
this.$alert('当前栈板没有库位,不允许执行运输入库', '提示', { confirmButtonText: '确定' })
return
@ -1213,6 +1209,7 @@ export default {
callPalletToStationWithUpdateZuPan({
site: this.site,
palletId: this.palletCode,
// 高度选填,空值由后端优先复用托盘已保存高度,无保存值时按默认档位下发 - rqrq
height: this.currentHeight,
startStation: this.palletInfo.locationCode || ''
}).then(({ data }) => {

Loading…
Cancel
Save