优化页面

This commit is contained in:
zgw
2025-12-25 13:47:24 +08:00
parent 9fc1cc53e9
commit f64216f3c1
47 changed files with 2376 additions and 357 deletions

View File

@@ -42,3 +42,17 @@ export function delBasProduct(productGuid) {
method: 'delete'
})
}
// 从ERP获取物料信息
// 说明:
// - 使用GET请求调用后端接口 `/api2erp/receiveProduct`
// - 将本次请求的超时时间设置为5分钟(300000毫秒)
// - 不传递额外参数,后端负责同步逻辑
export function receiveProductFromERP() {
return request({
url: '/api2erp/receiveProduct',
method: 'get',
// 单次请求覆盖默认超时为5分钟
timeout: 300000
})
}