sale-client 3.5.288 → 3.5.289

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.5.288",
3
+ "version": "3.5.289",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -57,6 +57,13 @@
57
57
  :starthead="$parent.$parent.starthead"
58
58
  titletable="预存气费打印明细"
59
59
  ></print-data>
60
+ <export-excel :data="{condition:$parent.$parent.condition}"
61
+ :field="$parent.$parent.fields"
62
+ sqlurl="rs/logic/exportfile" sql-name="sale_HandplanQuery" template-name='抄表查询'
63
+ v-ref:exports
64
+ :choose-col="true">
65
+
66
+ </export-excel>
60
67
  </div>
61
68
  </div>
62
69
 
@@ -102,7 +102,7 @@
102
102
  <div class="col-sm-4 form-group" :class="[$m.way.required ? 'has-error' : '']" v-if="row.gasbrand.length > 0 && row.gasbrand[0].f_meter_type == '物联网表' && row.gasbrand[0].f_hascard == '是'">
103
103
  <label for="f_open_way" class="font_normal_body">开户方式</label>
104
104
  <v-select :value.sync="row.f_open_way" v-model='row.f_open_way'
105
- placeholder='开户方式' :options='openWay'
105
+ placeholder='开户方式' :options='openWay' :value-single="true"
106
106
  close-on-select :disabled="false" v-ref:way></v-select>
107
107
  <input type="text" v-show="false" v-model="$refs.way.selectedItems" v-validate:way='{required: true }'>
108
108
  </div>
