add_haocai.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <style>
  2. .bootstrap-touchspin .input-group-btn-vertical>.btn {
  3. padding: 6px 10px;
  4. /* padding-top: 5px !important; */
  5. }
  6. .bootstrap-touchspin .input-group-btn-vertical i {
  7. top: 0px;
  8. }
  9. .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down {
  10. margin-top: 0px;
  11. }
  12. /*
  13. .form-control {
  14. height: 28px;
  15. } */
  16. .input-group-addon:not(:first-child):not(:last-child),
  17. .input-group-btn:not(:first-child):not(:last-child),
  18. .input-group .form-control:not(:first-child):not(:last-child) {
  19. border-radius: 2px;
  20. }
  21. .btn.btnopen {
  22. padding: 3px 8px;
  23. }
  24. </style>
  25. <div class="modal-header">
  26. <div class="modal-title fontcolor-two fontsizes-14">{{title}}<button type="button" class="close pull-right" ng-click="cancel()">×</button></div>
  27. </div>
  28. <div class="modal-body margin-top-15 margin-left-15 margin-bottom-15 margin-right-15 addrequster">
  29. <form role="form" class="row margin-bottom-5">
  30. <div class="col-xs-12 margin-top-10">
  31. <div class="control-label fontcolor-two fontsizes-14 col-xs-12"><span>*</span>耗材名称:</div>
  32. <div class="col-xs-12">
  33. <div class="input-group">
  34. <ui-select ng-model="consumptive.name" theme="bootstrap" ng-change="onChange(consumptive.name)">
  35. <ui-select-match placeholder="选择耗材名称">
  36. {{$select.selected.name}}
  37. </ui-select-match>
  38. <ui-select-choices repeat="item in haocainame | filter: $select.search">
  39. <div ng-bind-html="item.name | highlight: $select.search"></div>
  40. </ui-select-choices>
  41. </ui-select>
  42. </div>
  43. </div>
  44. </div>
  45. <div class="col-xs-12 margin-top-10 ">
  46. <div class="control-label fontcolor-two fontsizes-14 col-xs-12 "><span>*</span>品牌/型号:</div>
  47. <div class="col-xs-12 ">
  48. <div class="input-group">
  49. <ui-select ng-model="consumptive.model" theme="bootstrap" ng-change="onChangesum(consumptive)">
  50. <ui-select-match placeholder="请填写品牌/型号">
  51. {{$select.selected.name}}
  52. </ui-select-match>
  53. <ui-select-choices repeat="item in pinpai | filter: $select.search">
  54. <div ng-bind-html="item.name | highlight: $select.search"></div>
  55. </ui-select-choices>
  56. </ui-select>
  57. </div>
  58. </div>
  59. </div>
  60. <div class="col-xs-12 margin-top-10 ">
  61. <div class="control-label fontcolor-two fontsizes-14 col-xs-12 "><span>*</span>规格:</div>
  62. <div class="col-xs-12 ">
  63. <div class="input-group">
  64. <!-- <input class="form-controlopen " ng-model="consumptive.Specifications " placeholder="请填写规格 " /> -->
  65. <ui-select ng-model="consumptive.Specifications" theme="bootstrap" ng-change="onChangesum(consumptive)">
  66. <ui-select-match placeholder="请填写规格">
  67. {{$select.selected.name}}
  68. </ui-select-match>
  69. <ui-select-choices repeat="item in guige | filter: $select.search">
  70. <div ng-bind-html="item.name | highlight: $select.search"></div>
  71. </ui-select-choices>
  72. </ui-select>
  73. </div>
  74. </div>
  75. </div>
  76. <div class="col-xs-12 margin-top-10 margin-bottom-10 ">
  77. <div class="control-label fontcolor-two fontsizes-14 col-xs-12 "><span>*</span>入库数量:</div>
  78. <div class="col-xs-12 ">
  79. <!-- <input ng-model="consumptive.sum " /> -->
  80. <!-- <input class="form-controlopen " type="text" value="0" touchspin data-verticalbuttons="true" data-verticalupclass="ti-angle-up" ng-model="consumptive.sum " data-verticaldownclass="ti-angle-down" placeholder="最大数量{{maxsum}}"> -->
  81. <input class="form-controlopen " ng-keyup="clearNoNum(consumptive,'sum')" type="text" max={{maxsum}} ng-model="consumptive.sum" placeholder="最大数量{{maxsum}}">
  82. </div>
  83. </div>
  84. </form>
  85. </div>
  86. <div class="modal-footer ">
  87. <button class="btn btn-primary " ng-click="ok(consumptive) " data-dismiss="modal" translate="modal.button.OK ">OK</button>
  88. <button class="btn btn-primary btn-o " ng-click="cancel() " translate="modal.button.CANCEL ">Cancel</button>
  89. </div>