Prechádzať zdrojové kódy

流程生产订单审批

yaoyu 2 rokov pred
rodič
commit
72d6162a65

+ 3 - 2
xh/so/src/private/nc/bs/mmpac/pmo/pfxx/plugin/MMpacPmoPfxxPlugin.java

@@ -39,9 +39,10 @@ public class MMpacPmoPfxxPlugin extends AbstractPfxxPlugin {
 			}
 
 			returnVO = this.getIPMOMaintainService().insert(new PMOAggVO[]{(PMOAggVO) resvo})[0];
-			// 保存审批  2022-11-08  yaoy  流程生产订单
+			// 保存审批  2022-11-08  yaoy  流程生产订单 
 			if(swapContext.getBilltype().equals("55A2")){
-				returnVO = this.getIPMOMaintainService().approve(new PMOAggVO[]{(PMOAggVO) resvo})[0];
+				returnVO.getParentVO().setAttributeValue("fbillstatus",1);
+				this.getIPMOMaintainService().approve(new PMOAggVO[]{(PMOAggVO) resvo});
 		    }
 		} else {
 			returnVO = this.getIPMOMaintainService().update(new PMOAggVO[]{(PMOAggVO) resvo})[0];