diff --git a/src/api/haianAutoWarehouse/palletAssembly.js b/src/api/haianAutoWarehouse/palletAssembly.js index 04256c5..954e964 100644 --- a/src/api/haianAutoWarehouse/palletAssembly.js +++ b/src/api/haianAutoWarehouse/palletAssembly.js @@ -21,6 +21,9 @@ export const getPalletTypeList = data => createAPI(`/haiAnWcsIntegration/getPall // 海安-直接组盘页:更新托盘类型与自动分拣配置 - rqrq export const updatePalletTypeAndAutoSort = data => createAPI(`/haiAnWcsIntegration/updatePalletTypeAndAutoSort`, 'post', data) +// 海安-直接组盘页:A0206失焦保存手工备注 - rqrq +export const updatePalletManualRemark = data => createAPI(`/haiAnWcsIntegration/updatePalletManualRemark`, 'post', data) + // 海安-直接组盘页:获取指定层可用位置 - rqrq export const getAvailablePositionsForLayer = data => createAPI(`/haiAnWcsIntegration/getAvailablePositionsForLayer`, 'post', data) diff --git a/src/api/haianAutoWarehouse/palletPacking.js b/src/api/haianAutoWarehouse/palletPacking.js index 8219ad1..1a8fcb5 100644 --- a/src/api/haianAutoWarehouse/palletPacking.js +++ b/src/api/haianAutoWarehouse/palletPacking.js @@ -42,6 +42,9 @@ export const getPalletTypeAreas = data => createAPI(`/haiAnWcsIntegration/getPal // 海安-更新栈板类型与自动分拣配置 - rqrq export const updatePalletTypeAndAutoSort = data => createAPI(`/haiAnWcsIntegration/updatePalletTypeAndAutoSort`, 'post', data) +// 海安-组盘入库页:A0206失焦保存手工备注 - rqrq +export const updatePalletManualRemark = data => createAPI(`/haiAnWcsIntegration/updatePalletManualRemark`, 'post', data) + // 海安-提交分拣 - rqrq export const completePalletAssemblyForFenJian = data => createAPI(`/haiAnWcsIntegration/completePalletAssemblyForFenJian`, 'post', data) diff --git a/src/views/main.vue b/src/views/main.vue index b4e4f50..2df0aa9 100644 --- a/src/views/main.vue +++ b/src/views/main.vue @@ -200,12 +200,12 @@ - + + + + + + +
+ + +
+
{ + if (data && data.code === 0) { + this.savedManualRemark = nextRemark + } else { + this.$alert((data && data.msg) || '手工备注保存失败', '错误', { confirmButtonText: '确定' }) + } + }).catch(() => { + this.$alert('手工备注保存失败', '错误', { confirmButtonText: '确定' }) + }).finally(() => { + this.manualRemarkSaving = false + }) + }, updateAutoSortControl() { if (this.forceFullPalletOut || this.currentPalletType === 'A0103') { this.currentAutoSort = 'N' diff --git a/src/views/modules/haianAutoWarehouse/haianPalletPacking.vue b/src/views/modules/haianAutoWarehouse/haianPalletPacking.vue index b21399e..432f881 100644 --- a/src/views/modules/haianAutoWarehouse/haianPalletPacking.vue +++ b/src/views/modules/haianAutoWarehouse/haianPalletPacking.vue @@ -74,6 +74,19 @@
+
+ + +
+
{ + if (data && data.code === 0) { + this.savedManualRemark = nextRemark + } else { + this.$alert((data && data.msg) || '手工备注保存失败', '错误', { confirmButtonText: '确定' }) + } + }).catch(() => { + this.$alert('手工备注保存失败', '错误', { confirmButtonText: '确定' }) + }).finally(() => { + this.manualRemarkSaving = false + }) + }, // 根据托盘类型能力与强制整托规则动态控制自动分拣可编辑性 - rqrq updateAutoSortControl() { if (this.forceFullPalletOut || this.currentPalletType === 'A0103') {