28 lines
1.1 KiB
TypeScript
28 lines
1.1 KiB
TypeScript
|
|
import http from "@/api";
|
||
|
|
const BASEURL = import.meta.env.VITE_API_URL;
|
||
|
|
|
||
|
|
// 统计发货单位(供应商排行)
|
||
|
|
export const countForwardingUnit = (params: {}) => {
|
||
|
|
return http.post(BASEURL + `/xmgl/weight/weighInfo/countForwardingUnit`, params);
|
||
|
|
};
|
||
|
|
// 统计称重记录(实时过磅)
|
||
|
|
export const countWeighInfo = (params: {}) => {
|
||
|
|
return http.post(BASEURL + `/xmgl/weight/weighInfo/countWeighInfo`, params);
|
||
|
|
};
|
||
|
|
// 统计货名(物料统计)
|
||
|
|
export const countWeighInfoGoodsName = (params: {}) => {
|
||
|
|
return http.post(BASEURL + `/xmgl/weight/weighInfo/countWeighInfoGoodsName`, params);
|
||
|
|
};
|
||
|
|
//获取 预约趋势
|
||
|
|
export const countWeighBookVehicleInfoTrend = (params: {}) => {
|
||
|
|
return http.post(BASEURL + `/xmgl/weight/weighBookVehicleInfo/countWeighBookVehicleInfoTrend`, params);
|
||
|
|
};
|
||
|
|
//过磅统计趋势
|
||
|
|
export const countWeighInfoTrend = (params: {}) => {
|
||
|
|
return http.post(BASEURL + `/xmgl/weight/weighInfo/countWeighInfoTrend`, params);
|
||
|
|
};
|
||
|
|
// 分页列表查询称重记录表信息
|
||
|
|
export const getWeighInfoList = (params: {}) => {
|
||
|
|
return http.get(BASEURL + `/xmgl/weight/weighInfo/list`, params);
|
||
|
|
};
|