| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- <!-- 初稿待审列表 -->
- ${Styles.htmlOverflowHidden()}
- ${Scripts.src("/zinc/js/global_2019010801.js")}
- ${yangcai_calc_Left_width_height(400, 110)}
- <script>
- function designOrderPass()
- {//审核通过
- var designIds = Z.FM.getCheckBoxValue("designId");
- if (Z.V.isEmpty(designIds))
- {
- Z.alert("请选择订单");
- return;
- }
- Z.confirm("确认审核通过吗?", function(){
- var ajax = new Z.Ajax();
- ajax.setClassName("OrderPresenter");
- ajax.setMethodName("designOrderPass");
- ajax.addParam("designIds", designIds);
- ajax.addParam("type", "draft");
- ajax.setFailureAlert();
- ajax.setSuccess(function(){
- Z.success("操作成功", function(){document.theFrom.submit()});
- });
- ajax.execute();
- })
- }
- function designOrderReback()
- {//审核退回窗口
- var designId = Z.FM.getChecked("designId");
- var dialog = new Z.Dialog();
- dialog.title = "审核退回原因(截图粘贴在输入框下方)";
- dialog.url = "/orderCheckBackInfo.htm?designId=" + designId+"&src=draftCheck";
- dialog.width = 800;
- dialog.height = 500;
- dialog.execute();
- }
- </script>
- <#var data="data=copy,userText,userNotice,CustomFile,DesginFile,FristThumFile,TbzFile"/>
- <#var addRule="addRule=CustomFile,ThumFile,DesginFile,TbzFile"/>
- <#var delRule="delRule=CustomFile,ThumFile,DesginFile,TbzFile"/>
- ${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>
- <#if ZmrPathRule.check(request, "/orderDraftCheckWait.htm")><li onclick="Z.L.href('/orderEndCheckWait.htm');">定稿待审订单</li></#if>
- </ul>
- </nav>
- </div>
- <#-- 左侧功能 -->
- <div id="left" class="z-overflow-auto z-overflow-x-hidden z-relative-left">
- <#-- 查询条件 -->
- ${zhiqim_manager_title("查询条件")}
- <form name="theFrom" id="theFrom" >
- <input type="hidden" name="page" value="${page}" >
- <table class="z-table z-bordered z-pd6 z-bg-white">
- <tr class="z-h40">
- <td width="30%"> 订 单 号:<input name="designId" class="${zmr_color_class} z-input z-w160" value="${designId}" maxlength="64" 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 : typeList>
- <option value="${item.getTypeId()}" <#if typeId == item.getTypeId()>selected</#if>>${item.getTypeName()}</option>
- </#for>
- </select>
- </td>
- <td width="*">
- 稿件类型:<select name="draftType" class="z-select z-w160" 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> 旺 旺 号:<input name="buyerNick" class="${zmr_color_class} z-input z-w160" value="${buyerNick}" maxlength="64" placeholder="旺旺号"></td>
- <td>淘宝单号:<input name="tid" class="${zmr_color_class} z-input z-w180" value="${tid}" maxlength="64" placeholder="淘宝单号"></td>
- <td>
- 是否后工:<select name="afterNames" class="z-select z-w160" data-role="z-select" data-class="${zmr_color_class}">
- <option value="">全部</option>
- <option value="true" <#if afterNames == "true">selected</#if>>是</option>
- <option value="false" <#if afterNames == "false">selected</#if>>否</option>
- </select>
- </td>
- </tr>
- <tr class="z-h40" >
- <td>
- 商户名称:<select name="merchantId" class="z-select z-w160" data-role="z-select" data-class="${zmr_color_class}">
- <option value="">全部</option>
- <#for item : Global.get(DesignMerchantCache.class).getList()>
- <option value="${item.getMerchantName()}" <#if merchantId == item.getMerchantId()>selected</#if>>${item.getMerchantName()}</option>
- </#for>
- </select>
- </td>
- <td>
- </td>
- <td align="left" ><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, "/designOrderPass.htm")><button type="button" class="z-button z-green" onclick="designOrderPass();"><i class="z-font z-success"></i>审核通过</button></#if>
- <#if ZmrPathRule.check(request, "/designOrderReback.htm")><button type="button" class="z-button z-red" onclick="designOrderReback();"><i class="z-font z-return"></i>审核退回</button></#if>
- </div>
-
- <#-- 列表 -->
- <div class="z-overflow-y-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:1470px">
- <tr bgcolor="${zmr_thead_bgcolor}">
- <td width="30"><input name="allDesignId" type="checkbox" data-role="z-checkbox" data-class="${zmr_color_class}" value="${pageResult.pageNo()}" onclick="Z.FM.doSelectCheckBox('designId', this.checked);"> 选择</td>
- <td width="100">订单号</td>
- <td width="70">商户<br/>设计等级</td>
- <td width="70">设计类型<br/>产品类型</td>
- <td width="60">订单金额</td>
- <td width="70">下单时间</td>
- <td width="70">初稿时间</td>
- <td width="70">设计师</td>
- <td width="60">状态</td>
- <td width="100">特殊工艺</td>
- <td width="240">产品描述</td>
- <td width="120">退回原因</td>
- </tr>
- ${zhiqim_manager_tr_no_record(pageResult, 10, "暂时没有订单信息")}
- <#for item : pageResult.list()>
- <input id="buyerNick_${item.getDesignId()}" type="hidden" value="${item.getBuyerNick()}">
- <tr class="z-pointer <#if Validates.isNotEmptyBlank(item.getPrepressBackReason())> z-text-red </#if>" ${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()}" onclick="Z.L.href('attaFileList.htm?designId=${item.getDesignId()}&${data}&${addRule}&${delRule}', attaFileList);"></td>
- <td>
- ${item.getDesignId()}
- <#if item.getReDesignSrcId() gt 0><span style="color: red;font-size:16px;font-weight: bold"> 补 </span></#if>
- <#if item.isUrgent()><span style="color: red;font-size:16px;font-weight: bold"> 急 </span></#if>
- <#if item.isHighQualityOrder()><span style="color: red;font-size:16px;font-weight: bold"> 优 </span></#if>
- <#if item.getIsOldUser() gt 0><span style="color: #9D24D7;font-size:16px;font-weight: bold"> 老 </span></#if>
- <#if !(item.getAmount() lt 30000)><span style="color:#FF34B3;font-size:16px;font-weight: bold"> 大 </span></#if>
- </td>
- <td>${Global.get(DesignMerchantCache.class).getName(item.getMerchantId())}<br/>${DraftConstants.get(item.getDraftType())}</td>
- <td><#if item.isOnlyDesign()>
- 仅设计
- <#else>印刷设计</#if>
- <br/>${Global.get(DesignTypeCache.class).getName(item.getTypeId())}
- </td>
- <td>${Amounts.toYuanMustRadix(item.getAmount())}</td>
- <td>${Sqls.toDateTimeString(item.getCreateTime())}</td>
- <td>${Sqls.toDateTimeString(item.getDesignDraftTime())}</td>
- <td>${item.getDesigner()}</td>
- <td>${StatusConstants.getStatus(item.getStatus())}</td>
- <td>${item.getPrintSpecial()}</td>
- <td align="left">${item.getOrderText()} </td>
- <td align="left">${item.getDraftBackReason()}</td>
- </tr>
- </#for>
- </table>
- </div>
- ${zhiqim_manager_paging(pageResult, "orderDraftCheckWait.htm")}
- </div>
- ${zhiqim_manager_content_end()}
- <#--右侧文件信息-->
- <div class="z-fixed z-pd10 z-bd-l z-bg-white z-h100p" style="top:${zmr_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>
|