diff --git a/src/api/request2.js b/src/api/request2.js index baaa79cf..3a22d1e7 100644 --- a/src/api/request2.js +++ b/src/api/request2.js @@ -111,7 +111,7 @@ export function getMessageUnreadCount() { * 获取单据开关配置 */ export function getSwitchByCode(data) { - return http.post("/wms/switch/getSwitchList",data) + return http.post("/dbc/switch/getSwitchList",data) } /** @@ -120,7 +120,7 @@ export function getSwitchByCode(data) { * */ export function getDictionaryItem(data) { - return http.post("/system/dict-type/getDictByTypes",data) + return http.post("/system/win-dict-type/getDictByTypes",data) } /** @@ -142,7 +142,7 @@ export function getBusinesstypeByCode(code) { pageNo: 1, pageSize: 100 } - return http.get("/wms/businesstype/page",{params}) + return http.get("/dbc/businesstype/page",{params}) } /** * 按物品查询库存 @@ -375,7 +375,7 @@ export function getBasicItemByCode(itemCode) { pageNo: 1, pageSize: 100 } - return http.get("/wms/itembasic/page",{params}) + return http.get("/dbc/itembasic/page",{params}) } /** * 查询物品信息接口 @@ -393,7 +393,7 @@ export function getBasicItemByCodeSenior(itemCode) { pageNo: 1, pageSize: 1000 } - return http.post('/wms/itembasic/senior',params); + return http.post('/dbc/itembasic/senior',params); } /** * 按物品查询库存汇总 @@ -2814,7 +2814,7 @@ export function appCheckUpdate() { } //获取包装规格 export function getPackageUnitList(data) { - return http.post("/wms/packageunit/senior",data) + return http.post("/dbc/packageunit/senior",data) } /** @@ -2907,7 +2907,7 @@ export function getBalanceByParams(data) { */ export function getBusinessType() { - return http.get("/wms/businesstype/page?pageSize=100&pageNo=1") + return http.get("/dbc/businesstype/page?pageSize=100&pageNo=1") } /** * 获取生产计划信息通过生产线和日期