diff --git a/src/api/wms/spareitemLocation/index.ts b/src/api/wms/spareitemLocation/index.ts index 5f5a2e81b..053b7b10f 100644 --- a/src/api/wms/spareitemLocation/index.ts +++ b/src/api/wms/spareitemLocation/index.ts @@ -50,4 +50,10 @@ export const exportSpareitemLocation = async (params) => { // 下载用户导入模板 export const importTemplate = () => { return request.download({ url: '/wms/spareitem-location/get-import-template' }) -} \ No newline at end of file +} + + +// 自动推荐库位 +export const queryItemLocation = async (data) => { + return await request.post({ url: `/wms/spareitem-location/queryItemLocation`, data }) +} diff --git a/src/components/XButton/src/ButtonBaseMore.vue b/src/components/XButton/src/ButtonBaseMore.vue index f1b7574d1..9a4e459e2 100644 --- a/src/components/XButton/src/ButtonBaseMore.vue +++ b/src/components/XButton/src/ButtonBaseMore.vue @@ -14,11 +14,11 @@ {{ item.label }} - - 更多 + + {{ t('ts.更多') }}