dispatchPropertyModify.zml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. ${zhiqim_manager_history("/dispatchProperty.htm")}
  2. ${zhiqim_manager_breadcrumb_parent("/dispatchProperty.htm", "设计师派单属性", "修改设计师派单属性")}
  3. ${zhiqim_manager_content()}
  4. ${zhiqim_manager_title("修改设计师与行业关系")}
  5. <form name="theForm" action="/dispatchPropertyUpdate.htm" method="post" onSubmit="return validateForm(this);" data-role="z-call-frame">
  6. <input name="operatorCode" id="operatorCode" value="${dispatchProperty.getOperatorCode()}" type="hidden">
  7. <table class="z-table z-bordered z-pd6 z-bg-white">
  8. <tr class="z-h40">
  9. <td width="35%">设计师</td>
  10. <td width="*">${dispatchProperty.getOperatorCode()}</td>
  11. </tr>
  12. <#var typeList = DesignTypeDao.list()/>
  13. <tr>
  14. <td>主产品类型:</td>
  15. <td>
  16. <#if Validates.isNotEmpty(typeList)>
  17. <#for item : typeList>
  18. <input name="majorType" data-role="z-radio" data-class="${zmr_color_class}" <#if dispatchProperty.getMajorType()== item.getTypeId()>checked="checked"</#if> type="radio" value="${item.getTypeId()}"> &nbsp;${item.getTypeName()}&nbsp;&nbsp;
  19. <#if (item_index + 1) % 5 == 0><br/><br/></#if>
  20. </#for>
  21. </#if>
  22. </td>
  23. </tr>
  24. <tr>
  25. <td>副产品类型(请选择):</td>
  26. <td>
  27. <#if Validates.isNotEmpty(typeList)>
  28. <#for item : typeList>
  29. <input name="secondaryTypes" data-role="z-checkbox" data-class="${zmr_color_class}" <#if Lists.toStringList(dispatchProperty.getSecondaryTypes()).contains(""+item.getTypeId())>checked="checked"</#if> type="checkbox" value="${item.getTypeId()}"> &nbsp;${item.getTypeName()}&nbsp;&nbsp;
  30. <#if (item_index + 1) % 5 == 0><br/><br/></#if>
  31. </#for>
  32. </#if>
  33. </td>
  34. </tr>
  35. <#var industryList = Global.get(DesignIndustryCache.class).getIndustryList()/>
  36. <tr>
  37. <td>主行业:(请选择)</td>
  38. <td>
  39. <#if Validates.isNotEmpty(industryList)>
  40. <#for item : industryList>
  41. <input name="majorIndustry" data-role="z-radio" data-class="${zmr_color_class}" <#if dispatchProperty.getMajorIndustry()== item.getIndustryId()>checked="checked"</#if> type="radio" value="${item.getIndustryId()}"> &nbsp;${item.getIndustryName()}&nbsp;&nbsp;
  42. <#if (item_index + 1) % 5 == 0><br/><br/></#if>
  43. </#for>
  44. </#if>
  45. </td>
  46. </tr>
  47. <tr>
  48. <td>副行业:(请选择)</td>
  49. <td>
  50. <#if Validates.isNotEmpty(industryList)>
  51. <#for item : industryList>
  52. <input name="secondaryIndustry" data-role="z-checkbox" data-class="${zmr_color_class}" id="${item.getIndustryId()}" <#if Lists.toStringList(dispatchProperty.getSecondaryIndustrys()).contains(""+item.getIndustryId())>checked="checked"</#if> type="checkbox" value="${item.getIndustryId()}"> &nbsp;${item.getIndustryName()}&nbsp;&nbsp;
  53. <#if (item_index + 1) % 5 == 0><br/><br/></#if>
  54. </#for>
  55. </#if>
  56. </td>
  57. </tr>
  58. <tr>
  59. <td>设计师级别:(请选择)</td>
  60. <td>
  61. <select name="designerLevel" id="designerLevel" class="z-select ${zmr_color_class} z-w200">
  62. <option value="0" <#if dispatchProperty.getDesignerLevel() == 0>selected</#if> >普通设计师</option>
  63. <option value="1" <#if dispatchProperty.getDesignerLevel() == 1>selected</#if>>资深设计师</option>
  64. </select> <font color=red>&nbsp;*</font>
  65. </td>
  66. </tr>
  67. <tr>
  68. <td>支持店铺:(请选择)</td>
  69. <td>
  70. <#for shop : shopList>
  71. <div class="z-float-left z-pd6">
  72. <input type="checkbox" name="shopNick" class="z-checkbox" <#if dispatchProperty.getShopNick().contains(shop)>checked</#if> value="${shop}" data-role="z-checkbox" data-class="${zmr_color_class}">
  73. <span onclick="Z(this).parent().find('zcover>i.z-checkbox').click()" class="z-pointer">${shop}</span></div>
  74. </#for>
  75. </td>
  76. </tr>
  77. <tr>
  78. <td>支持产品类型:</td>
  79. <td>
  80. <div class="z-float-left z-pd6 z-text-ellipsis z-pointer " title="设计稿">
  81. <input type="checkbox" name="isDesignOrder" onclick="" class="z-checkbox" <#if dispatchProperty.isDesignOrder()>checked</#if> value="true" data-role="z-checkbox" data-class="${zmr_color_class}">
  82. <span onclick="Z(this).parent().find('zcover>i.z-checkbox').click()" class="z-pointer">设计稿</span>
  83. </div>
  84. <div class="z-float-left z-pd6 z-text-ellipsis z-pointer " title="标准自来稿">
  85. <input type="checkbox" name="isNormDraftOrder" onclick="" class="z-checkbox" <#if dispatchProperty.isNormDraftOrder()>checked</#if> value="true" data-role="z-checkbox" data-class="${zmr_color_class}">
  86. <span onclick="Z(this).parent().find('zcover>i.z-checkbox').click()" class="z-pointer">标准自来稿</span>
  87. </div>
  88. <div class="z-float-left z-pd6 z-text-ellipsis z-pointer " title="改稿自来稿">
  89. <input type="checkbox" name="isDraftOrder" onclick="" class="z-checkbox" <#if dispatchProperty.isDraftOrder()>checked</#if> value="true" data-role="z-checkbox" data-class="${zmr_color_class}">
  90. <span onclick="Z(this).parent().find('zcover>i.z-checkbox').click()" class="z-pointer">改稿自来稿</span>
  91. </div>
  92. <div class="z-float-left z-pd6 z-text-ellipsis z-pointer " title="优质客户订单">
  93. <input type="checkbox" name="isHighQualityOrder" onclick="" class="z-checkbox" <#if dispatchProperty.isHighQualityOrder()>checked</#if> value="true" data-role="z-checkbox" data-class="${zmr_color_class}">
  94. <span onclick="Z(this).parent().find('zcover>i.z-checkbox').click()" class="z-pointer">优质客户订单</span>
  95. </div>
  96. <div class="z-float-left z-pd6 z-text-ellipsis z-pointer " title="加急订单">
  97. <input type="checkbox" name="isUrgent" onclick="" class="z-checkbox" <#if dispatchProperty.isUrgent()>checked</#if> value="true" data-role="z-checkbox" data-class="${zmr_color_class}">
  98. <span onclick="Z(this).parent().find('zcover>i.z-checkbox').click()" class="z-pointer">加急订单</span>
  99. </div>
  100. </td>
  101. </tr>
  102. </table>
  103. ${zhiqim_manager_submit()}
  104. </form>
  105. ${zhiqim_manager_content_end()}