apply-clients 3.5.4-86 → 3.5.4-88

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/application.properties +4 -0
  2. package/build/dev-server.js +6 -11
  3. package/conf/context.xml +9 -0
  4. package/conf/server-node1.xml +69 -0
  5. package/conf/server-node2.xml +69 -0
  6. package/conf/server.xml +32 -0
  7. package/nginx.conf +21 -0
  8. package/package.json +1 -1
  9. package/pom.xml +18 -0
  10. package/src/App.vue +25 -25
  11. package/src/apply.js +137 -137
  12. package/src/assets/fugou.png +0 -0
  13. package/src/components/android/AppCheckTakePic.vue +168 -168
  14. package/src/components/android/AppTakePic.vue +182 -182
  15. package/src/components/android/Process/AppServiceControl.vue +1755 -1755
  16. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  17. package/src/components/product/PcZhihuanManagement.vue +160 -160
  18. package/src/filiale/fugou/android/AppAddMaterialScience.vue +440 -448
  19. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -341
  20. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
  21. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -519
  22. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
  23. package/src/filiale/fugou/android/AppServiceControl.vue +1845 -1845
  24. package/src/filiale/fugou/android/AppZhihuanManagement.vue +197 -197
  25. package/src/filiale/fugou/android/printCharge.vue +162 -162
  26. package/src/filiale/fugou/android.js +16 -16
  27. package/src/filiale/fugou/pc/AddReplacement.vue +340 -340
  28. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
  29. package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1705
  30. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  31. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  32. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -216
  33. package/src/filiale/fugou/pc/chargeReport.vue +143 -0
  34. package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
  35. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  36. package/src/filiale/fugou/pc.js +1 -0
  37. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  38. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  39. package/src/filiale/qianneng/android.js +15 -15
  40. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
  41. package/src/filiale/qianneng/pc/Applydetail.vue +378 -378
  42. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  43. package/src/filiale/qianneng/pc.js +29 -29
  44. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -527
  45. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +639 -639
  46. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1681 -1681
  47. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +548 -548
  48. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2075 -2075
  49. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1059 -1059
  50. package/src/main.js +22 -23
  51. package/src/test/SessionTestServlet.java +69 -0
  52. package/webapp/WEB-INF/web.xml +52 -0
  53. package/webapp/session-test.jsp +59 -0
