warehouse_add.html 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. {Template header}
  2. <body>
  3. <div class="warp">
  4. <div class="title winnone">仓库配置 - 添加</div>
  5. <ul class="setting">
  6. <li>
  7. <em>仓库名称:</em>
  8. <input class="must" value="" name="title" type="text" >
  9. </li>
  10. <li>
  11. <em>默认快递:</em>
  12. <select name="express" class="select class">
  13. <option value="0">无</option>
  14. {loop express(100,'smt') as $val}
  15. <option value="{$val['id']}">{$val['servicename']}</option>
  16. {/loop}
  17. </select>
  18. </li>
  19. <li>
  20. <em>是否可用:</em>
  21. <select name="show" class="select class">
  22. <option value="1">是</option>
  23. <option value="2">否</option>
  24. </select>
  25. </li>
  26. <li>
  27. <em>库存模式:</em>
  28. <select name="zd" class="select class">
  29. <option value="0">不启用</option>
  30. <option value="1">启用</option>
  31. </select>
  32. </li>
  33. <li>
  34. <em>占单模式:</em>
  35. <select name="zdms" class="select class">
  36. <option {if $warehouse['zdms'] == ''}selected="selected"{/if} value="">不占单</option>
  37. <option value="1">单独占单</option>
  38. <option value="2">全占</option>
  39. </select>
  40. </li>
  41. <!--<li>
  42. <em>调拨模式:</em>
  43. <select name="db" class="select class">
  44. <option value="0">不启用</option>
  45. <option value="1">启用</option>
  46. </select>
  47. </li>
  48. <li>
  49. <em>默认端口</em>
  50. <select name="printer1" class="select class">
  51. <option value="COM1">COM1</option>
  52. <option value="COM2">COM2</option>
  53. <option value="COM3">COM3</option>
  54. <option value="COM4">COM4</option>
  55. <option value="COM5">COM5</option>
  56. <option value="COM6">COM6</option>
  57. <option value="COM7">COM7</option>
  58. <option value="COM8">COM8</option>
  59. </select>
  60. </li>
  61. -->
  62. <li>
  63. <em>存放位置:</em>
  64. <select name="wz" class="select class">
  65. <option value="0">关闭</option>
  66. <option value="1">开启</option>
  67. </select>
  68. </li>
  69. <li>
  70. <em>自动分配:</em>
  71. <select name="fpzd" class="select class">
  72. <option value="0">否</option>
  73. <option value="1">自动</option>
  74. </select>
  75. </li>
  76. <li>
  77. <em>分配排序:</em>
  78. <input value="" name="fpsx" type="text" >
  79. </li>
  80. <li>
  81. <em>绑定库</em>
  82. <input value="" name="bdck" type="text" placeholder="开启库存模式必填,否则无法占单">
  83. </li>
  84. <li>
  85. <em>占单后缀</em>
  86. <input value="" name="hz" type="text" placeholder="开启库存模式必填,否则占单错误">
  87. </li>
  88. <li class="length">
  89. <em>专属国家:</em>
  90. <select name="bdcountry" class="select class" style="width:29%">
  91. <option value="0">未选择</option>
  92. {loop $country as $val}
  93. <option value="{$val['id']}">{$val['name']}</option>
  94. {/loop}
  95. </select><font style="color:#666"> 选择专属国家并开启自动分配,只有此国家才会自动分配</font>
  96. </li>
  97. <!--
  98. <li class="length">
  99. <em>仓库功能:</em>
  100. <input class="must powertext" value="" name="functiontext" type="text" style="width:72%">
  101. <input class="must powerid" value="" name="function" type="hidden">
  102. <span class="set powerbn" data-rows="null" data-class="powerid">设置</span>
  103. </li>
  104. -->
  105. <li>
  106. <em>公司名称:</em>
  107. <input class="must" value="" name="company" type="text" >
  108. </li>
  109. <li>
  110. <em>负责人:</em>
  111. <input class="must" value="" name="user" type="text" >
  112. </li>
  113. <li>
  114. <em>收货人名称</em>
  115. <input class="must" value="" name="name" type="text" >
  116. </li>
  117. <li>
  118. <em>收货人电话</em>
  119. <input class="must" value="" name="phone" type="text" >
  120. </li>
  121. <li>
  122. <em>国家:</em>
  123. <select name="country" class="select class">
  124. {loop $country as $val}
  125. <option value="{$val['id']}">{$val['name']}</option>
  126. {/loop}
  127. </select>
  128. </li>
  129. <li>
  130. <em>省/州:</em>
  131. <input class="must" value="" name="province" type="text" >
  132. </li>
  133. <li>
  134. <em>城市</em>
  135. <input class="must" value="" name="city" type="text" >
  136. </li>
  137. <li>
  138. <em>邮编</em>
  139. <input class="must" value="" name="zipcode" type="text" >
  140. </li>
  141. <li class="length">
  142. <em>地址</em>
  143. <input name="address" type="text" class="must" value="" maxlength="45" >
  144. </li>
  145. <li class="length">
  146. <em>地址2</em>
  147. <input name="address2" type="text" class="must" value="" maxlength="45" >
  148. </li>
  149. <li>
  150. <em>用友编码</em>
  151. <input class="must" value="" name="yybm" type="text" >
  152. </li>
  153. <div style="clear:both;"></div>
  154. </ul>
  155. <div class="button"><font class="datasave">提 交</font> <font class="fh">关 闭</font></div>
  156. </div>
  157. <script>var addedit="/warehouse/add/";var rowsurl="/warehouse/rows/";$(function () { $("#birthday").calendar();});</script>
  158. {Template footer}