| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <script>
- function abnormalAudit(){
- var type = Z("#type").val();
- var modifyMoney = Z("#modifyMoney").val();
- if(Z.V.isEmpty(type)){
- Z.alert("请选择操作的金额类型");
- return;
- }
- var remark = Z("#remark").val();
- var designOrderId = Z("#modifyDesignOrder").val();
- if (Z.V.isEmpty(modifyMoney))
- {
- Z.alert("操作金额不能为空");
- return;
- }
-
- editAbnormalAudit('${operatorCode}',modifyMoney,designOrderId,remark,type);
- }
- function editAbnormalAudit(operatorCode,modifyMoney,designOrderId,remark,type){
- var ajax = new Z.Ajax();
- ajax.setClassName("VirtualAccountAction");
- ajax.setMethodName("abnormalAudit");
- ajax.addParam(operatorCode);
- ajax.addParam(modifyMoney);
- ajax.addParam(designOrderId);
- ajax.addParam(remark);
- ajax.addParam(type);
- ajax.setFailureAlert();
- ajax.setSuccess(function(){
- Z.success("操作成功",function(){
- parent.location.reload();
- parent.Z.Dialog.close();
- });
- });
- ajax.setLoading("abnormalAudit", '正在提交', {disabled:true});
- ajax.execute();
- }
- //修改操作金额类型
- function editOperatorDate(type){
- Z("#type").val(type);
- }
- </script>
- <style>
- .container{ min-height:467px; background:#fff;}
- .order-no td{ padding:0 0 0 30px;}
- .order-title{ color:#0089e1;font-weight:bold; font-size:26px; padding:10px 0 0 30px; line-height:60px;}
- .order-p{ font-size:16px; padding:0 0 0 30px; line-height:60px; border-bottom:1px solid #f2f2f2;}
- .order-info{ background:#0089e1;border-radius:8px;width:520px;height:130px; margin:10px 0 0 30px;text-align:center; color:#fff; font-size:22px; padding:16px 66px; line-height:36px;}
- .order-info span{ color:#fffc00; font-weight:bold;}
- </style>
- <div class='order-box'>
- <div class="order-title">异常稽核</div>
- <div class='order-p'>设计师账户: ${operatorCode}</div>
- <div class='order-p'>当前可用金额: ${usableMoney} 元</div>
- <div class='order-p' style="line-height:30px">修改订单号:<input id="modifyDesignOrder" placeholder="可为空" name="modifyDesignOrder" value=""></div></br>
- <div id='type' class='order-p' style="line-height:30px"><span>操作金额: </span><input id="modifyMoney" placeholder="正数为增加,负数为减少" name="modifyFreezeMoney" value=""> 元
- </div>
- <div id='typeId' class='order-p' style="line-height:30px"><span>操作类型: </span>
- <!-- <button type="button" data-options="group:typeFreeze" class="z-button z-large z-bordered z-blue-bd z-mg-t3 z-hover <#if item_index == 0>z-active</#if>" onclick="{Z(this).toggleClass('z-active');editOperatorDate('freeze')};">冻结</button>-->
- <button type="button" data-options="group:typeFreeze" class="z-button z-large z-bordered z-blue-bd z-mg-t3 z-hover <#if item_index == 0>z-active</#if>" onclick="{Z(this).toggleClass('z-active');editOperatorDate('usable')};">可用</button>
- </div>
- <div class='order-p' style="line-height:30px; display: flex; margin: 10px 0 0 0;">操作备注: <textarea id="remark" name="remark" value="" cols="50"></textarea></div>
- </div>
- <#-- 操作 -->
- <div class="z-absolute z-w100p z-h60 z-text-center z-bg-gray z-pd10" style="bottom:0;left:0">
- <button id="abnormalAudit" style="border-radius:8px; background:#0089e1;" class="z-button ${zmr_color_class} z-large z-w100" onclick="abnormalAudit();">确认</button>
- <button type="button" style="border-radius:8px; background:#949393; color:#fff; border:none;" class="z-button z-large z-mg-l10 z-w100" onclick="parent.Z.Dialog.close(location.hash);">关闭</button>
- </div>
- </div>
|