@@ -0,0 +1,485 @@
1
+ <template>
2
+ <div class="flex">
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="form-group col-sm-3" >
8
+ <label class="font_normal_body">客户编号</label>
9
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code" placeholder='客户编号'
10
+ condition="f_userinfo_code = '{}'" @keyup.enter="search()">
11
+ </div>
12
+ <!-- <div class="form-group col-sm-3">-->
13
+ <!-- <label class="font_normal_body">客户状态</label>-->
14
+ <!-- <v-select :value.sync="model.f_user_state" v-model="model.f_user_state"-->
15
+ <!-- :options='$parent.$parent.userstates' placeholder='客户状态'-->
16
+ <!-- close-on-select condition="f_user_state='{}'"></v-select>-->
17
+ <!-- </div>-->
18
+ <div class="form-group col-sm-3" >
19
+ <label class="font_normal_body">表&emsp;&emsp;号</label>
20
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_meternumber" placeholder='表号'
21
+ condition="f_meternumber = '{}'" @keyup.enter="search()">
22
+ </div>
23
+ <div class="form-group col-sm-4 button-range" >
24
+ <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.changeprice()" v-el:cba>批量调价</button>
25
+ <button class="button_search" style="margin-right: 10px" @click="search()" v-el:cba>查询</button>
26
+ <export-excel
27
+ :data="{condition: $parent.$parent.condition}"
28
+ :field="$parent.$parent.getfield"
29
+ sqlurl="rs/logic/exportfile" sql-name="salegetGasUser" :template-name="$parent.$parent.pricename+'气价使用人'"
30
+ :choose-col="true"></export-excel>
31
+ <div style="float: right" class="button_spacing"
32
+ :class="{'button_shrink_top': $parent.$parent.criteriaShow2,'button_shrink_bottom': !$parent.$parent.criteriaShow2}"
33
+ @click="$parent.$parent.criteriaShow2 = !$parent.$parent.criteriaShow2"></div>
34
+ </div>
35
+ </div>
36
+ <div class="row" v-show="$parent.$parent.criteriaShow2">
37
+ <div class="form-group col-sm-3" >
38
+ <label class="font_normal_body">气表状态</label>
39
+ <v-select style="width:60%" :value.sync="model.f_table_state"
40
+ v-model="model.f_table_state"
41
+ :options='$parent.$parent.gasStates' placeholder='气表状态'
42
+ condition="f_table_state ='{}'"></v-select>
43
+ </div>
44
+ <div class="col-sm-3 form-group">
45
+ <label class="font_normal_body">客户类型</label>
46
+ <v-select :value.sync="model.f_user_type"
47
+ @change="$parent.$parent.userTypeChange1()"
48
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
49
+ condition="f_user_type = '{}'"
50
+ close-on-select></v-select>
51
+ </div>
52
+ <div class="col-sm-3 form-group">
53
+ <label class="font_normal_body">用气性质</label>
54
+ <v-select :value.sync="model.f_gasproperties1" v-model="model.f_gasproperties1"
55
+ :options='$parent.$parent.gasproperties1' placeholder='请选择'
56
+ condition="f_gasproperties = '{}'"
57
+ close-on-select></v-select>
58
+ </div>
59
+ <div class="col-sm-3 form-group">
60
+ <label class="font_normal_body">用气类别</label>
61
+ <v-select :value.sync="model.f_gongye_type" v-model='model.f_gongye_type'
62
+ :options='$parent.$parent.gongyetype' placeholder='用气类别'
63
+ condition="f_gongye_type = '{}'"
64
+ close-on-select
65
+ v-el:cc></v-select>
66
+ </div>
67
+ <div class="form-group col-sm-3">
68
+ <label class="font_normal_body">气表类型</label>
69
+ <v-select :value.sync="model.f_meter_classify" v-model="model.f_meter_classify"
70
+ :options='$parent.$parent.meters' placeholder='气表类型'
71
+ close-on-select
72
+ condition="f_meter_classify = '{}'"
73
+ style="width: 60%"
74
+ >
75
+ </v-select>
76
+ </div>
77
+ <div class="form-group col-sm-3">
78
+ <label class="font_normal_body">小区名称</label>
79
+ <v-select :value.sync="model.f_residential_area_id" v-model="model.f_residential_area_id"
80
+ :options='$parent.$parent.areaList' placeholder='小区名称'
81
+ close-on-select @select-search="$parent.$parent.getAreaList"
82
+ condition="f_residential_area_id = '{}'"
83
+ style="width: 60%"
84
+ >
85
+ </v-select>
86
+ </div>
87
+ <div class="col-sm-3 form-group">
88
+ <label class="font_normal_body">气表品牌</label>
89
+ <v-select :value.sync="model.f_meter_brand"
90
+ v-model="model.f_meter_brand"
91
+ :options="$parent.$parent.meterbrands"
92
+ condition="f_meter_brand = '{}'"
93
+ close-on-select></v-select>
94
+ </div>
95
+ </div>
96
+ </div>
97
+ </criteria>
98
+ <data-grid :model="model" class="table_sy" partial='list' v-ref:grid :optional="true">
99
+ <template partial='head'>
100
+ <th><nobr>客户编号</nobr></th>
101
+ <th><nobr>表号</nobr></th>
102
+ <th><nobr>气价名称</nobr></th>
103
+ <th><nobr>气价类型</nobr></th>
104
+ <th><nobr>客户类型</nobr></th>
105
+ <th><nobr>用气性质</nobr></th>
106
+ <th><nobr>客户名称</nobr></th>
107
+ <th><nobr>客户地址</nobr></th>
108
+ </template>
109
+ <template partial='body'>
110
+ <td style="text-align:center"><span @click="$parent.$parent.$parent.dealmsg(row)"><a><b>{{row.f_userinfo_code}}</b></a></span></td>
111
+ <td style="text-align:center">{{row.f_meternumber}}</td>
112
+ <td style="text-align:center">{{row.f_price_name}}</td>
113
+ <td style="text-align:center">{{row.f_price_type}}</td>
114
+ <td style="text-align:center">{{row.f_user_type}}</td>
115
+ <td style="text-align:center">{{row.f_gasproperties}}</td>
116
+ <td style="text-align:center">{{row.f_user_name}}</td>
117
+ <td style="text-align:center;white-space: nowrap;">{{row.f_address}}</td>
118
+ </template>
119
+ <template partial='foot'></template>
120
+ </data-grid>
121
+ </criteria-paged>
122
+
123
+
124
+ <modal :show.sync="show" width="50%" backdrop="false">
125
+
126
+ <header slot="modal-header" class="modal-header">
127
+ <h4 class="modal-title" style="text-align: center;">气价调整</h4>
128
+ </header>
129
+ <article slot="modal-body" class="modal-body">
130
+ <div class="panel panel-primary datapanel">
131
+ <form class="form-horizontal select-overspread">
132
+ <div class="form-group">
133
+ <div class="row bg-info text-center text-center" style="height:35px">
134
+ <div style="float: left">
135
+ <label class="font_normal_body">旧气价信息</label>
136
+ </div>
137
+ </div>
138
+ <div class="row" style="margin-top: 2%">
139
+ <div class="col-sm-3 flex-row ">
140
+ <label class="control-label">客户类型</label>
141
+ <p class="form-control-static">{{oldinfo.f_user_type}}</p>
142
+ </div>
143
+ <div class="col-sm-3 flex-row ">
144
+ <label class="control-label">用气性质</label>
145
+ <p class="form-control-static">{{oldinfo.f_gasproperties}}</p>
146
+ </div>
147
+ <div class="col-sm-3 flex-row ">
148
+ <label class="control-label">气价类型</label>
149
+ <p class="form-control-static">{{oldinfo.f_price_type}}</p>
150
+ </div>
151
+ <div class="col-sm-3 flex-row ">
152
+ <label class="control-label">气价名称</label>
153
+ <p class="form-control-static">{{oldinfo.f_price_name}}</p>
154
+ </div>
155
+ </div>
156
+ <div class="row bg-info text-center text-center" style="height:35px">
157
+ <div style="float: left">
158
+ <label class="font_normal_body">新气价信息</label>
159
+ </div>
160
+ </div>
161
+ <div class="row" style="margin-top: 2%">
162
+ <div class="col-sm-4 flex-row" >
163
+ <label class="control-label">用户类型</label>
164
+ <v-select :value.sync="newinfo.f_user_type"
165
+ :options='usertypes' placeholder='用户类型'
166
+ @change="userTypeChange()"
167
+ close-on-select></v-select>
168
+ </div>
169
+ <div class="col-sm-4 flex-row">
170
+ <label class="control-label">用气性质</label>
171
+ <v-select :value.sync="newinfo.f_gasproperties" v-model="newinfo.f_gasproperties"
172
+ :options='gasproperties' placeholder='用气性质'
173
+ close-on-select v-ref:gas></v-select>
174
+ </div>
175
+ <div class="col-sm-4 flex-row">
176
+ <label class="control-label">气价类型</label>
177
+ <v-select :value.sync="newinfo.pricetype" v-model="newinfo.pricetype"
178
+ placeholder='气价类型' :options="pricetypes"
179
+ close-on-select v-ref:type>
180
+ </v-select>
181
+ </div>
182
+ </div>
183
+ <div class="row" style="margin-top: 2%">
184
+
185
+ <div class="col-sm-4 flex-row" >
186
+ <label class="control-label">气价名称</label>
187
+ <v-select :value.sync="newinfo.pricename" v-model="newinfo.pricename"
188
+ placeholder='气价名称' :options="getPricenames()" @change="priceChange"
189
+ close-on-select :disabled='newinfo.pricetype.length === 0 ' v-ref:name></v-select>
190
+ <span class="col-sm-3" v-if="newinfo.pricetype.length === 1 && gasproperties.length === 0"
191
+ style="color:red;text-align:right">请确定用气性质已选择!!</span>
192
+ </div>
193
+
194
+ <div class="col-sm-4 flex-row">
195
+ <label class="control-label">气价备注</label>
196
+ <input type="text" class="input_search" style="width:60%" v-model="newinfo.f_price_comments" placeholder='气价备注' disabled>
197
+ </div>
198
+
199
+ <div class="col-sm-4 flex-row">
200
+ <label class="control-label">调价原因</label>
201
+ <v-select :value.sync="newinfo.f_comments" v-model="newinfo.f_comments"
202
+ placeholder='调价原因' :options="adjustpricereasons" :value-single="true"
203
+ close-on-select v-ref:type>
204
+ </v-select>
205
+ </div>
206
+
207
+ </div>
208
+
209
+ </div>
210
+ </form>
211
+ </div>
212
+
213
+ <upload :blodid="blodid" :businessid="blodid" isremark="true" fusetype="批量调价" v-ref:fileupload></upload>
214
+ </article>
215
+ <footer slot="modal-footer" class="modal-footer">
216
+ <button class="button_search" @click="modifyUser">确定</button>
217
+ <button type="button" class="button_clear" @click='close'>取消</button>
218
+ </footer>
219
+
220
+ </modal>
221
+ </div>
222
+ </template>
223
+
224
+ <script>
225
+ import {HttpResetClass, PagedList} from 'vue-client'
226
+
227
+ let loadParamGem = async function (self) {
228
+ await self.$LoadParams.loadParam(self.priceorgid ? self.priceorgid : self.f_filialeid)
229
+ await self.$MagLoadParams.loadParam()
230
+ self.initParams()
231
+ }
232
+ export default {
233
+ title: '气价使用人',
234
+ data () {
235
+ return {
236
+ model: new PagedList('rs/sql/getGasUser', 20, {}),
237
+ condition: '',
238
+ criteriaShow2: false,
239
+ gasproperties1: [],
240
+ getfield: {},
241
+ show: false,
242
+ gasproperties: [],
243
+ f_filialeid: this.$login.f.orgid,
244
+ newinfo: {
245
+ f_user_type: '',
246
+ f_gasproperties: '',
247
+ pricetype: '',
248
+ pricename: '',
249
+ f_comments: ''
250
+ },
251
+ oldinfo: {
252
+ f_user_type: '',
253
+ f_gasproperties: '',
254
+ f_price_type: '',
255
+ f_price_name: '',
256
+ f_price_id: '',
257
+ f_stairprice_id: ''
258
+ },
259
+ areaList: [],
260
+ gongyetype: this.$appdata.getParam('用气类别') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类别')] : [],
261
+ usertypes: this.$appdata.getParam('用户类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')] : [],
262
+ pricetypes: this.$appdata.getParam('气价类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')] : [],
263
+ meters: this.$appdata.getParam('气表类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')] : [],
264
+ adjustpricereasons: this.$appdata.getParam('批量调价原因'),
265
+ config: {
266
+ excelHeaders: {
267
+ 'f_price_name': '气价名称',
268
+ 'f_userinfo_code': '客户编号',
269
+ 'f_user_name': '客户姓名',
270
+ 'f_address': '客户地址',
271
+ 'f_orgname': '组织机构'
272
+ }
273
+ },
274
+ blodid: '临时id' + Date.now()
275
+ }
276
+ },
277
+ props: ['priceid', 'pricename', 'priceorgid'],
278
+ ready () {
279
+ this.search()
280
+ this.getfield = this.config.excelHeaders
281
+ loadParamGem(this)
282
+ this.getAreaList()
283
+ },
284
+ methods: {
285
+ initParams () {
286
+ // 初始化气表品牌
287
+ let brandArr = []
288
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
289
+ let temp = {}
290
+ temp.label = item.label
291
+ temp.value = item.value.f_meter_brand
292
+ brandArr.push(temp)
293
+ })
294
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
295
+ },
296
+ getAreaList (searchText) {
297
+ let condition = ' 1 = 1 '
298
+ if (searchText) {
299
+ condition = ` f_residential_area like '%${searchText}%' `
300
+ }
301
+ let HttpReset = new HttpResetClass()
302
+ HttpReset.load('POST', 'rs/sql/saleSingleTable?pageNo=1&pageSize=100', {
303
+ data: {
304
+ items: 'f_residential_area, id',
305
+ tablename: 't_area',
306
+ orderitem: 'id desc',
307
+ condition: condition
308
+ }
309
+ }, {resolveMsg: null, rejectMsg: '获取小区信息失败!'}).then((req) => {
310
+ let redata = []
311
+ req.data.forEach((row, n) => {
312
+ redata[n] = {
313
+ label: row.f_residential_area,
314
+ value: row.id
315
+ }
316
+ })
317
+ this.areaList = [{label: '全部', value: ''}, ...redata]
318
+ })
319
+ },
320
+ userTypeChange1 () {
321
+ this.gasproperties1 = []
322
+ if (this.$refs.paged.$refs.criteria.model !== null) {
323
+ this.$refs.paged.$refs.criteria.model.f_gasproperties1 = ''
324
+ this.gasproperties1 = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
325
+ } else {
326
+ this.gasproperties1 = [{label: '全部', value: ''}]
327
+ }
328
+ },
329
+ close () {
330
+ this.show = false
331
+ Object.keys(this.newinfo).forEach(key => {
332
+ this.newinfo[key] = ''
333
+ })
334
+ },
335
+ async modifyUser () {
336
+ let rowdata = this.$refs.paged.$refs.grid.getRowData()
337
+ let condition = rowdata.length == 0 ? this.condition : ''
338
+ let com = rowdata.map((row) => { return row.f_userfiles_id }).join(',')
339
+ let fileuploadid = this.$refs.fileupload.fileInfoData.map((row) => { return row.id }).join(',')
340
+
341
+ let param = {
342
+ // 新气价信息
343
+ f_user_type: this.newinfo.f_user_type[0],
344
+ f_gasproperties: this.newinfo.f_gasproperties[0],
345
+ f_price_type: this.newinfo.pricetype[0],
346
+ f_price_name: this.newinfo.pricename[0].f_price_name,
347
+ f_price_id: this.newinfo.pricename[0].f_price_id,
348
+ f_perform_date: this.newinfo.pricename[0].f_perform_date,
349
+ f_stairprice_id: this.newinfo.pricename[0].id,
350
+ // 修改原因
351
+ f_comments: this.newinfo.f_comments,
352
+ // 操作人组织机构信息
353
+ f_operator: this.$login.f.name,
354
+ f_operatorid: this.$login.f.id,
355
+ f_orgid: this.$login.f.orgid,
356
+ f_orgname: this.$login.f.orgs,
357
+ f_depid: this.$login.f.depids,
358
+ f_depname: this.$login.f.deps,
359
+ // 修改条件
360
+ con: com,
361
+ condition: condition,
362
+ fileuploadid: fileuploadid
363
+ }
364
+ if (this.priceid) {
365
+ if (this.newinfo.pricename[0].f_price_id == this.model.rows[0].f_price_id) {
366
+ this.$showMessage('选择的气价和当前气价相同, 请重新选择')
367
+ return
368
+ }
369
+ // 旧气价信息
370
+ param.f_user_type_old = this.model.rows[0].f_user_type
371
+ param.f_gasproperties_old = this.model.rows[0].f_gasproperties
372
+ param.f_price_type_old = this.model.rows[0].f_price_type
373
+ param.f_price_name_old = this.model.rows[0].f_price_name
374
+ param.f_price_id_old = this.model.rows[0].f_price_id
375
+ param.f_stairprice_id_old = this.model.rows[0].f_stairprice_id
376
+ let res = await this.$resetpost('rs/logic/pricechangeall', {data: param}, {resolveMsg: '更新成功', rejectMsg: '更新失败'})
377
+ this.$showMessage(`成功批量修改了${res.data}位用户的气价`)
378
+ } else {
379
+ param.oldinfo = this.param
380
+ let res = await this.$resetpost('rs/logic/pricechangebatch', {data: param}, {resolveMsg: '更新成功', rejectMsg: '更新失败'})
381
+ this.$showMessage(`成功批量修改了${res.data}位用户的气价`)
382
+ }
383
+ this.criteriaShow = false
384
+ this.close()
385
+ this.search()
386
+ },
387
+ userTypeChange () {
388
+ this.gasproperties = []
389
+ if (this.newinfo.f_user_type.length === 1) {
390
+ this.gasproperties = this.$appdata.getParam(this.newinfo.f_user_type[0])
391
+ }
392
+ },
393
+ search () {
394
+ this.$refs.paged.$refs.criteria.search()
395
+ },
396
+ changeprice () {
397
+ let rowdata = this.$refs.paged.$refs.grid.getRowData().length > 0 ? this.$refs.paged.$refs.grid.getRowData() : this.model.rows
398
+ if (this.priceid && this.model.rows.length > 0) {
399
+ this.oldinfo = {
400
+ f_user_type: this.model.rows[0].f_user_type,
401
+ f_gasproperties: this.model.rows[0].f_gasproperties,
402
+ f_price_type: this.model.rows[0].f_price_type,
403
+ f_price_name: this.model.rows[0].f_price_name,
404
+ f_price_id: this.model.rows[0].f_price_id,
405
+ f_stairprice_id: this.model.rows[0].f_stairprice_id
406
+ }
407
+ } else {
408
+ this.oldinfo = {
409
+ f_user_type: rowdata[0].f_user_type,
410
+ f_gasproperties: rowdata[0].f_gasproperties,
411
+ f_price_type: rowdata[0].f_price_type,
412
+ f_price_name: rowdata[0].f_price_name
413
+ }
414
+ for (var i = 1; i < rowdata.length; i++) {
415
+ if (rowdata[i].f_user_type !== rowdata[i - 1].f_user_type) {
416
+ this.oldinfo.f_user_type = ''
417
+ }
418
+ if (rowdata[i].f_gasproperties !== rowdata[i - 1].f_gasproperties) {
419
+ this.oldinfo.f_gasproperties = ''
420
+ }
421
+ if (rowdata[i].f_price_type !== rowdata[i - 1].f_price_type) {
422
+ this.oldinfo.f_price_type = ''
423
+ }
424
+ if (rowdata[i].f_price_name != rowdata[i - 1].f_price_name) {
425
+ this.oldinfo.f_price_name = ''
426
+ }
427
+ }
428
+ }
429
+ this.show = true
430
+ },
431
+ selfSearch (args) {
432
+ this.$refs.paged.$refs.grid.selectInit()
433
+ if (this.priceid) {
434
+ args.condition = `${args.condition} and f_price_id = '${this.priceid}'`
435
+ } else {
436
+ args.condition = `${args.condition} and f_orgid = '${this.$login.f.orgid}'`
437
+ }
438
+ this.condition = args.condition
439
+ this.model.search(args.condition, args.model)
440
+ },
441
+ dealmsg (val) {
442
+ this.$parent.f_userinfo_id = val.f_userinfo_id
443
+ this.$parent.listpage = false
444
+ },
445
+ getPricenames () {
446
+ console.log('气价。,。。', this.newinfo.pricetype, this.newinfo.f_user_type, this.newinfo.f_gasproperties)
447
+ let rs = []
448
+ if (this.newinfo.f_user_type.length === 1 && this.newinfo.f_gasproperties.length === 1 && this.newinfo.pricetype.length === 1) {
449
+ let params = {
450
+ f_user_type: this.newinfo.f_user_type[0],
451
+ f_gasproperties: this.newinfo.f_gasproperties[0],
452
+ f_price_type: this.newinfo.pricetype[0]
453
+ }
454
+ rs = this.$GetSaleParam.getPriceAll(params)
455
+ }
456
+ if (rs.length === 0) {
457
+ this.newinfo.pricename = ''
458
+ }
459
+ return rs
460
+ },
461
+ priceChange (val) {
462
+ if (val && val.length > 0) {
463
+ // 展示气价备注
464
+ this.$set('newinfo.f_price_comments', val[0].f_comments ? val[0].f_comments : '无')
465
+ }
466
+ }
467
+ },
468
+ watch: {
469
+ 'priceid' () {
470
+ this.search()
471
+ },
472
+ 'priceorgid' () {
473
+ this.$LoadParams.loadParam(this.priceorgid ? this.priceorgid : this.f_filialeid)
474
+ }
475
+ },
476
+ computed: {
477
+ userstates () {
478
+ return [{label: '全部', value: ''}, {label: '销户', value: '销户'}, {label: '停用', value: '停用'}, ...this.$appdata.getParam('客户状态')]
479
+ },
480
+ gasStates () {
481
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
482
+ }
483
+ }
484
+ }
485
+ </script>
@@ -37,4 +37,6 @@ export default function () {
37
37
  Vue.component('charge-list', (resolve) => { require(['./ChargeList'], resolve) })
38
38
  // 过户
39
39
  Vue.component('transfer-manage', (resolve) => { require(['./TransferManage'], resolve) })
40
+ // 使用该气价的用户信息
41
+ Vue.component('gasprice-user', (resolve) => { require(['./GasPriceUser'], resolve) })
40
42
  }
