apply-clients 3.4.98-2 → 3.4.98-21

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 (73) hide show
  1. package/build/dev-server.js +2 -10
  2. package/package.json +3 -2
  3. package/src/App.vue +6 -11
  4. package/src/applyAndroid.js +1 -0
  5. package/src/components/android/AppSign.vue +9 -10
  6. package/src/components/android/Ignition/VentilationIgnition.vue +312 -312
  7. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +353 -353
  8. package/src/components/android/Process/AppServiceControl.vue +1738 -1734
  9. package/src/components/product/ApplyCharge/ApplyChargeList.vue +476 -476
  10. package/src/components/product/Function/InstallInfoSelect.vue +326 -326
  11. package/src/components/product/Ignition/IgnitionListManage.vue +420 -420
  12. package/src/components/product/Install/ContractCharge.vue +210 -210
  13. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  14. package/src/components/product/Material/Materiallist.vue +74 -74
  15. package/src/components/product/Material/Materialmanger.vue +58 -58
  16. package/src/components/product/Process/ExplorationSelect.vue +491 -491
  17. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +203 -203
  18. package/src/components/product/Process/Service/ServiceControl.vue +2 -2
  19. package/src/components/product/Process/ShowBackReason.vue +40 -40
  20. package/src/components/product/Stop/StopApplyList.vue +278 -278
  21. package/src/components/product/Supervisory/SupervisoryControl.vue +140 -140
  22. package/src/components/product/Supervisory/SupervisoryList.vue +27 -0
  23. package/src/filiale/gongyi/pc/ServiceControl.vue +1926 -0
  24. package/src/filiale/gongyi/pc.js +6 -0
  25. package/src/filiale/guzhou/pc/ServiceControl.vue +1926 -0
  26. package/src/filiale/guzhou/pc.js +6 -0
  27. package/src/filiale/hongda/pc/FunctionServiceControl.vue +21 -0
  28. package/src/filiale/hongda/pc/printChargepc.vue +114 -114
  29. package/src/filiale/hongda/pc/printactivatecard.vue +151 -151
  30. package/src/filiale/hongda/pc/printrefit.vue +3 -1
  31. package/src/filiale/huayinyihua/pc/StopApplyList.vue +271 -0
  32. package/src/filiale/huayinyihua/pc/SupervisoryList.vue +363 -0
  33. package/src/filiale/huayinyihua/pc.js +7 -0
  34. package/src/filiale/linzhou/pc/ApplyChargeList.vue +486 -486
  35. package/src/filiale/linzhou/pc/ServiceControl.vue +1968 -1968
  36. package/src/filiale/linzhou/pc/devicesManagement.vue +494 -494
  37. package/src/filiale/linzhou/pc.js +10 -10
  38. package/src/filiale/qianneng/android/AppAddMaterialScience.vue +477 -477
  39. package/src/filiale/qianneng/android/AppExplorationUser.vue +447 -447
  40. package/src/filiale/qianneng/android/AppServiceControl.vue +1608 -1608
  41. package/src/filiale/qianneng/android/AppServiceView.vue +761 -761
  42. package/src/filiale/qianneng/android/AppSign.vue +152 -152
  43. package/src/filiale/qianneng/android/AppTakePic.vue +140 -140
  44. package/src/filiale/qianneng/android.js +12 -12
  45. package/src/filiale/qianneng/pc/ApplyUpload.vue +290 -290
  46. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +685 -685
  47. package/src/filiale/qianneng/pc/ExplorationUser.vue +189 -189
  48. package/src/filiale/qianneng/pc/InstallationDetails.vue +561 -561
  49. package/src/filiale/qianneng/pc/ServiceView.vue +1118 -1118
  50. package/src/filiale/qianneng/pc/SupervisoryList.vue +344 -344
  51. package/src/filiale/qianneng/pc/SupervisoryhCart.vue +127 -127
  52. package/src/filiale/qianneng/pc/addMaterialScience.vue +464 -464
  53. package/src/filiale/qianneng/pc/addressAndUserinfoManagement.vue +389 -389
  54. package/src/filiale/qianneng/pc/devicesManagement.vue +484 -484
  55. package/src/filiale/qianneng/pc/printactivatecard.vue +295 -295
  56. package/src/filiale/qianneng/pc.js +26 -26
  57. package/src/filiale/yangchunboneng/android/AppAddMaterialScience.vue +390 -0
  58. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +108 -0
  59. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +552 -0
  60. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +507 -0
  61. package/src/filiale/yangchunboneng/android/chargesList.vue +173 -0
  62. package/src/filiale/yangchunboneng/android.js +6 -0
  63. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +594 -546
  64. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +375 -375
  65. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +469 -469
  66. package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +364 -357
  67. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +1739 -1734
  68. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1004 -0
  69. package/src/filiale/yangchunboneng/pc/addMaterialScience.vue +374 -0
  70. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +955 -1011
  71. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +511 -0
  72. package/src/filiale/yangchunboneng/pc.js +16 -13
  73. package/src/main.js +1 -1
