Files
ziqim/Yangcai365_web/manage/zview/complain/complainTotalOrderList.zml
T
2025-02-20 14:59:35 +08:00

116 lines
5.3 KiB
Plaintext

<script>
function doQueryComplainDetail(){
var complainId = Z.FM.getChecked("complainId");
if (Z.V.isEmpty(complainId))
{
Z.alert("请选择一条订单");
return;
}
var dialog = new Z.Dialog();
dialog.title = "投诉单号:"+complainId;
dialog.url = "/complainDetail.htm?complainId="+complainId;
dialog.width = 1000;
dialog.height = 500;
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>
<#-- 左侧功能 -->
<#-- 查询条件 -->
${zhiqim_manager_title("查询条件")}
<form name="theForm" action="/complainTotalOrderList.htm">
<table class="z-table z-bordered z-pd6 z-bg-white">
<tr class="z-h40">
<td>订单编号:<input name="designId" class="${zmr_color_class} z-input z-w180" value="${designId}" maxlength="64" placeholder="订单编号"></td>
<td>投诉单号:<input name="complainId" class="${zmr_color_class} z-input z-w180" value="${complainId}" maxlength="64" placeholder="投诉单号"></td>
<td>责&nbsp;任&nbsp;人:
<input name="undertakePerson" class="${zmr_color_class} z-input z-w180" value="${undertakePerson}" maxlength="64" placeholder="责任人">
</td>
<td>旺旺号:<input class="z-input ${zmr_color_class} z-w160" name="buyerNick" value="${buyerNick}" maxlength="32" placeholder="旺旺号"/></td>
<tr>
</tr class="z-h40">
<td>
受理状态:<select name="complainStatus" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
<option value="">全部</option>
<#for item : ComplainConstants.getList()>
<option value="${item.value()}" <#if complainStatus == item.value()>selected</#if>>${item.desc()}</option>
</#for>
</select>
</td>
<td>店铺名称:<select name="shopNick" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
<option value="">全部</option>
<#for item : shopNickList>
<option value="${item}" <#if shopNick == item>selected</#if>>${item}</option>
</#for>
</select>
</td>
<td>
受理时间:<input id="startDate" name="startDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${startDate}">&nbsp;-
<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>
<td><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-t10 z-mg-b3">
<button id="queryComplainDetail" class="z-button z-blue z-mg-r10" onclick="doQueryComplainDetail();"><i class="z-font z-modify"></i>查看投诉单</button>
</div>
<#-- 列表 -->
<div class="z-overflow-auto z-bd-r">
<table class="z-table z-bordered z-h40-tr z-pd5 zi-bd-r-none z-bg-white z-text-center" style="width:2110px">
<tr bgcolor="${zmr_thead_bgcolor}">
<td width="40">选择</td>
<td width="150">订单编号</td>
<td width="120">所属组织</td>
<td width="130">旺旺号</td>
<td width="120">店铺</td>
<td width="110">责任人</td>
<td width="110">责任组织</td>
<td width="110">受理状态</td>
<td width="100">受理时间</td>
<td width="*" style="min-width:210px">产品</td>
<td width="90">订单金额</td>
<td width="150">投诉类型</td>
<td width="80">店铺扣分</td>
</tr>
${zhiqim_manager_tr_no_record(pageResult, 17, "暂时没有投诉单")}
<#for item : pageResult.list()>
<tr class="z-pointer" <#if item.getComplainStatus()== "40">style="color:#8a8a8a;"<#elseif item.getComplainStatus()== "20">style="color:#000000;"</#if> ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
<td><input name="complainId" type="radio" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getComplainId()}"></td>
<td>${item.getDesignId()}<p <#if item.getComplainStatus()== "40">style="color:#000000;"<#else>class="z-text-red"</#if>>TS:${item.getComplainId()}</p></td>
<td>${ZmrOrgDao.getOrgName(request,item.getOrgId())}</td>
<td>${item.getBuyerNick()}</td>
<td>${item.getShopNick()}</td>
<td>${item.getUndertakePerson()}</td>
<td>${CalculationUtil.operatorGetOrgName(item.getUndertakePerson())}</td>
<td>${ComplainConstants.getStatus(item.getComplainStatus())}</td>
<td>${Sqls.toDateTimeString(item.getComplainAddTime())}</td>
<td>${item.getOrderText()}</td>
<td>${Amounts.toYuanMustRadix(item.getAmount())}</td>
<td>${item.getComplainType()}</td>
<td>${item.getShopPunishScore()}分</td>
</tr>
</#for>
</table>
</div>
${zhiqim_manager_paging(pageResult, "/complainTotalOrderList.htm")}
${zhiqim_manager_content_end()}