采购订单推送委外订单
This commit is contained in:
		
							parent
							
								
									d1350c0392
								
							
						
					
					
						commit
						6d53517653
					
				|  | @ -0,0 +1,61 @@ | |||
| package nccloud.web.pu.poorder.action; | ||||
| 
 | ||||
| import nc.bs.logging.Logger; | ||||
| import nc.bs.pub.mail.MailTool; | ||||
| import nc.vo.pub.BusinessException; | ||||
| import nc.vo.pub.lang.UFDateTime; | ||||
| import nc.vo.pubapp.AppContext; | ||||
| import nccloud.framework.core.exception.ExceptionUtils; | ||||
| import nccloud.framework.web.action.itf.ICommonAction; | ||||
| import nccloud.framework.web.container.IRequest; | ||||
| import nccloud.framework.web.json.JsonFactory; | ||||
| import nccloud.message.util.MessageCenter; | ||||
| import nccloud.message.vo.NCCMessage; | ||||
| import nccloud.message.vo.NCCNoticeMessageVO; | ||||
| 
 | ||||
| import java.util.Map; | ||||
| 
 | ||||
| public class PoOrderMessageAction  implements ICommonAction { | ||||
| 
 | ||||
|     public Object doAction(IRequest request) { | ||||
|         String json = request.read(); | ||||
|         Logger.info("busiParam:" + json); | ||||
|         Map<String, Object> paraMap = (Map) JsonFactory.create().fromJson(json, Map.class); | ||||
| 
 | ||||
| 
 | ||||
|             return this.sendNoticeMsg(getParaMap(paraMap)); | ||||
| 
 | ||||
|     } | ||||
|     private Map<String,Object> getParaMap(Map<String, Object> params) { | ||||
|         return params; | ||||
|     } | ||||
|     /** | ||||
|      * 给通知中心发消息 | ||||
|      */ | ||||
|     public Object sendNoticeMsg(Map<String, Object> paraMap) { | ||||
|         NCCMessage msg = new NCCMessage(); | ||||
|         NCCNoticeMessageVO msgVO = new NCCNoticeMessageVO(); | ||||
|         msgVO.setSubject("采购订单");// 标题 | ||||
|         msgVO.setContent("我是一条测试消息");// 消息类容、 | ||||
|         msgVO.setSender("NC_USER0000000000000");// 发送人 | ||||
|         msgVO.setReceiver("1001ZZ1000000001E5NB");// 接收人 | ||||
|         msgVO.setMsgtype("nc");// 消息发送类型 | ||||
|         msgVO.setMsgsourcetype("notice");// 消息来源类型 | ||||
|         msgVO.setSendtime(new UFDateTime());// 发送时间 | ||||
|         msgVO.setPk_group(AppContext.getInstance().getPkGroup()); | ||||
|         msgVO.setPriority(0);// 优先级 | ||||
|         msgVO.setContenttype("BIZ");// 内容格式 | ||||
|         // 其他属性按照不同的需要选用,可根据NCCMessageVO消息实体VO对应的数据字典查找字段语义 | ||||
|         msg.setMessage(msgVO); | ||||
|         msg.setMessageType("notice");// 消息类型——通知 | ||||
|         try { | ||||
|             String[] sendMessage = MessageCenter.sendMessage(new NCCMessage[] { msg }); | ||||
|             return sendMessage; | ||||
|         } catch (Exception e) { | ||||
|             e.printStackTrace(); | ||||
|             return e; | ||||
|         } | ||||
| 
 | ||||
|     } | ||||
| 
 | ||||
| } | ||||
|  | @ -0,0 +1,127 @@ | |||
| // | ||||
| // Source code recreated from a .class file by IntelliJ IDEA | ||||
| // (powered by FernFlower decompiler) | ||||
| // | ||||
| 
 | ||||
| package nccloud.web.pu.poorder.action; | ||||
| 
 | ||||
| import java.util.HashMap; | ||||
| import java.util.Map; | ||||
| 
 | ||||