@@ -1,268 +1,268 @@
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
- <res-select
11
- restype='organization'
12
- :initresid='$parent.$parent.curorgid'
13
- @res-select="$parent.$parent.getorg"
14
- is-mul="false"
15
- ></res-select>
16
- </div>
17
- <div class="form-group col-sm-3">
18
- <label class="font_normal_body">工程编号:</label>
19
- <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
20
- v-on:keyup.enter="$parent.$parent.search()"
21
- condition="a.f_apply_num like '%{}%'">
22
- </div>
23
- <div class="form-group col-sm-3">
24
- <label class="font_normal_body">操&ensp;作&ensp;人:</label>
25
- <input type="text" style="width: 60%" class="input_search" placeholder='操作人' v-model="model.f_operator"
26
- v-on:keyup.enter="$parent.$parent.search()"
27
- condition="ma.f_operator like '%{}%'">
28
- </div>
29
- <div class="form-group col-sm-3 button-range">
30
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
31
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
32
- <export-excel :data="$parent.$parent.getCondition"
33
- :field="$parent.$parent.getfield"
34
- sqlurl="rs/logic/applyExportfile"
35
- sql-name="applyGetMaterial"
36
- template-name='材料明细导出'
37
- :choose-col="true"></export-excel>
38
- <!-- <div-->
39
- <!-- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"-->
40
- <!-- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"-->
41
- <!-- class="button_spacing"-->
42
- <!-- style="float: right">-->
43
- <!-- </div>-->
44
- </div>
45
- </div>
46
- <div class="row" v-show="$parent.$parent.criteriaShow">
47
- <div class="form-group col-sm-3">
48
- <label class="font_normal_body">用户编号:</label>
49
- <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
50
- v-on:keyup.enter="$parent.$parent.search()"
51
- condition="a.f_userinfo_code 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_user_name"
56
- v-on:keyup.enter="$parent.$parent.search()"
57
- condition="a.f_user_name like '%{}%'">
58
- </div>
59
- <div class="form-group col-sm-3">
60
- <label class="font_normal_body">地&emsp;&emsp;址:</label>
61
- <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
62
- v-on:keyup.enter="$parent.$parent.search()"
63
- condition="a.f_address 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_material_name"
68
- v-on:keyup.enter="$parent.$parent.search()"
69
- condition="ma.f_material_name = '{}'">
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_style"
74
- v-on:keyup.enter="$parent.$parent.search()"
75
- condition="ma.f_material_style = '{}'">
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_unit"
80
- v-on:keyup.enter="$parent.$parent.search()"
81
- condition="ma.f_material_unit = '{}'">
82
- </div>
83
- <div class="form-group col-sm-3">
84
- <label class="font_normal_body">材料数量:</label>
85
- <input type="text" style="width: 60%" class="input_search" placeholder='材料数量' v-model="model.f_material_number"
86
- v-on:keyup.enter="$parent.$parent.search()"
87
- condition="ma.f_material_number = '{}'">
88
- </div>
89
- <div class="form-group col-sm-3">
90
- <label class="font_normal_body">报警器编号:</label>
91
- <input type="text" style="width: 60%" class="input_search" placeholder='报警器编号' v-model="model.f_bjq_sid"
92
- v-on:keyup.enter="$parent.$parent.search()"
93
- condition="ma.f_bjq_sid = '{}'">
94
- </div>
95
- <div class="form-group col-sm-3">
96
- <label for="startDate" class="font_normal_body">开始时间:</label>
97
- <datepicker id="startDate" placeholder="开始日期"
98
- style="width: 60%!important;"
99
- v-model="model.startDate"
100
- :value.sync="model.startDate"
101
- :format="'yyyy-MM-dd 00:00:00'"
102
- :show-reset-button="true"
103
- condition="ma.f_operation_date >= '{}'">
104
- </datepicker>
105
- </div>
106
- <div class="form-group col-sm-3">
107
- <label for="endDate" class="font_normal_body">结束时间:</label>
108
- <datepicker id="endDate" placeholder="结束日期"
109
- style="width: 60%!important;"
110
- v-model="model.endDate"
111
- :value.sync="model.endDate"
112
- :format="'yyyy-MM-dd 23:59:59'"
113
- :show-reset-button="true"
114
- condition="ma.f_operation_date <= '{}'">
115
- </datepicker>
116
- </div>
117
- </div>
118
- </div>
119
- </criteria>
120
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
121
- <template partial='head'>
122
- <tr>
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
- </tr>
135
- </template>
136
- <template partial='body'>
137
- <tr >
138
- <td style="text-align: center;">
139
- <nobr><font>{{$index+1}}</font></nobr>
140
- </td>
141
- <td style="text-align: center;">
142
- <nobr><font>{{row.f_apply_num}}</font></nobr>
143
- </td>
144
- <td style="text-align: center;">
145
- <nobr><font>{{row.f_user_name}}</font></nobr>
146
- </td>
147
- <td style="text-align: center;">
148
- <nobr><font>{{row.f_address}}</font></nobr>
149
- </td>
150
- <td style="text-align: center;">
151
- <nobr><font>{{row.f_material_name}}</font></nobr>
152
- </td>
153
- <td style="text-align: center;">
154
- <nobr><font>{{row.f_material_style}}</font></nobr>
155
- </td>
156
- <td style="text-align: center;">
157
- <nobr><font>{{row.f_material_unit}}</font></nobr>
158
- </td>
159
- <td style="text-align: center;">
160
- <nobr><font>{{row.f_material_number}}</font></nobr>
161
- </td>
162
- <td style="text-align: center;">
163
- <nobr><font>{{row.f_bjq_sid}}</font></nobr>
164
- </td>
165
- <td style="text-align: center;">
166
- <nobr><font>{{row.f_operator}}</font></nobr>
167
- </td>
168
- <td style="text-align: center;">
169
- <nobr><font>{{row.f_operation_date}}</font></nobr>
170
- </td>
171
- </tr>
172
- </template>
173
- </data-grid>
174
-
175
- </criteria-paged>
176
- <p class="bg-info text-center" style="font-size: 20px;height: 5%">
177
- 合计记录共<span style="color: red">{{chargeAll.count}}&ensp;</span>笔,
178
- 合计数量<span style="color: red">&ensp;{{chargeAll.sum}}&ensp;</span>元
179
- </p>
180
- </div>
181
-
182
- </div>
183
- </template>
184
-
185
- <script>
186
- import {PagedList} from 'vue-client'
187
- import {HttpResetClass} from 'vue-client'
188
- export default {
189
- title: '材料明细',
190
- data () {
191
- return {
192
- model: new PagedList('rs/sql/applyGetMaterial', 30, null),
193
- curorgid: [this.$login.f.orgid],
194
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
195
- paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
196
- chargeStatus: [
197
- {label: '全部', value: ''},
198
- {label: '有效', value: '有效'},
199
- {label: '作废', value: '作废'},
200
- {label: '退款', value: '退款'}
201
- ],
202
- criteriaShow: true,
203
- chargeAll: {
204
- count: 0,
205
- sum: 0
206
- },
207
- getfield: {
208
- 'f_apply_num': '工程编号',
209
- 'f_user_name': '客户名称',
210
- 'f_address': '地址',
211
- 'f_material_name': '材料名称',
212
- 'f_material_style': '材料型号',
213
- 'f_material_unit': '材料单位',
214
- 'f_material_number': '材料数量',
215
- 'f_operator': '操作人',
216
- 'f_operation_date': '操作时间'
217
- }
218
- }
219
- },
220
- ready () {
221
- // 调用查询
222
- this.search()
223
- },
224
- methods: {
225
- clear () {
226
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
227
- this.$refs.cp.$refs.cri.model[key] = ''
228
- })
229
- },
230
- searchCondition (args) {
231
- args.condition = args.condition + ` and ma.f_orgid = '${this.curorgid[0]}'`
232
- this.model.search(args.condition, args.model)
233
- },
234
- // 查询
235
- search () {
236
- this.$refs.cp.$refs.cri.search()
237
- this.getChargeAll()
238
- },
239
- async getChargeAll () {
240
- let http = new HttpResetClass()
241
- let data = {
242
- condition: this.model.condition
243
- }
244
- let res = await http.load('POST', 'rs/sql/getGetMaterial', {data: data}, {resolveMsg: null, rejectMsg: null})
245
- console.log(res.data[0])
246
- console.log('222')
247
- this.chargeAll = res.data[0]
248
- },
249
- getorg (val) {
250
- if (val.length <= 0) {
251
- return
252
- }
253
- this.curorgid = val
254
- this.search()
255
- }
256
- },
257
- computed: {
258
- getCondition () {
259
- return {
260
- condition: this.model.condition
261
- }
262
- }
263
- }
264
- }
265
- </script>
266
-
267
- <style scoped>
268
- </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
+ <res-select
11
+ restype='organization'
12
+ :initresid='$parent.$parent.curorgid'
13
+ @res-select="$parent.$parent.getorg"
14
+ is-mul="false"
15
+ ></res-select>
16
+ </div>
17
+ <div class="form-group col-sm-3">
18
+ <label class="font_normal_body">工程编号:</label>
19
+ <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
20
+ v-on:keyup.enter="$parent.$parent.search()"
21
+ condition="a.f_apply_num like '%{}%'">
22
+ </div>
23
+ <div class="form-group col-sm-3">
24
+ <label class="font_normal_body">操&ensp;作&ensp;人:</label>
25
+ <input type="text" style="width: 60%" class="input_search" placeholder='操作人' v-model="model.f_operator"
26
+ v-on:keyup.enter="$parent.$parent.search()"
27
+ condition="ma.f_operator like '%{}%'">
28
+ </div>
29
+ <div class="form-group col-sm-3 button-range">
30
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
31
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
32
+ <export-excel :data="$parent.$parent.getCondition"
33
+ :field="$parent.$parent.getfield"
34
+ sqlurl="rs/logic/applyExportfile"
35
+ sql-name="applyGetMaterial"
36
+ template-name='材料明细导出'
37
+ :choose-col="true"></export-excel>
38
+ <!-- <div-->
39
+ <!-- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"-->
40
+ <!-- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"-->
41
+ <!-- class="button_spacing"-->
42
+ <!-- style="float: right">-->
43
+ <!-- </div>-->
44
+ </div>
45
+ </div>
46
+ <div class="row" v-show="$parent.$parent.criteriaShow">
47
+ <div class="form-group col-sm-3">
48
+ <label class="font_normal_body">用户编号:</label>
49
+ <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
50
+ v-on:keyup.enter="$parent.$parent.search()"
51
+ condition="a.f_userinfo_code 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_user_name"
56
+ v-on:keyup.enter="$parent.$parent.search()"
57
+ condition="a.f_user_name like '%{}%'">
58
+ </div>
59
+ <div class="form-group col-sm-3">
60
+ <label class="font_normal_body">地&emsp;&emsp;址:</label>
61
+ <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
62
+ v-on:keyup.enter="$parent.$parent.search()"
63
+ condition="a.f_address 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_material_name"
68
+ v-on:keyup.enter="$parent.$parent.search()"
69
+ condition="ma.f_material_name = '{}'">
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_style"
74
+ v-on:keyup.enter="$parent.$parent.search()"
75
+ condition="ma.f_material_style = '{}'">
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_unit"
80
+ v-on:keyup.enter="$parent.$parent.search()"
81
+ condition="ma.f_material_unit = '{}'">
82
+ </div>
83
+ <div class="form-group col-sm-3">
84
+ <label class="font_normal_body">材料数量:</label>
85
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料数量' v-model="model.f_material_number"
86
+ v-on:keyup.enter="$parent.$parent.search()"
87
+ condition="ma.f_material_number = '{}'">
88
+ </div>
89
+ <div class="form-group col-sm-3">
90
+ <label class="font_normal_body">报警器编号:</label>
91
+ <input type="text" style="width: 60%" class="input_search" placeholder='报警器编号' v-model="model.f_bjq_sid"
92
+ v-on:keyup.enter="$parent.$parent.search()"
93
+ condition="ma.f_bjq_sid = '{}'">
94
+ </div>
95
+ <div class="form-group col-sm-3">
96
+ <label for="startDate" class="font_normal_body">开始时间:</label>
97
+ <datepicker id="startDate" placeholder="开始日期"
98
+ style="width: 60%!important;"
99
+ v-model="model.startDate"
100
+ :value.sync="model.startDate"
101
+ :format="'yyyy-MM-dd 00:00:00'"
102
+ :show-reset-button="true"
103
+ condition="ma.f_operation_date >= '{}'">
104
+ </datepicker>
105
+ </div>
106
+ <div class="form-group col-sm-3">
107
+ <label for="endDate" class="font_normal_body">结束时间:</label>
108
+ <datepicker id="endDate" placeholder="结束日期"
109
+ style="width: 60%!important;"
110
+ v-model="model.endDate"
111
+ :value.sync="model.endDate"
112
+ :format="'yyyy-MM-dd 23:59:59'"
113
+ :show-reset-button="true"
114
+ condition="ma.f_operation_date <= '{}'">
115
+ </datepicker>
116
+ </div>
117
+ </div>
118
+ </div>
119
+ </criteria>
120
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
121
+ <template partial='head'>
122
+ <tr>
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
+ </tr>
135
+ </template>
136
+ <template partial='body'>
137
+ <tr >
138
+ <td style="text-align: center;">
139
+ <nobr><font>{{$index+1}}</font></nobr>
140
+ </td>
141
+ <td style="text-align: center;">
142
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
143
+ </td>
144
+ <td style="text-align: center;">
145
+ <nobr><font>{{row.f_user_name}}</font></nobr>
146
+ </td>
147
+ <td style="text-align: center;">
148
+ <nobr><font>{{row.f_address}}</font></nobr>
149
+ </td>
150
+ <td style="text-align: center;">
151
+ <nobr><font>{{row.f_material_name}}</font></nobr>
152
+ </td>
153
+ <td style="text-align: center;">
154
+ <nobr><font>{{row.f_material_style}}</font></nobr>
155
+ </td>
156
+ <td style="text-align: center;">
157
+ <nobr><font>{{row.f_material_unit}}</font></nobr>
158
+ </td>
159
+ <td style="text-align: center;">
160
+ <nobr><font>{{row.f_material_number}}</font></nobr>
161
+ </td>
162
+ <td style="text-align: center;">
163
+ <nobr><font>{{row.f_bjq_sid}}</font></nobr>
164
+ </td>
165
+ <td style="text-align: center;">
166
+ <nobr><font>{{row.f_operator}}</font></nobr>
167
+ </td>
168
+ <td style="text-align: center;">
169
+ <nobr><font>{{row.f_operation_date}}</font></nobr>
170
+ </td>
171
+ </tr>
172
+ </template>
173
+ </data-grid>
174
+
175
+ </criteria-paged>
176
+ <p class="bg-info text-center" style="font-size: 20px;height: 5%">
177
+ 合计记录共<span style="color: red">{{chargeAll.count}}&ensp;</span>笔,
178
+ 合计数量<span style="color: red">&ensp;{{chargeAll.sum}}&ensp;</span>元
179
+ </p>
180
+ </div>
181
+
182
+ </div>
183
+ </template>
184
+
185
+ <script>
186
+ import {PagedList} from 'vue-client'
187
+ import {HttpResetClass} from 'vue-client'
188
+ export default {
189
+ title: '材料明细',
190
+ data () {
191
+ return {
192
+ model: new PagedList('rs/sql/applyGetMaterial', 30, null),
193
+ curorgid: [this.$login.f.orgid],
194
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
195
+ paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
196
+ chargeStatus: [
197
+ {label: '全部', value: ''},
198
+ {label: '有效', value: '有效'},
199
+ {label: '作废', value: '作废'},
200
+ {label: '退款', value: '退款'}
201
+ ],
202
+ criteriaShow: true,
203
+ chargeAll: {
204
+ count: 0,
205
+ sum: 0
206
+ },
207
+ getfield: {
208
+ 'f_apply_num': '工程编号',
209
+ 'f_user_name': '客户名称',
210
+ 'f_address': '地址',
211
+ 'f_material_name': '材料名称',
212
+ 'f_material_style': '材料型号',
213
+ 'f_material_unit': '材料单位',
214
+ 'f_material_number': '材料数量',
215
+ 'f_operator': '操作人',
216
+ 'f_operation_date': '操作时间'
217
+ }
218
+ }
219
+ },
220
+ ready () {
221
+ // 调用查询
222
+ this.search()
223
+ },
224
+ methods: {
225
+ clear () {
226
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
227
+ this.$refs.cp.$refs.cri.model[key] = ''
228
+ })
229
+ },
230
+ searchCondition (args) {
231
+ args.condition = args.condition + ` and ma.f_orgid = '${this.curorgid[0]}'`
232
+ this.model.search(args.condition, args.model)
233
+ },
234
+ // 查询
235
+ search () {
236
+ this.$refs.cp.$refs.cri.search()
237
+ this.getChargeAll()
238
+ },
239
+ async getChargeAll () {
240
+ let http = new HttpResetClass()
241
+ let data = {
242
+ condition: this.model.condition
243
+ }
244
+ let res = await http.load('POST', 'rs/sql/getGetMaterial', {data: data}, {resolveMsg: null, rejectMsg: null})
245
+ console.log(res.data[0])
246
+ console.log('222')
247
+ this.chargeAll = res.data[0]
248
+ },
249
+ getorg (val) {
250
+ if (val.length <= 0) {
251
+ return
252
+ }
253
+ this.curorgid = val
254
+ this.search()
255
+ }
256
+ },
257
+ computed: {
258
+ getCondition () {
259
+ return {
260
+ condition: this.model.condition
261
+ }
262
+ }
263
+ }
264
+ }
265
+ </script>
266
+
267
+ <style scoped>
268
+ </style>