Browse Source

[fix] 工程管理

修复后端开发修改单审核完毕后生成采购计划缺少申请人的问题
dev
liuxiaoxu 2 months ago
parent
commit
172d17b93e
  1. 3
      ruoyi-admin/src/main/java/com/ruoyi/purchase/service/impl/PurchasePlanServiceImpl.java

3
ruoyi-admin/src/main/java/com/ruoyi/purchase/service/impl/PurchasePlanServiceImpl.java

@ -301,6 +301,9 @@ public class PurchasePlanServiceImpl implements IPurchasePlanService
purchasePlan.setPurchasePlanCode(purchasePlanCode); purchasePlan.setPurchasePlanCode(purchasePlanCode);
purchasePlan.setCreateTime(new Date()); purchasePlan.setCreateTime(new Date());
purchasePlan.setCreateBy(loginName); purchasePlan.setCreateBy(loginName);
//申请人
purchasePlan.setApplyUser(erpDevelopModifyorderVo.getApplyUser());
// 标明来源是开发修改单 // 标明来源是开发修改单
purchasePlan.setPurchasePlanType("3"); purchasePlan.setPurchasePlanType("3");
// 标明为待申请 // 标明为待申请

Loading…
Cancel
Save