|
|
@ -69,6 +69,14 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 手工分拣组盘高度为必填,提交时随托盘保存并传给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-option v-for="item in heightOptions" :key="item.value" :label="item.label" :value="item.value" /> |
|
|
|
|
|
</el-select> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<!-- 第2.5行:是否强制整托出库,保持与原PDA页面一致 - rqrq --> |
|
|
<!-- 第2.5行:是否强制整托出库,保持与原PDA页面一致 - rqrq --> |
|
|
<div v-if="palletScanned" class="input-group"> |
|
|
<div v-if="palletScanned" class="input-group"> |
|
|
<el-checkbox |
|
|
<el-checkbox |
|
|
@ -377,6 +385,13 @@ export default { |
|
|
detailModalVisible: false, |
|
|
detailModalVisible: false, |
|
|
currentPalletType: '', |
|
|
currentPalletType: '', |
|
|
currentAutoSort: 'N', |
|
|
currentAutoSort: 'N', |
|
|
|
|
|
currentHeight: '', |
|
|
|
|
|
heightOptions: [ |
|
|
|
|
|
{ label: '低于600', value: 'HEIGHT_LT_600' }, |
|
|
|
|
|
{ label: '600-1100', value: 'HEIGHT_600_1100' }, |
|
|
|
|
|
{ label: '1100-1500', value: 'HEIGHT_1100_1500' }, |
|
|
|
|
|
{ label: '>=1500', value: 'HEIGHT_GE_1500' } |
|
|
|
|
|
], |
|
|
currentPalletStation: '', |
|
|
currentPalletStation: '', |
|
|
// 被分拣源盘标记:由后端按海安新增被分拣站数组返回,前端不自行猜点位;R1-R4 是手工分拣区 - rqrq |
|
|
// 被分拣源盘标记:由后端按海安新增被分拣站数组返回,前端不自行猜点位;R1-R4 是手工分拣区 - rqrq |
|
|
sortedSourceFlag: false, |
|
|
sortedSourceFlag: false, |
|
|
@ -593,6 +608,7 @@ export default { |
|
|
this.detailModalVisible = false |
|
|
this.detailModalVisible = false |
|
|
this.currentPalletType = '' |
|
|
this.currentPalletType = '' |
|
|
this.currentAutoSort = 'N' |
|
|
this.currentAutoSort = 'N' |
|
|
|
|
|
this.currentHeight = '' |
|
|
this.currentPalletStation = '' |
|
|
this.currentPalletStation = '' |
|
|
this.sortedSourceFlag = false |
|
|
this.sortedSourceFlag = false |
|
|
this.forceFullPalletOut = false |
|
|
this.forceFullPalletOut = false |
|
|
@ -682,6 +698,7 @@ export default { |
|
|
const row = data.row || {} |
|
|
const row = data.row || {} |
|
|
this.currentPalletType = row.palletType || '' |
|
|
this.currentPalletType = row.palletType || '' |
|
|
this.currentAutoSort = row.autoSort || 'N' |
|
|
this.currentAutoSort = row.autoSort || 'N' |
|
|
|
|
|
this.currentHeight = row.height || '' |
|
|
this.currentPalletStation = row.locationCode || '' |
|
|
this.currentPalletStation = row.locationCode || '' |
|
|
this.forceFullPalletOut = Number(row.soreType) === 3 |
|
|
this.forceFullPalletOut = Number(row.soreType) === 3 |
|
|
this.palletInfo.palletType = this.currentPalletType |
|
|
this.palletInfo.palletType = this.currentPalletType |
|
|
@ -1091,10 +1108,15 @@ export default { |
|
|
this.$alert('请先扫描栈板', '提示', { confirmButtonText: '确定' }) |
|
|
this.$alert('请先扫描栈板', '提示', { confirmButtonText: '确定' }) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
if (!this.currentHeight) { |
|
|
|
|
|
this.$alert('请选择托盘高度', '提示', { confirmButtonText: '确定' }) |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
this.submitSortingLoading = true |
|
|
this.submitSortingLoading = true |
|
|
completePalletAssemblyForFenJian({ |
|
|
completePalletAssemblyForFenJian({ |
|
|
site: this.site, |
|
|
site: this.site, |
|
|
palletId: this.palletCode |
|
|
|
|
|
|
|
|
palletId: this.palletCode, |
|
|
|
|
|
height: this.currentHeight |
|
|
}).then(({ data }) => { |
|
|
}).then(({ data }) => { |
|
|
if (data && data.code === 0) { |
|
|
if (data && data.code === 0) { |
|
|
const sortedSource = this.sortedSourceFlag |
|
|
const sortedSource = this.sortedSourceFlag |
|
|
@ -1128,10 +1150,15 @@ export default { |
|
|
this.$alert('请先扫描栈板', '提示', { confirmButtonText: '确定' }) |
|
|
this.$alert('请先扫描栈板', '提示', { confirmButtonText: '确定' }) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
if (!this.currentHeight) { |
|
|
|
|
|
this.$alert('请选择托盘高度', '提示', { confirmButtonText: '确定' }) |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
this.finishSortingLoading = true |
|
|
this.finishSortingLoading = true |
|
|
finishSorting({ |
|
|
finishSorting({ |
|
|
site: this.site, |
|
|
site: this.site, |
|
|
palletId: this.palletCode |
|
|
|
|
|
|
|
|
palletId: this.palletCode, |
|
|
|
|
|
height: this.currentHeight |
|
|
}).then(({ data }) => { |
|
|
}).then(({ data }) => { |
|
|
if (data && data.code === 0) { |
|
|
if (data && data.code === 0) { |
|
|
this.$message.success('结束分拣成功') |
|
|
this.$message.success('结束分拣成功') |
|
|
|