610 lines
23 KiB
Plaintext
610 lines
23 KiB
Plaintext
${Styles.htmlOverflowHidden()}
|
|
${Scripts.src("/zinc/js/global_2019010801.js")}
|
|
${yangcai_calc_Left_width_height(400, 70)}
|
|
<style>
|
|
.search-box{ border:1px solid #d3d3d3; margin:0 10px 0 0; width:210px; float:left; border-radius:20px; padding:0 14px; background:#fff;}
|
|
.search-box span{ float:left; line-height:32px; color:#282c2f;}
|
|
.search-box input{ border:none; box-shadow:none; width:130px; height:32px; padding:0 0 0 10px; line-height:32px;}
|
|
.search-box select{ float:right; width:100px;}
|
|
.design-order{ background: #fff;}
|
|
.clear:after{content:'';display:block;clear:both;height:0;overflow:hidden;visibility:hidden;}
|
|
.clear{zoom:1;}
|
|
.z-select{ height:32px; padding:0;}
|
|
.z-dropdown>.z-default{ color:#999;}
|
|
.z-dropdown{ border:none; }
|
|
.z-dropdown>i{ padding:4px 0 0 0;}
|
|
.z-dropdown.z-blue.z-active, .z-dropdown.z-blue>.z-list{ border:none;}
|
|
.z-operater{ padding:4px 4px;}
|
|
.z-text-ellipsis {text-overflow: ellipsis; overflow: hidden; white-space: nowrap; display: inline; }
|
|
.z-floater .z-content {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
min-width: 30px;
|
|
min-height: 25px;
|
|
padding: 6px;
|
|
font-size: 12px;
|
|
border: 1px solid #c6c6c6;
|
|
line-height: 25px;
|
|
text-align: center;
|
|
background: #fff;
|
|
}
|
|
.z-table.z-bordered>thead>tr>th,.z-table.z-bordered>thead>tr>td,.z-table.z-bordered>tbody>tr>th,.z-table.z-bordered>tbody>tr>td{
|
|
border:none; border-bottom: 1px solid #e4e4e4; font-size:13px; color:#999; height:52px;
|
|
}
|
|
.z-table.z-bordered{ border:none;}
|
|
.z-bd-r{ border:none;}
|
|
.z-tabnav-main>nav li{ border-right:none; font-size:15px; height:50px; line-height:50px;}
|
|
.z-tabnav-main.z-blue>nav li.z-active { color:#28a3ef; background: #fff; position: relative; font-weight: bold; }
|
|
.z-tabnav-main.z-blue>nav li.z-active:hover{ background: #fff;}
|
|
.z-tabnav-main.z-blue>nav li.z-active::before{content:''; bottom:0; left:50%; margin:0 0 0 -18px; position: absolute; width:36px; height:2px; background:#28a3ef;}
|
|
.screen{ background: #e4e5ea; height:70px; padding:20px 0 0 24px; box-sizing: border-box;}
|
|
.z-tabnav-main{ border:none;}
|
|
.btn-search{ border-radius:32px; height:32px; float:left; margin:0 10px 0 0;}
|
|
.z-text-left td{ color:#363940!important; font-weight: bold;}
|
|
.z-button.z-red { background: #1681f5; border: 1px solid #1681f5;}
|
|
.z-readonly{ border:none!important; background: #edeeef!important;}
|
|
.z-text-red{color:#1681f5;}
|
|
.z-red:hover{ background: #1681f5!important;}
|
|
.schedule a{ color:#999;}
|
|
.color-orange{ color:#ff6600;}
|
|
.schedule a p{ line-height:28px;}
|
|
.goDetail{ cursor: pointer; height:30px; background:#1182fc; color:#fff!important; font-size:12px; width:70px; border-radius:4px; line-height:30px; display:block; text-align: center;}
|
|
</style>
|
|
<script>
|
|
Z.onload(function(){
|
|
refreshEffectiveTime();
|
|
Z.timer(10000, -1, null, refreshEffectiveTime);
|
|
|
|
var height=Z("#operation").offsetHeight();
|
|
|
|
if(height>55){
|
|
Z("#fixedSpan").style("margin-top: -30px;");
|
|
}
|
|
})
|
|
|
|
|
|
function doModifyIndustry()
|
|
{//修改行业
|
|
var designId = Z.FM.getChecked("designId");
|
|
if(Z.V.isEmpty(designId))
|
|
{
|
|
Z.alert("请选择一条订单");
|
|
return;
|
|
}
|
|
|
|
var dialog = new Z.Dialog();
|
|
dialog.title = "修改行业";
|
|
dialog.url = "/modifyIndustry.htm?designId="+designId+"&flag=0";
|
|
dialog.width = 500;
|
|
dialog.height = 300;
|
|
dialog.execute();
|
|
}
|
|
|
|
function refreshEffectiveTime()
|
|
{
|
|
Z.each(Z("span[id^=time_]"), function(span, i)
|
|
{
|
|
var effectiveTime = span.attributes["data-effectiveTime"].value*1;
|
|
var createTime = new Date(span.attributes["data-createTime"].value).getTime();
|
|
var nowTime = new Date().getTime();
|
|
var time = parseInt((createTime - nowTime)/1000/60 + effectiveTime);
|
|
|
|
if (time > 0)
|
|
{
|
|
if(!Z(span).hasClass("z-text-green"))
|
|
Z(span).addClass("z-text-green")
|
|
}
|
|
else
|
|
{
|
|
time = -time;
|
|
Z(span).removeClass("z-text-green");
|
|
Z(span).addClass("z-text-red");
|
|
}
|
|
|
|
var day;
|
|
var hour;
|
|
var minutes;
|
|
if (time/(24*60) >0)
|
|
{
|
|
day = parseInt(time/(24*60));
|
|
time = time%(24*60);
|
|
}
|
|
if (time/60 >0)
|
|
{
|
|
hour = parseInt(time/60);
|
|
minutes = time%60;
|
|
}
|
|
|
|
var timeHtml = "";
|
|
if (day >0)
|
|
timeHtml += day+"天";
|
|
if (hour >0)
|
|
timeHtml += hour+"小时";
|
|
if (minutes >0)
|
|
timeHtml += minutes+"分钟";
|
|
|
|
Z(span).html(timeHtml);
|
|
});
|
|
}
|
|
|
|
function doDesignOrderStop()
|
|
{//暂停设计
|
|
var designId = Z.FM.getChecked("designId");
|
|
if(!doQueryStatus(designId, "PAUSE"))
|
|
return;
|
|
|
|
var dialog = new Z.Dialog();
|
|
dialog.title = "暂停设计";
|
|
dialog.url = "/designOrderStop.htm?designId=" + designId;
|
|
dialog.width = 600;
|
|
dialog.height = 300;
|
|
dialog.execute();
|
|
}
|
|
|
|
function doDesignOrderStart()
|
|
{//开启设计
|
|
var designId = Z.FM.getChecked("designId");
|
|
if(!doQueryStatus(designId, "RESUME"))
|
|
return;
|
|
|
|
var ajax = new Z.Ajax();
|
|
ajax.setClassName("DesignOrderPresenter");
|
|
ajax.setMethodName("doDesignOrderStart");
|
|
ajax.addParam(designId);
|
|
ajax.setFailureAlert();
|
|
ajax.setSuccess(function(){
|
|
Z.success("开启成功",function(){parent.location.reload();});
|
|
});
|
|
ajax.execute();
|
|
|
|
}
|
|
|
|
|
|
|
|
function doDesignOrdertoERP(e)
|
|
{//开启设计
|
|
|
|
var url = "https://file.lingtao8.com/?tid="+e;
|
|
|
|
var dialog = new Z.Dialog();
|
|
dialog.title = "客户信息";
|
|
dialog.url = url;
|
|
dialog.width = 1000;
|
|
dialog.height = 630;
|
|
dialog.execute();
|
|
|
|
|
|
}
|
|
|
|
|
|
function doDesignOrderRefund()
|
|
{//请求退款
|
|
var designId = Z.FM.getChecked("designId");
|
|
|
|
var ajax = new Z.Ajax();
|
|
ajax.setClassName("DesignOrderPresenter");
|
|
ajax.setMethodName("doDesignOrderRefundValidate");
|
|
ajax.addParam("designId", designId);
|
|
ajax.setFailureAlert();
|
|
ajax.setSuccess(function(){
|
|
if(Z.V.isNotEmpty(this.responseText)){
|
|
Z.confirm(this.responseText, function(){
|
|
var dialog = new Z.Dialog();
|
|
dialog.title = "退款订单: "+designId+" (截屏后粘贴(CTRL+V)到下方空白处)";
|
|
dialog.url = "/designOrderRefund.htm?designId=" + designId;
|
|
dialog.width = 600;
|
|
dialog.height = 400;
|
|
dialog.execute();
|
|
});
|
|
return;
|
|
}
|
|
var dialog = new Z.Dialog();
|
|
dialog.title = "退款订单: "+designId+" (截屏后粘贴(CTRL+V)到下方空白处)";
|
|
dialog.url = "/designOrderRefund.htm?designId=" + designId;
|
|
dialog.width = 600;
|
|
dialog.height = 400;
|
|
dialog.execute();
|
|
});
|
|
ajax.execute();
|
|
}
|
|
|
|
function doDesignOrderDraft()
|
|
{//完成初稿
|
|
var designId = Z.FM.getChecked("designId");
|
|
var ajax = new Z.Ajax();
|
|
ajax.setClassName("DesignOrderPresenter");
|
|
ajax.setMethodName("doQueryStatus");
|
|
ajax.addParam(designId);
|
|
ajax.addParam("SUMBIT");
|
|
ajax.setFailureAlert();
|
|
ajax.setSuccess(function()
|
|
{
|
|
var dialog = new Z.Dialog();
|
|
dialog.title = "完成初稿截图(截屏后粘贴(CTRL+V)到输入框中)";
|
|
dialog.url = "/designOrderDraft.htm?designId=" + designId;
|
|
dialog.width = 600;
|
|
dialog.height = 400;
|
|
dialog.execute();
|
|
})
|
|
ajax.execute();
|
|
}
|
|
|
|
function doDraftOrderToComplete()
|
|
{//完成定稿
|
|
var designId = Z.FM.getChecked("designId");
|
|
var draftType = Z("#draftType_"+designId).val();
|
|
if(draftType == 0)
|
|
{//自来稿订单
|
|
var ajax1 = new Z.Ajax();
|
|
ajax1.setClassName("DesignOrderPresenter");
|
|
ajax1.setMethodName("doEasyDraftOrderToComplete");
|
|
ajax1.addParam(designId);
|
|
ajax1.setFailureAlert();
|
|
ajax1.setSuccess(function(){Z.success("定稿成功", function(){location.reload();});});
|
|
ajax1.setLoading("doDraftOrderToComplete", '正在提交', {disabled:true});
|
|
ajax1.execute();
|
|
}
|
|
else
|
|
{
|
|
var ajax = new Z.Ajax();
|
|
ajax.setClassName("DesignOrderPresenter");
|
|
ajax.setMethodName("doDraftOrderToComplete");
|
|
ajax.addParam(designId);
|
|
ajax.setFailureAlert();
|
|
ajax.setSuccess(function(){Z.success("提交定稿成功", function(){location.reload();});});
|
|
ajax.setLoading("doDraftOrderToComplete", '正在提交', {disabled:true});
|
|
ajax.execute();
|
|
}
|
|
}
|
|
|
|
function doQueryStatus(designId, oprType)
|
|
{//查询订单状态
|
|
var ajax = new Z.Ajax();
|
|
ajax.setSync();
|
|
ajax.setClassName("DesignOrderPresenter");
|
|
ajax.setMethodName("doQueryStatus");
|
|
ajax.addParam(designId);
|
|
ajax.addParam(oprType);
|
|
ajax.execute();
|
|
|
|
if(ajax.responseStatus != 0)
|
|
{
|
|
Z.alert(ajax.responseText);
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|
|
|
|
//前往设计
|
|
function toDesign()
|
|
{
|
|
var designId = Z.FM.getChecked("designId");
|
|
var prdType = Z("#prdType_"+designId).val();
|
|
var targetUrl = "/templatePreview.htm?designId="+designId;
|
|
var targetCardUrl = "/templateCardPreview.htm?designId="+designId+"&src=design";
|
|
var ajax = new Z.Ajax();
|
|
ajax.setClassName("DesignOrderPresenter");
|
|
ajax.setMethodName("doDesignerOrderTemplate");
|
|
ajax.addParam("designId", designId);
|
|
if(prdType == "2023207561256")
|
|
{
|
|
ajax.addParam("validateUrl", targetCardUrl);
|
|
}
|
|
else
|
|
{
|
|
ajax.addParam("validateUrl", targetUrl);
|
|
}
|
|
ajax.setFailureAlert();
|
|
ajax.setSuccessLocationResponse();
|
|
ajax.execute();
|
|
}
|
|
|
|
//名片手机库访问连接
|
|
function doCopyURLInfoPC()
|
|
{
|
|
Z.copy("http://design.yangcai365.com/pcWorks.htm");
|
|
top.Z.tips("复制成功");
|
|
}
|
|
|
|
function doProgressNote(id)
|
|
{//进度备注
|
|
var designId =id
|
|
if (Z.V.isEmpty(designId))
|
|
{
|
|
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();
|
|
}
|
|
|
|
//审核详情查看
|
|
function doCheckDetail()
|
|
{
|
|
var designId = Z.FM.getChecked("designId");
|
|
var dialog = new Z.Dialog();
|
|
dialog.title = "审核退回详情";
|
|
dialog.url = "/checkBackDetail.htm?designId=" + designId;
|
|
dialog.width = 800;
|
|
dialog.height = 500;
|
|
dialog.execute();
|
|
}
|
|
|
|
//快捷联系人
|
|
function quickContact()
|
|
{
|
|
var designId = Z.FM.getChecked("designId");
|
|
if (Z.V.isEmpty(designId))
|
|
{
|
|
Z.alert("请选择一条订单");
|
|
return;
|
|
}
|
|
var ajax = new Z.Ajax();
|
|
ajax.setClassName("OrderPresenter");
|
|
ajax.setMethodName("quickContact");
|
|
ajax.addParam("designId", designId);
|
|
ajax.setFailureAlert();
|
|
ajax.setSuccess(function(){
|
|
var obj = Z.J.toObject(this.responseText);
|
|
console.log(obj);
|
|
var resultHtml = obj.resultHtml;
|
|
if (!Z("#quickContact_dialog")[0])
|
|
{
|
|
var dialog = new Z.Dialog();
|
|
dialog.title = '<span id="quickContact_title" class="z-bold"></span>';
|
|
dialog.text = '<div id="quickContact_dialog"></div>';
|
|
dialog.width = 750;
|
|
dialog.height = 400;
|
|
dialog.shadow = false;
|
|
dialog.execute();
|
|
dialog.$background.remove();
|
|
console.log(dialog)
|
|
}
|
|
Z("#quickContact_dialog").htmlc(resultHtml);
|
|
Z("#quickContact_title").htmlc(Z("#title_content").html());
|
|
|
|
|
|
});
|
|
ajax.setLoading("quickContactBtn", '<i class="z-font z-query"></i>正在查询', {disabled:true});
|
|
ajax.execute();
|
|
}
|
|
|
|
//放弃订单
|
|
function doWaiveOrder(){
|
|
var designId = Z.FM.getChecked("designId");
|
|
if (Z.V.isEmpty(designId))
|
|
{
|
|
Z.alert("请选择一条订单");
|
|
return;
|
|
};
|
|
|
|
var dialog = new Z.Dialog();
|
|
dialog.url = "/waiveOrder.htm?designId="+designId;
|
|
dialog.width = 600;
|
|
dialog.height = 400;
|
|
dialog.execute();
|
|
|
|
}
|
|
function checkReturn(designId){
|
|
if(designId == "" || designId==null){
|
|
Z.alert("请选择一条订单");
|
|
return;
|
|
}
|
|
var ajax = new Z.Ajax();
|
|
ajax.setClassName("DesignOrderPresenter");
|
|
ajax.setMethodName("checkReturn");
|
|
ajax.addParam(designId);
|
|
ajax.setFailureAlert();
|
|
ajax.setSuccess(function(){
|
|
Z.success("退款成功",function(){parent.location.reload();});
|
|
});
|
|
ajax.execute();
|
|
}
|
|
|
|
function checkNoReturn(designId){
|
|
if(designId == "" || designId==null){
|
|
Z.alert("请选择一条订单");
|
|
return;
|
|
}
|
|
var ajax = new Z.Ajax();
|
|
ajax.setClassName("DesignOrderPresenter");
|
|
ajax.setMethodName("checkNoReturn");
|
|
ajax.addParam(designId);
|
|
ajax.setFailureAlert();
|
|
ajax.setSuccess(function(){
|
|
Z.success("拒绝退款成功",function(){parent.location.reload();});
|
|
});
|
|
ajax.execute();
|
|
}
|
|
</script>
|
|
|
|
<#var data="data=copy,userText,userNotice,CustomFile,DesginFile,EndFile,WorkFile,FristThumFile,TbzFile"/>
|
|
<#var addRule="addRule=CustomFile"/>
|
|
<#var delRule="delRule=CustomFile"/>
|
|
${zhiqim_manager_breadcrumb("未完成订单")}
|
|
${zhiqim_manager_content()}
|
|
|
|
<div class="design-order clear">
|
|
<#-- 导航栏 -->
|
|
<div class="z-tabnav-main z-blue">
|
|
<nav>
|
|
<ul>
|
|
<li class="z-active">未完成订单</li>
|
|
<li onclick="Z.Location.href('designOrderFinish.htm');">已完结订单</li>
|
|
<li onclick="Z.Location.href('waitHandleAfterOrder.htm');">售后订单</li>
|
|
<li onclick="Z.Location.href('complainWantDealList.htm');">投诉订单</li>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
|
|
<#-- 左侧功能 -->
|
|
<div class="z-overflow-y-auto z-overflow-x-hidden z-relative-left" style="width:100%;">
|
|
|
|
<#-- 查询条件 -->
|
|
<form name="theForm" action="/designOrder.htm">
|
|
<div class="screen">
|
|
<div class="search-box">
|
|
<span>订单号</span>
|
|
<input class="z-input z-w160 ${zmr_color_class}" name="designId" value="${designId}" maxlength="32" placeholder="订单号"/>
|
|
</div>
|
|
<div class="search-box">
|
|
<span>旺旺号</span>
|
|
<input class="z-input ${zmr_color_class} z-w160" name="buyerNick" value="${buyerNick}" maxlength="32" placeholder="旺旺号"/>
|
|
</div>
|
|
<div class="search-box">
|
|
<span>产品类型</span>
|
|
<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>
|
|
</div>
|
|
<div class="search-box">
|
|
<span>设计等级</span>
|
|
<select name="draftType" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
|
|
<option value="">全部</option>
|
|
<#for item : DraftConstants.getList()>
|
|
<#if item.value() != 4 >
|
|
<option value="${item.value()}" <#if draftType == item.value()>selected</#if>>${item.desc()}</option>
|
|
</#if>
|
|
</#for>
|
|
</select>
|
|
</div>
|
|
<div class="search-box">
|
|
<span>订单状态</span>
|
|
<select name="orderStatus" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
|
|
<option value="">全部</option>
|
|
<#for statusStr : StatusConstants.getOrderStatusList()>
|
|
<#if statusStr.value() gte StatusConstants.ORDER_30.value() && statusStr.value() lte StatusConstants.ORDER_52.value()>
|
|
<option value="${statusStr.value()}" <#if statusStr.value() == orderStatus>selected</#if>>${statusStr.desc()}</option>
|
|
</#if>
|
|
</#for>
|
|
</select>
|
|
</div>
|
|
<button class="z-button z-blue btn-search"><i class="z-font z-query"></i>查询</button>
|
|
<button class="z-button btn-search" style=" padding:0 20px;" type="button" onclick="Z.FM.clearForm(this.form);">清空</button>
|
|
</div>
|
|
</form>
|
|
|
|
<#-- 操作功能-->
|
|
<div id="operation" class="z-w100p z-mg-t20 z-mg-b3" style="width:100%; padding:0 24px 14px 24px;">
|
|
<button id="designOrderRefund" class="z-button z-blue" onclick="doDesignOrderRefund();"><i class="z-font z-modify"></i>申请退款</button>
|
|
<button class="z-button z-blue" onclick="doProgressNote();"><i class="z-font z-modify"></i>进度备注</button>
|
|
<button class="z-button z-blue" onclick="doCheckDetail();"><i class="z-font z-query"></i>驳回原因查看</button>
|
|
<#-- <button class="z-button z-yellow" onclick="doDesignOrderStop();"><i class="z-font z-close"></i>暂停设计</button>
|
|
<button class="z-button z-yellow" onclick="doDesignOrderStart();"><i class="z-font z-open"></i>开启设计</button>-->
|
|
<button type="button" style="display:none;" class="z-button z-yellow z-w100" onclick="doWaiveOrder();"><i class="z-font z-return"></i>放弃订单</button>
|
|
<span id="fixedSpan" class="z-float-right">
|
|
<!--<button class="z-button z-blue z-mg-l20 z-operater" onclick="doCopyURLInfoPC();">复制模板库链接</button>-->
|
|
<!--<button class="z-button z-purple" onclick="toDesign();"> <i class="z-font z-next"></i>前往模板设计</button>-->
|
|
</span>
|
|
|
|
<!--<button type="button" class="z-button ${zmr_color_class} z-mg-r6" onclick="doModifyIndustry();"><i class="z-font z-modify"></i>修改行业</button>-->
|
|
</div>
|
|
|
|
<#-- 分页列表-->
|
|
<div class="z-overflow-auto z-bd-r" style="padding:0 24px;">
|
|
<table class="z-table z-bordered zi-bd-r-none z-bg-white z-pd6" style="width:100%">
|
|
<tr class="z-text-left z-h40" data-layoutCode="designOrderList">
|
|
<td width="40">选择</td>
|
|
<td width="60">产品类型</td>
|
|
<td width="100">设计等级<br/>设计类型</td>
|
|
<td width="100">订单号</td>
|
|
<td width="100">旺旺号</td>
|
|
<td width="100">领单时间</td>
|
|
<#if isShowCost == 1>
|
|
<td width="60">设计佣金</td>
|
|
</#if>
|
|
<td width="60">加急费</td>
|
|
<td width="80">订单状态</td>
|
|
<td width="150">淘宝信息</td>
|
|
<td width="150">进度备注</td>
|
|
<td width="100">退回理由</td>
|
|
<td width="60" align="center">操作</td>
|
|
<td width="60" align="center">客户信息</td>
|
|
</tr>
|
|
<#if pageResult.size() == 0>
|
|
${zhiqim_manager_no_record(15, "暂不存在设计订单信息")}
|
|
</#if>
|
|
<#for item : pageResult.list()>
|
|
<input type="hidden" id="buyerNick_${item.getDesignId()}" value="${item.getBuyerNick()}">
|
|
<input type="hidden" id="prdType_${item.getDesignId()}" value="${item.getTypeId()}">
|
|
<input type="hidden" id="draftType_${item.getDesignId()}" value="${item.getDraftType()}">
|
|
<tr align="left" class="z-h40 <#if Validates.isNotEmpty(item.getCheckBackReason())> z-text-red</#if>" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
|
|
<td><input type="radio" name="designId" data-role="z-radio" data-class="${zmr_color_class} z-large" value="${item.getDesignId()}"
|
|
></td>
|
|
<td>${Global.get(DesignTypeCache.class).getName(item.getTypeId())}</td>
|
|
<td>${DraftConstants.get(item.getDraftType())}<br/>
|
|
<#if item.isOnlyDesign()>
|
|
仅设计
|
|
<#else>印刷设计</#if>
|
|
</td>
|
|
<td>${item.getDesignId()}
|
|
<#if Validates.isNotEmpty(item.getCheckBackReason()) && item.getStatus() lt 55 >
|
|
<span style="color: red;font-size:16px;font-weight: bold" data-role="z-tooltip" data-options="placement:right;align:bottom;arrow:false;" data-text="订单已被审稿驳回"> 驳 </span>
|
|
<#elseif Validates.isNotEmpty(item.getDraftBackReason()) && item.getStatus() lt 55 >
|
|
<span style="color: red;font-size:16px;font-weight: bold" data-role="z-tooltip" data-options="placement:right;align:bottom;arrow:false;" data-text="订单已被审稿驳回"> 驳 </span>
|
|
<#elseif Validates.isNotEmpty(item.getEndBackReason()) && item.getStatus() lt 55 >
|
|
<span style="color: red;font-size:16px;font-weight: bold" data-role="z-tooltip" data-options="placement:right;align:bottom;arrow:false;" data-text="订单已被审稿驳回"> 驳 </span>
|
|
</#if>
|
|
<#if item.isUrgent()>
|
|
<span style="color: red;font-size:16px;font-weight: bold" data-role="z-tooltip" data-options="placement:right;align:bottom;arrow:false;" data-text="加急订单"> 急 </span>
|
|
</#if>
|
|
<#if item.isChange()>
|
|
<span style="color: red;font-size:16px;font-weight: bold" data-role="z-tooltip" data-options="placement:right;align:bottom;arrow:false;" data-text="改稿订单"> 改 </span>
|
|
</#if>
|
|
<#if item.isBack()>
|
|
<span style="color: red;font-size:16px;font-weight: bold" data-role="z-tooltip" data-options="placement:right;align:bottom;arrow:false;" data-text="打回订单"> 回 </span>
|
|
</#if>
|
|
<#if item.getIsOldUser() gt 0>
|
|
<span style="color: #9D24D7;font-size:16px;font-weight: bold" data-role="z-tooltip" data-options="placement:right;align:bottom;arrow:false;" data-text="老用户订单"> 老 </span>
|
|
</#if>
|
|
</td>
|
|
<td><a href="/wangwangOrder.htm?buyerNick=${item.getBuyerNick()}">${item.getBuyerNick()}</a></td>
|
|
<td>${Sqls.toDateTimeString(item.getDesignReceiveTime())}</td>
|
|
<#if isShowCost == 1>
|
|
<td>${Amounts.toYuanMustRadix(item.getDesignPrice())}</td>
|
|
</#if>
|
|
<td><#if item.getUrgentPrice() gt 0>
|
|
${Amounts.toYuanMustRadix(item.getUrgentPrice())}
|
|
<#else></#if>
|
|
</td>
|
|
<td>${StatusConstants.getStatus(item.getStatus())}</td>
|
|
<td>${item.getReturnMsg()}</td>
|
|
<td class="schedule">${progressNoteMap.get(item.getDesignId())}</td>
|
|
<td>${item.getReturnReason()}</td>
|
|
<td align="center">
|
|
<span class="goDetail" onclick="Z.L.href('allOrderDetail.htm?designId=${item.getDesignId()}&${data}&${addRule}&${delRule}');if(${item.getDraftType()} == 0){Z('#orderDraft').hide()}else{Z('#orderDraft').show()}">详情</span>
|
|
<#if item.getStatus() == 34>
|
|
</br><span class="goDetail" onclick="checkReturn(${item.getDesignId()})">确认退款</span>
|
|
</br><span class="goDetail" onclick="checkNoReturn(${item.getDesignId()})">拒绝退款</span>
|
|
</#if>
|
|
</td>
|
|
<td align="center">
|
|
<span class="goDetail" onclick="doDesignOrdertoERP('${item.getTids()}')">查看</span>
|
|
</td>
|
|
</tr>
|
|
</#for>
|
|
</table>
|
|
</div>
|
|
${zhiqim_manager_paging(pageResult, "designOrder.htm")}
|
|
</div>
|
|
</div>
|
|
${zhiqim_manager_content_end()}
|
|
|
|
|
|
|
|
<#-- 联系旺旺&联系QQ弹窗框 -->
|
|
<iframe id="openFrm" class="z-hide" src="about:blank"></iframe> |