功能调整

This commit is contained in:
huhao
2026-08-18 18:05:16 +08:00
parent b342fb971b
commit 47559d6ed2
17 changed files with 2677 additions and 246 deletions
+19
View File
@@ -36,11 +36,30 @@ export const reqGetGrooveTypeList = ()=>get(`BaseInfo/GetGrooveType`)
*/
export const reqGetWeldTypeList = () => get(`BaseInfo/GetWeldType`)
/**
* 按关键字分页查询入库明细条码
* @param {object} data
* @param {string} data.barCodeKeyword - 条码关键字
* @param {number} data.pageIndex - 页码(从 1 开始)
* @param {number} data.pageSize - 每页条数
*/
export const reqGetInputDetailBarCodes = (data = {}) => get('BaseInfo/GetInputDetailBarCodes', {
barCodeKeyword: data.barCodeKeyword ?? '',
pageIndex: data.pageIndex ?? 1,
pageSize: data.pageSize ?? 20,
})
/**
* 获取焊接方法列表
*/
export const reqGetWeldingMethodList = () => get(`BaseInfo/GetWeldingMethod`)
/**
* 按类型获取焊接耗材
* @param {number} consumablesType - 焊材类型:1焊丝,2焊条
*/
export const reqGetWeldingConsumables = (consumablesType) => get('BaseInfo/GetWeldingConsumables', { consumablesType })
/**
* 附件上传
* @param {string} filePath - 本地文件路径