浏览代码

feat: 耗材增加单位

seimin 11 月之前
父节点
当前提交
b3a4bb6ce6
共有 2 个文件被更改,包括 102 次插入218 次删除
  1. 80 198
      assets/js/controllers/consumables/consumablesCtrl.js
  2. 22 20
      assets/views/consumables/list.html

+ 80 - 198
assets/js/controllers/consumables/consumablesCtrl.js

@@ -6,10 +6,9 @@ app.controller('hc_consumablesCtrl', ["$scope", "$http", "i18nService", "$rootSc
6 6
     i18nService.setCurrentLang($scope.lang);
7 7
     $scope.myData = [];
8 8
     var loginUser = $rootScope.user;
9
-    // $scope.searchData = function(){
10
-    //     $scope.fileData.consumable["name"] = $scope.select_val.search_data.name;
11
-    //     $scope.refreshData('expand-right', $scope.fileData);
12
-    // }
9
+    $scope.searchData = function(){
10
+        $scope.refreshData('expand-right', $scope.fileData);
11
+    }
13 12
 
14 13
     // 修改供货公司
15 14
     $scope.changeCompany = function(e){
@@ -34,6 +33,7 @@ app.controller('hc_consumablesCtrl', ["$scope", "$http", "i18nService", "$rootSc
34 33
     }
35 34
     // 清空表单
36 35
     $scope.clearForm = function(){
36
+        $rootScope.hc_eject_unit = '';
37 37
         $rootScope.hc_eject_name_caozuo = '';
38 38
         $rootScope.hc_eject_brandModel_caozuo = '';
39 39
         $rootScope.hc_eject_specification_caozuo = '';
@@ -45,6 +45,7 @@ app.controller('hc_consumablesCtrl', ["$scope", "$http", "i18nService", "$rootSc
45 45
         $rootScope.hc_eject_inventorySum_caozuo = '';
46 46
         delete $rootScope.hc_eject_id_caozuo;
47 47
         // -------------------
48
+        $scope.hc.unit = ''
48 49
         $scope.select_updata_name.updata_name = {name:''};
49 50
         $scope.select_updata_pinpai.updata_pinpai = {name:''};
50 51
         $scope.select_updata_guige.updata_guige = {name:''};
@@ -65,92 +66,12 @@ app.controller('hc_consumablesCtrl', ["$scope", "$http", "i18nService", "$rootSc
65 66
         // $rootScope.hc_toedit = "new_after";
66 67
     }
67 68
     // 监听下拉框搜索
68
-    $scope.$watch('select_val.search_data', function (val) {
69
-        // if (val == undefined) {
70
-        //     $scope.wt_data_display = true;
71
-        // } else if (val.name == '全部') {
72
-        //     wt_data = { consumable: {} };
73
-        //     $scope.wt_data_display = false;
74
-        //     if ($scope.fenye == undefined) {
75
-        //         $scope.fenye = 0
76
-        //     };
77
-        //     $scope.memoryfilterData = {
78
-        //             idx: $scope.fenye,
79
-        //             sum: 10
80
-        //         }
81
-        //         //获取列表数据
82
-        //     $scope.refreshData = function(style, filterData) {
83
-        //         // var data1={idx: 0, sum: 10};
84
-        //         var pdKey = "consumable";
85
-        //         $scope.myData = [];
86
-        //         api_cmdb3.fetchDataList(pdKey, filterData).then(function(data) {
87
-        //             // console.log(data.list);
88
-        //             if (data.list) {
89
-        //                 var myData = Restangular.stripRestangular(data);
90
-        //                 var list = [];
91
-        //                 $scope.gridOptions['totalItems'] = myData.totalNum;
92
-        //                 $scope.myData = myData.list;
93
-        //                 for (var i = 0; i < $scope.myData.length; i++) {
94
-        //                     $scope.myData[i]['item'] = i + 1 + filterData.idx * filterData.sum
95
-        //                 }
96
-        //             } else {
97
-        //                 SweetAlert.swal({
98
-        //                     title: "系统错误",
99
-        //                     text: "请稍后再试!",
100
-        //                     type: "error"
101
-        //                 });
102
-        //             }
103
-        //             $scope.ldloading[style.replace('-', '_')] = false;
104
-        //         }, function() {
105
-        //             $scope.ldloading[style.replace('-', '_')] = false;
106
-        //         });
107
-        //     };
108
-        //     $scope.refreshData('expand-right', $scope.memoryfilterData);
109
-        // } else {
110
-        //     wt_data = { consumable: { "name": val.name } };
111
-        //     $scope.wt_data_display = false;
112
-        //     if ($scope.fenye == undefined) {
113
-        //         $scope.fenye = 0
114
-        //     };
115
-        //     $scope.memoryfilterData = {
116
-        //             idx: $scope.fenye,
117
-        //             sum: 10,
118
-        //             consumable: { "name": val.name }
119
-        //         }
120
-        //         //获取列表数据
121
-        //     $scope.refreshData = function(style, filterData) {
122
-        //         var pdKey = "consumable";
123
-        //         $scope.myData = [];
124
-        //         // $scope.gridOptions['sum'] = filterData.sum;
125
-        //         api_cmdb3.fetchDataList(pdKey, filterData).then(function(data) {
126
-        //             // console.log(data.list);
127
-        //             if (data.list) {
128
-        //                 var myData = Restangular.stripRestangular(data);
129
-        //                 var list = [];
130
-        //                 $scope.gridOptions['totalItems'] = myData.totalNum;
131
-        //                 $scope.myData = myData.list;
132
-        //                 for (var i = 0; i < $scope.myData.length; i++) {
133
-        //                     $scope.myData[i]['item'] = i + 1 + filterData.idx * filterData.sum
134
-        //                 }
135
-        //             } else {
136
-        //                 SweetAlert.swal({
137
-        //                     title: "系统错误",
138
-        //                     text: "请稍后再试!",
139
-        //                     type: "error"
140
-        //                 });
141
-        //             }
142
-        //             $scope.ldloading[style.replace('-', '_')] = false;
143
-        //         }, function() {
144
-        //             $scope.ldloading[style.replace('-', '_')] = false;
145
-        //         });
146
-        //     };
147
-        //     $scope.refreshData('expand-right', $scope.memoryfilterData);
148
-        // }
149
-        if (val) {
150
-            $scope.fileData.consumable["keyWord"] = val.name;
151
-            $scope.refreshData('expand-right', $scope.fileData);
152
-        }
153
-    })
69
+    // $scope.$watch('select_val.search_data', function (val) {
70
+    //     if (val) {
71
+    //         $scope.fileData.consumable["keyWord"] = val.name;
72
+    //         $scope.refreshData('expand-right', $scope.fileData);
73
+    //     }
74
+    // })
154 75
     $scope.new_data = function () {
155 76
         $scope.myData = [];
156 77
         $scope.refreshData('expand-right', $scope.memoryfilterData);
@@ -161,6 +82,7 @@ app.controller('hc_consumablesCtrl', ["$scope", "$http", "i18nService", "$rootSc
161 82
     // $rootScope.hc_toedit = "new_top";
162 83
     // 关闭编辑弹出框
163 84
     $scope.close = function () {
85
+        $rootScope.hc_eject_unit = '';
164 86
         $rootScope.hc_eject_name_caozuo = '';
165 87
         $rootScope.hc_eject_brandModel_caozuo = '';
166 88
         $rootScope.hc_eject_specification_caozuo = '';
@@ -197,7 +119,7 @@ app.controller('hc_consumablesCtrl', ["$scope", "$http", "i18nService", "$rootSc
197 119
             });
198 120
         }
199 121
     })
200
-    // $scope.hc_eject_title = '';//耗材名称
122
+
201 123
     // 下拉框名称
202 124
     $scope.$watch('select_updata_name.updata_name', function (val) {
203 125
         // console.log(val);
@@ -205,31 +127,7 @@ app.controller('hc_consumablesCtrl', ["$scope", "$http", "i18nService", "$rootSc
205 127
         if (!val.name) {
206 128
 
207 129
         } else {
208
-            // $scope.hc_eject_name = val.name;
209
-            // // 耗材查询品牌
210
-            // $scope.refreshDat_pinpai = function() {
211
-            //     var dat = {
212
-            //         "key": "pinpai",
213
-            //         parent: val.id
214
-            //     }
215
-            //     api_cmdb4.fetchDataList(dat).then(function(data) {
216
-            //         $scope.updata_pinpai = data;
217
-            //     });
218
-            // }
219
-            // $scope.refreshDat_pinpai();
220
-            // // 耗材查询规格
221
-            // $scope.refreshDat_guige = function() {
222
-            //     var dat = {
223
-            //         "key": "guige",
224
-            //         parent: val.id
225
-            //     }
226
-            //     api_cmdb4.fetchDataList(dat).then(function(data) {
227
-            //         $scope.updata_guige = data;
228
-            //     });
229
-            // }
230
-            // $scope.refreshDat_guige();
231 130
             $scope.hc_eject_name = val.name;
232
-            // $scope.hc_eject_title = val.name;
233 131
             // 耗材查询品牌
234 132
             $scope.refreshDat_pinpai = function () {
235 133
                 var dat = {
@@ -427,6 +325,10 @@ app.controller('hc_consumablesCtrl', ["$scope", "$http", "i18nService", "$rootSc
427 325
             }
428 326
         });
429 327
     })
328
+    // 单位hc_eject_unit
329
+    $scope.$watch('hc_eject_unit', function (val) {
330
+        $scope.hc.unit = val;
331
+    })
430 332
     // 费用区间开始hc_eject_startPrice_caozuo
431 333
     $scope.$watch('hc_eject_startPrice_caozuo', function (val) {
432 334
         $scope.startPrice = val;
@@ -465,6 +367,9 @@ app.controller('hc_consumablesCtrl', ["$scope", "$http", "i18nService", "$rootSc
465 367
     $scope.isWarehousing = 0;
466 368
     $scope.hc_eject_inventorySum = '';
467 369
     $scope.updata_company = [];
370
+    $scope.hc = {
371
+        unit: '',//单位
372
+    }
468 373
 
469 374
     $scope.preservation = function () {
470 375
         if (!$scope.select_updata_name.updata_name.name
@@ -485,6 +390,7 @@ app.controller('hc_consumablesCtrl', ["$scope", "$http", "i18nService", "$rootSc
485 390
             var edit_data = {
486 391
                 "consumable": {
487 392
                     "name": $scope.select_updata_name.updata_name.name,
393
+                    "unit": $scope.hc.unit,
488 394
                     "brandModel": $scope.select_updata_pinpai.updata_pinpai.name,
489 395
                     "specification": $scope.select_updata_guige.updata_guige.name,
490 396
                     isInventory:$scope.isWarehousing,
@@ -504,32 +410,6 @@ app.controller('hc_consumablesCtrl', ["$scope", "$http", "i18nService", "$rootSc
504 410
             }
505 411
             api_cmdb3[$rootScope.isAdds?'addData':'preservation'](pdKey, edit_data).then(function (data) {
506 412
                 if (data.status == 200) {
507
-                    // $scope.refreshData = function(style, filterData) {
508
-                    //     var pdKey = "consumable";
509
-                    //     $scope.myData = [];
510
-                    //     $scope.gridOptions['sum'] = filterData.sum;
511
-                    //     api_cmdb3.fetchDataList(pdKey, filterData).then(function(data) {
512
-                    //         // console.log(data.list);
513
-                    //         if (data.list) {
514
-                    //             var myData = Restangular.stripRestangular(data);
515
-                    //             var list = [];
516
-                    //             $scope.gridOptions['totalItems'] = myData.totalNum;
517
-                    //             $scope.myData = myData.list;
518
-                    //             for (var i = 0; i < $scope.myData.length; i++) {
519
-                    //                 $scope.myData[i]['item'] = i + 1 + filterData.idx * filterData.sum
520
-                    //             }
521
-                    //         } else {
522
-                    //             SweetAlert.swal({
523
-                    //                 title: "系统错误",
524
-                    //                 text: "请稍后再试!",
525
-                    //                 type: "error"
526
-                    //             });
527
-                    //         }
528
-                    //         $scope.ldloading[style.replace('-', '_')] = false;
529
-                    //     }, function() {
530
-                    //         $scope.ldloading[style.replace('-', '_')] = false;
531
-                    //     });
532
-                    // };
533 413
                     $scope.refreshData('expand-right', $scope.fileData);
534 414
                     SweetAlert.swal({
535 415
                         title: ($rootScope.isAdds?'新增':'修改')+"成功",
@@ -629,22 +509,23 @@ app.controller('hc_consumablesCtrl', ["$scope", "$http", "i18nService", "$rootSc
629 509
             '</div>'
630 510
     },
631 511
     {
632
-        name: 'pdCode',
633
-        displayName: 'SPDCODE',
634
-        width: '14%',
512
+        name: 'spdCode',
513
+        displayName: '耗材编码',
514
+        minWidth: '120',
635 515
     },
636 516
     {
637 517
         name: 'name',
638 518
         displayName: '耗材名称',
639
-        width: '14%',
519
+        minWidth: '120',
640 520
         cellTemplate: '<div>' +
641 521
             '<div class="ui-grid-cell-contents">{{row.entity.name}}</div>' +
642 522
             '</div>'
643 523
     },
524
+
644 525
     {
645 526
         name: 'brandModel',
646 527
         displayName: '品牌型号',
647
-        width: '14%',
528
+        minWidth: '120',
648 529
         cellTemplate: '<div>' +
649 530
             '<div class="ui-grid-cell-contents">{{row.entity.brandModel}}</div>' +
650 531
             '</div>'
@@ -652,16 +533,19 @@ app.controller('hc_consumablesCtrl', ["$scope", "$http", "i18nService", "$rootSc
652 533
     {
653 534
         name: 'specification',
654 535
         displayName: '规格',
655
-        width: '14%',
536
+        minWidth: '120',
656 537
         cellTemplate: '<div>' +
657 538
             '<div class="ui-grid-cell-contents">{{row.entity.specification}}</div>' +
658 539
             '</div>'
659 540
     },
660
-
541
+    {
542
+        name: 'unit',
543
+        displayName: '单位',
544
+        minWidth: '120',
545
+    },
661 546
     {
662 547
         name: 'price',
663
-        displayName: '费用区间',
664
-        width: '12%',
548
+        displayName: '价格区间',
665 549
         minWidth: '120',
666 550
         cellTemplate: '<div>' +
667 551
             '<div class="ui-grid-cell-contents">{{row.entity.startPrice}} ~ {{row.entity.endPrice}}</div>' +
@@ -671,48 +555,46 @@ app.controller('hc_consumablesCtrl', ["$scope", "$http", "i18nService", "$rootSc
671 555
     {
672 556
         name: 'companyIds',
673 557
         displayName: '供货公司',
674
-        width: '14%',
675 558
         minWidth: '120',
676 559
         cellTemplate: '<div>' +
677 560
             '<div class="ui-grid-cell-contents">{{row.entity.companyNames}}</div>' +
678 561
             '</div>'
679 562
     },
680
-    {
681
-        name: 'isInventory',
682
-        displayName: '是否库存',
683
-        width: '14%',
684
-        minWidth: '120',
685
-        cellTemplate: '<div>' +
686
-            '<div class="ui-grid-cell-contents">{{row.entity.isInventory == 1 ? "是" : "否"}}</div>' +
687
-            '</div>'
688
-    },
689
-    {
690
-        name: 'inventorySum',
691
-        displayName: '入库总数量',
692
-        width: '14%',
693
-        minWidth: '120',
694
-        cellTemplate: '<div>' +
695
-            '<div class="ui-grid-cell-contents">{{row.entity.inventorySum}}</div>' +
696
-            '</div>'
697
-    },
563
+    // {
564
+    //     name: 'isInventory',
565
+    //     displayName: '是否库存',
566
+    //     width: '10%',
567
+    //     minWidth: '120',
568
+    //     cellTemplate: '<div>' +
569
+    //         '<div class="ui-grid-cell-contents">{{row.entity.isInventory == 1 ? "是" : "否"}}</div>' +
570
+    //         '</div>'
571
+    // },
572
+    // {
573
+    //     name: 'inventorySum',
574
+    //     displayName: '入库总数量',
575
+    //     width: '11%',
576
+    //     minWidth: '120',
577
+    //     cellTemplate: '<div>' +
578
+    //         '<div class="ui-grid-cell-contents">{{row.entity.inventorySum}}</div>' +
579
+    //         '</div>'
580
+    // },
698 581
     {
699 582
         name: 'inventoryNum',
700 583
         displayName: '在库数量',
701
-        width: '12%',
702 584
         minWidth: '120',
703 585
         cellTemplate: '<div>' +
704 586
             '<div class="ui-grid-cell-contents">{{row.entity.inventoryNum}}</div>' +
705 587
             '</div>'
706 588
     },
707
-    {
708
-        name: 'updateTime',
709
-        displayName: '最后更新时间',
710
-        width: '14%',
711
-        minWidth: '160',
712
-        cellTemplate: '<div>' +
713
-            '<div class="ui-grid-cell-contents">{{grid.appScope.transferTime(row.entity.updateTime)}}</div>' +
714
-            '</div>'
715
-    },
589
+    // {
590
+    //     name: 'updateTime',
591
+    //     displayName: '最后更新时间',
592
+    //     width: '14%',
593
+    //     minWidth: '160',
594
+    //     cellTemplate: '<div>' +
595
+    //         '<div class="ui-grid-cell-contents">{{grid.appScope.transferTime(row.entity.updateTime)}}</div>' +
596
+    //         '</div>'
597
+    // },
716 598
     {
717 599
         name: '操作',
718 600
         enableSorting: false,
@@ -1042,23 +924,23 @@ app.controller('hc_consumablesCtrl', ["$scope", "$http", "i18nService", "$rootSc
1042 924
         });
1043 925
     };
1044 926
     // 耗材查询分类
1045
-    $scope.refreshDat_name = function () {
1046
-        // var dat = {
1047
-        //     "key": "haocaifenlei",
1048
-        // }
1049
-        // api_cmdb4.fetchDataList(dat).then(function(data) {
1050
-        //     $scope.search_data = data;
1051
-        //     $scope.search_data.unshift({ 'name': '全部' });
1052
-        // });
1053
-        var dat = {
1054
-            "key": "haocaifenlei",
1055
-            "type": "tree"
1056
-        }
1057
-        api_wechatfile.getDictionary(dat).then(function (data) {
1058
-            $scope.search_data = data;
1059
-            // $scope.search_data.unshift({ 'name': '全部' });
1060
-        });
1061
-    };
927
+    // $scope.refreshDat_name = function () {
928
+    //     // var dat = {
929
+    //     //     "key": "haocaifenlei",
930
+    //     // }
931
+    //     // api_cmdb4.fetchDataList(dat).then(function(data) {
932
+    //     //     $scope.search_data = data;
933
+    //     //     $scope.search_data.unshift({ 'name': '全部' });
934
+    //     // });
935
+    //     var dat = {
936
+    //         "key": "haocaifenlei",
937
+    //         "type": "tree"
938
+    //     }
939
+    //     api_wechatfile.getDictionary(dat).then(function (data) {
940
+    //         $scope.search_data = data;
941
+    //         // $scope.search_data.unshift({ 'name': '全部' });
942
+    //     });
943
+    // };
1062 944
     // 耗材查询分类修改
1063 945
     $scope.refreshDat_name_updata = function () {
1064 946
         var dat = {
@@ -1069,7 +951,7 @@ app.controller('hc_consumablesCtrl', ["$scope", "$http", "i18nService", "$rootSc
1069 951
             $scope.updata_name = data;
1070 952
         });
1071 953
     };
1072
-    $scope.refreshDat_name();
954
+    // $scope.refreshDat_name();
1073 955
     $scope.refreshDat_name_updata();
1074 956
     // $scope.refreshDat_pinpai();
1075 957
     // $scope.refreshDat_guige();
@@ -1092,7 +974,7 @@ app.controller('hc_caozuoCtrl', ['$rootScope', '$http', '$scope', '$modal', '$st
1092 974
         $rootScope.isAdds = false;
1093 975
         $rootScope.hc_eject_big = true; //编辑弹出框
1094 976
         $rootScope.hc_eject_sma = true; //编辑弹出框
1095
-        // $rootScope.hc_toedit = "new_after";
977
+        $rootScope.hc_eject_unit = $scope.item.unit;//单位
1096 978
         $rootScope.hc_eject_name_caozuo = $scope.item.name; //耗材名称
1097 979
         $rootScope.hc_eject_brandModel_caozuo = $scope.item.brandModel; //耗材品牌型号
1098 980
         $rootScope.hc_eject_specification_caozuo = $scope.item.specification; //耗材规格

+ 22 - 20
assets/views/consumables/list.html

@@ -148,7 +148,7 @@
148 148
         border-radius:100px;
149 149
         box-shadow:inset 0 0 5px rgba(0,0,0,0.2);
150 150
         background:rgba(0,0,0,0.1);;
151
-    } 
151
+    }
152 152
     .new .body::-webkit-scrollbar-track {   /*滚动条里面轨道样式*/
153 153
         box-shadow:inset 0 0 5px rgba(0,0,0,0.2);
154 154
         border-radius:0;
@@ -277,7 +277,7 @@
277 277
                         </ui-select-choices>
278 278
                     </ui-select>
279 279
                 </div> -->
280
-                <div class="form-group inspectlistsearch col-xs-12">
280
+                <!-- <div class="form-group inspectlistsearch col-xs-12">
281 281
                     <div class="pull-left" style="padding-top:8px;font-size:14px">耗材名称:</div>
282 282
                     <ui-select class="pull-right iptSize" ng-model="select_val.search_data" theme="bootstrap">
283 283
                         <ui-select-match>
@@ -287,15 +287,15 @@
287 287
                             <div ng-bind-html="n.name"></div>
288 288
                         </ui-select-choices>
289 289
                     </ui-select>
290
-                </div>
291
-                <!-- <div class="form-group inspectlistsearch ">
292
-                    <div class="pull-left" style="padding-top:8px;font-size:14px">耗材名称:</div>
293
-                    <input class="form-control pull-right inputcolor iptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="select_val.search_data.name" placeholder="" />
294 290
                 </div> -->
291
+                <div class="form-group inspectlistsearch ">
292
+                    <div class="pull-left" style="padding-top:8px;font-size:14px">耗材名称/品牌:</div>
293
+                    <input class="form-control pull-right inputcolor iptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="fileData.consumable.keyWord" placeholder="请输入耗材名称/品牌" />
294
+                </div>
295 295
             </div>
296 296
             <div class="col-xs-3 searchBtnBox">
297 297
                 <!-- <div class="btn btn_other margin-top-20" ng-click="new_data()">刷新</div> -->
298
-                <!-- <div class="btn btn_search" ng-click="searchData()">搜索</div> -->
298
+                <div class="btn btn_search" ng-click="searchData()">搜索</div>
299 299
                 <div class="btn btn_search" ng-click="addData()"><span translate="list.button.CREATE">Add Data</span></div>
300 300
                 <div type="button" class="btn btn_remove" ng-click="removeData()" ng-disabled="selected.items.length==0"><span translate="list.button.REMOVE">Remove First Row</span></div>
301 301
                 <div class="btn btn_clean" ng-click="reset()">重置</div>
@@ -321,6 +321,7 @@
321 321
                     <div>*</div>
322 322
                     <div>*</div>
323 323
                     <div>*</div>
324
+                    <div></div>
324 325
                     <div>*</div>
325 326
                     <div>*</div>
326 327
                     <div>*</div>
@@ -329,7 +330,7 @@
329 330
                 </div>
330 331
                 <form class="rigt">
331 332
                     <div class="div">
332
-                        <span>耗材分类:</span><br>
333
+                        <span>耗材名称:</span><br>
333 334
                         <ui-select class="pull-left selectzise xiala" ng-model="select_updata_name.updata_name"
334 335
                             theme="bootstrap">
335 336
                             <ui-select-match placeholder="{{hc_eject_name}}">
@@ -340,10 +341,6 @@
340 341
                             </ui-select-choices>
341 342
                         </ui-select>
342 343
                     </div>
343
-                    <!-- <div class="div">
344
-                        <span>耗材名称:</span><br>
345
-                        <input type="text" ng-model="hc_eject_title" class="xialaipt">
346
-                    </div> -->
347 344
                     <div class="div">
348 345
                         <span>品牌/型号:</span><br>
349 346
                         <ui-select class="pull-left selectzise xiala" ng-model="select_updata_pinpai.updata_pinpai"
@@ -369,6 +366,19 @@
369 366
                         </ui-select>
370 367
                     </div>
371 368
                     <div class="div">
369
+                        <span>单位:</span><br>
370
+                        <input type="text" ng-model="hc.unit" class="xialaipt">
371
+                    </div>
372
+
373
+                    <div class="div">
374
+                        <span>价格区间:</span><br>
375
+                        <div>
376
+                            <input type="number" min="0" step="0.01" ng-model="startPrice" class="price" ng-change="changePrice(startPrice,'startPrice')">
377
+                            -
378
+                            <input type="number" min="0" step="0.01" ng-model="endPrice" class="price" ng-change="changePrice(endPrice,'endPrice')">
379
+                        </div>
380
+                    </div>
381
+                    <div class="div">
372 382
                         <span>供货公司:</span><br>
373 383
                         <ui-select ng-click="refreshDat_company($select.search,companyIds)" class="pull-left selectzise xiala" ng-model="companyIds"
374 384
                             theme="bootstrap" multiple reset-search-input="false" ng-change="changeCompany(companyIds)">
@@ -381,14 +391,6 @@
381 391
                         </ui-select>
382 392
                     </div>
383 393
                     <div class="div">
384
-                        <span>费用区间:</span><br>
385
-                        <div>
386
-                            <input type="number" min="0" step="0.01" ng-model="startPrice" class="price" ng-change="changePrice(startPrice,'startPrice')">
387
-                            -
388
-                            <input type="number" min="0" step="0.01" ng-model="endPrice" class="price" ng-change="changePrice(endPrice,'endPrice')">
389
-                        </div>
390
-                    </div>
391
-                    <div class="div">
392 394
                         <span>是否库存:</span><br>
393 395
                         <ul class="tab_bdItem_tab">
394 396
                             <li class="fl" ng-click="changeWarehousing(1)">