184 行
8.0 KiB
Plaintext
184 行
8.0 KiB
Plaintext
${Styles.htmlOverflowHidden()}
|
|
${Scripts.src("/zinc/js/global_2019010801.js")}
|
|
${yangcai_calc_Left_width_height(414, 110)}
|
|
<script>
|
|
function doChargeOrderAudit()
|
|
{//审核通过
|
|
var designId = Z.FM.getChecked("designId");
|
|
Z.confirm('确定审核通过?', function()
|
|
{
|
|
var ajax = new Z.Ajax();
|
|
ajax.setClassName("DesignOrderPresenter");
|
|
ajax.setMethodName("doChargeOrderAudit");
|
|
ajax.addParam(designId);
|
|
ajax.setFailureAlert();
|
|
ajax.setSuccess(function(){
|
|
Z.success("提交成功",function(){parent.location.reload();});
|
|
});
|
|
ajax.execute();
|
|
});
|
|
}
|
|
|
|
function doChargeOrderReject()
|
|
{//审核退回
|
|
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("DesignOrderPresenter");
|
|
ajax.setMethodName("doChargeOrderReject");
|
|
ajax.addParam(designId);
|
|
ajax.addParam(value);
|
|
ajax.setFailureAlert();
|
|
ajax.setSuccess(function(){
|
|
Z.success("提交成功",function(){parent.location.reload();parent.Z.Dialog.close();});
|
|
});
|
|
ajax.execute();
|
|
|
|
}, {type: 'textarea'});
|
|
}
|
|
|
|
function doProgressNote()
|
|
{//进度备注
|
|
var designId = Z.FM.getChecked("designId");
|
|
if(Z.V.isEmpty(designId))
|
|
{
|
|
Z.alert("请选择一条订单");
|
|
return;
|
|
}
|
|
|
|
var dialog = new Z.Dialog();
|
|
dialog.title = "订单["+designId+"]进度备注";
|
|
dialog.url = "/progressNote.htm?designId="+designId;
|
|
dialog.width = 1000;
|
|
dialog.height = 630;
|
|
dialog.execute();
|
|
}
|
|
</script>
|
|
|
|
<#var data="data=copy,userText,CustomFile,TemplateFile,userNotice"/>
|
|
<#var addRule=""/>
|
|
<#var delRule=""/>
|
|
${zhiqim_manager_breadcrumb("主管审核")}
|
|
${zhiqim_manager_content()}
|
|
|
|
<#-- 导航栏 -->
|
|
<div class="z-tabnav-main z-blue z-mg-b20">
|
|
<nav>
|
|
<ul>
|
|
<li class="z-active">主管审核</li>
|
|
<li onclick="Z.Location.href('timeoutOrderNear.htm');">快超时订单</li>
|
|
<li onclick="Z.Location.href('timeoutOrderToday.htm');">当日超时订单</li>
|
|
<li onclick="Z.Location.href('timeoutOrderHistory.htm');">历史超时订单</li>
|
|
<li onclick="Z.Location.href('timeoutCompleteOrderHistory.htm');">定稿超时列表</li>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
|
|
<#-- 左侧功能 -->
|
|
<div id="left" class="z-overflow-y-auto z-overflow-x-hidden z-relative-left">
|
|
|
|
<#-- 查询条件 -->
|
|
${zhiqim_manager_title("查询条件")}
|
|
<form name="theForm" action="/chargeOrder.htm">
|
|
<table class="z-table z-bordered z-pd6 z-bg-white">
|
|
<tr class="z-h40">
|
|
<td width="30%">订单号:<input class="z-input ${zmr_color_class} z-w160" name="designId" value="${designId}" maxlength="32" placeholder="订单号"/></td>
|
|
<td width="34%">产品类型:<select name="typeId" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
|
|
<option value="">全部</option>
|
|
<#for item : DesignTypeDao.list()>
|
|
<option value="${item.getTypeId()}" <#if typeId == item.getTypeId()>selected</#if>>${item.getTypeName()}</option>
|
|
</#for>
|
|
</select>
|
|
</td>
|
|
<td width="*">行业分类:<select name="industryId" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
|
|
<option value="">全部</option>
|
|
<#for item : Global.get(DesignIndustryCache.class).getIndustryList()>
|
|
<option value="${item.getIndustryId()}" <#if item.getIndustryId() == industryId>selected</#if>>${item.getIndustryName()}</option>
|
|
</#for>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr class="z-h40">
|
|
<td>旺旺号:<input class="z-input ${zmr_color_class} z-w160" name="buyerNick" value="${buyerNick}" maxlength="32" placeholder="旺旺号"/></td>
|
|
<td colspan="2"><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">
|
|
<#if ZmrPathRule.check(request, "openWangWang")><button type="button" class="z-button z-mg-l6 z-mg-r6 ${zmr_color_class}" onclick="Global.openWangWang();"><img src="/zinc/images/wangwang.png">旺旺联系</button></#if>
|
|
<#if ZmrPathRule.check(request, "openQQ")><button type="button" class="z-button z-mg-l6 z-mg-r6 ${zmr_color_class}" onclick="Global.openQQ();"><img src="/zinc/images/qq.png">QQ联系</button></#if>
|
|
<button type="button" class="z-button ${zmr_color_class} z-mg-r6" onclick="doProgressNote();"><i class="z-font z-add"></i>进度备注</button>
|
|
<!--<button class="z-button z-cyan z-mg-r6" onclick="doDesignerAppoint();">指定设计师</button>-->
|
|
<button class="z-button z-cyan z-mg-r6" onclick="doChargeOrderAudit();">审核通过</button>
|
|
<button class="z-button z-red z-mg-r6" onclick="doChargeOrderReject();">审核拒绝</button>
|
|
</div>
|
|
|
|
<#-- 分页列表-->
|
|
<div class="z-overflow-auto z-bd-r">
|
|
<table class="z-table z-bordered zi-bd-r-none z-bg-white z-pd6" style="width:1780px">
|
|
${zhiqim_manager_tr_title(14, "主管审核订单列表")}
|
|
<tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}">
|
|
<td width="60">选择</td>
|
|
<td width="100">订单号</td>
|
|
<td width="100">设计类型</td>
|
|
<td width="130">旺旺号</td>
|
|
<td width="80">设计师</td>
|
|
<td width="95">领取时间</td>
|
|
<td width="95">设计时间</td>
|
|
<td width="100">订单状态</td>
|
|
<td width="100">进度备注</td>
|
|
<td width="300">产品</td>
|
|
<td width="80">行业</td>
|
|
<td width="80">付款金额</td>
|
|
<td width="80">对稿QQ</td>
|
|
<td width="80">对稿微信</td>
|
|
<td width="80">对稿手机</td>
|
|
<td width="*">申请原因</td>
|
|
</tr>
|
|
<#if pageResult.size() == 0>
|
|
${zhiqim_manager_no_record(14, "暂不存在主管审核订单")}
|
|
</#if>
|
|
<#for item : pageResult.list()>
|
|
<input type="hidden" id="buyerNick_${item.getDesignId()}" value="${item.getBuyerNick()}">
|
|
<input type="hidden" id="userQq_${item.getDesignId()}" value="${item.getUserQq()}">
|
|
<tr align="center" class="z-h40" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
|
|
<td><input type="radio" name="designId" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getDesignId()}" onclick = window.open('attaFileList.htm?designId=${item.getDesignId()}&${data}',"attaFileList")></td>
|
|
<td>${item.getDesignId()}</td>
|
|
<td>${DraftConstants.get(item.getDraftType())}</td>
|
|
<td>${item.getBuyerNick()}</td>
|
|
<td>${item.getDesigner()}</td>
|
|
<td>${Sqls.toDateTimeString(item.getDesignReceiveTime())}</td>
|
|
<td>${Sqls.toDateTimeString(item.getDesignBeginTime())}</td>
|
|
<td>${StatusConstants.getStatus(item.getStatus())}</td>
|
|
<td>${progressNoteMap.get(item.getDesignId())}</td>
|
|
<td>${item.getOrderText()}</td>
|
|
<td>${industryNameMap.get(item.getIndustryId())}</td>
|
|
<td>${Amounts.toYuanMustRadix(item.getAmount())}</td>
|
|
<td>${item.getUserQq()}</td>
|
|
<td>${item.getUserWx()}</td>
|
|
<td>${item.getUserMobile()}</td>
|
|
<td>${item.getDesignRequestReason()}</td>
|
|
</tr>
|
|
</#for>
|
|
</table>
|
|
</div>
|
|
${zhiqim_manager_paging(pageResult, "chargeOrder.htm")}
|
|
</div>
|
|
${zhiqim_manager_content_end()}
|
|
|
|
<#--右侧文件信息-->
|
|
<div class="z-fixed z-pd10 z-bd-l z-bg-white z-h100p" style="top:${fmr_topnav_height}px;right:0;width:400px;z-index:50;">
|
|
<iframe name="attaFileList" src="attaFileList.htm?${data}&${addRule}&${delRule}" frameborder="0" scrolling="auto" height="100%" width="100%"></iframe>
|
|
</div>
|
|
|
|
<#-- 联系旺旺&联系QQ弹窗框 -->
|
|
<iframe id="openFrm" class="z-hide" src="about:blank"></iframe> |