| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- <script>
- function doCardModify()
- {//电子名片去设计
- var designId = Z.FM.getChecked("designId");
- if(Z("#typeId"+designId).val() == 2023207561256){
- var ajax = new Z.Ajax();
- ajax.setClassName("DesignOrderPresenter");
- ajax.setMethodName("doDesignerOrderTemplate");
- ajax.addParam("designId", designId);
- ajax.addParam("validateUrl", "/templateCardPreview.htm?designId="+designId+"&src=finish");
- ajax.setFailureAlert();
- ajax.setSuccessLocationResponse();
- ajax.execute();
- }else{
- Z.alert("仅支持秒绘智能名片产品操作");
- }
- }
- function doOrderReturn()
- {//订单退回
- var designId = Z.FM.getChecked("designId");
- if(Z("#designer"+designId).val() != '${request.getSessionName()}'){
- Z.alert("非订单设计师 不支持操作");
- return;
- }
- Z.confirm('你确定退回订单吗?', function(){
- var ajax = new Z.Ajax();
- ajax.setClassName("OrderCheckPresenter");
- ajax.setMethodName("doDesignerOrderReturn");
- ajax.addParam("designId", designId);
- ajax.setFailureAlert();
- ajax.setSuccess(function(){
- Z.success("操作成功",function(){
- location.reload();
- });
- });
- ajax.execute();
- });
- }
- </script>
- <style>
- .z-tabnav-main{ 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; min-height:70px; padding:20px 0 10px 24px; box-sizing: border-box;}
- .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;}
- .btn-search{ border-radius:32px; height:32px; float:left; margin:0 10px 0 0;}
- .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;}
- .design-order{ background: #fff;}
- .clear:after{content:'';display:block;clear:both;height:0;overflow:hidden;visibility:hidden;}
- .clear{zoom:1;}
- .z-readonly{ border:none!important; background: #edeeef!important;}
- .z-text-left td {
- color: #363940!important;
- font-weight: bold;
- }
- .z-text-red{color:#1681f5;}
- .z-red:hover{ background: #1681f5!important;}
- .z-button.z-red { background: #1681f5; border: 1px solid #1681f5;}
- .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>
- <#def designatedPath="/designOrder.htm"/>
- <#var data="data=copy,userText,CustomFile,DesginFile,EndFile,WorkFile,AftersaleFile,ThumFile,userNotice,TbzFile"/>
- <#var addRule="addRule=CustomFile,DesginFile,EndFile,WorkFile,TbzFile"/>
- <#var delRule="delRule=CustomFile,DesginFile,EndFile,WorkFile,TbzFile"/>
- ${Styles.htmlOverflowHidden()}
- ${yangcai_calc_Left_width_height(400, 70)}
- ${zhiqim_manager_breadcrumb("已完成订单")}
- ${zhiqim_manager_content()}
- <div class="design-order clear">
- <#-- 导航栏 -->
- <div class="z-tabnav-main z-blue">
- <nav>
- <ul>
- <li onclick="Z.Location.href('designOrder.htm');">未完成订单</li>
- <li class="z-active">已完结订单</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="/designOrderFinish.htm" method="post">
- <div class="screen clear">
- <div class="search-box">
- <span>订单号</span>
- <input name="designId" class="z-input ${zmr_color_class} z-w150" value="${designId}" placeholder="订单号">
- </div>
- <div class="search-box">
- <span>旺旺号</span>
- <input name="buyerNick" class="z-input ${zmr_color_class} z-w150" value="${buyerNick}" placeholder="旺旺号">
- </div>
- <div class="search-box" style="width:310px;">
- <span>定稿日期</span>
- <input name="beginDate" style="width:100px;" onfocus="zhiqim.date(this);" readonly class="z-input" value="${beginDate}"> -
- <input name="endDate" style="width:100px;" onfocus="zhiqim.date(this);" readonly class="z-input" value="${endDate}">
- </div>
- <button class="z-button z-blue btn-search"><i class="z-font z-query"></i>查询</button>
- <!--<button type="button" class="z-button btn-search" style="background: #ea4a36; color:#fff; border: 1px solid #ea4a36; box-shadow:none;" onclick="doOrderReturn();"><i class="z-font z-return"></i>订单退回</button>-->
- <button type="button" class="z-button z-cyan btn-search" onclick="doCardModify();"><i class="z-font z-modify"></i>修改订单</button>
- </div>
- </form>
-
-
- <#-- 分页列表-->
- <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 align="center" class="z-text-left z-h40" data-layoutCode="designOrderFinish">
- <td width="40">选择</td>
- <td width="80">订单号</td>
- <td width="60">设计等级</td>
- <td width="80">旺旺号</td>
- <td width="60">订单状态</td>
- <td width="60">产品类型</td>
- <td width="90">下单时间</td>
- <td width="90">领单时间</td>
- <td width="90">初稿时间</td>
- <td width="90">定稿时间</td>
- <td width="60" align="center">操作</td>
- </tr>
- <#if pageResult.total() == 0>
- ${zhiqim_manager_no_record(23, "暂时没有数据")}
- </#if>
- <#for item : pageResult.list()>
- <input type="hidden" id="typeId${item.getDesignId()}" value="${item.getTypeId()}">
- <input type="hidden" id="designer${item.getDesignId()}" value="${item.getDesigner()}">
- <tr align="left" class="z-h50" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}" id="tr_${item.getDesignId()}">
- <td><input type="radio" name="designId" data-role="z-radio" data-class="${zmr_color_class} z-large" value="${item.getDesignId()}"
- ></td>
- <td>${item.getDesignId()}
- <#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></td>
- <td>${DraftConstants.get(item.getDraftType())}</td>
- <td><a href="/wangwangOrder.htm?buyerNick=${item.getBuyerNick()}">${item.getBuyerNick()}</a></td>
- <td>${StatusConstants.getStatus(item.getStatus())}</td>
- <td>${Global.get(DesignTypeCache.class).getName(item.getTypeId())}</td>
- <td>${Sqls.toDateTimeString(item.getCreateTime())}</td>
- <td>${Sqls.toDateTimeString(item.getDesignBeginTime())}</td>
- <td>${Sqls.toDateTimeString(item.getDesignDraftTime())}</td>
- <td>${Sqls.toDateTimeString(item.getDesignEndTime())}</td>
- <td align="center"><span class="goDetail" onclick="Z.L.href('allOrderDetail.htm?designId=${item.getDesignId()}&${data}&${addRule}&${delRule}');">详情</span></td>
- </tr>
- </#for>
- </table>
- </div>
- ${zhiqim_manager_paging(pageResult, "designOrderFinish.htm")}
- </div>
- </div>
- ${zhiqim_manager_content_end()}
|