| import nc.bs.framework.common.NCLocator; | ||||
| import nc.bs.sc.m61.maintain.SCOrderInsertBP; | ||||
| import nc.impl.pubapp.pattern.data.bill.BillInsert; | ||||
| import nc.impl.pubapp.pattern.data.bill.BillQuery; | ||||
| import nc.impl.pubapp.pattern.data.bill.tool.BillTransferTool; | ||||
| import nc.itf.scmpub.reference.uap.pf.PfServiceScmUtil; | ||||
| import nc.vo.ml.NCLangRes4VoTransl; | ||||
| import nc.vo.pu.m21.entity.OrderVO; | ||||
| import nc.vo.pu.pub.util.AggVOUtil; | ||||
| import nc.vo.pub.lang.UFBoolean; | ||||
| import nc.vo.pub.lang.UFDateTime; | ||||
| import nc.vo.pubapp.pattern.exception.ExceptionUtils; | ||||
| import nc.vo.pubapp.res.NCModule; | ||||
| import nc.vo.sc.m61.entity.SCOrderVO; | ||||
| import nc.vo.sc.m61.entity.context.SCOrderContxt; | ||||
| import nc.vo.scmpub.res.billtype.POBillType; | ||||
| import nc.vo.scmpub.res.billtype.SOBillType; | ||||
| import nccloud.dto.pu.poorder.entity.BatchFreeze; | ||||
| import nccloud.dto.pu.poorder.entity.OrderCloseDTO; | ||||
| import nccloud.framework.core.json.IJson; | ||||
| import nccloud.framework.core.util.GridCompareUtils; | ||||
| import nccloud.framework.web.action.itf.ICommonAction; | ||||
| import nccloud.framework.web.container.IRequest; | ||||
| import nccloud.framework.web.json.JsonFactory; | ||||
| import nccloud.framework.web.ui.pattern.billcard.BillCard; | ||||
| import nccloud.framework.web.ui.pattern.extbillcard.ExtBillCard; | ||||
| import nccloud.framework.web.ui.pattern.extbillcard.ExtBillCardOperator; | ||||
| import nccloud.pubitf.riart.pflow.CloudPFlowContext; | ||||
| import nccloud.pubitf.riart.pflow.ICloudScriptPFlowService; | ||||
| import nccloud.pubitf.scmpub.pub.batchopr.dto.ISCMBatchOprContext; | ||||
| import nccloud.pubitf.scmpub.pub.batchopr.dto.SCMBatchOprContext; | ||||
| import nccloud.pubitf.scmpub.pub.batchopr.dto.SCMBatchResultDTO; | ||||
| import nccloud.web.pu.poorder.util.OrderScaleSetter; | ||||
| import nccloud.web.pu.poorder.util.PUBatchOprResultConvertor; | ||||
| import nccloud.web.sc.scorder.entity.QueryInfoSCOrder; | ||||
| import nccloud.web.sc.scorder.util.SCOrderBillCardOperator; | ||||
| import nccloud.web.scmpub.pub.action.group.SysInitGroupQueryNcc; | ||||
| import nccloud.web.scmpub.pub.resexp.PfResumeExceptionNccUtils; | ||||
| import nccloud.web.scmpub.pub.utils.SCMBatchOperatorResult; | ||||
| import nccloud.web.scmpub.pub.utils.batchopr.SCMBatchOperator; | ||||
| import nccloud.web.scmpub.pub.utils.compare.SCMCompareUtil; | ||||
| 
 | ||||
