diff --git a/src/api/warehouse/availabilityControlId.js b/src/api/warehouse/availabilityControlId.js new file mode 100644 index 0000000..2deb020 --- /dev/null +++ b/src/api/warehouse/availabilityControlId.js @@ -0,0 +1,95 @@ +/** + * 可用性控制ID API - rqrq + * @date 2025/12/02 + */ +import httpRequest from '@/utils/httpRequest' + +/** + * 查询列表(不分页)- rqrq + * @param {Object} data 查询条件 + * @returns {Promise} + */ +export function list(data) { + return httpRequest({ + url: httpRequest.adornUrl('/warehouse/availabilityControlId/list'), + method: 'post', + data: httpRequest.adornData(data) + }) +} + +/** + * 查询启用的列表(用于下拉选择)- rqrq + * @returns {Promise} + */ +export function activeList() { + return httpRequest({ + url: httpRequest.adornUrl('/warehouse/availabilityControlId/activeList'), + method: 'post', + data: httpRequest.adornData({}) + }) +} + +/** + * 根据ID查询描述 - rqrq + * @param {String} availabilityControlId 可用性控制ID + * @returns {Promise} + */ +export function getDescById(availabilityControlId) { + return httpRequest({ + url: httpRequest.adornUrl('/warehouse/availabilityControlId/getDescById'), + method: 'post', + data: httpRequest.adornData({ availabilityControlId }) + }) +} + +/** + * 获取详情 - rqrq + * @param {Number} id 主键ID + * @returns {Promise} + */ +export function info(id) { + return httpRequest({ + url: httpRequest.adornUrl(`/warehouse/availabilityControlId/info/${id}`), + method: 'get' + }) +} + +/** + * 保存 - rqrq + * @param {Object} data 实体数据 + * @returns {Promise} + */ +export function save(data) { + return httpRequest({ + url: httpRequest.adornUrl('/warehouse/availabilityControlId/save'), + method: 'post', + data: httpRequest.adornData(data) + }) +} + +/** + * 更新 - rqrq + * @param {Object} data 实体数据 + * @returns {Promise} + */ +export function update(data) { + return httpRequest({ + url: httpRequest.adornUrl('/warehouse/availabilityControlId/update'), + method: 'post', + data: httpRequest.adornData(data) + }) +} + +/** + * 删除 - rqrq + * @param {Number} id 主键ID + * @returns {Promise} + */ +export function deleteById(id) { + return httpRequest({ + url: httpRequest.adornUrl('/warehouse/availabilityControlId/delete'), + method: 'post', + data: httpRequest.adornData({ id }) + }) +} + diff --git a/src/api/warehouse/changeHUSpecialItem.js b/src/api/warehouse/changeHUSpecialItem.js index 7724cf8..08661bc 100644 --- a/src/api/warehouse/changeHUSpecialItem.js +++ b/src/api/warehouse/changeHUSpecialItem.js @@ -14,3 +14,9 @@ export const updateHandlingUnitSpecial = data => createAPI('/warehouse/handlingu // 批量修改标签特殊信息 - rqrq export const batchUpdateHandlingUnitSpecial = data => createAPI('/warehouse/handlingunit/batchUpdateSpecial', 'POST', data) +// 批量修改Availability Control ID(调用IFS接口同步)- rqrq +export const batchChangeAvailabilityControlId = data => createAPI('/warehouse/handlingunit/batchChangeAvailabilityControlId', 'POST', data) + +// 批量修改失效日期(调用IFS接口同步)- rqrq +export const batchChangeExpiryDate = data => createAPI('/warehouse/handlingunit/batchChangeExpiryDate', 'POST', data) + diff --git a/src/views/modules/warehouse/availabilityControlId.vue b/src/views/modules/warehouse/availabilityControlId.vue new file mode 100644 index 0000000..d658810 --- /dev/null +++ b/src/views/modules/warehouse/availabilityControlId.vue @@ -0,0 +1,324 @@ + + + + + + diff --git a/src/views/modules/warehouse/changeHUSpecialItem.vue b/src/views/modules/warehouse/changeHUSpecialItem.vue index 30d827e..ae8c70c 100644 --- a/src/views/modules/warehouse/changeHUSpecialItem.vue +++ b/src/views/modules/warehouse/changeHUSpecialItem.vue @@ -146,17 +146,17 @@ - + - + - + @@ -165,12 +165,12 @@ - + - + @@ -193,12 +193,12 @@ - + - + @@ -207,22 +207,22 @@ - + - + - + - + @@ -230,12 +230,12 @@ - + - + @@ -244,17 +244,17 @@ - + - + - + @@ -263,7 +263,7 @@ - + @@ -280,11 +280,7 @@ :visible.sync="wdrDialogVisible" :close-on-click-modal="false" v-drag - width="600px"> - -
- 界面2:点击Change W/D/R,弹出如下对话框 -
+ width="400px"> @@ -293,10 +289,10 @@ @@ -306,11 +302,8 @@ :visible.sync="expDateDialogVisible" :close-on-click-modal="false" v-drag - width="600px"> + width="400px"> -
- 界面3:点击Change Expiration Date,弹出如下对话框 -
@@ -325,10 +318,10 @@ @@ -338,28 +331,79 @@ :visible.sync="availDialogVisible" :close-on-click-modal="false" v-drag - width="600px"> - -
- 界面4:点击Change Availability Control ID,弹出如下对话框 -
+ width="400px"> - + List - + + + + + + + + + + + + + + + + 查询 + + + + + + + + + + + + + + @@ -367,7 +411,8 @@