浏览代码

汇总单页面优化

seimin 1 年之前
父节点
当前提交
d05d9805e2
共有 2 个文件被更改,包括 16 次插入4 次删除
  1. 8 2
      assets/views/system/tpl/gsChange.html
  2. 8 2
      assets/views/system/tpl/hcChange.html

+ 8 - 2
assets/views/system/tpl/gsChange.html

@@ -102,7 +102,7 @@
102 102
 <div class="modal-body margin-top-15 margin-left-15 margin-bottom-15 margin-right-15 addrequster">
103 103
     <form role="form" class="row">
104 104
         <div class="margin-left-30 margin-right-30 margin-top-20">
105
-            <div class="margin-bottom-15 anline">
105
+            <div class="margin-bottom-15 anline" ng-show="isAdd">
106 106
                 <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">工时:</div>
107 107
                 <div class="pull-right openaddinput fault">
108 108
                     <multi-select-tree
@@ -115,7 +115,7 @@
115 115
                         multi-select="true"
116 116
                         data-callback="onFilterCallback(item)"
117 117
                         data-select-only-leafs="true"
118
-                        reset-search-input="false"
118
+                        reset-search-input="true"
119 119
                         data-trans-label="workName"
120 120
                         data-switch-view="false"
121 121
                     >
@@ -123,6 +123,12 @@
123 123
                 </div>
124 124
             </div>
125 125
             <div class="margin-bottom-15 anline" ng-show="!isAdd">
126
+                <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">工时:</div>
127
+                <div class="pull-right openaddinput fault" style="padding-top: 2px;text-align: left;">
128
+                    {{dataInfo.workHourManagement[0].workName}}
129
+                </div>
130
+            </div>
131
+            <div class="margin-bottom-15 anline" ng-show="!isAdd">
126 132
                 <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14"><span class="red">*</span>数量:</div>
127 133
                 <div class="pull-right openaddinput">
128 134
                     <input style="width: 100%;" type="number" ng-model="dataInfo.num" ng-change="changeNum(dataInfo.num)" step="1" min="1">

+ 8 - 2
assets/views/system/tpl/hcChange.html

@@ -96,10 +96,10 @@
96 96
 <div class="modal-body margin-top-15 margin-left-15 margin-bottom-15 margin-right-15 addrequster">
97 97
     <form role="form" class="row">
98 98
         <div class="margin-left-30 margin-right-30 margin-top-20">
99
-            <div class="margin-bottom-15 anline">
99
+            <div class="margin-bottom-15 anline" ng-show="isAdd">
100 100
                 <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">耗材:</div>
101 101
                 <div class="pull-right openaddinput">
102
-                    <ui-select ng-model="dataInfo.consumable" theme="bootstrap" ng-disabled={{!isAdd}}>
102
+                    <ui-select ng-model="dataInfo.consumable" theme="bootstrap">
103 103
                         <ui-select-match placeholder="请选择耗材">
104 104
                             {{$select.selected.name}}
105 105
                         </ui-select-match>
@@ -109,6 +109,12 @@
109 109
                     </ui-select>
110 110
                 </div>
111 111
             </div>
112
+            <div class="margin-bottom-15 anline" ng-show="!isAdd">
113
+                <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">耗材:</div>
114
+                <div class="pull-right openaddinput fault" style="padding-top: 2px;text-align: left;">
115
+                    {{dataInfo.consumable.name}}
116
+                </div>
117
+            </div>
112 118
             <div class="margin-bottom-15 anline">
113 119
                 <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14"><span class="red">*</span>数量:</div>
114 120
                 <div class="pull-right openaddinput">