瀏覽代碼

前台配了保存即审批,把形态转换里的审批去掉

pancy 1 年之前
父節點
當前提交
5e759b4088
共有 1 個文件被更改,包括 6 次插入5 次删除
  1. 6 5
      xh/xh/src/private/nc/bs/xh/impl/TransformAddImpl.java

+ 6 - 5
xh/xh/src/private/nc/bs/xh/impl/TransformAddImpl.java

@@ -114,13 +114,14 @@ public class TransformAddImpl extends BaseServlet implements IHttpServletAdaptor
 			
 			
 			ITransformMaitain itransform=(ITransformMaitain)NCLocator.getInstance().lookup(ITransformMaitain.class);
 			ITransformMaitain itransform=(ITransformMaitain)NCLocator.getInstance().lookup(ITransformMaitain.class);
 			itransform.insert(transformvos);
 			itransform.insert(transformvos);
-			IPFBusiAction service = NCLocator.getInstance().lookup(IPFBusiAction.class);
-			HashMap<String, Object> pfparam = new HashMap<String, Object>(); // 该参数用于控制自动审批时按钮的审批状态 
-			pfparam.put(PfParameterUtil.ORIGIN_VO_PARAMETER, CloneUtil.deepClone(transformvos[0]));
-			service.processAction("APPROVE",
-	                "4N", null, transformvos[0], null, pfparam);
+//			IPFBusiAction service = NCLocator.getInstance().lookup(IPFBusiAction.class);
+//			HashMap<String, Object> pfparam = new HashMap<String, Object>(); // 该参数用于控制自动审批时按钮的审批状态 
+//			pfparam.put(PfParameterUtil.ORIGIN_VO_PARAMETER, CloneUtil.deepClone(transformvos[0]));
+//			service.processAction("APPROVE",
+//	                "4N", null, transformvos[0], null, pfparam);
 			out.print(formatRSJsonData("成功","",vbillcode)); 
 			out.print(formatRSJsonData("成功","",vbillcode)); 
 			
 			
+			
 		} catch (Exception e) {
 		} catch (Exception e) {
 			// TODO Auto-generated catch block
 			// TODO Auto-generated catch block
 			resp.getWriter().write(formatRSJsonData("失败",
 			resp.getWriter().write(formatRSJsonData("失败",