采购单

This commit is contained in:
Teo
2025-08-14 22:37:39 +08:00
parent 8acfe27a8d
commit 1d120cde0a
8 changed files with 247 additions and 110 deletions

View File

@ -80,11 +80,20 @@ export const listBatch = (query?: any): AxiosPromise => {
* @param data
*/
export const getBatch = (query: any) => {
return request({
const config: any = {
url: '/cailiaoshebei/materialbatchdemandplan/list',
method: 'get',
params: query
});
};
// 如果 query.token 存在,就覆盖请求头里的 token
if (query.token) {
config.headers = {
Authorization: query.token
};
}
return request(config);
};
/**