feat(erp): 新增ERP接口对接功能并优化物料管理服务

- 新增多个ERP接口对接相关的请求和响应实体类
- 移除物料管理服务中冗余的字段设置逻辑
- 优化接收物料、客户和供应商信息的方法实现
- 调整前端页面布局及字段显示以适配新数据结构
- 更新API控制器以支持新的ERP数据同步方式
This commit is contained in:
liuhanqing
2025-12-05 14:39:58 +08:00
parent aaef8ab5fc
commit 26023bd55b
16 changed files with 280 additions and 367 deletions

View File

@@ -21,23 +21,23 @@ public class ToErpApiController {
/**
* 接收物料信息
*/
@GetMapping("/receiveMaterial")
public AjaxResult receiveMaterial(@RequestBody BasProduct basProduct) {
return toErpService.receiveMaterial(basProduct);
@GetMapping("/receiveProduct")
public AjaxResult receiveProduct() {
return toErpService.receiveProduct();
}
/**
* 接收客户信息
*/
@GetMapping("/receiveCustomer")
public AjaxResult receiveCustomer(@RequestBody BasCustomer basProduct) {
return toErpService.receiveCustomer(basProduct);
public AjaxResult receiveCustomer() {
return toErpService.receiveCustomer();
}
/**
* 接收供应商信息
*/
@GetMapping("/receiveSupplier")
public AjaxResult receiveSupplier(/*@RequestBody BasSupplier basSupplier*/) {
public AjaxResult receiveSupplier() {
return toErpService.receiveSupplier();
}