devicemaster_add.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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="depart_id" class="select class">
  9. {loop $depart_list as $key=>$val}
  10. <option value="{$key}">{$val}</option>
  11. {/loop}
  12. </select>
  13. </li>
  14. <li>
  15. <em>组别:</em>
  16. <select name="type_id" class="select class">
  17. {loop $type_list as $key=>$val}
  18. <option value="{$key}">{$val}</option>
  19. {/loop}
  20. </select>
  21. </li>
  22. <li >
  23. <em>店铺:</em>
  24. <select name="shop_id" class="select class">
  25. {loop $shop_list as $key=>$val}
  26. <option value="{$key}">{$val}</option>
  27. {/loop}
  28. </select>
  29. </li>
  30. <li >
  31. <em>平台:</em>
  32. <select name="plat_id" class="select class">
  33. {loop $plat_list as $key=>$val}
  34. <option value="{$key}">{$val}</option>
  35. {/loop}
  36. </select>
  37. </li>
  38. <li >
  39. <em>状 态:</em>
  40. <select name="status" class="select class">
  41. <option value="1">正 常</option>
  42. <option value="0">停 用</option>
  43. </select>
  44. </li>
  45. <li>
  46. <em>手机型号:</em>
  47. <input class="must" value="" name="mobile_type" placeholder="请输入手机型号 如iphone 11" type="text" >
  48. </li>
  49. <li>
  50. <em>手机颜色:</em>
  51. <input class="must" value="" name="mobile_color" placeholder="请输入手机眼色 如白色" type="text" >
  52. </li>
  53. <li>
  54. <em>手机号码:</em>
  55. <input class="must" value="" name="mobile" placeholder="请输入手机号" type="text" >
  56. </li>
  57. <li>
  58. <em>手机使用人:</em>
  59. <input class="must" value="" placeholder="请输入目前拿手机的负责人" name="mobile_user" type="text" >
  60. </li>
  61. <li>
  62. <em>ID账号:</em>
  63. <input class="must" value="" placeholder="请输入ID账号" name="id_account" type="text" >
  64. </li>
  65. <li>
  66. <em>ID密码:</em>
  67. <input class="must" value="" placeholder="请输入ID密码" name="id_password" type="text" >
  68. </li>
  69. <li>
  70. <em>解锁密码:</em>
  71. <input class="must" value="" placeholder="请输入手机解锁密码" name="unlock_password" type="text" >
  72. </li>
  73. <li>
  74. <em>手机用途:</em>
  75. <input class="must" value="" placeholder="请输入手机用途 如销售 " name="purpose" type="text" >
  76. </li>
  77. <li class="length" >
  78. <em>备注信息:</em>
  79. <input class="must" value="" placeholder="请输入备注信息 如销售用 持卡人张三 。。。" name="remarks" type="text" >
  80. </li>
  81. <li class="length" style="width: 100%;border:1px solid #f5f5f5" id="append_box">
  82. <div >
  83. <a href="javascript:void(0)" style="line-height: 32px;padding: 6px 12px;color: #fff;background-color: #2084db;margin-right: 16px;border-radius: 5px;cursor: pointer;" onclick="tianjia()">添加注册信息</a>
  84. ps:为空的输入框后台不录入
  85. </div>
  86. <div id="base-div">
  87. <input value="" name="information[]" type="text" style="width: 85%;height: 24px;line-height: 24px;
  88. color: #000;border: 1px #ccc solid;font-size: 14px;text-indent: 10px;margin-top: 3px;">
  89. </div>
  90. </li>
  91. <div >
  92. </div>
  93. <div style="clear:both;"></div>
  94. </ul>
  95. <div class="button"><font class="datasave">提 交</font> <font class="fh">关 闭</font></div>
  96. </div>
  97. <script>
  98. function tianjia(){
  99. $("#append_box").append($("#base-div").html())
  100. }
  101. </script>
  102. <script>var addedit="/devicemaster/add/";</script>
  103. {Template footer}