apply-clients 3.4.39 → 3.4.51

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 (58) hide show
  1. package/build/dev-server.js +2 -2
  2. package/package.json +1 -1
  3. package/src/android.js +21 -21
  4. package/src/apply.js +113 -113
  5. package/src/applyAndroid.js +53 -53
  6. package/src/components/android/AppServiceView.vue +745 -745
  7. package/src/components/android/AppSign.vue +154 -154
  8. package/src/components/android/Process/AppExplorationUser.vue +507 -507
  9. package/src/components/android/Process/AppServiceControl.vue +1708 -1708
  10. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -477
  11. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -519
  12. package/src/components/android/Process/Processes/AppInstallationDetails.vue +482 -482
  13. package/src/components/android/Supervisory/AppSupervisoryCart.vue +156 -156
  14. package/src/components/product/Business/BusinessApply.vue +269 -269
  15. package/src/components/product/Business/CivilApply.vue +269 -269
  16. package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -253
  17. package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -53
  18. package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -376
  19. package/src/components/product/Material/MaterialDetailed.vue +262 -262
  20. package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -360
  21. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -157
  22. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -259
  23. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -168
  24. package/src/components/product/Process/ExplorationSelect.vue +495 -495
  25. package/src/components/product/Process/ExplorationUser.vue +189 -189
  26. package/src/components/product/Process/Processes/InstallationDetails.vue +610 -610
  27. package/src/components/product/Process/Processes/Print/printCharge.vue +166 -166
  28. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -454
  29. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -211
  30. package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
  31. package/src/components/product/Process/Processes/devicesManagement.vue +484 -484
  32. package/src/components/product/Process/Service/ServiceControl.vue +1918 -1920
  33. package/src/components/product/ServiceView.vue +981 -981
  34. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
  35. package/src/components/product/Supervisory/SupervisoryList.vue +404 -404
  36. package/src/components/product/VueUtils/ApplyUpload.vue +275 -280
  37. package/src/filiale/gehua/pc/ExplorationSelect.vue +483 -483
  38. package/src/filiale/gehua/pc/ServiceControl.vue +1929 -1929
  39. package/src/filiale/gehua/pc/SupervisoryControl.vue +137 -137
  40. package/src/filiale/gehua/pc/SupervisoryServiceControl.vue +890 -890
  41. package/src/filiale/gehua/pc/buildOrderList.vue +339 -0
  42. package/src/filiale/gehua/pc/printBuildOrder.vue +243 -0
  43. package/src/filiale/gehua/pc.js +3 -2
  44. package/src/filiale/guangxi/android/Process/AppExplorationUser.vue +503 -503
  45. package/src/filiale/guangxi/android/Process/Processes/AppAddMaterialScience.vue +470 -470
  46. package/src/filiale/guangxi/android/Process/Processes/AppDevicesManagement.vue +519 -519
  47. package/src/filiale/guangxi/android/Process/Processes/AppInstallationDetails.vue +482 -482
  48. package/src/filiale/guangxi/android/Process/Processes/AppServiceControl.vue +1708 -1708
  49. package/src/filiale/guangxi/android/Process/Processes/AppServiceView.vue +766 -766
  50. package/src/filiale/guangxi/android.js +9 -9
  51. package/src/filiale/guangxi/pc/ApplyCharge/ApplyChargeList.vue +470 -470
  52. package/src/filiale/guangxi/pc/ApplyCharge/chargeManagement.vue +702 -702
  53. package/src/filiale/guangxi/pc/Process/ExplorationSelect.vue +538 -538
  54. package/src/filiale/guangxi/pc/Process/Service/ServiceControl.vue +1922 -1922
  55. package/src/filiale/guangxi/pc/Process/Service/SupervisoryServiceControl.vue +891 -891
  56. package/src/filiale/guangxi/pc/Process/Service/addMaterialScience.vue +482 -482
  57. package/src/filiale/guangxi/pc.js +15 -15
  58. package/src/main.js +1 -4