| public class PushScOrderAction implements ICommonAction { | ||||
|     public PushScOrderAction() { | ||||
|     } | ||||
| 
 | ||||
|     public Object doAction(IRequest request) { | ||||
| 
 | ||||
|         String read = request.read(); | ||||
| 
 | ||||
|         Map<String, Object> paraMap = (Map) JsonFactory.create().fromJson(read, Map.class); | ||||
| //        (Map) JsonFactory.create().fromJson((request.getJson() , Map.class) | ||||
|         try { | ||||
| //            PfResumeExceptionNccUtils.before(request); | ||||
| //            BatchFreeze freeze = (BatchFreeze)json.fromJson(read, BatchFreeze.class); | ||||
| //            OrderVO[] vos = this.getOrderVOS(freeze, Boolean.TRUE); | ||||
| //            ExtBillCardOperator operator = new ExtBillCardOperator(freeze.getPagecode()); | ||||
| //            OrderScaleSetter setter = new OrderScaleSetter(); | ||||
|             String[] hids =paraMap.get("pk").toString().split(","); | ||||
| //                    AggVOUtil.getPrimaryKeys(vos); | ||||
|             OrderVO[] returnVos = (OrderVO[])(new BillQuery(OrderVO.class)).query(hids); | ||||
| //            BillTransferTool<OrderVO> tool = new BillTransferTool(returnVos); | ||||
| //            (OrderVO[])tool.getBillForToClient(returnVos);; | ||||
| //            PfServiceScmUtil.executeVOChange("21", "61", vos); | ||||
| //            GridcompareUtils.compareBillcardGrid() | ||||
| //             ; | ||||
|             SCOrderContxt contxt =new SCOrderContxt(); | ||||
|             contxt.setContractConfirm(UFBoolean.FALSE); | ||||
|             contxt.setNeedWriteMM(UFBoolean.FALSE); | ||||
| //            SCOrderVO[] insedVos = (new SCOrderInsertBP()).insert(PfServiceScmUtil.executeVOChange("21", "61", returnVos), contxt, false); | ||||
|             SCOrderVO[] insedVos = PfServiceScmUtil.executeVOChange("21", "61-Cxx-01", returnVos); | ||||
|             BillCard card = null; | ||||
|             IJson json = JsonFactory.create(); | ||||
|             QueryInfoSCOrder query = (QueryInfoSCOrder)json.fromJson(read, QueryInfoSCOrder.class); | ||||
|             SCOrderBillCardOperator operatorOld = new SCOrderBillCardOperator(query.getTempletid(), query.getPageid()); | ||||
|             card = operatorOld.toCard(insedVos[0]); | ||||
| //            SCOrderVO[] insedVos = (SCOrderVO[])(new BillInsert()).insert( PfServiceScmUtil.executeVOChange("21", "61", returnVos)); | ||||
| //            ICloudScriptPFlowService flowService = NCLocator.getInstance().lookup(ICloudScriptPFlowService.class); | ||||
| //            CloudPFlowContext context = new CloudPFlowContext(); | ||||
| //            context.setBillType("21"); | ||||
| //            context.setBillVos( returnVos); | ||||
| //            context.setActionName("save"); | ||||
| //            SCOrderVO[] returnSaveSaleInvoiceVOs = (SCOrderVO[])flowService.exeScriptPFlow(context); | ||||
| //            PfServiceScmUtil.executeVOChange("21", "61", returnVos) | ||||
|             return card; | ||||
|         } catch (Exception ex) { | ||||
|             return PfResumeExceptionNccUtils.handleResumeException(ex); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     private OrderVO[] getOrderVOS(BatchFreeze freeze, Boolean flag) { | ||||
|         OrderCloseDTO[] freezeDto = freeze.getClosedto(); | ||||
|         String[] pks = new String[freezeDto.length]; | ||||
|         Map<String, UFDateTime> map = new HashMap(); | ||||
| 
 | ||||
|         for(int i = 0; i < freezeDto.length; ++i) { | ||||
|             String pk = freezeDto[i].getPks(); | ||||
|             pks[i] = pk; | ||||
|             map.put(pk, freezeDto[i].getTs()); | ||||
|         } | ||||
| 
 | ||||
|         BillQuery<OrderVO> query = new BillQuery(OrderVO.class); | ||||
|         OrderVO[] aggVOs = (OrderVO[])query.query(pks); | ||||
|         if (aggVOs == null) { | ||||
|             return null; | ||||
|         } else { | ||||
|             if (flag) { | ||||
|                 for(int j = 0; j < aggVOs.length; ++j) { | ||||
|                     String key = aggVOs[j].getHVO().getPk_order(); | ||||
|                     aggVOs[j].getHVO().setAttributeValue("ts", map.get(key)); | ||||
|                 } | ||||
|             } | ||||
| 
 | ||||
|             return aggVOs; | ||||
|         } | ||||
|     } | ||||
| } | ||||
|  | @ -0,0 +1,64 @@ | |||
| package nccloud.web.pu.poorder.vochange; | ||||
| import nc.vo.pf.change.ChangeVOAdjustContext; | ||||
| import nc.vo.pf.change.IChangeVOAdjust; | ||||
| import nc.vo.pub.AggregatedValueObject; | ||||
| import nc.vo.pub.BusinessException; | ||||
| 
 | ||||
| public class PoOrderVOChange implements IChangeVOAdjust{ | ||||
|     public PoOrderVOChange() { | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|      * 交换前对来源单据VO的处理 | ||||
|      * | ||||
|      * @param srcVO | ||||
|      * @param adjustContext VO交换上下文 | ||||
|      * @return | ||||
|      * @throws BusinessException | ||||
|      */ | ||||
|     @Override | ||||
|     public AggregatedValueObject adjustBeforeChange(AggregatedValueObject srcVO, ChangeVOAdjustContext adjustContext) throws BusinessException { | ||||
|         return srcVO; | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|      * 交换后对目的单据VO的处理 | ||||
|      * | ||||
|      * @param srcVO | ||||
|      * @param destVO | ||||
|      * @param adjustContext VO交换上下文 | ||||
|      * @return | ||||
|      * @throws BusinessException | ||||
|      */ | ||||
|     @Override | ||||
|     public AggregatedValueObject adjustAfterChange(AggregatedValueObject srcVO, AggregatedValueObject destVO, ChangeVOAdjustContext adjustContext) throws BusinessException { | ||||
|         return destVO; | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|      * 交换前对来源单据VO数组的处理 | ||||
|      * | ||||
|      * @param srcVOs | ||||
|      * @param adjustContext VO交换上下文 | ||||
|      * @return | ||||
|      * @throws BusinessException | ||||
|      */ | ||||
|     @Override | ||||
|     public AggregatedValueObject[] batchAdjustBeforeChange(AggregatedValueObject[] srcVOs, ChangeVOAdjustContext adjustContext) throws BusinessException { | ||||
|         return srcVOs; | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|      * 交换后对目的单据VO数组的处理 | ||||
|      * | ||||
|      * @param srcVOs | ||||
|      * @param destVOs | ||||
|      * @param adjustContext VO交换上下文 | ||||
|      * @return | ||||
|      * @throws BusinessException | ||||
|      */ | ||||
|     @Override | ||||
|     public AggregatedValueObject[] batchAdjustAfterChange(AggregatedValueObject[] srcVOs, AggregatedValueObject[] destVOs, ChangeVOAdjustContext adjustContext) throws BusinessException { | ||||
|         return destVOs; | ||||
|     } | ||||
| } | ||||
|  | @ -0,0 +1,391 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="no" ?> | ||||
| <actions> | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.save</name> | ||||
| 		<label>采购订单卡片保存</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.OrderSaveAction</clazz> | ||||
| 	</action> | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.delete</name> | ||||
| 		<label>采购订单卡片数据删除</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderDeleteAction</clazz> | ||||
| 		<btncode>Delete</btncode> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.gridorderdeleteaction</name> | ||||
| 		<label>采购订单卡片数据删除</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.GridOrderDeleteAction</clazz> | ||||
| 		<btncode>Delete</btncode> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.cardheadafterevent</name> | ||||
| 		<label>采购订单卡片表头数据编辑后事件</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderCardHeadAfterEventAction</clazz> | ||||
| 	</action> | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.cardbodyafterevent</name> | ||||
| 		<label>采购订单卡片表体数据编辑后事件</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderCardBodyAfterEventAction</clazz> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.arriveplanaftereventaction</name> | ||||
| 		<label>采购订单到货计划编辑后事件</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.ArrivePlanAfterEventAction</clazz> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.commitaction</name> | ||||
| 		<label>采购订单提交</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderCommitAction</clazz> | ||||
| 		<btncode>Commit</btncode> | ||||
| 	</action> | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.uncommitaction</name> | ||||
| 		<label>采购订单收回</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderUnCommitAction</clazz> | ||||
| 		<btncode>UnCommit</btncode> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.gridorderuncommitaction</name> | ||||
| 		<label>采购订单列表收回</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.GridOrderUnCommitAction</clazz> | ||||
| 		<btncode>UnCommit</btncode> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.poorderfreezeaction</name> | ||||
| 		<label>采购订单冻结</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderFreezeAction</clazz> | ||||
| 		<btncode>Freeze</btncode> | ||||
| 	</action> | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.poorderunfreezeaction</name> | ||||
| 		<label>采购订单解冻</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderUnFreezeAction</clazz> | ||||
| 		<btncode>UnFreeze</btncode> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.gridorderfreezeaction</name> | ||||
| 		<label>采购订单批量冻结</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.GridOrderFreezeAction</clazz> | ||||
| 		<btncode>Freeze</btncode> | ||||
| 	</action> | ||||
| 	<action> | ||||
| 		<name>pu.poorder.gridorderunfreezeaction</name> | ||||
| 		<label>采购订单批量解冻</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.GridOrderUnFreezeAction</clazz> | ||||
| 		<btncode>UnFreeze</btncode> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.finalcloseaction</name> | ||||
| 		<label>采购订单整单关闭</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.FinalCloseAction</clazz> | ||||
| 		<btncode>CloseBill</btncode> | ||||
| 	</action> | ||||
| 	<action> | ||||
| 		<name>pu.poorder.gridfinalcloseaction</name> | ||||
| 		<label>采购订单批量关闭</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.GridFinalCloseAction</clazz> | ||||
| 		<btncode>CloseBill</btncode> | ||||
| 	</action> | ||||
| 	<action> | ||||
| 		<name>pu.poorder.finalopenaction</name> | ||||
| 		<label>采购订单整单打开</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.FinalOpenAction</clazz> | ||||
| 		<btncode>OpenBill</btncode> | ||||
| 	</action> | ||||
| 	<action> | ||||
| 		<name>pu.poorder.gridfinalopenaction</name> | ||||
| 		<label>采购订单批量打开</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.GridFinalOpenAction</clazz> | ||||
| 		<btncode>OpenBill</btncode> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.arriveplansaveaction</name> | ||||
| 		<label>采购订单到货计划保存</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.ArrivePlanSaveAction</clazz> | ||||
| 	</action> | ||||
| 	<action> | ||||
| 		<name>pu.poorder.orderprintaction</name> | ||||
| 		<label>采购订单打印</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderPrintAction</clazz> | ||||
| 		<btncode>Print,PrintOut,Print_list</btncode> | ||||
| 	</action> | ||||
| 	<action> | ||||
| 		<name>pu.poorder.cardinterceptoraction</name> | ||||
| 		<label>进入采购订单卡片关联合同</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderCardInterceptorAction</clazz> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.orderatpqueryaction</name> | ||||
| 		<label>进入采购订单卡片存量查询</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderATPQueryAction</clazz> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.ordersupplementinfo</name> | ||||
| 		<label>采购订单辅助信息查询</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderSideFomAction</clazz> | ||||
| 	</action> | ||||
| 
 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.orderpricedetail</name> | ||||
| 		<label>采购订单价格详情查询</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderPriceDetailAction</clazz> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.ordersalesqueryaction</name> | ||||
| 		<label>进入采购订单卡片销量查询</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderSalesQueryAction</clazz> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.ordergrossprofitaction</name> | ||||
| 		<label>进入采购订单卡片毛利预估</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderGrossProfitQueryAction</clazz> | ||||
| 		<btncode>GrossProfit</btncode> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.ordersupplierapaction</name> | ||||
| 		<label>进入采购订单卡片供应商应付</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.SupplierApQueryAction</clazz> | ||||
| 		<btncode>SupplierAp</btncode> | ||||
| 	</action> | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.issaleorgaction</name> | ||||
| 		<label>进入采购订单卡片销量查询检查组织是否是销售组织</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.CheckIsSaleOrgAction</clazz> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.querydefaultpriceaction</name> | ||||
| 		<label>采购订单卡片 采购询价</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.OrderQueryDefaultPriceAction</clazz> | ||||
| 		<btncode>Pu_Inquiry</btncode> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.querycooppriceaction</name> | ||||
| 		<label>采购订单卡片 询协同售价</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.QueryCoopPriceAction</clazz> | ||||
| 		<btncode>CheckPuInquiry</btncode> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.ordercardheadbeforeeditaction</name> | ||||
| 		<label>进入采购订单卡片表头编辑前事件</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.OrderCardHeadBeforeEditAction</clazz> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.ordercardbodybeforeeditaction</name> | ||||
| 		<label>进入采购订单卡片表头编辑前事件</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.OrderCardBodyBeforeEditAction</clazz> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.poordercardeditdatapermissionaction</name> | ||||
| 		<label>进入采购订单卡片编辑权限</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderCardEditDataPermissionAction</clazz> | ||||
| 		<btncode>Edit</btncode> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.combineshowaction</name> | ||||
| 		<label>采购订单卡片合并显示</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.CombineShowAction</clazz> | ||||
| 		<btncode>CombineShow</btncode> | ||||
| 	</action> | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.combineprintaction</name> | ||||
| 		<label>采购订单卡片合并打印</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.CombinePrintAction</clazz> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.rowclose</name> | ||||
| 		<label>采购订单卡片行关闭</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.OrderRowCloseAction</clazz> | ||||
| 		<btncode>RowClose</btncode> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poordercard.rowopen</name> | ||||
| 		<label>采购订单卡片行打开</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.OrderRowOpenAction</clazz> | ||||
| 		<btncode>RowOpen</btncode> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.pushcoopsaleorderaction</name> | ||||
| 		<label>采购订单生成协同销售订单</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PushCoopSaleOrderAction</clazz> | ||||
| 		<btncode>OrderTOSaleBill</btncode> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.arrivalplancheckaction</name> | ||||
| 		<label>采购订单到货计划数据校验</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.ArrivalPlanCheckAction</clazz> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.porprownomodel</name> | ||||
| 		<label>到货计划参照采购订单表体</label> | ||||
| 		<clazz>nccloud.web.pu.order.refer.PoRPRowNoModel</clazz> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.receiveplanprintaction</name> | ||||
| 		<label>采购订单到货计划打印</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.ReceivePlanPrintAction</clazz> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.transportstatusqueryaction</name> | ||||
| 		<label>运输状态</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.TranSportStatusQueryAction</clazz> | ||||
| 		<btncode>Transport_State</btncode> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.arriveplandeletecheckaction</name> | ||||
| 		<label>运输状态</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.ArrivePlanDeleteCheckAction</clazz> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.poorderyyccancelpubaction</name> | ||||
| 		<label>取消发布到云采</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.yyc.PoOrderYYCCancelPubAction</clazz> | ||||
| 		<btncode>CancelSendToYC</btncode> | ||||
| 	</action> | ||||
| 	<action> | ||||
| 		<name>pu.poorder.poorderyycpubaction</name> | ||||
| 		<label>发布到云采</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.yyc.PoOrderYYCPubAction</clazz> | ||||
| 		<btncode>SendToYC</btncode> | ||||
| 	</action> | ||||
| 
 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.arriveplanyyccancelpubaction</name> | ||||
| 		<label>取消发布到云采</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.yyc.PoOrderArrivePlanYYCCancelPubAction</clazz> | ||||
| 		<btncode>CancelSendToYC</btncode> | ||||
| 	</action> | ||||
| 	<action> | ||||
| 		<name>pu.poorder.arriveplanyycpubaction</name> | ||||
| 		<label>发布到云采</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.yyc.PoOrderArrivePlanYYCPubAction</clazz> | ||||
| 		<btncode>SendToYC</btncode> | ||||
| 	</action> | ||||
| 
 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.saveandcommit</name> | ||||
| 		<label>采购订单保存提交</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.OrderSaveCommit</clazz> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.orderprintvalidate</name> | ||||
| 		<label>采购订单打印前校验</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.OrderPrintValidateAction</clazz> | ||||
| 		<btncode>Print</btncode> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.payplanprintvalidate</name> | ||||
| 		<label>采购订单打印前校验</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PayplanPrintValidateAction</clazz> | ||||
| 		<btncode>Print</btncode> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.linpayplay</name> | ||||
| 		<label>采购订单聯查付款計劃</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.OrderLinkPoPlanAction</clazz> | ||||
| 		<btncode>LinkPoPlan</btncode> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.export</name> | ||||
| 		<label>采购订单导出模板</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.OrderExportAction</clazz> | ||||
| 	</action> | ||||
| 	 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.import</name> | ||||
| 		<label>采购订单导入</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.OrderImportAction</clazz> | ||||
| 	</action> | ||||
| 
 | ||||
| 	<action> | ||||
| 		<name>pu.poordercardfee.cardfeeafterevent</name> | ||||
| 		<label>采购订单卡片表体费用项数据编辑后事件</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderCardFeeAfterEventAction</clazz> | ||||
| 	</action> | ||||
| 
 | ||||
| 	<action> | ||||
| 		<name>pu.poordercardfeedetail.cardfeedetailafterevent</name> | ||||
| 		<label>采购订单卡片表体费用明细数据编辑后事件</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderCardFeeDetailAfterEventAction</clazz> | ||||
| 	</action> | ||||
| 
 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.copybodyinsertfeedetail</name> | ||||
| 		<label>采购订单卡片表体费用明细数据编辑后事件</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderCardCopyInsertFeeDetailAction</clazz> | ||||
| 	</action> | ||||
| 
 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.financeorgchangefee</name> | ||||
| 		<label>采购订单卡片切换结算财务组织事件</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderCardFinanceorgChangeAction</clazz> | ||||
| 	</action> | ||||
| 
 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.cardbodybatch</name> | ||||
| 		<label> 复制粘贴物料或者数量时联动费用明细</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderCardBodyBatchAction</clazz> | ||||
| 	</action> | ||||
| 
 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.headafterdbillddateforfee</name> | ||||
| 		<label> 表头制单日期编辑后</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderHeadAfterDbillddateForfeeAction</clazz> | ||||
| 	</action> | ||||
| 
 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.insertfeedetail</name> | ||||
| 		<label>费用明细参照增行</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderInsertFeeDetailAction</clazz> | ||||
| 	</action> | ||||
| 
 | ||||
| 	<action> | ||||
| 		<name>pu.poorder.feeDetailBeforeEvent</name> | ||||
| 		<label>费用明细编辑前控制</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderBeforeFeeDetailAction</clazz> | ||||
| 	</action> | ||||
| 	<action> | ||||
| 		<name>pu.poorder.poOrderMessage</name> | ||||
| 		<label>消息通知</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PoOrderMessageAction</clazz> | ||||
| 	</action> | ||||
| 	<action> | ||||
| 		<name>pu.poorder.pushScOrderAction</name> | ||||
| 		<label>采购订单生成协同销售订单</label> | ||||
| 		<clazz>nccloud.web.pu.poorder.action.PushScOrderAction</clazz> | ||||
| 		<btncode>OrderTOSaleBill</btncode> | ||||
| 	</action> | ||||
| 
 | ||||
| </actions> | ||||
|  | @ -0,0 +1,179 @@ | |||
| <authorizes> | ||||
| 	<authorize> | ||||
|       <appcode>400400800,400400816</appcode> | ||||
|       <actions> | ||||
|           <action>pu.poorder.query</action> | ||||
|           <action>pu.poorder.currentpage</action> | ||||
|           <action>pu.poordercard.arriveplanqueryaction</action> | ||||
|           <action>pu.poorder.gridordercommitaction</action> | ||||
|           <action>pu.poorder.ordersavecommit</action> | ||||
|           <action>pu.poordercard.gridorderdeleteaction</action> | ||||
|           <action>pu.poordercard.gridorderuncommitaction</action> | ||||
|           <action>pu.poorder.gridorderfreezeaction</action> | ||||
|           <action>pu.poorder.gridorderunfreezeaction</action> | ||||
|           <action>pu.poorder.orderrelationct</action> | ||||
|           <action>pu.poorder.gridfinalcloseaction</action> | ||||
|           <action>pu.poorder.gridfinalopenaction</action> | ||||
|           <action>pu.poorder.orderprintaction</action> | ||||
|           <action>pu.poordercard.poordercardeditdatapermissionaction</action> | ||||
|           <action>pu.poorder.pushcoopsaleorderaction</action> | ||||
|           <action>pu.poorder.arrivalplancheckaction</action> | ||||
|           <action>pu.poorder.porprownomodel</action> | ||||
|           <action>pu.poorder.saveandcommit</action> | ||||
|           <action>pu.poordercard.save</action> | ||||
|       </actions> | ||||
|     </authorize> | ||||
|      | ||||
|    <authorize> | ||||
|       <appcode>400400800,400400808,400400812,400400814,400400816,400400818,400400820</appcode> | ||||
|       <actions> | ||||
|       	  <action>pu.poorder.query</action> | ||||
|           <action>pu.poordercard.query</action> | ||||
|           <action>pu.poordercard.save</action> | ||||
|           <action>pu.poordercard.delete</action> | ||||
|           <action>pu.poordercard.cardheadafterevent</action> | ||||
|           <action>pu.poordercard.cardbodyafterevent</action> | ||||
|           <action>pu.poordercard.arriveplanqueryaction</action> | ||||
|           <action>pu.poorder.arriveplanaftereventaction</action> | ||||
|           <action>pu.poordercard.commitaction</action> | ||||
|           <action>pu.poordercard.uncommitaction</action> | ||||
|           <action>pu.poordercard.poorderfreezeaction</action> | ||||
|           <action>pu.poordercard.poorderunfreezeaction</action> | ||||
|           <action>pu.poorder.finalcloseaction</action> | ||||
|           <action>pu.poorder.finalopenaction</action> | ||||
|           <action>pu.poordercard.arriveplansaveaction</action> | ||||
|           <action>pu.poorder.orderprintaction</action> | ||||
|           <action>pu.poorder.cardinterceptoraction</action> | ||||
|           <action>pu.poordercard.orderatpqueryaction</action> | ||||
|           <action>pu.poordercard.ordersupplementinfo</action>  | ||||
|           <action>pu.poordercard.ordersalesqueryaction</action> | ||||
|           <action>pu.poordercard.ordergrossprofitaction</action> | ||||
|           <action>pu.poordercard.ordersupplierapaction</action> | ||||
|           <action>pu.poordercard.issaleorgaction</action>> | ||||
|           <action>pu.poordercard.querydefaultpriceaction</action> | ||||
|           <action>pu.poordercard.querycooppriceaction</action> | ||||
|           <action>pu.poordercard.ordercardheadbeforeeditaction</action> | ||||
|           <action>pu.poordercard.ordercardbodybeforeeditaction</action> | ||||
|           <action>pu.poordercard.poordercardeditdatapermissionaction</action> | ||||
|           <action>pu.poordercard.combineshowaction</action> | ||||
|           <action>pu.poordercard.combineprintaction</action> | ||||
|           <action>pu.poordercard.rowclose</action> | ||||
|           <action>pu.poordercard.rowopen</action> | ||||
|           <action>pu.poorder.pushcoopsaleorderaction</action> | ||||
|           <action>pu.poorder.arrivalplancheckaction</action> | ||||
|           <action>pu.poorder.porprownomodel</action> | ||||
|           <action>pu.poorder.sotoordercardqueryaction</action> | ||||
|           <action>pu.poorder.query20for21action</action> | ||||
|           <action>pu.poorder.transfer20to21action</action> | ||||
|           <action>pu.poorder.supplierquotasaction</action> | ||||
|           <action>pu.poorder.queryz2for21action</action> | ||||
|           <action>pu.poorder.transferz2to21action</action> | ||||
|           <action>pu.poorder.query30salefor21action</action> | ||||
|           <action>pu.poorder.transfer30saleto21action</action> | ||||
|           <action>pu.poorder.query30coopfor21action</action> | ||||
|           <action>pu.poorder.transfer30coopto21action</action> | ||||
|           <action>pu.poorder.query23for21action</action> | ||||
|           <action>pu.poorder.query45for21action</action> | ||||
|           <action>pu.poorder.querymultifor21action</action> | ||||
|           <action>pu.poorder.transfermultito21action</action> | ||||
|           <action>pu.poorder.refz2fromcheckaction</action> | ||||
|           <action>pu.poorder.defaultsupplieraction</action> | ||||
|           <action>pu.poorder.receiveplanprintaction</action> | ||||
|           <action>pu.poorder.transportstatusqueryaction</action> | ||||
|           <action>pu.poorder.arriveplandeletecheckaction</action> | ||||
|           <action>pu.poorder.query49for21action</action> | ||||
|           <action>pu.poorder.transfer49to21action</action> | ||||
|           <action>pu.poorder.poorderyyccancelpubaction</action> | ||||
|           <action>pu.poorder.poorderyycpubaction</action> | ||||
|           <action>pu.poorder.saveandcommit</action> | ||||
|           <action>pu.poorder.poOrderMessage</action> | ||||
|           <action>pu.poorder.PoOrderVOChange</action> | ||||
|           <action>pu.poorder.pushcoopsaleorderaction</action> | ||||
|       </actions> | ||||
|    </authorize> | ||||
|     | ||||
|    <authorize> | ||||
|       <appcode>400400802</appcode> | ||||
|       <actions> | ||||
|       	  <action>pu.poordercard.query</action> | ||||
|           <action>pu.poorder.orderrelationct</action> | ||||
|           <action>pu.poorder.orderrevisequery</action> | ||||
|           <action>pu.poorder.revisequerybypks</action> | ||||
|           <action>pu.poorder.queryHistoryHead</action> | ||||
|           <action>pu.poorder.queryHistoryBody</action> | ||||
|           <action>pu.poorder.orderrevisesave</action> | ||||
|           <action>pu.poorder.orderrevisedatapermission</action> | ||||
|           <action>pu.poordercard.cardheadafterevent</action> | ||||
|           <action>pu.poordercard.cardbodyafterevent</action> | ||||
|           <action>pu.poordercard.ordercardheadbeforeeditaction</action> | ||||
|           <action>pu.poordercard.ordercardbodybeforeeditaction</action> | ||||
|           <action>pu.poordercard.orderatpqueryaction</action> | ||||
|           <action>pu.poordercard.ordersalesqueryaction</action> | ||||
|           <action>pu.poordercard.ordergrossprofitaction</action> | ||||
|           <action>pu.poordercard.ordersupplierapaction</action> | ||||
|           <action>pu.poordercard.issaleorgaction</action> | ||||
|       </actions> | ||||
|     </authorize> | ||||
|      | ||||
|     <authorize> | ||||
|       <appcode>400400804</appcode> | ||||
|       <actions> | ||||
|           <action>pu.poorder.orderclosequery</action> | ||||
|           <action>pu.poorder.finalClose</action> | ||||
|           <action>pu.poorder.arriveallclose</action> | ||||
|           <action>pu.poorder.invoiceallclose</action> | ||||
|           <action>pu.poorder.payallclosea</action> | ||||
|           <action>pu.poorder.storeallclose</action> | ||||
|           <action>pu.poorder.arriveallopen</action> | ||||
|           <action>pu.poorder.finalopen</action> | ||||
|           <action>pu.poorder.invoiceallopen</action> | ||||
|           <action>pu.poorder.payallopen</action> | ||||
|           <action>pu.poorder.storeallopen</action> | ||||
|           <action>pu.poorder.arriverowclose</action> | ||||
|           <action>pu.poorder.invoicerowclose</action> | ||||
|           <action>pu.poorder.payrowclose</action> | ||||
|           <action>pu.poorder.rowclose</action> | ||||
|           <action>pu.poorder.storerowclose</action> | ||||
|           <action>pu.poorder.arriverowopen</action> | ||||
|           <action>pu.poorder.invoicerowopen</action> | ||||
|           <action>pu.poorder.payrowopen</action> | ||||
|           <action>pu.poorder.rowopen</action> | ||||
|           <action>pu.poorder.storerowopen</action> | ||||
|       </actions> | ||||
|     </authorize> | ||||
|      | ||||
|     <authorize> | ||||
|       <appcode>400400806</appcode> | ||||
|       <actions> | ||||
|           <action>pu.poorder.orderpayplanquery</action> | ||||
|           <action>pu.poorder.querypayplanbypks</action> | ||||
|           <action>pu.poorder.orderpayplansave</action> | ||||
|           <action>pu.poorder.orderpayplanafter</action> | ||||
|           <action>pu.poorder.payplantopayreqcheck</action> | ||||
|           <action>pu.poorder.payplantopaycheck</action> | ||||
|           <action>pu.poorder.orderpayplanprint</action> | ||||
|       </actions> | ||||
|     </authorize> | ||||
|     | ||||
|    <authorize> | ||||
|       <appcode>*</appcode> | ||||
|       <actions> | ||||
|           <action>pu.poorder.query20for21action</action> | ||||
|           <action>pu.poorder.exttranstypequeryaction</action> | ||||
|           <action>pu.poorder.widgetquery20for21action</action> | ||||
|           <action>pu.poorder.flowquery20for21action</action> | ||||
|           <action>pu.poorder.supplierquotasaction</action> | ||||
|           <action>pu.poorder.defaultsupplieraction</action> | ||||
|           <action>pu.poorder.discounthead</action> | ||||
|           <action>dm.transport.print</action> | ||||
|           <acion>dm.transport.btnoperator</acion> | ||||
|           <action>pu.poorder.orderprintvalidate</action> | ||||
|       </actions> | ||||
|     </authorize> | ||||
|     <authorize> | ||||
|       <appcode>401200000,401200002,401200004,401200006</appcode> | ||||
|         <actions> | ||||
|             <action>pu.poorder.pushScOrderAction</action> | ||||
|         </actions> | ||||
|     </authorize> | ||||
| </authorizes> | ||||
		Loading…
	
		Reference in New Issue