oilCarAdd.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. <!-- MAIN CONTENT -->
  2. <div id="content" style=" border-width:5px; margin-left:2%;position:relative;margin-right:2%;">
  3. <!-- widget grid -->
  4. <section id="widget-grid" widget-grid>
  5. <!-- START ROW -->
  6. <div class="row">
  7. <!-- NEW COL START -->
  8. <article class="col-sm-12 col-md-12 col-lg-12">
  9. <!-- Widget ID (each widget will need unique ID)-->
  10. <div jarvis-widget id="form-grid-widget" data-widget-colorbutton="false" data-widget-editbutton="false"
  11. data-widget-custombutton="false">
  12. <div>
  13. <!-- widget content -->
  14. <div class="widget-body no-padding">
  15. <form id="oilCardAdd-form" class="smart-form ng-pristine ng-valid"
  16. data-validator-option="validateOptions" novalidate="novalidate"
  17. style=" border-width:5px; margin-left:2%;position:relative;margin-right:2%;">
  18. <header>
  19. <a href-void class="btn btn-default btn-xs" ng-click="retList()">
  20. <i class="fa fa-angle-left"></i>&nbsp;返回&nbsp;
  21. </a>
  22. &nbsp;<strong>原油油情卡编辑</strong>
  23. <!-- <span class="pull-right font-xs">带*的部分必须填写</span> -->
  24. </header>
  25. <fieldset>
  26. <!--油罐-->
  27. <table class="table table-striped table-bordered table-hover" width="100%">
  28. <tr>
  29. <th width='10%'>
  30. <label class="label" style="margin-top: 9px;text-align: center;">油罐名称<span style="color: red;">*</span></label>
  31. </th>
  32. <th width='20%'>
  33. <section>
  34. <label class="select">
  35. <select ng-model="oilCard.storehouseId" name="storehouseId"
  36. ng-disabled="isNotEdit"
  37. ng-options="store.storehouseId as store.storehouseName for store in tanklist"
  38. ng-change="findQualityCheck(oilCard.storehouseId)"
  39. required>
  40. <option value="">--请选择--</option>
  41. </select><i></i>
  42. </label>
  43. </section>
  44. </th>
  45. <th width='10%'>
  46. <label class="label" style="margin-top: 9px;text-align: center;">粮权所属:<span style="color: red;margin-left: 5px;text-align: center;">*</span></label>
  47. </th>
  48. <th width='20%'>
  49. <section>
  50. <label class="select">
  51. <label class="select">
  52. <select ng-model="oilCard.grainRights" name="grainRights" ng-disabled="isNotEdit" required>
  53. <option value="">--请选择--</option>
  54. <option value="天津市人民政府">天津市人民政府</option>
  55. <option value="和平区人民政府">和平区人民政府</option>
  56. <option value="河东区人民政府">河东区人民政府</option>
  57. <option value="河西区人民政府">河西区人民政府</option>
  58. <option value="南开区人民政府">南开区人民政府</option>
  59. <option value="河北区人民政府">河北区人民政府</option>
  60. <option value="红桥区人民政府">红桥区人民政府</option>
  61. <option value="东丽区人民政府">东丽区人民政府</option>
  62. <option value="西青区人民政府">西青区人民政府</option>
  63. <option value="津南区人民政府">津南区人民政府</option>
  64. <option value="北辰区人民政府">北辰区人民政府</option>
  65. <option value="武清区人民政府">武清区人民政府</option>
  66. <option value="宝坻区人民政府">宝坻区人民政府</option>
  67. <option value="滨海新区人民政府">滨海新区人民政府</option>
  68. <option value="宁河区人民政府">宁河区人民政府</option>
  69. <option value="静海区人民政府">静海区人民政府</option>
  70. <option value="蓟州区人民政府">蓟州区人民政府</option>
  71. </select><i></i>
  72. </label><i></i>
  73. </label>
  74. </section>
  75. </th>
  76. <th width='10%'>
  77. <label class="label" style="margin-top: 9px;text-align: center;">粮油品种</label>
  78. </th>
  79. <th width='20%'>
  80. <section>
  81. <label class="input">
  82. <input type="text" ng-model="oilCard.grainVarietyName"
  83. name="grainVarietyName" class="form-control" ng-readonly="true">
  84. </label>
  85. </section>
  86. </th>
  87. </tr>
  88. <tr>
  89. <th style="border-bottom-width:1px">
  90. <label class="label" style="margin-top: 9px;text-align: center;">库存数量(吨)</label>
  91. </th>
  92. <th style="border-bottom-width:1px">
  93. <section>
  94. <label class="input">
  95. <input type="text" ng-model="oilCard.rksl"
  96. name="rksl" class="form-control" ng-readonly="true">
  97. </label>
  98. </section>
  99. </th>
  100. <th width='10%'>
  101. <label class="label" style="margin-top: 9px;text-align: center;">生产年度</label>
  102. </th>
  103. <th width='20%'>
  104. <section>
  105. <label class="input">
  106. <input type="text" ng-model="oilCard.scnd" name="scnd" class="form-control" ng-readonly="true">
  107. </label>
  108. </section>
  109. </th>
  110. <th>
  111. <label class="label" style="margin-top: 9px;text-align: center;">入罐时间(第一车):</label>
  112. </th>
  113. <th>
  114. <section>
  115. <label class="input">
  116. <input type="text" ng-model="rcsj" name="rcsj" class="form-control Wdate" ng-disabled="true"
  117. onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
  118. </label>
  119. </section>
  120. </th>
  121. </tr>
  122. <tr>
  123. <th>
  124. <label class="label" style="margin-top: 9px;text-align: center;">入罐时间(最后一车):</label>
  125. </th>
  126. <th>
  127. <section>
  128. <label class="input">
  129. <input type="text" ng-model="rksj" name="rksj" class="form-control Wdate" ng-disabled="true"
  130. onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
  131. </label>
  132. </section>
  133. </th>
  134. <th>
  135. <label class="label" style="margin-top: 9px;text-align: center;">实际储油高度(米):<span style="color: red;">*</span></label>
  136. </th>
  137. <th>
  138. <section>
  139. <label class="input">
  140. <input type="text" ng-model="oilCard.csscldg" name="csscldg" ng-readonly="isNotEdit"
  141. class="form-control" checkHeight=true required />
  142. </label>
  143. </section>
  144. </th>
  145. <th>
  146. <label class="label" style="margin-top: 9px;text-align: center;">业务类型:<span style="color: red;">*</span></label>
  147. </th>
  148. <th width='20%'>
  149. <section>
  150. <label class="select">
  151. <select ng-model="oilCard.checkTypeNum" name="checkTypeNum" required ng-disabled="isNotEdit">
  152. <option value="">--请选择--</option>
  153. <option value="0">入库</option>
  154. <option value="1">倒仓</option>
  155. <option value="2">移库</option>
  156. </select><i></i>
  157. </label>
  158. </section>
  159. </th>
  160. </tr>
  161. <tr>
  162. <th width='10%'>
  163. <label class="label" style="margin-top: 9px;text-align: center;">油罐状态</label>
  164. </th>
  165. <th width='20%'>
  166. <section>
  167. <label class="input">
  168. <input type="text" ng-model="ygzt" name="ygzt" class="form-control" />
  169. </label>
  170. </section>
  171. </th>
  172. <th>
  173. <label class="label" style="margin-top: 9px;text-align: center;">建卡人:</label>
  174. </th>
  175. <th>
  176. <section>
  177. <label class="input">
  178. <input type="text" ng-model="oilCard.jkr" name="jkr" ng-readonly="true"
  179. class="form-control" required />
  180. </label>
  181. </section>
  182. </th>
  183. <th width='10%'>
  184. <label class="label" style="margin-top: 9px;text-align: center;">建卡时间<span style="color: red;">*</span></label>
  185. </th>
  186. <th width='20%'>
  187. <section>
  188. <label class="input">
  189. <input type="text" ng-model="oilCard.acceptDate"
  190. name="acceptDate" class="form-control Wdate"
  191. onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})" required>
  192. </label>
  193. </section>
  194. </th>
  195. </tr>
  196. <tr>
  197. <th>
  198. <label class="label" style="margin-top: 9px;text-align: center;">备注</label>
  199. </th>
  200. <th style="border-bottom-width:1px" colspan="5">
  201. <section>
  202. <label class="input">
  203. <input type="text" ng-model="oilCard.remark"
  204. name="remark" class="form-control">
  205. </label>
  206. </section>
  207. </th>
  208. </tr>
  209. </table>
  210. <div>
  211. <footer class="text-align-center">
  212. <button type="button" class="btn btn-default" ng-click="retList()">取消</button>
  213. <!-- <button type="button" class="btn btn-primary" ng-click="save(1)">保存</button> -->
  214. <button type="button" class="btn btn-primary" ng-click="save(2)">提交</button>
  215. </footer>
  216. </div>
  217. </fieldset>
  218. </form>
  219. </div>
  220. </div>
  221. </div>
  222. </article>
  223. </div>
  224. </section>
  225. </div>
  226. <script>
  227. $('.input1').attr("disabled",true);
  228. </script>