keepTotalAccount-edit.html 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. <!-- MAIN CONTENT -->
  2. <div id="content">
  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"
  11. data-widget-colorbutton="false" data-widget-editbutton="false"
  12. data-widget-custombutton="false">
  13. <!-- widget div-->
  14. <div>
  15. <!-- widget content -->
  16. <div class="widget-body no-padding">
  17. <form id="basicStorehouse-form" name='basicStorehouse-form'
  18. class="smart-form ng-pristine ng-valid"
  19. ng-submit='basicStorehouse-form.$valid&&save(basicStorehouse)'
  20. novalidate="novalidate">
  21. <header>
  22. <a href-void class="btn btn-default btn-xs" ng-click="retList()">
  23. <i class="fa fa-angle-left"></i>&nbsp;返回&nbsp;
  24. </a>
  25. &nbsp;<strong>记账</strong>
  26. <span class="pull-right font-xs">带*的部分必须填写</span>
  27. </header>
  28. <fieldset>
  29. <table class="table table-striped table-bordered table-hover" width="100%">
  30. <tr>
  31. <th>
  32. <label class="label" style="margin-top: 9px;text-align: center;">粮库名称</label>
  33. </th>
  34. <th>
  35. <label class="input">
  36. <input type="text" ng-model="fcbgz.lcmc" ng-readonly="true">
  37. </label>
  38. </th>
  39. <th>
  40. <label class="label" style="margin-top: 9px;text-align: center;">粮油性质</label>
  41. </th>
  42. <th>
  43. <label class="input">
  44. <input type="text" ng-model="fcbgz.hwxz" ng-readonly="true">
  45. </label>
  46. <input type="hidden" ng-model="account.hwxz" />
  47. </th>
  48. <th>
  49. <label class="label" style="margin-top: 9px;text-align: center;">粮油品种</label>
  50. </th>
  51. <th>
  52. <label class="input">
  53. <input type="text" ng-model="fcbgz.lspz" ng-readonly="true">
  54. </label>
  55. <input type="hidden" ng-model="account.lspz" />
  56. </th>
  57. </tr>
  58. <tr>
  59. <th>
  60. <label class="label" style="margin-top: 9px;text-align: center;">摘要</label>
  61. </th>
  62. <th>
  63. <label class="input">
  64. <input type="text" ng-model="account.remark" ng-readonly="true" class="form-control" />
  65. </label>
  66. </th>
  67. <th>
  68. <label class="label" style="margin-top: 9px;text-align: center;">计划文件号</label>
  69. </th>
  70. <th>
  71. <label class="input">
  72. <input type="text" ng-model="account.wjh" ng-readonly="true" class="form-control" />
  73. </label>
  74. </th>
  75. <th>
  76. <label class="label" style="margin-top: 9px;text-align: center;">日期</label>
  77. </th>
  78. <th>
  79. <label class="input">
  80. <input type="text" ng-model="account.rq" ng-disabled="true" class="form-control" />
  81. </label>
  82. </th>
  83. </tr>
  84. <tr>
  85. <th>
  86. <label class="label" style="margin-top: 9px;text-align: center;">入库数量</label>
  87. </th>
  88. <th>
  89. <label class="input">
  90. <input type="text" ng-model="account.srsl" ng-readonly="true" class="form-control" />
  91. </label>
  92. </th>
  93. <th>
  94. <label class="label" style="margin-top: 9px;text-align: center;">出库数量</label>
  95. </th>
  96. <th>
  97. <label class="input">
  98. <input type="text" ng-model="account.zcsl" ng-readonly="true" class="form-control" />
  99. </label>
  100. </th>
  101. <th>
  102. <label class="label" style="margin-top: 9px;text-align: center;">库存数量</label>
  103. </th>
  104. <th>
  105. <label class="input">
  106. <input type="text" ng-model="account.kcsl" ng-readonly="true" class="form-control" />
  107. </label>
  108. </th>
  109. </tr>
  110. <tr>
  111. <th>
  112. <label class="label" style="margin-top: 9px;text-align: center;">记账人</label>
  113. </th>
  114. <th>
  115. <label class="input">
  116. <input type="text" ng-model="account.accountingPerson" name="accountingPerson" class="form-control" ng-readonly="true">
  117. </label>
  118. </th>
  119. <th>
  120. <label class="label" style="margin-top: 9px;text-align: center;">记账时间</label>
  121. </th>
  122. <th>
  123. <label class="input">
  124. <input type="text" ng-model="account.accountingDate" ng-disabled="accounting_isNotEdit"
  125. name="accountingDate" required class="form-control datepicker" data-smart-datepicker>
  126. </label>
  127. </th>
  128. <th>
  129. <label class="label" ng-hide="auditor_th" style="margin-top: 9px;text-align: center;">审核人</label>
  130. </th>
  131. <th>
  132. <label class="input">
  133. <input type="text" ng-hide="auditor_th" ng-model="account.auditor" name="auditor" class="form-control" ng-readonly="true">
  134. </label>
  135. </th>
  136. </tr>
  137. <tr>
  138. <th>
  139. <label class="label" style="margin-top: 9px;text-align: center;">损失损耗(Kg)</label>
  140. </th>
  141. <th>
  142. <label class="input">
  143. <input type="text" ng-model="account.sssh" ng-readonly="butType != 0" class="form-control" />
  144. </label>
  145. </th>
  146. <th>
  147. <label class="label" style="margin-top: 9px;text-align: center;">折标水杂数量(Kg)</label>
  148. </th>
  149. <th>
  150. <label class="input">
  151. <input type="text" ng-model="account.zbszsl" ng-readonly="butType != 0" class="form-control" />
  152. </label>
  153. </th>
  154. <th colspan="2"></th>
  155. </tr>
  156. <tr ng-hide="auditor_th">
  157. <th>
  158. <label class="label" style="margin-top: 9px;text-align: center;">审核时间</label>
  159. </th>
  160. <th>
  161. <label class="input">
  162. <input type="text" ng-model="account.auditorDate" ng-disabled="auditor_isNotEdit"
  163. name="auditorDate" required class="form-control datepicker" data-smart-datepicker>
  164. </label>
  165. </th>
  166. <th>
  167. <label class="label" style="margin-top: 9px;text-align: center;">审核意见</label>
  168. </th>
  169. <th colspan="3">
  170. <label class="textarea">
  171. <textarea required ng-disabled="auditor_isNotEdit" rows="3" ng-model="account.auditorOpinion" name="auditorOpinion" oninput="if(value.length>255) value=value.slice(0,255)"></textarea>
  172. </label>
  173. </th>
  174. </tr>
  175. <tr ng-hide="auditor_th">
  176. </tr>
  177. </table>
  178. </fieldset>
  179. <footer class="modal-footer text-align-center">
  180. <button ng-click="retList()" class="btn btn-default btn-lg" data-dismiss="modal">取消</button>
  181. <button ng-click="submit()" type="button" class="btn btn-primary btn-lg" ng-hide="isNotEdit">提交</button>
  182. </footer>
  183. </form>
  184. </div>
  185. </div>
  186. </article>
  187. </div>
  188. </section>
  189. </div>