Browse Source

空托堆叠入库

master
常熟吴彦祖 2 months ago
parent
commit
494a6c42b2
  1. 22
      src/views/modules/automatedWarehouse/emptyPalletAssembly.vue
  2. 19
      src/views/modules/automatedWarehouse/palletSorting.vue
  3. 1
      src/views/modules/automatedWarehouse/palletSortingNoAgv.vue

22
src/views/modules/automatedWarehouse/emptyPalletAssembly.vue

@ -47,6 +47,18 @@
</el-select>
</div>
<div class="input-group">
<label class="input-label">空托数量</label>
<el-select v-model="count">
<el-option value=1 label=1></el-option>
<el-option value=2 label=2></el-option>
<el-option value=3 label=3></el-option>
<el-option value=4 label=4></el-option>
<el-option value=5 label=5></el-option>
<el-option value=6 label=6></el-option>
</el-select>
</div>
<!-- 当前站点信息 - rqrq -->
<div class="info-row">
<label class="info-label">当前站点ID:</label>
@ -107,7 +119,7 @@ export default {
// - rqrq
currentPalletType: '',
palletTypeOptions: [],
count: 1,
// - rqrq
notifyLoading: false,
transportLoading: false
@ -135,7 +147,7 @@ export default {
if (data.code === 0) {
// 6 - rqrq
this.palletCode = data.row.palletId;
// - rqrq
this.palletInfo = data.row;
this.currentPalletType = data.row.palletType || '';
@ -237,7 +249,8 @@ export default {
notifyEmptyPalletInbound({
site: this.site,
palletId: this.palletCode,
transportFlag: 'N'
transportFlag: 'N',
count: Number(this.count),
}).then(({ data }) => {
if (data && data.code === 0) {
this.$message.success('通知入库成功');
@ -280,7 +293,8 @@ export default {
notifyEmptyPalletInbound({
site: this.site,
palletId: this.palletCode,
transportFlag: 'Y'
transportFlag: 'Y',
count: Number(this.count),
}).then(({ data }) => {
if (data && data.code === 0) {
this.$message.success('入库并运输成功');

19
src/views/modules/automatedWarehouse/palletSorting.vue

@ -416,7 +416,6 @@ import {
getPalletDetails,
getLayersByPosition,
savePalletDetail,
deletePalletDetail,
restorePalletDetail,
getLabelInfo,
getLayersForEdit,
@ -1119,7 +1118,7 @@ export default {
if (this.sortingList.length === 0) {
// sortingList - rqrq
console.log('sortingList为空,开始获取分拣明细 - rqrq');
getSortingList({
site: this.site,
palletId: this.palletCode
@ -1127,7 +1126,7 @@ export default {
if (data && data.code === 0) {
this.sortingList = data.rfidList || [];
console.log('分拣明细获取成功 - rqrq,共' + this.sortingList.length + '条');
// - rqrq
this.validateAndScanIn();
} else {
@ -1160,16 +1159,16 @@ export default {
});
return;
}
// sortingList - rqrq
this.validateAndScanIn();
} else {
// - rqrq
this.handleScanOut();
}
},
// - rqrq
validateAndScanIn() {
// sortingList - rqrq
@ -1187,7 +1186,7 @@ export default {
});
return;
}
// sortingList - rqrq
if (!this.sortingList.includes(this.scanCode)) {
this.$alert('该物料不在分拣明细中', '错误', {
@ -1203,9 +1202,9 @@ export default {
});
return;
}
console.log('标签校验通过,开始扫进 - rqrq');
// - rqrq
// - rqrq
getLabelInfo({
@ -1295,7 +1294,7 @@ export default {
console.log('无法查询标签原始信息,将不缓存 - rqrq');
});
},
// - rqrq
handleScanOut() {
// - rqrq

1
src/views/modules/automatedWarehouse/palletSortingNoAgv.vue

@ -416,7 +416,6 @@ import {
getPalletDetails,
getLayersByPosition,
savePalletDetail,
deletePalletDetail,
restorePalletDetail,
getLabelInfo,
getLayersForEdit,

Loading…
Cancel
Save