Browse Source

feat: 修改接口地址

syhx_app_vue3
lijuncheng 2 months ago
parent
commit
eb0910162c
  1. 14
      src/api/request2.js

14
src/api/request2.js

@ -111,7 +111,7 @@ export function getMessageUnreadCount() {
* 获取单据开关配置 * 获取单据开关配置
*/ */
export function getSwitchByCode(data) { 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) { 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, pageNo: 1,
pageSize: 100 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, pageNo: 1,
pageSize: 100 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, pageNo: 1,
pageSize: 1000 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) { 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() { export function getBusinessType() {
return http.get("/wms/businesstype/page?pageSize=100&pageNo=1") return http.get("/dbc/businesstype/page?pageSize=100&pageNo=1")
} }
/** /**
* 获取生产计划信息通过生产线和日期 * 获取生产计划信息通过生产线和日期

Loading…
Cancel
Save