uploadData.zml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. ${Styles.htmlOverflowHidden()}
  2. ${Scripts.src("/zinc/js/global_2019010801.js")}
  3. ${yangcai_calc_Left_width_height(400, 70)}
  4. <script>
  5. function doModifyIndustry()
  6. {
  7. var designId = Z.FM.getChecked("designId");
  8. if(Z.V.isEmpty(designId))
  9. {
  10. Z.alert("请选择一条订单");
  11. return;
  12. }
  13. var dialog = new Z.Dialog();
  14. dialog.title = "修改行业";
  15. dialog.url = "/modifyIndustry.htm?designId="+designId;
  16. dialog.width = 500;
  17. dialog.height = 300;
  18. dialog.execute();
  19. }
  20. </script>
  21. <#var data="data=copy,userText,CustomFile,TemplateFile,DesginFile,EndFile,WorkFile,AftersaleFile,ThumFile,userNotice"/>
  22. <#var addRule="addRule=DesginFile,EndFile,WorkFile,AftersaleFile"/>
  23. <#var delRule="delRule=DesginFile,EndFile,WorkFile,AftersaleFile"/>
  24. ${zhiqim_manager_breadcrumb("资料上传")}
  25. ${zhiqim_manager_content()}
  26. <#-- 导航栏 -->
  27. <div class="z-tabnav-main z-blue z-mg-b20">
  28. <nav>
  29. <ul>
  30. <li class="z-active">资料上传</li>
  31. </ul>
  32. </nav>
  33. </div>
  34. <#-- 左侧功能 -->
  35. <div id="left" class="z-overflow-y-auto z-overflow-x-hidden z-relative-left">
  36. <#-- 查询条件 -->
  37. ${zhiqim_manager_title("查询条件")}
  38. <form action="uploadData.htm" method="post">
  39. <table class="z-table z-bordered z-pd6 z-bg-white">
  40. <tr class="z-h40">
  41. <td width="30%">订单号:<input name="designId" class="${zmr_color_class} z-input z-w160 z-mg-l4" value="${designId}" maxlength="64" placeholder="订单号"></td>
  42. <td width="34%">产品类型:<select name="typeId" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
  43. <option value="">全部</option>
  44. <#for item : DesignTypeDao.list()>
  45. <option value="${item.getTypeId()}" <#if typeId == item.getTypeId()>selected</#if>>${item.getTypeName()}</option>
  46. </#for>
  47. </select>
  48. </td>
  49. <td width="*">其他信息:<input class="${zmr_color_class} z-input z-w200" id="otherInfo" name="otherInfo" maxlength="64" value="${otherInfo}" placeholder="收件人、电话、QQ、对稿手机"></td>
  50. </tr>
  51. <tr class="z-h40">
  52. <td>旺旺号:<input name="buyerNick" class="${zmr_color_class} z-input z-w160 z-mg-l4" value="${buyerNick}" maxlength="64" placeholder="旺旺号"></td>
  53. <td>淘宝单号:<input name="tid" class="${zmr_color_class} z-input z-w180" value="${tid}" maxlength="64" placeholder="淘宝单号"></td>
  54. <td>录单时间:<input id="startDate" name="startDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${startDate}">&nbsp;-&nbsp;
  55. <input id="endDate" name="endDate" class="z-input z-mg-l3 z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${endDate}">
  56. </td>
  57. </tr>
  58. <tr class="z-h40">
  59. <td>
  60. <span class="z-px12">稿件类型:</span><select name="draftType" class="z-select z-w160" data-role="z-select" data-class="${zmr_color_class}">
  61. <option value="">全部</option>
  62. <#for item : DraftConstants.getList()>
  63. <option value="${item.value()}" <#if draftType == item.value()>selected</#if>>${item.desc()}</option>
  64. </#for>
  65. </select>
  66. </td>
  67. <td>是否印刷:<select name="isOnlyDesign" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
  68. <option value="">全部</option>
  69. <option value="0" <#if isOnlyDesign == 0>selected</#if>>是</option>
  70. <option value="1" <#if isOnlyDesign == 1>selected</#if>>否</option>
  71. </select>
  72. </td>
  73. <td>添加行业:<select name="havaIndustry" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
  74. <option value="">全部</option>
  75. <option value="0" <#if havaIndustry == 0>selected</#if>>已添加</option>
  76. <option value="1" <#if havaIndustry == 1>selected</#if>>未添加</option>
  77. </select>
  78. </td>
  79. </tr>
  80. <tr class="z-h40">
  81. <td colspan="3" class="z-text-center"><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>
  82. </tr>
  83. </table>
  84. </form>
  85. <#-- 操作功能 -->
  86. <div class="z-w100p z-mg-t20 z-mg-b3">
  87. <button type="button" class="z-button ${zmr_color_class} z-mg-r6" onclick="doModifyIndustry();"><i class="z-font z-modify"></i>修改行业</button>
  88. <#if ZmrPathRule.check(request, "openWangWang")><button type="button" class="z-button z-mg-r6 ${zmr_color_class}" onclick="Global.openWangWang();"><img src="/zinc/images/wangwang.png">旺旺联系</button></#if>
  89. <#if ZmrPathRule.check(request, "openQQ")><button type="button" class="z-button z-mg-r6 ${zmr_color_class}" onclick="Global.openQQ();"><img src="/zinc/images/qq.png">QQ联系</button></#if>
  90. </div>
  91. <#-- 分页列表-->
  92. <div class="z-overflow-auto z-bd-r">
  93. <table class="z-table z-bordered zi-bd-r-none z-bg-white z-text-center" style="width:2220px">
  94. ${zhiqim_manager_tr_title(30, "订单列表")}
  95. <tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
  96. <td width="60">选择</td>
  97. <td width="120">订单号</td>
  98. <td width="120">店铺</td>
  99. <td width="120">设计</td>
  100. <td width="140">旺旺号</td>
  101. <td width="90">状态</td>
  102. <td width="100">行业</td>
  103. <td width="*">产品</td>
  104. <td width="80">印刷金额</td>
  105. <td width="160">特殊工艺</td>
  106. <td width="160">录单时间</td>
  107. <td width="160">完稿时间</td>
  108. <td width="100">设计师</td>
  109. <td width="100">审核人</td>
  110. <td width="100">联系人</td>
  111. <td width="120">对稿手机</td>
  112. <td width="120">对稿QQ</td>
  113. <td width="120">对稿微信</td>
  114. </tr>
  115. <#if pageResult.total() == 0>
  116. ${zhiqim_manager_no_record(30, "暂时没有订单信息")}
  117. </#if>
  118. <#for item : pageResult.list()>
  119. <input type="hidden" id="buyerNick_${item.getDesignId()}" value="${item.getBuyerNick()}">
  120. <input type="hidden" id="userQq_${item.getDesignId()}" value="${item.getUserQq()}">
  121. <tr class="z-h40 z-pointer" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
  122. <td><input type="radio" name="designId" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getDesignId()}" onclick="Z.L.href('attaFileList.htm?designId=${item.getDesignId()}&${data}&${addRule}&${delRule}', attaFileList);"></td>
  123. <td>${item.getDesignId()}</td>
  124. <td>${item.getShopNick()}</td>
  125. <td>${DraftConstants.get(item.getDraftType())}</td>
  126. <td>${item.getBuyerNick()}</td>
  127. <td>${StatusConstants.getStatus(item.getStatus())}</td>
  128. <td>${Global.get(DesignIndustryCache.class).getIndustryName(item.getIndustryId())}</td>
  129. <td>${item.getOrderText()}</td>
  130. <td>${Amounts.toYuanMustRadix(item.getAmount())}</td>
  131. <td>${item.getPrintSpecial()}</td>
  132. <td>${Sqls.toDateTimeString(item.getCreateTime())}</td>
  133. <td>${Sqls.toDateTimeString(item.getDesignEndTime())}</td>
  134. <td>${item.getDesigner()}</td>
  135. <td>${item.getChecker()}</td>
  136. <td>${item.getUserContact()}</td>
  137. <td>${item.getUserMobile()}</td>
  138. <td>${item.getUserQq()}</td>
  139. <td>${item.getUserWx()}</td>
  140. </tr>
  141. </#for>
  142. </table>
  143. </div>
  144. ${zhiqim_manager_paging(pageResult, "uploadData.htm")}
  145. </div>
  146. ${zhiqim_manager_content_end()}
  147. <#--右侧文件信息-->
  148. <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;">
  149. <iframe name="attaFileList" src="attaFileList.htm?${data}&${addRule}&${delRule}" frameborder="0" scrolling="auto" height="100%" width="100%"></iframe>
  150. </div>
  151. <#-- 联系旺旺&联系QQ弹窗框 -->
  152. <iframe id="openFrm" class="z-hide" src="about:blank"></iframe>