apply-clients 3.5.4-90 → 3.5.4-92

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 (50) hide show
  1. package/build/dev-server.js +6 -11
  2. package/package.json +1 -1
  3. package/src/apply.js +139 -137
  4. package/src/components/android/AppCheckTakePic.vue +168 -168
  5. package/src/components/android/AppTakePic.vue +182 -182
  6. package/src/components/android/Process/AppServiceControl.vue +1755 -1755
  7. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  8. package/src/components/product/PcZhihuanManagement.vue +160 -160
  9. package/src/components/product/Process/Processes/selectApply.vue +251 -250
  10. package/src/components/product/Process/Processes/selectBcakApply.vue +250 -0
  11. package/src/filiale/fugou/android/AppAddMaterialScience.vue +440 -440
  12. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -341
  13. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
  14. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -519
  15. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
  16. package/src/filiale/fugou/android/AppServiceControl.vue +1845 -1845
  17. package/src/filiale/fugou/android/AppZhihuanManagement.vue +197 -197
  18. package/src/filiale/fugou/android/printCharge.vue +162 -162
  19. package/src/filiale/fugou/android.js +16 -16
  20. package/src/filiale/fugou/pc/AddReplacement.vue +340 -340
  21. package/src/filiale/fugou/pc/ApplyChargeList.vue +480 -0
  22. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
  23. package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1705
  24. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  25. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  26. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -216
  27. package/src/filiale/fugou/pc/chargeReport.vue +143 -143
  28. package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
  29. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  30. package/src/filiale/fugou/pc.js +16 -15
  31. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  32. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  33. package/src/filiale/qianneng/android.js +15 -15
  34. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
  35. package/src/filiale/qianneng/pc/Applydetail.vue +378 -378
  36. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  37. package/src/filiale/qianneng/pc.js +29 -29
  38. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +516 -516
  39. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
  40. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1681 -1681
  41. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +547 -547
  42. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2112 -2112
  43. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +605 -605
  44. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +683 -683
  45. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1052 -1052
  46. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
  47. package/src/main.js +3 -4
  48. package/src/test/SessionTestServlet.java +69 -0
  49. package/webapp/WEB-INF/web.xml +52 -0
  50. 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>