@@ -1,262 +1,262 @@
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 = '{}'">
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_user_name"
50
- v-on:keyup.enter="$parent.$parent.search()"
51
- condition="a.f_user_name like '%{}%'">
52
- </div>
53
- <div class="form-group col-sm-3">
54
- <label class="font_normal_body">地&emsp;&emsp;址:</label>
55
- <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
56
- v-on:keyup.enter="$parent.$parent.search()"
57
- condition="a.f_address 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="ma.f_material_name = '{}'">
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_style"
68
- v-on:keyup.enter="$parent.$parent.search()"
69
- condition="ma.f_material_style = '{}'">
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_unit"
74
- v-on:keyup.enter="$parent.$parent.search()"
75
- condition="ma.f_material_unit = '{}'">
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_number"
80
- v-on:keyup.enter="$parent.$parent.search()"
81
- condition="ma.f_material_number = '{}'">
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_bjq_sid"
86
- v-on:keyup.enter="$parent.$parent.search()"
87
- condition="ma.f_bjq_sid = '{}'">
88
- </div>
89
- <div class="form-group col-sm-3">
90
- <label for="startDate" class="font_normal_body">开始时间:</label>
91
- <datepicker id="startDate" placeholder="开始日期"
92
- style="width: 60%!important;"
93
- v-model="model.startDate"
94
- :value.sync="model.startDate"
95
- :format="'yyyy-MM-dd 00:00:00'"
96
- :show-reset-button="true"
97
- condition="ma.f_operation_date >= '{}'">
98
- </datepicker>
99
- </div>
100
- <div class="form-group col-sm-3">
101
- <label for="endDate" class="font_normal_body">结束时间:</label>
102
- <datepicker id="endDate" placeholder="结束日期"
103
- style="width: 60%!important;"
104
- v-model="model.endDate"
105
- :value.sync="model.endDate"
106
- :format="'yyyy-MM-dd 23:59:59'"
107
- :show-reset-button="true"
108
- condition="ma.f_operation_date <= '{}'">
109
- </datepicker>
110
- </div>
111
- </div>
112
- </div>
113
- </criteria>
114
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
115
- <template partial='head'>
116
- <tr>
117
- <th>序号</th>
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
- </tr>
129
- </template>
130
- <template partial='body'>
131
- <tr >
132
- <td style="text-align: center;">
133
- <nobr><font>{{$index+1}}</font></nobr>
134
- </td>
135
- <td style="text-align: center;">
136
- <nobr><font>{{row.f_apply_num}}</font></nobr>
137
- </td>
138
- <td style="text-align: center;">
139
- <nobr><font>{{row.f_user_name}}</font></nobr>
140
- </td>
141
- <td style="text-align: center;">
142
- <nobr><font>{{row.f_address}}</font></nobr>
143
- </td>
144
- <td style="text-align: center;">
145
- <nobr><font>{{row.f_material_name}}</font></nobr>
146
- </td>
147
- <td style="text-align: center;">
148
- <nobr><font>{{row.f_material_style}}</font></nobr>
149
- </td>
150
- <td style="text-align: center;">
151
- <nobr><font>{{row.f_material_unit}}</font></nobr>
152
- </td>
153
- <td style="text-align: center;">
154
- <nobr><font>{{row.f_material_number}}</font></nobr>
155
- </td>
156
- <td style="text-align: center;">
157
- <nobr><font>{{row.f_bjq_sid}}</font></nobr>
158
- </td>
159
- <td style="text-align: center;">
160
- <nobr><font>{{row.f_operator}}</font></nobr>
161
- </td>
162
- <td style="text-align: center;">
163
- <nobr><font>{{row.f_operation_date}}</font></nobr>
164
- </td>
165
- </tr>
166
- </template>
167
- </data-grid>
168
-
169
- </criteria-paged>
170
- <p class="bg-info text-center" style="font-size: 20px;height: 5%">
171
- 合计记录共<span style="color: red">{{chargeAll.count}}&ensp;</span>笔,
172
- 合计数量<span style="color: red">&ensp;{{chargeAll.sum}}&ensp;</span>元
173
- </p>
174
- </div>
175
-
176
- </div>
177
- </template>
178
-
179
- <script>
180
- import {PagedList} from 'vue-client'
181
- import {HttpResetClass} from 'vue-client'
182
- export default {
183
- title: '材料明细',
184
- data () {
185
- return {
186
- model: new PagedList('rs/sql/applyGetMaterial', 30, null),
187
- curorgid: [this.$login.f.orgid],
188
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
189
- paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
190
- chargeStatus: [
191
- {label: '全部', value: ''},
192
- {label: '有效', value: '有效'},
193
- {label: '作废', value: '作废'},
194
- {label: '退款', value: '退款'}
195
- ],
196
- criteriaShow: true,
197
- chargeAll: {
198
- count: 0,
199
- sum: 0
200
- },
201
- getfield: {
202
- 'f_apply_num': '工程编号',
203
- 'f_user_name': '客户名称',
204
- 'f_address': '地址',
205
- 'f_material_name': '材料名称',
206
- 'f_material_style': '材料型号',
207
- 'f_material_unit': '材料单位',
208
- 'f_material_number': '材料数量',
209
- 'f_operator': '操作人',
210
- 'f_operation_date': '操作时间'
211
- }
212
- }
213
- },
214
- ready () {
215
- // 调用查询
216
- this.search()
217
- },
218
- methods: {
219
- clear () {
220
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
221
- this.$refs.cp.$refs.cri.model[key] = ''
222
- })
223
- },
224
- searchCondition (args) {
225
- args.condition = args.condition + ` and ma.f_orgid = '${this.curorgid[0]}'`
226
- this.model.search(args.condition, args.model)
227
- },
228
- // 查询
229
- search () {
230
- this.$refs.cp.$refs.cri.search()
231
- this.getChargeAll()
232
- },
233
- async getChargeAll () {
234
- let http = new HttpResetClass()
235
- let data = {
236
- condition: this.model.condition
237
- }
238
- let res = await http.load('POST', 'rs/sql/getGetMaterial', {data: data}, {resolveMsg: null, rejectMsg: null})
239
- console.log(res.data[0])
240
- console.log('222')
241
- this.chargeAll = res.data[0]
242
- },
243
- getorg (val) {
244
- if (val.length <= 0) {
245
- return
246
- }
247
- this.curorgid = val
248
- this.search()
249
- }
250
- },
251
- computed: {
252
- getCondition () {
253
- return {
254
- condition: this.model.condition
255
- }
256
- }
257
- }
258
- }
259
- </script>
260
-
261
- <style scoped>
262
- </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 = '{}'">
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_user_name"
50
+ v-on:keyup.enter="$parent.$parent.search()"
51
+ condition="a.f_user_name like '%{}%'">
52
+ </div>
53
+ <div class="form-group col-sm-3">
54
+ <label class="font_normal_body">地&emsp;&emsp;址:</label>
55
+ <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
56
+ v-on:keyup.enter="$parent.$parent.search()"
57
+ condition="a.f_address 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="ma.f_material_name = '{}'">
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_style"
68
+ v-on:keyup.enter="$parent.$parent.search()"
69
+ condition="ma.f_material_style = '{}'">
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_unit"
74
+ v-on:keyup.enter="$parent.$parent.search()"
75
+ condition="ma.f_material_unit = '{}'">
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_number"
80
+ v-on:keyup.enter="$parent.$parent.search()"
81
+ condition="ma.f_material_number = '{}'">
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_bjq_sid"
86
+ v-on:keyup.enter="$parent.$parent.search()"
87
+ condition="ma.f_bjq_sid = '{}'">
88
+ </div>
89
+ <div class="form-group col-sm-3">
90
+ <label for="startDate" class="font_normal_body">开始时间:</label>
91
+ <datepicker id="startDate" placeholder="开始日期"
92
+ style="width: 60%!important;"
93
+ v-model="model.startDate"
94
+ :value.sync="model.startDate"
95
+ :format="'yyyy-MM-dd 00:00:00'"
96
+ :show-reset-button="true"
97
+ condition="ma.f_operation_date >= '{}'">
98
+ </datepicker>
99
+ </div>
100
+ <div class="form-group col-sm-3">
101
+ <label for="endDate" class="font_normal_body">结束时间:</label>
102
+ <datepicker id="endDate" placeholder="结束日期"
103
+ style="width: 60%!important;"
104
+ v-model="model.endDate"
105
+ :value.sync="model.endDate"
106
+ :format="'yyyy-MM-dd 23:59:59'"
107
+ :show-reset-button="true"
108
+ condition="ma.f_operation_date <= '{}'">
109
+ </datepicker>
110
+ </div>
111
+ </div>
112
+ </div>
113
+ </criteria>
114
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
115
+ <template partial='head'>
116
+ <tr>
117
+ <th>序号</th>
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
+ </tr>
129
+ </template>
130
+ <template partial='body'>
131
+ <tr >
132
+ <td style="text-align: center;">
133
+ <nobr><font>{{$index+1}}</font></nobr>
134
+ </td>
135
+ <td style="text-align: center;">
136
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
137
+ </td>
138
+ <td style="text-align: center;">
139
+ <nobr><font>{{row.f_user_name}}</font></nobr>
140
+ </td>
141
+ <td style="text-align: center;">
142
+ <nobr><font>{{row.f_address}}</font></nobr>
143
+ </td>
144
+ <td style="text-align: center;">
145
+ <nobr><font>{{row.f_material_name}}</font></nobr>
146
+ </td>
147
+ <td style="text-align: center;">
148
+ <nobr><font>{{row.f_material_style}}</font></nobr>
149
+ </td>
150
+ <td style="text-align: center;">
151
+ <nobr><font>{{row.f_material_unit}}</font></nobr>
152
+ </td>
153
+ <td style="text-align: center;">
154
+ <nobr><font>{{row.f_material_number}}</font></nobr>
155
+ </td>
156
+ <td style="text-align: center;">
157
+ <nobr><font>{{row.f_bjq_sid}}</font></nobr>
158
+ </td>
159
+ <td style="text-align: center;">
160
+ <nobr><font>{{row.f_operator}}</font></nobr>
161
+ </td>
162
+ <td style="text-align: center;">
163
+ <nobr><font>{{row.f_operation_date}}</font></nobr>
164
+ </td>
165
+ </tr>
166
+ </template>
167
+ </data-grid>
168
+
169
+ </criteria-paged>
170
+ <p class="bg-info text-center" style="font-size: 20px;height: 5%">
171
+ 合计记录共<span style="color: red">{{chargeAll.count}}&ensp;</span>笔,
172
+ 合计数量<span style="color: red">&ensp;{{chargeAll.sum}}&ensp;</span>元
173
+ </p>
174
+ </div>
175
+
176
+ </div>
177
+ </template>
178
+
179
+ <script>
180
+ import {PagedList} from 'vue-client'
181
+ import {HttpResetClass} from 'vue-client'
182
+ export default {
183
+ title: '材料明细',
184
+ data () {
185
+ return {
186
+ model: new PagedList('rs/sql/applyGetMaterial', 30, null),
187
+ curorgid: [this.$login.f.orgid],
188
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
189
+ paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
190
+ chargeStatus: [
191
+ {label: '全部', value: ''},
192
+ {label: '有效', value: '有效'},
193
+ {label: '作废', value: '作废'},
194
+ {label: '退款', value: '退款'}
195
+ ],
196
+ criteriaShow: true,
197
+ chargeAll: {
198
+ count: 0,
199
+ sum: 0
200
+ },
201
+ getfield: {
202
+ 'f_apply_num': '工程编号',
203
+ 'f_user_name': '客户名称',
204
+ 'f_address': '地址',
205
+ 'f_material_name': '材料名称',
206
+ 'f_material_style': '材料型号',
207
+ 'f_material_unit': '材料单位',
208
+ 'f_material_number': '材料数量',
209
+ 'f_operator': '操作人',
210
+ 'f_operation_date': '操作时间'
211
+ }
212
+ }
213
+ },
214
+ ready () {
215
+ // 调用查询
216
+ this.search()
217
+ },
218
+ methods: {
219
+ clear () {
220
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
221
+ this.$refs.cp.$refs.cri.model[key] = ''
222
+ })
223
+ },
224
+ searchCondition (args) {
225
+ args.condition = args.condition + ` and ma.f_orgid = '${this.curorgid[0]}'`
226
+ this.model.search(args.condition, args.model)
227
+ },
228
+ // 查询
229
+ search () {
230
+ this.$refs.cp.$refs.cri.search()
231
+ this.getChargeAll()
232
+ },
233
+ async getChargeAll () {
234
+ let http = new HttpResetClass()
235
+ let data = {
236
+ condition: this.model.condition
237
+ }
238
+ let res = await http.load('POST', 'rs/sql/getGetMaterial', {data: data}, {resolveMsg: null, rejectMsg: null})
239
+ console.log(res.data[0])
240
+ console.log('222')
241
+ this.chargeAll = res.data[0]
242
+ },
243
+ getorg (val) {
244
+ if (val.length <= 0) {
245
+ return
246
+ }
247
+ this.curorgid = val
248
+ this.search()
249
+ }
250
+ },
251
+ computed: {
252
+ getCondition () {
253
+ return {
254
+ condition: this.model.condition
255
+ }
256
+ }
257
+ }
258
+ }
259
+ </script>
260
+
261
+ <style scoped>
262
+ </style>