@@ -1,15 +1,15 @@
1
- import Vue from 'vue'
2
-
3
- let specialComp = {
4
- 'app-add-material-science': (resolve) => { require(['./android/AppAddMaterialScience'], resolve) },
5
- 'app-exploration-user': (resolve) => { require(['./android/AppExplorationUser'], resolve) },
6
- 'app-service-view': (resolve) => { require(['./android/AppServiceView'], resolve) },
7
- 'app-service-control': (resolve) => { require(['./android/AppServiceControl'], resolve) },
8
- 'app-sign': (resolve) => { require(['./android/AppSign'], resolve) },
9
- 'app-take-pic': (resolve) => { require(['./android/AppTakePic'], resolve) },
10
- 'app-installation-details': (resolve) => { require(['./android/AppInstallationDetails'], resolve) },
11
- 'app-apply-devices-management': (resolve) => { require(['./android/AppDevicesManagement'], resolve) },
12
- 'app-charge-management': (resolve) => { require(['./android/AppChargeManagement'], resolve) }
13
-
14
- }
15
- exports.specialComp = specialComp
1
+ import Vue from 'vue'
2
+
3
+ let specialComp = {
4
+ 'app-add-material-science': (resolve) => { require(['./android/AppAddMaterialScience'], resolve) },
5
+ 'app-exploration-user': (resolve) => { require(['./android/AppExplorationUser'], resolve) },
6
+ 'app-service-view': (resolve) => { require(['./android/AppServiceView'], resolve) },
7
+ 'app-service-control': (resolve) => { require(['./android/AppServiceControl'], resolve) },
8
+ 'app-sign': (resolve) => { require(['./android/AppSign'], resolve) },
9
+ 'app-take-pic': (resolve) => { require(['./android/AppTakePic'], resolve) },
10
+ 'app-installation-details': (resolve) => { require(['./android/AppInstallationDetails'], resolve) },
11
+ 'app-apply-devices-management': (resolve) => { require(['./android/AppDevicesManagement'], resolve) },
12
+ 'app-charge-management': (resolve) => { require(['./android/AppChargeManagement'], resolve) }
13
+
14
+ }
15
+ exports.specialComp = specialComp
@@ -1,261 +1,261 @@
1
- <template>
2
- <div class="flex-row">
3
- <div style="height: 95%" class="basic-main" >
4
- <criteria-paged :model="model" v-ref:cp>
5
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
- <div class="form-horizontal select-overspread container-fluid auto" partial>
7
- <div class="row">
8
- <div class="form-group col-sm-3">
9
- <label class="font_normal_body">工程编号:</label>
10
- <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_service_id"
11
- v-on:keyup.enter="$parent.$parent.search()"
12
- condition="f_apply_num = '{}'">
13
- </div>
14
- <div class="form-group col-sm-3">
15
- <label class="font_normal_body">操&ensp;作&ensp;人:</label>
16
- <input type="text" style="width: 60%" class="input_search" placeholder='操作人' v-model="model.f_operator"
17
- v-on:keyup.enter="$parent.$parent.search()"
18
- condition="a.f_operator like '%{}%'">
19
- </div>
20
- <div class="form-group col-sm-3 button-range">
21
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
22
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
23
- <export-excel :data="$parent.$parent.getCondition"
24
- :field="$parent.$parent.getfield"
25
- sqlurl="rs/logic/applyExportfile"
26
- sql-name="applyGettelMaterial"
27
- template-name='报建材料明细导出'
28
- :choose-col="true"></export-excel>
29
- <div style="float: right;" class="button_spacing button_search"
30
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
31
- @click="$parent.$parent.hidden()"></div>
32
- </div>
33
- </div>
34
- <div class="row" v-show="$parent.$parent.criteriaShow">
35
- <div class="form-group col-sm-3">
36
- <label class="font_normal_body">客户名称:</label>
37
- <input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
38
- v-on:keyup.enter="$parent.$parent.search()"
39
- condition="f_user_name like '%{}%'">
40
- </div>
41
- <div class="form-group col-sm-3">
42
- <label class="font_normal_body">客户编号:</label>
43
- <input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_userinfo_code"
44
- v-on:keyup.enter="$parent.$parent.search()"
45
- condition="f_userinfo_code like '%{}%'">
46
- </div>
47
- <div class="form-group col-sm-3">
48
- <label class="font_normal_body">地&emsp;&emsp;址:</label>
49
- <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
50
- v-on:keyup.enter="$parent.$parent.search()"
51
- condition="f_address like '%{}%'">
52
- </div>
53
- <div class="form-group col-sm-3">
54
- <label class="font_normal_body">材料分类:</label>
55
- <input type="text" style="width: 60%" class="input_search" placeholder='材料分类' v-model="model.f_typename"
56
- v-on:keyup.enter="$parent.$parent.search()"
57
- condition="f_typename like '%{}%'">
58
- </div>
59
- <div class="form-group col-sm-3">
60
- <label class="font_normal_body">材料名称:</label>
61
- <input type="text" style="width: 60%" class="input_search" placeholder='材料名称' v-model="model.f_material_name"
62
- v-on:keyup.enter="$parent.$parent.search()"
63
- condition="f_material_name like '%{}%'">
64
- </div>
65
- <div class="form-group col-sm-3">
66
- <label class="font_normal_body">材料型号:</label>
67
- <input type="text" style="width: 60%" class="input_search" placeholder='材料型号' v-model="model.f_typenumber"
68
- v-on:keyup.enter="$parent.$parent.search()"
69
- condition="f_typenumber like '%{}%'">
70
- </div>
71
- <div class="form-group col-sm-3">
72
- <label class="font_normal_body">材料数量:</label>
73
- <input type="text" style="width: 60%" class="input_search" placeholder='材料数量' v-model="model.f_material_number"
74
- v-on:keyup.enter="$parent.$parent.search()"
75
- condition="f_material_number = '{}'">
76
- </div>
77
- <div class="form-group col-sm-3">
78
- <label class="font_normal_body">材料单价:</label>
79
- <input type="text" style="width: 60%" class="input_search" placeholder='材料单价' v-model="model.f_material_price"
80
- v-on:keyup.enter="$parent.$parent.search()"
81
- condition="f_material_price = '{}'">
82
- </div>
83
- <div class="form-group col-sm-3">
84
- <label for="startDate" class="font_normal_body">开始时间:</label>
85
- <datepicker id="startDate" placeholder="开始日期"
86
- style="width: 60%!important;"
87
- v-model="model.startDate"
88
- :value.sync="model.startDate"
89
- :format="'yyyy-MM-dd 00:00:00'"
90
- :show-reset-button="true"
91
- condition="f_date >= '{}'">
92
- </datepicker>
93
- </div>
94
- <div class="form-group col-sm-3">
95
- <label for="endDate" class="font_normal_body">结束时间:</label>
96
- <datepicker id="endDate" placeholder="结束日期"
97
- style="width: 60%!important;"
98
- v-model="model.endDate"
99
- :value.sync="model.endDate"
100
- :format="'yyyy-MM-dd 23:59:59'"
101
- :show-reset-button="true"
102
- condition="f_date <= '{}'">
103
- </datepicker>
104
- </div>
105
- <div class="form-group col-sm-3">
106
- <label class="font_normal_body">部&emsp;&emsp;门:</label>
107
- <v-select :value.sync="model.f_department"
108
- v-model="model.f_department"
109
- :options='$parent.$parent.f_departments' placeholder='部门'
110
- close-on-select condition="f_department like '%{}%'"></v-select>
111
- </div>
112
- </div>
113
- </div>
114
- </criteria>
115
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
116
- <template partial='head'>
117
- <tr>
118
- <th>序号</th>
119
- <th>工程编号</th>
120
- <th>客户编号</th>
121
- <th>客户名称</th>
122
- <th>客户电话</th>
123
- <th>地址</th>
124
- <th>用户类型</th>
125
- <th>用气性质</th>
126
- <th>材料分类</th>
127
- <th>材料名称</th>
128
- <th>材料型号</th>
129
- <th>材料数量</th>
130
- <th>材料单价</th>
131
- <th>金额</th>
132
- <th>操作人</th>
133
- <th>部门</th>
134
- <th>操作时间</th>
135
- </tr>
136
- </template>
137
- <template partial='body'>
138
- <tr >
139
- <td style="text-align: center;">
140
- <nobr><font>{{$index+1}}</font></nobr>
141
- </td>
142
- <td style="text-align: center;">
143
- <nobr><font>{{row.f_apply_num}}</font></nobr>
144
- </td>
145
- <td style="text-align: center;">
146
- <nobr><font>{{row.f_userinfo_code}}</font></nobr>
147
- </td>
148
- <td style="text-align: center;">
149
- <nobr><font>{{row.f_user_name}}</font></nobr>
150
- </td>
151
- <td style="text-align: center;">
152
- <nobr><font>{{row.f_phone}}</font></nobr>
153
- </td>
154
- <td style="text-align: center;">
155
- <nobr><font>{{row.f_address}}</font></nobr>
156
- </td>
157
- <td style="text-align: center;">
158
- <nobr><font>{{row.f_user_type}}</font></nobr>
159
- </td>
160
- <td style="text-align: center;">
161
- <nobr><font>{{row.f_gasproperties}}</font></nobr>
162
- </td>
163
- <td style="text-align: center;">
164
- <nobr><font>{{row.f_typename}}</font></nobr>
165
- </td>
166
- <td style="text-align: center;">
167
- <nobr><font>{{row.f_material_name}}</font></nobr>
168
- </td>
169
- <td style="text-align: center;">
170
- <nobr><font>{{row.f_typenumber}}</font></nobr>
171
- </td>
172
- <td style="text-align: center;">
173
- <nobr><font>{{row.f_material_number}}</font></nobr>
174
- </td>
175
- <td style="text-align: center;">
176
- <nobr><font>{{row.f_material_price}}</font></nobr>
177
- </td>
178
- <td style="text-align: center;">
179
- <nobr><font>{{row.f_fee}}</font></nobr>
180
- </td>
181
- <td style="text-align: center;">
182
- <nobr><font>{{row.f_operators}}</font></nobr>
183
- </td>
184
- <td style="text-align: center;">
185
- <nobr><font>{{row.f_department}}</font></nobr>
186
- </td>
187
- <td style="text-align: center;">
188
- <nobr><font>{{row.f_date}}</font></nobr>
189
- </td>
190
- </tr>
191
- </template>
192
- </data-grid>
193
- </criteria-paged>
194
- </div>
195
-
196
- </div>
197
- </template>
198
-
199
- <script>
200
- import {PagedList} from 'vue-client'
201
- export default {
202
- title: '材料明细',
203
- data () {
204
- return {
205
- model: new PagedList('rs/sql/applyGettelMaterial', 30, null),
206
- f_departments: [{label: '全部', value: ''}, ...this.$appdata.getParam('部门')],
207
- criteriaShow: false,
208
- getfield: {
209
- 'f_service_id': '工程编号',
210
- 'f_userinfo_code': '客户编号',
211
- 'f_user_name': '客户名称',
212
- 'f_contact_phone': '客户电话',
213
- 'f_address': '地址',
214
- 'f_user_type': '用户类型',
215
- 'f_gasproperties': '用气性质',
216
- 'f_typename': '材料分类',
217
- 'f_material_name': '材料名称',
218
- 'f_typenumber': '材料型号',
219
- 'f_material_number': '材料数量',
220
- 'f_material_price': '材料单价',
221
- 'f_fee': '金额',
222
- 'f_operators': '操作人',
223
- 'f_department': '部门',
224
- 'f_date': '操作时间'
225
- }
226
- }
227
- },
228
- ready () {
229
- // 调用查询
230
- this.search()
231
- },
232
- methods: {
233
- clear () {
234
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
235
- this.$refs.cp.$refs.cri.model[key] = ''
236
- })
237
- },
238
- searchCondition (args) {
239
- args.condition = args.condition + ` and a.f_orgid = '${this.$login.f.orgid}'`
240
- this.model.search(args.condition, args.model)
241
- },
242
- // 查询
243
- search () {
244
- this.$refs.cp.$refs.cri.search()
245
- },
246
- hidden () {
247
- this.criteriaShow = !this.criteriaShow
248
- },
249
- },
250
- computed: {
251
- getCondition () {
252
- return {
253
- condition: this.model.condition
254
- }
255
- }
256
- }
257
- }
258
- </script>
259
-
260
- <style scoped>
261
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div style="height: 95%" class="basic-main" >
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="form-group col-sm-3">
9
+ <label class="font_normal_body">工程编号:</label>
10
+ <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_service_id"
11
+ v-on:keyup.enter="$parent.$parent.search()"
12
+ condition="f_apply_num = '{}'">
13
+ </div>
14
+ <div class="form-group col-sm-3">
15
+ <label class="font_normal_body">操&ensp;作&ensp;人:</label>
16
+ <input type="text" style="width: 60%" class="input_search" placeholder='操作人' v-model="model.f_operator"
17
+ v-on:keyup.enter="$parent.$parent.search()"
18
+ condition="a.f_operator like '%{}%'">
19
+ </div>
20
+ <div class="form-group col-sm-3 button-range">
21
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
22
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
23
+ <export-excel :data="$parent.$parent.getCondition"
24
+ :field="$parent.$parent.getfield"
25
+ sqlurl="rs/logic/applyExportfile"
26
+ sql-name="applyGettelMaterial"
27
+ template-name='报建材料明细导出'
28
+ :choose-col="true"></export-excel>
29
+ <div style="float: right;" class="button_spacing button_search"
30
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
31
+ @click="$parent.$parent.hidden()"></div>
32
+ </div>
33
+ </div>
34
+ <div class="row" v-show="$parent.$parent.criteriaShow">
35
+ <div class="form-group col-sm-3">
36
+ <label class="font_normal_body">客户名称:</label>
37
+ <input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
38
+ v-on:keyup.enter="$parent.$parent.search()"
39
+ condition="f_user_name like '%{}%'">
40
+ </div>
41
+ <div class="form-group col-sm-3">
42
+ <label class="font_normal_body">客户编号:</label>
43
+ <input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_userinfo_code"
44
+ v-on:keyup.enter="$parent.$parent.search()"
45
+ condition="f_userinfo_code like '%{}%'">
46
+ </div>
47
+ <div class="form-group col-sm-3">
48
+ <label class="font_normal_body">地&emsp;&emsp;址:</label>
49
+ <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
50
+ v-on:keyup.enter="$parent.$parent.search()"
51
+ condition="f_address like '%{}%'">
52
+ </div>
53
+ <div class="form-group col-sm-3">
54
+ <label class="font_normal_body">材料分类:</label>
55
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料分类' v-model="model.f_typename"
56
+ v-on:keyup.enter="$parent.$parent.search()"
57
+ condition="f_typename like '%{}%'">
58
+ </div>
59
+ <div class="form-group col-sm-3">
60
+ <label class="font_normal_body">材料名称:</label>
61
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料名称' v-model="model.f_material_name"
62
+ v-on:keyup.enter="$parent.$parent.search()"
63
+ condition="f_material_name like '%{}%'">
64
+ </div>
65
+ <div class="form-group col-sm-3">
66
+ <label class="font_normal_body">材料型号:</label>
67
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料型号' v-model="model.f_typenumber"
68
+ v-on:keyup.enter="$parent.$parent.search()"
69
+ condition="f_typenumber like '%{}%'">
70
+ </div>
71
+ <div class="form-group col-sm-3">
72
+ <label class="font_normal_body">材料数量:</label>
73
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料数量' v-model="model.f_material_number"
74
+ v-on:keyup.enter="$parent.$parent.search()"
75
+ condition="f_material_number = '{}'">
76
+ </div>
77
+ <div class="form-group col-sm-3">
78
+ <label class="font_normal_body">材料单价:</label>
79
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料单价' v-model="model.f_material_price"
80
+ v-on:keyup.enter="$parent.$parent.search()"
81
+ condition="f_material_price = '{}'">
82
+ </div>
83
+ <div class="form-group col-sm-3">
84
+ <label for="startDate" class="font_normal_body">开始时间:</label>
85
+ <datepicker id="startDate" placeholder="开始日期"
86
+ style="width: 60%!important;"
87
+ v-model="model.startDate"
88
+ :value.sync="model.startDate"
89
+ :format="'yyyy-MM-dd 00:00:00'"
90
+ :show-reset-button="true"
91
+ condition="f_date >= '{}'">
92
+ </datepicker>
93
+ </div>
94
+ <div class="form-group col-sm-3">
95
+ <label for="endDate" class="font_normal_body">结束时间:</label>
96
+ <datepicker id="endDate" placeholder="结束日期"
97
+ style="width: 60%!important;"
98
+ v-model="model.endDate"
99
+ :value.sync="model.endDate"
100
+ :format="'yyyy-MM-dd 23:59:59'"
101
+ :show-reset-button="true"
102
+ condition="f_date <= '{}'">
103
+ </datepicker>
104
+ </div>
105
+ <div class="form-group col-sm-3">
106
+ <label class="font_normal_body">部&emsp;&emsp;门:</label>
107
+ <v-select :value.sync="model.f_department"
108
+ v-model="model.f_department"
109
+ :options='$parent.$parent.f_departments' placeholder='部门'
110
+ close-on-select condition="f_department like '%{}%'"></v-select>
111
+ </div>
112
+ </div>
113
+ </div>
114
+ </criteria>
115
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
116
+ <template partial='head'>
117
+ <tr>
118
+ <th>序号</th>
119
+ <th>工程编号</th>
120
+ <th>客户编号</th>
121
+ <th>客户名称</th>
122
+ <th>客户电话</th>
123
+ <th>地址</th>
124
+ <th>用户类型</th>
125
+ <th>用气性质</th>
126
+ <th>材料分类</th>
127
+ <th>材料名称</th>
128
+ <th>材料型号</th>
129
+ <th>材料数量</th>
130
+ <th>材料单价</th>
131
+ <th>金额</th>
132
+ <th>操作人</th>
133
+ <th>部门</th>
134
+ <th>操作时间</th>
135
+ </tr>
136
+ </template>
137
+ <template partial='body'>
138
+ <tr >
139
+ <td style="text-align: center;">
140
+ <nobr><font>{{$index+1}}</font></nobr>
141
+ </td>
142
+ <td style="text-align: center;">
143
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
144
+ </td>
145
+ <td style="text-align: center;">
146
+ <nobr><font>{{row.f_userinfo_code}}</font></nobr>
147
+ </td>
148
+ <td style="text-align: center;">
149
+ <nobr><font>{{row.f_user_name}}</font></nobr>
150
+ </td>
151
+ <td style="text-align: center;">
152
+ <nobr><font>{{row.f_phone}}</font></nobr>
153
+ </td>
154
+ <td style="text-align: center;">
155
+ <nobr><font>{{row.f_address}}</font></nobr>
156
+ </td>
157
+ <td style="text-align: center;">
158
+ <nobr><font>{{row.f_user_type}}</font></nobr>
159
+ </td>
160
+ <td style="text-align: center;">
161
+ <nobr><font>{{row.f_gasproperties}}</font></nobr>
162
+ </td>
163
+ <td style="text-align: center;">
164
+ <nobr><font>{{row.f_typename}}</font></nobr>
165
+ </td>
166
+ <td style="text-align: center;">
167
+ <nobr><font>{{row.f_material_name}}</font></nobr>
168
+ </td>
169
+ <td style="text-align: center;">
170
+ <nobr><font>{{row.f_typenumber}}</font></nobr>
171
+ </td>
172
+ <td style="text-align: center;">
173
+ <nobr><font>{{row.f_material_number}}</font></nobr>
174
+ </td>
175
+ <td style="text-align: center;">
176
+ <nobr><font>{{row.f_material_price}}</font></nobr>
177
+ </td>
178
+ <td style="text-align: center;">
179
+ <nobr><font>{{row.f_fee}}</font></nobr>
180
+ </td>
181
+ <td style="text-align: center;">
182
+ <nobr><font>{{row.f_operators}}</font></nobr>
183
+ </td>
184
+ <td style="text-align: center;">
185
+ <nobr><font>{{row.f_department}}</font></nobr>
186
+ </td>
187
+ <td style="text-align: center;">
188
+ <nobr><font>{{row.f_date}}</font></nobr>
189
+ </td>
190
+ </tr>
191
+ </template>
192
+ </data-grid>
193
+ </criteria-paged>
194
+ </div>
195
+
196
+ </div>
197
+ </template>
198
+
199
+ <script>
200
+ import {PagedList} from 'vue-client'
201
+ export default {
202
+ title: '材料明细',
203
+ data () {
204
+ return {
205
+ model: new PagedList('rs/sql/applyGettelMaterial', 30, null),
206
+ f_departments: [{label: '全部', value: ''}, ...this.$appdata.getParam('部门')],
207
+ criteriaShow: false,
208
+ getfield: {
209
+ 'f_service_id': '工程编号',
210
+ 'f_userinfo_code': '客户编号',
211
+ 'f_user_name': '客户名称',
212
+ 'f_contact_phone': '客户电话',
213
+ 'f_address': '地址',
214
+ 'f_user_type': '用户类型',
215
+ 'f_gasproperties': '用气性质',
216
+ 'f_typename': '材料分类',
217
+ 'f_material_name': '材料名称',
218
+ 'f_typenumber': '材料型号',
219
+ 'f_material_number': '材料数量',
220
+ 'f_material_price': '材料单价',
221
+ 'f_fee': '金额',
222
+ 'f_operators': '操作人',
223
+ 'f_department': '部门',
224
+ 'f_date': '操作时间'
225
+ }
226
+ }
227
+ },
228
+ ready () {
229
+ // 调用查询
230
+ this.search()
231
+ },
232
+ methods: {
233
+ clear () {
234
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
235
+ this.$refs.cp.$refs.cri.model[key] = ''
236
+ })
237
+ },
238
+ searchCondition (args) {
239
+ args.condition = args.condition + ` and a.f_orgid = '${this.$login.f.orgid}'`
240
+ this.model.search(args.condition, args.model)
241
+ },
242
+ // 查询
243
+ search () {
244
+ this.$refs.cp.$refs.cri.search()
245
+ },
246
+ hidden () {
247
+ this.criteriaShow = !this.criteriaShow
248
+ },
249
+ },
250
+ computed: {
251
+ getCondition () {
252
+ return {
253
+ condition: this.model.condition
254
+ }
255
+ }
256
+ }
257
+ }
258
+ </script>
259
+
260
+ <style scoped>
261
+ </style>