Browse Source

空托堆叠入库

master
常熟吴彦祖 3 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> </el-select>
</div> </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 --> <!-- 当前站点信息 - rqrq -->
<div class="info-row"> <div class="info-row">
<label class="info-label">当前站点ID:</label> <label class="info-label">当前站点ID:</label>
@ -107,7 +119,7 @@ export default {
// - rqrq // - rqrq
currentPalletType: '', currentPalletType: '',
palletTypeOptions: [], palletTypeOptions: [],
count: 1,
// - rqrq // - rqrq
notifyLoading: false, notifyLoading: false,
transportLoading: false transportLoading: false
@ -135,7 +147,7 @@ export default {
if (data.code === 0) { if (data.code === 0) {
// 6 - rqrq // 6 - rqrq
this.palletCode = data.row.palletId; this.palletCode = data.row.palletId;
// - rqrq // - rqrq
this.palletInfo = data.row; this.palletInfo = data.row;
this.currentPalletType = data.row.palletType || ''; this.currentPalletType = data.row.palletType || '';
@ -237,7 +249,8 @@ export default {
notifyEmptyPalletInbound({ notifyEmptyPalletInbound({
site: this.site, site: this.site,
palletId: this.palletCode, palletId: this.palletCode,
transportFlag: 'N'
transportFlag: 'N',
count: Number(this.count),
}).then(({ data }) => { }).then(({ data }) => {
if (data && data.code === 0) { if (data && data.code === 0) {
this.$message.success('通知入库成功'); this.$message.success('通知入库成功');
@ -280,7 +293,8 @@ export default {
notifyEmptyPalletInbound({ notifyEmptyPalletInbound({
site: this.site, site: this.site,
palletId: this.palletCode, palletId: this.palletCode,
transportFlag: 'Y'
transportFlag: 'Y',
count: Number(this.count),
}).then(({ data }) => { }).then(({ data }) => {
if (data && data.code === 0) { if (data && data.code === 0) {
this.$message.success('入库并运输成功'); this.$message.success('入库并运输成功');

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

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

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

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

Loading…
Cancel
Save