101 行
3.7 KiB
Plaintext
101 行
3.7 KiB
Plaintext
${Styles.htmlOverflowHidden()}
|
|
${Scripts.src("/zinc/js/global_2019010801.js")}
|
|
${yangcai_calc_Left_width_height(0, 70)}
|
|
|
|
<script>
|
|
function doContendOrder(designId,orderText,status)
|
|
{//抢单
|
|
if (status == 10){
|
|
var dialog = new Z.Dialog();
|
|
dialog.title = "接受订单";
|
|
dialog.url = "/contendOrder.htm?designId="+designId+"&orderText="+orderText;
|
|
dialog.width = 600;
|
|
dialog.height = 460;
|
|
dialog.execute();
|
|
} else {
|
|
Z.alert('该订单已被领取!',
|
|
function(){
|
|
parent.location.reload();
|
|
parent.Z.Dialog.close();
|
|
});
|
|
};
|
|
}
|
|
</script>
|
|
|
|
${zhiqim_manager_content()}
|
|
|
|
<#-- 导航栏 -->
|
|
<div class="z-tabnav-main z-blue z-mg-b20">
|
|
<nav>
|
|
<ul>
|
|
<li class="z-active">抢单列表</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="receiveOrder.htm" method="post">
|
|
<table class="z-table z-bordered z-pd6 z-bg-white" >
|
|
<tr class="z-h40">
|
|
<td > 产品类型:
|
|
<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="1300px">
|
|
<button class="z-button z-blue z-large"><i class="z-font z-query"></i>查询</button>
|
|
<button class="z-button z-large" type="button" onclick="Z.FM.clearForm(this.form);">清空</button>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
<div class="z-table z-bordered z-h70-tr z-pd5 z-bg-white z-text-center" style="width:100%" >
|
|
<#-- 分页列表-->
|
|
<div class="z-overflow-auto z-bd-r">
|
|
<table class="z-table z-bordered zi-bd-r-none z-bg-white z-pd6" >
|
|
<tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}" data-layoutCode="receiveOrder">
|
|
<td width="60">订单号</td>
|
|
<td width="200">产品信息</td>
|
|
<td width="60">产品类型</td>
|
|
<td width="100">特殊工艺</td>
|
|
<td width="60">设计佣金</td>
|
|
<td width="60">加急费</td>
|
|
<td width="100">设计等级</td>
|
|
<td width="60">下单时间</td>
|
|
<td width="100">操作</td>
|
|
</tr>
|
|
<#if pageResult.size() == 0>
|
|
${zhiqim_manager_no_record(8,"暂不存在抢单信息")}
|
|
</#if>
|
|
<#for item : pageResult.list()>
|
|
<tr align="center" class="z-h40 ">
|
|
<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>
|
|
</td>
|
|
<td>${item.getOrderText()}</td>
|
|
<td>${Global.get(DesignTypeCache.class).getName(item.getTypeId())}</td>
|
|
<td>${item.getPrintSpecial()}</td>
|
|
<td>${Amounts.toYuanMustRadix(item.getDesignPrice())}</td>
|
|
<td>
|
|
<#if item.getUrgentPrice() gt 0>
|
|
${Amounts.toYuanMustRadix(item.getUrgentPrice())}
|
|
<#else>
|
|
</#if>
|
|
</td>
|
|
<td>${DraftConstants.get(item.getDraftType())}</td>
|
|
<td>${Sqls.toDateTimeString(item.getCreateTime())}</td>
|
|
<td><button type="button" class="z-button z-green z-w100" onclick="doContendOrder('${item.getDesignId()}','${item.getOrderText()}','${item.getStatus()}')">抢单</button></td>
|
|
</tr>
|
|
</#for>
|
|
</table>
|
|
</div>
|
|
${zhiqim_manager_paging(pageResult, "/receiveOrder.htm")}
|
|
</div>
|
|
</div>
|
|
${zhiqim_manager_content_end()}
|