You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
udi-spms-vue/src/api/basic/getErps.js

45 lines
930 B
JavaScript

import axios from '@/utils/request'
//--------------获取ERP数据-------------------
export function getErpProduct(query) {
return axios({
url: "/warehouse/getErpGoods",
method: "get",
params: query
});
}
export function getErpUnit(query) {
return axios({
url: "/warehouse/getErpUnit",
method: "get",
params: query
});
}
export function getInvbasdoc(query) {
return axios({
url: "/udiwms/udiinfo/erp/products",
method: "get",
params: query
});
}
//-------------end---------------------------------
export function combineProduct(query) {
return axios({
url: "/warehouse/productInfo/combine",
method: "post",
data: query
});
}
export function combineDrugProduct(query) {
return axios({
url: "/warehouse/productInfo/combineDrug",
method: "post",
data: query
});
}