merchantSelect.html
2.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<div class="form-group" ng-show="filter.factoryMerchantList.length > 1">
<label class="control-label" ng-repeat="userType in $root.allUserTypeList | filter:{confKey:5}">{{userType.confValue}}:</label>
<ui-select ng-model="filter.factoryMerchantList.selected" theme="select2" on-select="pickFactoryMerchant($select.selected.merchantId)" style="width: 200px;">
<ui-select-match placeholder="全部">
<span ng-bind="$select.selected.merchantName"></span>
</ui-select-match>
<ui-select-choices repeat="item in (filter.factoryMerchantList | filter: $select.search) track by $index">
<span ng-bind="item.merchantName"></span>
</ui-select-choices>
</ui-select>
</div>
<div class="form-group" ng-show="filter.provinceMerchantList.length > 1">
<label class="control-label" ng-repeat="userType in $root.allUserTypeList | filter:{confKey:4}">{{userType.confValue}}:</label>
<ui-select ng-model="filter.provinceMerchantList.selected" theme="select2" on-select="pickProvinceMerchant($select.selected.merchantId)" style="width: 200px;">
<ui-select-match placeholder="全部">
<span ng-bind="$select.selected.merchantName" ng-blur=""></span>
</ui-select-match>
<ui-select-choices repeat="item in (filter.provinceMerchantList | filter: $select.search) track by $index">
<span ng-bind="item.merchantName"></span>
</ui-select-choices>
</ui-select>
</div>
<div class="form-group" ng-show="filter.cityMerchantList.length > 1">
<label class="control-label" ng-repeat="userType in $root.allUserTypeList | filter:{confKey:3}">{{userType.confValue}}:</label>
<ui-select ng-model="filter.cityMerchantList.selected" theme="select2" on-select="pickCityMerchant($select.selected.merchantId)" style="width: 200px;">
<ui-select-match placeholder="全部">
<span ng-bind="$select.selected.merchantName"></span>
</ui-select-match>
<ui-select-choices repeat="item in (filter.cityMerchantList | filter: $select.search) track by $index">
<span ng-bind="item.merchantName"></span>
</ui-select-choices>
</ui-select>
</div>
<div class="form-group" ng-show="filter.merchantList.length > 1">
<label class="control-label" ng-repeat="userType in $root.allUserTypeList | filter:{confKey:2}">{{userType.confValue}}:</label>
<ui-select ng-model="filter.merchantList.selected" theme="select2" on-select="pickMerchant($select.selected.merchantId)" style="width: 200px;">
<ui-select-match placeholder="全部">
<span ng-bind="$select.selected.merchantName"></span>
</ui-select-match>
<ui-select-choices repeat="item in (filter.merchantList | filter: $select.search) track by $index">
<span ng-bind="item.merchantName"></span>
</ui-select-choices>
</ui-select>
</div>