| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- ${Scripts.src("/zinc/js/global_2019010801.js")}
- <script>
- function doPassCheck()
- {//审核通过
- var designIds = Z.FM.getCheckBoxValue("designId");
- if (Z.V.isEmpty(designIds))
- {
- Z.alert("请选择订单");
- return;
- }
-
- Z.confirm("确认审核通过吗?", function(){
- var ajax = new Z.Ajax();
- ajax.setClassName("ComplaintOrderPresenter");
- ajax.setMethodName("complaintPass");
- ajax.addParam("designIds", designIds);
- ajax.setFailureAlert();
- ajax.setSuccess(function(){document.theForm.submit(); location.reload(); Z.tips("操作成功"); });
- ajax.execute();
- })
- }
- function showBackDialog()
- {//审核退回窗口
- var designId = Z.FM.getChecked("designId");
- Z.prompt("审核退回(请填写审核退回原因)", "", function(value)
- {
- if (Z.V.isEmpty(value))
- {
- Z.alert("请输入退回原因");
- return;
- }
-
- var ajax = new Z.Ajax();
- ajax.setClassName("ComplaintOrderPresenter");
- ajax.setMethodName("complaintBack");
- ajax.addParam("designId", designId);
- ajax.addParam("desc", value);
- ajax.setFailureAlert();
- ajax.setSuccess(function(){document.theForm.submit();Z.tips("操作成功");});
- ajax.execute();
-
- }, {type: 'textarea'});
- }
- function docomplaintView(designId)
- {
- var dialog = new Z.Dialog();
- dialog.title = "申诉详情";
- dialog.url = "/complaintView.htm?designId=" + designId;
- dialog.width = 1000;
- dialog.height = 700;
- dialog.execute();
- }
- </script>
- ${zhiqim_manager_breadcrumb("申诉列表")}
- ${zhiqim_manager_content()}
- <#-- 导航 -->
- <div data-role="z-tabnav" class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
- <nav>
- <ul>
- <li class="z-active">申诉列表</li>
- </ul>
- </nav>
- </div>
- <#-- 左侧功能 -->
- <div>
- <#-- 查询条件 -->
- ${zhiqim_manager_title("查询条件")}
- <form name="theForm" id="theForm" >
- <table class="z-table z-bordered z-pd6 z-bg-white">
- <tr class="z-h40">
- <td width="25%">订单号:<input name="designId" class="${zmr_color_class} z-input z-w180" value="${designId}" maxlength="64" placeholder="订单号"></td>
- <td>设计师:
- <select name="designer" class="z-select z-w160" data-role="z-select-search" data-class="${zmr_color_class}">
- <option value="">全部</option>
- <#for item : operatorList>
- <option value="${item.getOperatorCode()}" <#if item.getOperatorCode() == designer>selected</#if>>${item.getOperatorCode()}</option>
- </#for>
- </select>
- </td>
- <td width="25%">旺旺号:<input name="buyerNick" class="${zmr_color_class} z-input z-w160" value="${buyerNick}" maxlength="64" placeholder="旺旺号"></td>
- <td width="25%">退款时间:<input id="beginDate" name="beginDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${beginDate}"> -
- <input id="endDate" name="endDate" class="z-input z-mg-l3 z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${endDate}">
- </td>
- </tr>
- <tr class="z-h40" align="center">
- <td colspan="4"><button class="z-button z-large z-w120 z-mg-r15 ${zmr_color_class}">查询</button><button class="z-button z-large" type="button" onclick="Z.FM.clearForm(this.form);">清空</button></td>
- </tr>
- </table>
- </form>
-
- <#-- 操作功能 -->
- <div class="z-w100p z-mg-t20 z-mg-b3">
- <button type="button" class="z-button z-mg-r6 ${zmr_color_class}" onclick="doPassCheck();"><i class="z-font z-success"></i>审核通过</button>
- <button type="button" class="z-button z-red z-mg-r6" onclick="showBackDialog();"><i class="z-font z-return"></i>审核退回</button>
- <button type="button" class="z-button z-mg-r6 ${zmr_color_class}" onclick="Global.openWangWang();"><img src="/zinc/images/wangwang.png">旺旺联系</button>
- <button type="button" class="z-button z-mg-r6 ${zmr_color_class}" onclick="Global.openQQ();"><img src="/zinc/images/qq.png">QQ联系</button>
- </div>
-
- <#-- 列表 -->
- <div class=" z-bd-r">
- <table class="z-table z-bordered z-h40-tr z-pd5 zi-bd-r-none z-bg-white z-text-center">
- <tr bgcolor="${zmr_thead_bgcolor}">
- <td width="60">选择</td>
- <td width="100">订单号</td>
- <td width="100">所属组织</td>
- <td width="90">商户</td>
- <td width="140">旺旺号</td>
- <td width="100">状态</td>
- <td width="*" style="min-width:220px">产品</td>
- <td width="80">订单金额</td>
- <td width="90">领单时间</td>
- <td width="90">退款时间</td>
- <td width="100">设计师</td>
- <td width="200">申诉详情</td>
- </tr>
- ${zhiqim_manager_tr_no_record(pageResult, 20, "暂时没有申诉订单")}
- <#for item : pageResult.list()>
- <input id="buyerNick_${item.getDesignId()}" type="hidden" value="${item.getBuyerNick()}">
- <input id="userQq_${item.getDesignId()}" type="hidden" value="${item.getUserQq()}">
- <tr class="z-pointer" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_checkbox()} >
- <td><input name="designId" type="checkbox" data-role="z-checkbox" data-class="${zmr_color_class}" value="${item.getDesignId()}"></td>
- <td> ${item.getDesignId()} <#if item.isUrgent()><span style="color: red;font-size:16px;font-weight: bold"> 急 </span></#if></td>
- <td>${ZmrOrgDao.getOrgName(request, item.getOrgId())}</td>
- <td>${item.getShopNick()}</td>
- <td>${item.getBuyerNick()}</td>
- <td>${StatusConstants.getStatus(item.getStatus())}</td>
- <td>${item.getOrderText()}</td>
- <td>${Amounts.toYuanMustRadix(item.getAmount())}</td>
- <td>${Sqls.toDateTimeString(item.getDesignReceiveTime())}</td>
- <td>${item.getRefundTime()}</td>
- <td>${item.getDesigner()}</td>
- <td><button class="z-button z-blue z-w100" onclick="docomplaintView(${item.getDesignId()})">查看</button></td>
- </tr>
- </#for>
- </table>
- </div>
- ${zhiqim_manager_paging(pageResult, "complaintOrder.htm")}
- </div>
- ${zhiqim_manager_content_end()}
- <#-- 联系旺旺&联系QQ弹窗框 -->
- <iframe id="openFrm" class="z-hide" src="about:blank"></iframe>
|