oilCarAdd.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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 tanklist2"
  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;">*</span></label>
  47. </th>
  48. <th width='20%'>
  49. <section>
  50. <label class="input">
  51. <input type="text" ng-model="oilCard.grainVarietyName"
  52. name="grainVarietyName" class="form-control" ng-readonly="true">
  53. </label>
  54. </section>
  55. </th>
  56. <th width='10%'>
  57. <label class="label" style="margin-top: 9px;text-align: center;">建卡日期<span style="color: red;">*</span></label>
  58. </th>
  59. <th width='20%'>
  60. <section>
  61. <label class="input">
  62. <input type="text" ng-model="oilCard.acceptDate"
  63. name="acceptDate" class="form-control Wdate"
  64. onClick="WdatePicker({lang:'zh-cn'})" required>
  65. </label>
  66. </section>
  67. </th>
  68. </tr>
  69. <tr>
  70. <th>
  71. <label class="label" style="margin-top: 9px;text-align: center;">类型<span style="color: red;">*</span></label>
  72. </th>
  73. <th width='20%'>
  74. <section>
  75. <label class="select">
  76. <select ng-model="oilCard.checkTypeNum" name="checkTypeNum" required>
  77. <option value="">--请选择--</option>
  78. <option value="0">入库</option>
  79. <option value="1">倒仓</option>
  80. <option value="2">移库</option>
  81. </select><i></i>
  82. </label>
  83. </section>
  84. </th>
  85. <th style="border-bottom-width:1px">
  86. <label class="label" style="margin-top: 9px;text-align: center;">数量(吨)<span style="color: red;margin-left: 5px;text-align: center;">*</span></label>
  87. </th>
  88. <th style="border-bottom-width:1px">
  89. <section>
  90. <label class="input">
  91. <input type="text" ng-model="oilCard.rksl"
  92. name="rksl" class="form-control" ng-readonly="true">
  93. </label>
  94. </section>
  95. </th>
  96. <th width='10%'>
  97. <label class="label" style="margin-top: 9px;text-align: center;">生产年度</label>
  98. </th>
  99. <th width='20%'>
  100. <section>
  101. <label class="input">
  102. <input type="text" ng-model="oilCard.scnd"
  103. name="scnd" class="form-control" ng-readonly="true">
  104. </label>
  105. </section>
  106. </th>
  107. </tr>
  108. <tr>
  109. <th>
  110. <label class="label" style="margin-top: 9px;text-align: center;">散存粮体积:</label>
  111. </th>
  112. <th>
  113. <section>
  114. <label class="input">
  115. <input type="text" ng-model="oilCard.looseGrainVolume"
  116. name="looseGrainVolume" class="form-control">
  117. </label>
  118. </section>
  119. </th>
  120. <th>
  121. <label class="label" style="margin-top: 9px;text-align: center;">存储类型:</label>
  122. </th>
  123. <th>
  124. <section>
  125. <label class="select">
  126. <select ng-model="oilCard.storeType" name="storeType">
  127. <option value="">--请选择--</option>
  128. <option value="1">直储</option>
  129. <option value="2">代储</option>
  130. </select><i></i>
  131. </label>
  132. </section>
  133. </th>
  134. <th style="border-bottom-width:1px">
  135. <label class="label" style="margin-top: 9px;text-align: center;">包存粮包数:</label>
  136. </th>
  137. <th style="border-bottom-width:1px">
  138. <section>
  139. <label class="input">
  140. <input type="text" ng-model="oilCard.grainPacks"
  141. name="grainPacks" class="form-control">
  142. </label>
  143. </section>
  144. </th>
  145. </tr>
  146. <tr>
  147. <th>
  148. <label class="label" style="margin-top: 9px;text-align: center;">轮换协议编号</label>
  149. </th>
  150. <th style="border-bottom-width:1px">
  151. <section>
  152. <label class="input">
  153. <input type="text" ng-model="oilCard.spareOne"
  154. name="spareOne" class="form-control">
  155. </label>
  156. </section>
  157. </th>
  158. <th>
  159. <label class="label" style="margin-top: 9px;text-align: center;">粮权所属:</label>
  160. </th>
  161. <th style="border-bottom-width:1px">
  162. <section>
  163. <label class="select">
  164. <select ng-model="oilCard.grainRights" name="grainRights" required>
  165. <option value="">--请选择--</option>
  166. <option value="1">市粮食局</option>
  167. <option value="2">{{orgInfo.orgName}}</option>
  168. </select><i></i>
  169. </label>
  170. </section>
  171. </th>
  172. <!-- <th colspan="4"></th> -->
  173. </tr>
  174. <tr>
  175. <th>
  176. <label class="label" style="margin-top: 9px;text-align: center;">备注</label>
  177. </th>
  178. <th style="border-bottom-width:1px" colspan="5">
  179. <section>
  180. <label class="input">
  181. <input type="text" ng-model="oilCard.remark"
  182. name="remark" class="form-control">
  183. </label>
  184. </section>
  185. </th>
  186. </tr>
  187. </table>
  188. <div>
  189. <footer class="text-align-center">
  190. <button type="button" class="btn btn-default" ng-click="retList()">取消</button>
  191. <button type="button" class="btn btn-primary" ng-click="save()">保存</button>
  192. </footer>
  193. </div>
  194. </fieldset>
  195. </form>
  196. </div>
  197. </div>
  198. </div>
  199. </article>
  200. </div>
  201. </section>
  202. </div>
  203. <script>
  204. $('.input1').attr("disabled",true);
  205. </script>