@@ -48,20 +48,20 @@
48
48
  :field="$parent.$parent.isIot?$parent.$parent.iotFields:$parent.$parent.fields"
49
49
  :is-selected="true" :model="$parent.$parent.printModel"
50
50
  @print-data="$parent.$parent.print()" print-name="购气流水"></print-data>
51
- <export-excel :data="{condition:$parent.$parent.condition,f_user_id: model.f_user_id}" v-if="model.f_meter_type === '物联网表'"
52
- :field="$parent.$parent.iotFields"
53
- sqlurl="rs/logic/exportfile" sql-name="sale_WebChargeQuery" template-name='收费查询'
54
- v-ref:exports
55
- :choose-col="true">
51
+ <!-- <export-excel :data="{condition:$parent.$parent.condition,f_user_id: model.f_user_id}" v-if="model.f_meter_type === '物联网表'"-->
52
+ <!-- :field="$parent.$parent.iotFields"-->
53
+ <!-- sqlurl="rs/logic/exportfile" sql-name="sale_WebChargeQuery" template-name='收费查询'-->
54
+ <!-- v-ref:exports-->
55
+ <!-- :choose-col="true">-->
56
56
 
57
- </export-excel>
58
- <export-excel :data="{condition:$parent.$parent.condition,f_user_id: model.f_user_id}" v-else
59
- :field="$parent.$parent.fields"
60
- sqlurl="rs/logic/exportfile" sql-name="sale_ChargeQuery" template-name='收费查询'
61
- v-ref:exports
62
- :choose-col="true">
57
+ <!-- </export-excel>-->
58
+ <!-- <export-excel :data="{condition:$parent.$parent.condition,f_user_id: model.f_user_id}" v-else-->
59
+ <!-- :field="$parent.$parent.fields"-->
60
+ <!-- sqlurl="rs/logic/exportfile" sql-name="sale_ChargeQuery" template-name='收费查询'-->
61
+ <!-- v-ref:exports-->
62
+ <!-- :choose-col="true">-->
63
63
 
64
- </export-excel>
64
+ <!-- </export-excel>-->
65
65
  </div>
66
66
  </div>
67
67
  </div>