purchase_edit.html 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. <select name="monitor" class="select class">
  9. <option {if $purchase['monitor'] == 1}selected="selected"{/if} value="1">验正品</option>
  10. <option {if $purchase['monitor'] == 2}selected="selected"{/if} value="2">验次品</option>
  11. <option {if $purchase['monitor'] == 3}selected="selected"{/if} value="3">免检</option>
  12. <option {if $purchase['monitor'] == 4}selected="selected"{/if} value="4">全退</option>
  13. </select>
  14. </li>
  15. <li>
  16. <em>供应商名称:</em>
  17. <input class="must" value="{$purchase['title']}" name="title" type="text" >
  18. </li>
  19. <li>
  20. <em>编码:</em>
  21. <input class="must" value="{$purchase['bm']}" name="bm" type="text" >
  22. </li>
  23. <li>
  24. <em>用友编码:</em>
  25. <input class="must" value="{$purchase['yyid']}" name="yyid" type="text" >
  26. </li>
  27. <li>
  28. <em>排序:</em>
  29. <input class="must" value="{$purchase['px']}" name="px" type="text" > (从大到小)
  30. </li>
  31. <!--
  32. <li>
  33. <em>负责人:</em>
  34. <input class="must" value="{$purchase['user']}" name="user" type="text" >
  35. </li>
  36. <li>
  37. <em>联系电话</em>
  38. <input class="must" value="{$purchase['phone']}" name="phone" type="text" >
  39. </li>
  40. <li>
  41. <em>国家:</em>
  42. <select name="country" class="select class">
  43. {loop $country as $val}
  44. <option {if $purchase['country'] == $val['id']}selected="selected"{/if} value="{$val['id']}">{$val['name']}</option>
  45. {/loop}
  46. </select>
  47. </li>
  48. <li>
  49. <em>省/州:</em>
  50. <input class="must" value="{$purchase['province']}" name="province" type="text" >
  51. </li>
  52. <li>
  53. <em>城市</em>
  54. <input class="must" value="{$purchase['city']}" name="city" type="text" >
  55. </li>
  56. <li>
  57. <em>邮编</em>
  58. <input class="must" value="{$purchase['zipcode']}" name="zipcode" type="text" >
  59. </li>
  60. <li class="length">
  61. <em>地址</em>
  62. <input class="must" value="{$purchase['address']}" name="address" type="text" >
  63. </li>
  64. <li class="length">
  65. <em>价格表:</em>
  66. <input class="must powertext" value="{$purchase['pricetitle']}" name="pricetitle" type="text" style="width:72%">
  67. <input class="must powerid" value="{$purchase['price']}" name="price" type="hidden">
  68. <span class="set powerbn" data-rows="{$purchase['id']}" data-class="powerid">设置</span>
  69. </li>
  70. -->
  71. <div style="clear:both;"></div>
  72. </ul>
  73. <input type="hidden" name="id" value="{$purchase['id']}" />
  74. <div class="button"><font class="datasave">提 交</font> <font class="fh">关 闭</font></div>
  75. </div>
  76. <script>var addedit="/purchase/edit/";var rowsurl="/purchase/rows/"; $(function () { $("#birthday").calendar();$("#entrytime").calendar();});</script>
  77. <script type="text/javascript" src="{$theme}js/time.js"></script>
  78. {Template footer}