密炼机动作维护、日罐物料对应信息、密炼机条件维护、生产订单、金蝶对接配置

This commit is contained in:
2026-05-22 12:04:46 +08:00
parent 874e513c90
commit 467c49f432
30 changed files with 1509 additions and 5 deletions

View File

@@ -0,0 +1,25 @@
import { defHttp } from '/@/utils/http/axios';
enum Api {
list = '/xslmes/mesXslProductionOrder/list',
save = '/xslmes/mesXslProductionOrder/add',
edit = '/xslmes/mesXslProductionOrder/edit',
deleteOne = '/xslmes/mesXslProductionOrder/delete',
deleteBatch = '/xslmes/mesXslProductionOrder/deleteBatch',
queryById = '/xslmes/mesXslProductionOrder/queryById',
exportXls = '/xslmes/mesXslProductionOrder/exportXls',
}
export const list = (params) => defHttp.get({ url: Api.list, params });
export const deleteOne = (params, handleSuccess) =>
defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => handleSuccess());
export const batchDelete = (params, handleSuccess) =>
defHttp.delete({ url: Api.deleteBatch, params }, { joinParamsToUrl: true }).then(() => handleSuccess());
export const saveOrUpdate = (params, isUpdate) => defHttp.post({ url: isUpdate ? Api.edit : Api.save, params });
export const queryById = (params) => defHttp.get({ url: Api.queryById, params });
export const getExportUrl = Api.exportXls;