Files
ziqim/Yangcai365_design/manage/zview/order/qcViolationsList.zml
T
2025-02-20 14:58:55 +08:00

127 rader
6.1 KiB
Plaintext

<script>
function doViewDetail(designId)
{
var dialog = new Z.Dialog();
dialog.title = "质检违规详情";
dialog.url = "/qcViolationsDetail.htm?designId=" + designId;
dialog.width = 800;
dialog.height = 600;
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 onclick="Z.L.href('/qcOrderList.htm');">质检订单列表</li>
<li class="z-active">质检违规列表</li>
<li onclick="Z.L.href('/qcApplyScoreList.htm');">质检加分列表</li>
</ul>
</nav>
</div>
<#-- 左侧功能 -->
<#-- 查询条件 -->
${zhiqim_manager_title("查询条件")}
<form name="theForm" action="/qcViolationsList.htm">
<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 <#if designerList.contains(item.getOperatorCode())>class="z-text-red"</#if> value="${item.getOperatorCode()}" <#if item.getOperatorCode() == designer>selected</#if>>${item.getOperatorCode()}</option>
</#for>
</select>
</td>
<td>
订单状态:<select name="status" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
<option value="">全部</option>
<#for statusStr : StatusConstants.getOrderStatusList()>
<#if statusStr.value()!= "1.1" && statusStr.value()!= "1.2">
<option value="${statusStr.value()}" <#if statusStr.value() == orderStatus>selected</#if>>${statusStr.desc()}</option>
</#if>
</#for>
</select>
</td>
<td>
稿件类型:<select name="draftType" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
<option value="">全部</option>
<#for item : DraftConstants.getList()>
<option value="${item.value()}" <#if draftType == item.value()>selected</#if>>${item.desc()}</option>
</#for>
</select>
</td>
<tr>
</tr class="z-h40">
<td colspan="4">
录单时间:<input id="beginDate" name="beginDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${beginDate}">&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>
</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-t10 z-mg-b3">
<!--
<button type="button" class="z-button z-mg-r6 ${zmr_color_class}" onclick="qcNormal();"><i class="z-font z-success"></i>质检正常</button>
<button type="button" class="z-button z-red z-mg-r6" onclick="qcJudge();"><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>
<#-- 列表 -->
<table class="z-table z-bordered z-h40-tr z-pd5 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="120">设计</td>
<td width="140">旺旺号</td>
<td width="130">店铺</td>
<td width="100">设计师</td>
<td width="100">状态</td>
<td width="*" style="min-width:220px">产品</td>
<td width="80">订单金额</td>
<td width="90">录单时间</td>
<td width="100">对稿微信</td>
<td width="110">对稿手机</td>
<td width="100">操作</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_radio()} >
<td><input name="designId" type="radio" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getDesignId()}"></td>
<td> ${item.getDesignId()}</td>
<td>${ZmrOrgDao.getOrgName(request, item.getOrgId())}</td>
<td>${DraftConstants.get(item.getDraftType())}</td>
<td>${item.getBuyerNick()}</td>
<td>${item.getShopNick()}</td>
<td>${item.getDesigner()}</td>
<td>${StatusConstants.getStatus(item.getStatus())}</td>
<td>${item.getOrderText()}</td>
<td>${Amounts.toYuanMustRadix(item.getAmount())}</td>
<td>${Sqls.toDateTimeString(item.getCreateTime())}</td>
<td>${item.getUserWx()}</td>
<td>${item.getUserMobile()}</td>
<td><button class="z-button z-w80 z-blue" onclick="doViewDetail(${item.getDesignId()})">详情</button></td>
</tr>
</#for>
</table>
${zhiqim_manager_paging(pageResult, "/qcViolationsList.htm")}
${zhiqim_manager_content_end()}
<#-- 联系旺旺&联系QQ弹窗框 -->
<iframe id="openFrm" class="z-hide" src="about:blank"></iframe>