diff --git a/src/api/basicdata/basicdataGoodsArea.js b/src/api/basicdata/basicdataGoodsArea.js index ff2aa322..b5c5e63d 100644 --- a/src/api/basicdata/basicdataGoodsArea.js +++ b/src/api/basicdata/basicdataGoodsArea.js @@ -128,6 +128,17 @@ export const getGoodsAreaNodeList = () => { method: 'get', }) } +/** + * 货区列表信息 + * @param id 仓库ID + * @returns {AxiosPromise} + */ +export const getGoodsAreaoptionList = () => { + return request({ + url: '/api/logpm-basicdata/goodsArea/getAreaoption', + method: 'get', + }) +} /** * 查询当前登录人所能操作的备货区 diff --git a/src/api/distribution/disStockListDetail.js b/src/api/distribution/disStockListDetail.js index a2d7ac7b..86b163f6 100644 --- a/src/api/distribution/disStockListDetail.js +++ b/src/api/distribution/disStockListDetail.js @@ -2,7 +2,7 @@ import request from '@/axios'; export const getList = (current, size, params) => { return request({ - url: '/disStockOrdercodeReco/disStockListDetail/list', + url: '/api/logpm-distribution/disStockListDetail/list', method: 'get', params: { ...params, @@ -12,9 +12,19 @@ export const getList = (current, size, params) => { }) } +export const getDisStockList = (params) => { + return request({ + url: '/api/logpm-distribution/disStockListDetail/disStockList', + method: 'get', + params: { + ...params, + } + }) +} + export const getDetail = (id) => { return request({ - url: '/disStockOrdercodeReco/disStockListDetail/detail', + url: '/api/logpm-distribution/disStockListDetail/detail', method: 'get', params: { id @@ -24,7 +34,7 @@ export const getDetail = (id) => { export const remove = (ids) => { return request({ - url: '/disStockOrdercodeReco/disStockListDetail/remove', + url: '/api/logpm-distribution/disStockListDetail/remove', method: 'post', params: { ids, @@ -34,7 +44,7 @@ export const remove = (ids) => { export const add = (row) => { return request({ - url: '/disStockOrdercodeReco/disStockListDetail/submit', + url: '/api/logpm-distribution/disStockListDetail/submit', method: 'post', data: row }) @@ -42,7 +52,7 @@ export const add = (row) => { export const update = (row) => { return request({ - url: '/disStockOrdercodeReco/disStockListDetail/submit', + url: '/api/logpm-distribution/disStockListDetail/submit', method: 'post', data: row }) diff --git a/src/api/distribution/disStockOrdercodeReco.js b/src/api/distribution/disStockOrdercodeReco.js index b754d8cd..3773709d 100644 --- a/src/api/distribution/disStockOrdercodeReco.js +++ b/src/api/distribution/disStockOrdercodeReco.js @@ -2,7 +2,7 @@ import request from '@/axios'; export const getList = (current, size, params) => { return request({ - url: '/disStockOrdercodeReco/disStockOrdercodeReco/list', + url: '/api/logpm-distribution/disStockOrdercodeReco/list', method: 'get', params: { ...params, @@ -14,7 +14,7 @@ export const getList = (current, size, params) => { export const getDetail = (id) => { return request({ - url: '/disStockOrdercodeReco/disStockOrdercodeReco/detail', + url: '/api/logpm-distribution/disStockOrdercodeReco/detail', method: 'get', params: { id @@ -24,7 +24,7 @@ export const getDetail = (id) => { export const remove = (ids) => { return request({ - url: '/disStockOrdercodeReco/disStockOrdercodeReco/remove', + url: '/api/logpm-distribution/disStockOrdercodeReco/remove', method: 'post', params: { ids, @@ -34,7 +34,7 @@ export const remove = (ids) => { export const add = (row) => { return request({ - url: '/disStockOrdercodeReco/disStockOrdercodeReco/submit', + url: '/api/logpm-distribution/disStockOrdercodeReco/submit', method: 'post', data: row }) @@ -42,7 +42,7 @@ export const add = (row) => { export const update = (row) => { return request({ - url: '/disStockOrdercodeReco/disStockOrdercodeReco/submit', + url: '/api/logpm-distribution/disStockOrdercodeReco/submit', method: 'post', data: row }) diff --git a/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelf.vue b/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelf.vue index e0faca26..cb294023 100644 --- a/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelf.vue +++ b/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelf.vue @@ -124,26 +124,26 @@ - + - + - + - - - - - - - - + + + + @@ -319,11 +319,11 @@