| | |
| | | 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{ |