fs-danaus
2022-03-26 59226b7f7f2986501b3dc3efcf9c646bb0e64ff3
WebRoot/public/template/0/8/jsCssHead.jsp
@@ -78,26 +78,36 @@
         parent.errShow.frame = parent.frames[inThisFrame];
         parent.errShow.show_divErro(showIs, check);
            btnId=null;
         },check,flag);
        }
}
function save(o,c){
   //2012-10-12 lqc
   var flag = checkSession();//session失效后弹出登录框,flag为true时表示已经失效
   if(flag){
      return;
   }//end
   if(!c||c==0){
      save$(o);
   }else{
      centerPopup(formId,2,function(){
         save$(o);
      },'');
      }, check, flag);
   }
}
function save$(op){
    showLoading();
    if(panMain[panIndex].checkUp()){
function save(o, c) {
   //2012-10-12 lqc
   var flag = checkSession();//session失效后弹出登录框,flag为true时表示已经失效
   if (flag) {
      return;
   }//end
   if (!c || c == 0) {
      if (o == 5) {//表示单据类型直接点保存,是为区分有在线支付功能时,确认也是执行保存操作
         if ("undefined" != typeof onlinePay && onlinePay != null) {
            onlinePay.pay = 0;
            onlinePay.refund = 0;
            onlinePay.isOnlinePay = false;
         }
         o = 2;//转换为2
      }
      save$(o);
   } else {
      centerPopup(formId, 2, function () {
         save$(o);
      }, '');
   }
}
function save$(op) {
   showLoading();
   if (panMain[panIndex].checkUp()) {
       check=op;   
       commitPan(check);
    }else{