manage-client 3.2.161 → 3.2.164

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.
@@ -289,20 +289,11 @@
289
289
  <template partial='head'>
290
290
  <tr>
291
291
  <th>
292
- <nobr>收费类型</nobr>
293
- </th>
294
- <th>
295
- <nobr>备注</nobr>
296
- </th>
297
- <th>
298
- <nobr>补打次数</nobr>
299
- </th>
300
- <th>
301
- <data-order field="f_userinfo_code" name="客户编号"
292
+ <data-order field="f_userinfo_code" name="用户编号"
302
293
  :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
303
294
  </th>
304
295
  <th>
305
- <nobr>客户名称</nobr>
296
+ <nobr>用户名称</nobr>
306
297
  </th>
307
298
  <th>
308
299
  <nobr>用户表号</nobr>
@@ -339,35 +330,17 @@
339
330
  <nobr>发票订单</nobr>
340
331
  </th>
341
332
  <th>
342
- <nobr>一阶气量</nobr>
343
- </th>
344
- <th>
345
- <nobr>一阶气费</nobr>
346
- </th>
347
- <th>
348
- <nobr>二阶气量</nobr>
349
- </th>
350
- <th>
351
- <nobr>二阶气费</nobr>
333
+ <nobr>阶一气量</nobr>
352
334
  </th>
353
335
  <th>
354
- <nobr>三阶气量</nobr>
336
+ <nobr>阶二气量</nobr>
355
337
  </th>
356
338
  <th>
357
- <nobr>三阶气费</nobr>
339
+ <nobr>阶三气量</nobr>
358
340
  </th>
359
341
  </tr>
360
342
  </template>
361
343
  <template partial='body'>
362
- <td style="text-align: center;">
363
- <nobr>{{row.f_type}}</nobr>
364
- </td>
365
- <td style="text-align: center;">
366
- <nobr>{{row.f_comments}}</nobr>
367
- </td>
368
- <td style="text-align: center;">
369
- <nobr>{{row.filltimes}}</nobr>
370
- </td>
371
344
  <td style="text-align: center;"><nobr>
372
345
  <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
373
346
  </nobr> </td>
@@ -410,21 +383,12 @@
410
383
  <td style="text-align: center;">
411
384
  <nobr>{{row.f_stairamount1}}</nobr>
412
385
  </td>
413
- <td style="text-align: center;">
414
- <nobr>{{(row.f_stair1fee - 0).toFixed(0)}}</nobr>
415
- </td>
416
386
  <td style="text-align: center;">
417
387
  <nobr>{{row.f_stair2amount}}</nobr>
418
388
  </td>
419
- <td style="text-align: center;">
420
- <nobr>{{(row.f_stair2fee - 0).toFixed(0)}}</nobr>
421
- </td>
422
389
  <td style="text-align: center;">
423
390
  <nobr>{{row.f_stair3amount}}</nobr>
424
391
  </td>
425
- <td style="text-align: center;">
426
- <nobr>{{(row.f_stair3fee - 0).toFixed(0)}}</nobr>
427
- </td>
428
392
  </template>
429
393
  <template partial='foot'></template>
430
394
  </data-grid>
@@ -152,28 +152,22 @@
152
152
  <template partial='head'>
153
153
  <tr>
154
154
  <th>
155
- <nobr>收费类型</nobr>
155
+ <nobr>用户编号</nobr>
156
156
  </th>
157
157
  <th>
158
- <nobr>状态</nobr>
159
- </th>
160
- <th>
161
- <nobr>备注</nobr>
158
+ <nobr>用户姓名</nobr>
162
159
  </th>
163
160
  <th>
164
- <nobr>补打次数</nobr>
161
+ <nobr>用户表号</nobr>
165
162
  </th>
166
163
  <th>
167
- <nobr>客户编号</nobr>
164
+ <nobr>用户卡号</nobr>
168
165
  </th>
169
166
  <th>
170
- <nobr>客户名称</nobr>
167
+ <nobr>用户地址</nobr>
171
168
  </th>
172
169
  <th>
173
- <nobr>客户地址</nobr>
174
- </th>
175
- <th>
176
- <nobr>规格</nobr>
170
+ <nobr>规格</nobr>
177
171
  </th>
178
172
  <th>
179
173
  <nobr>型号</nobr>
@@ -185,8 +179,8 @@
185
179
  <nobr>数量</nobr>
186
180
  </th>
187
181
  <th>
188
- <nobr>金额</nobr>
189
- </th>
182
+ <nobr>缴费金额</nobr>
183
+ </th>
190
184
  <th>
191
185
  <nobr>付款方式</nobr>
192
186
  </th>
@@ -194,29 +188,29 @@
194
188
  <nobr>收费日期</nobr>
195
189
  </th>
196
190
  <th>
197
- <nobr>部门</nobr>
191
+ <nobr>状态</nobr>
192
+ </th>
193
+ <th>
194
+ <nobr>网点</nobr>
195
+ </th>
196
+ <th>
197
+ <nobr>操作员</nobr>
198
198
  </th>
199
199
  </tr>
200
200
  </template>
201
201
  <template partial='body'>
202
- <td style="text-align: center;">
203
- <nobr>{{row.f_brand_spec}}</nobr>
204
- </td>
205
- <td style="text-align: center;">
206
- <nobr>{{row.f_state}}</nobr>
207
- </td>
208
- <td style="text-align: center;">
209
- <nobr>{{row.f_comments}}</nobr>
210
- </td>
211
- <td style="text-align: center;">
212
- <nobr>{{row.filltimes}}</nobr>
213
- </td>
214
202
  <td style="text-align: center;"><nobr>
215
203
  <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
216
204
  </nobr> </td>
217
205
  <td style="text-align: center;">
218
206
  <nobr>{{row.f_user_name}}</nobr>
219
207
  </td>
208
+ <td style="text-align: center;">
209
+ <nobr>{{row.f_meternumber}}</nobr>
210
+ </td>
211
+ <td style="text-align: center;">
212
+ <nobr>{{row.f_card_id}}</nobr>
213
+ </td>
220
214
  <td style="text-align: center;">
221
215
  <nobr>{{row.f_address}}</nobr>
222
216
  </td>
@@ -241,9 +235,15 @@
241
235
  <td style="text-align: center;">
242
236
  <nobr>{{row.f_operate_date}}</nobr>
243
237
  </td>
238
+ <td style="text-align: center;">
239
+ <nobr>{{row.f_state}}</nobr>
240
+ </td>
244
241
  <td style="text-align: center;">
245
242
  <nobr>{{row.f_depname}}</nobr>
246
243
  </td>
244
+ <td style="text-align: center;">
245
+ <nobr>{{row.f_operator}}</nobr>
246
+ </td>
247
247
  </template>
248
248
  <template partial='foot'></template>
249
249
  </data-grid>
@@ -276,247 +276,247 @@
276
276
  </modal>
277
277
  </div>
278
278
 
279
- <modal v-if="showdetail" :show.sync="showdetail" title="详细记录" v-ref:modal large backdrop="false">
280
- <article slot="modal-body" class="modal-body">
281
- <other-charge-detail-query :otherchargeid="otherchargeid" ></other-charge-detail-query>
282
- </article>
283
- <footer slot="modal-footer" class="modal-footer">
284
- </footer>
285
- </modal>
279
+ <modal v-if="showdetail" :show.sync="showdetail" title="详细记录" v-ref:modal large backdrop="false">
280
+ <article slot="modal-body" class="modal-body">
281
+ <other-charge-detail-query :otherchargeid="otherchargeid" ></other-charge-detail-query>
282
+ </article>
283
+ <footer slot="modal-footer" class="modal-footer">
284
+ </footer>
285
+ </modal>
286
286
 
287
287
  </template>
288
288
 
289
289
  <script>
290
- import {PagedList} from 'vue-client'
291
- import defaultPrint from './config/DefaultPrint'
292
- import exportConfig from './config/exportConfig'
293
- import OtherChargeDetailQuery from "../../components/sale/businessquery/OtherChargeDetailQuery";
290
+ import {PagedList} from 'vue-client'
291
+ import defaultPrint from './config/DefaultPrint'
292
+ import exportConfig from './config/exportConfig'
293
+ import OtherChargeDetailQuery from "../../components/sale/businessquery/OtherChargeDetailQuery";
294
294
 
295
- let readySomething = async function (self) {
296
- self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
297
- self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
298
- // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
299
- // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
300
- // await self.$refs.paged.$refs.cri.search()
301
- await self.$MagLoadParams.loadParam()
295
+ let readySomething = async function (self) {
296
+ self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
297
+ self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
298
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
299
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
300
+ // await self.$refs.paged.$refs.cri.search()
301
+ await self.$MagLoadParams.loadParam()
302
302
 
303
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
304
- }
305
- export default {
306
- components: {
307
- OtherChargeDetailQuery
303
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
304
+ }
305
+ export default {
306
+ components: {
307
+ OtherChargeDetailQuery
308
+ },
309
+ props:['data'],
310
+ title: '其他收费查询',
311
+ data() {
312
+ return {
313
+ data: {},
314
+ other:[],
315
+ footer:[],
316
+ model: new PagedList('rs/sql/otherChargeQuery', 20, {}, {f_money: 0}),
317
+ criteriaShow: false,
318
+ orgCondtionStr: '',
319
+ modelval: [],
320
+ printshow: false,
321
+ all: false,
322
+ fields: {},
323
+ thead: '',
324
+ tfoot: '',
325
+ initres: {
326
+ org:[this.$login.f.orgid],
327
+ dep:[],
328
+ user:[],
329
+ },
330
+ show:false,
331
+ showdetail:false,
332
+ otherchargeid:'',
333
+ rowdata:{},
334
+ //合计数据
335
+ sumsmodel: {},
336
+ showupload:false,
337
+ selected:{},
338
+ // 用气性质
339
+ gasproperties: [],
340
+ // 品名规格
341
+ typeNameList: [],
342
+ // 型号
343
+ typenumberList: [],
344
+ showCom:['company','department','operator']
345
+ }
346
+ },
347
+ ready() {
348
+ readySomething(this).then(() => {
349
+ this.$emit('ready')
350
+ }).catch((error) => {
351
+ this.$emit('error', error)
352
+ })
353
+ },
354
+ methods: {
355
+ showmsg(obj){
356
+ this.rowdata=obj
357
+ this.show=true
358
+ },
359
+ view(row){
360
+ this.showupload = true
361
+ this.selected= row
308
362
  },
309
- props:['data'],
310
- title: '其他收费查询',
311
- data() {
312
- return {
313
- data: {},
314
- other:[],
315
- footer:[],
316
- model: new PagedList('rs/sql/otherChargeQuery', 20, {}, {f_money: 0}),
317
- criteriaShow: false,
318
- orgCondtionStr: '',
319
- modelval: [],
320
- printshow: false,
321
- all: false,
322
- fields: {},
323
- thead: '',
324
- tfoot: '',
325
- initres: {
326
- org:[this.$login.f.orgid],
327
- dep:[],
328
- user:[],
329
- },
330
- show:false,
331
- showdetail:false,
332
- otherchargeid:'',
333
- rowdata:{},
334
- //合计数据
335
- sumsmodel: {},
336
- showupload:false,
337
- selected:{},
338
- // 用气性质
339
- gasproperties: [],
340
- // 品名规格
341
- typeNameList: [],
342
- // 型号
343
- typenumberList: [],
344
- showCom:['company','department','operator']
363
+ getotherfooter(){
364
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
365
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
366
+ this.other=[];
367
+ this.footer=[];
368
+ let exportdata = this.getCondition;
369
+ let otherInData=[];
370
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
371
+ let footerData=[],exportfield=this.getfield;
372
+ footerData.push("合计");
373
+ let self = this;
374
+ for(var field in self.sumsmodel){
375
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
345
376
  }
377
+ this.footer.push(footerData);
378
+ this.other.push(otherInData);
346
379
  },
347
- ready() {
348
- readySomething(this).then(() => {
349
- this.$emit('ready')
350
- }).catch((error) => {
351
- this.$emit('error', error)
380
+ search(){
381
+ this.$refs.paged.$refs.cri.search()
382
+ },
383
+ selfSearch(args) {
384
+ if (this.data) {
385
+ this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
386
+ this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
387
+ }
388
+ args.condition = `${args.condition}` + this.orgCondtionStr
389
+ this.model.search(args.condition, args.model)
390
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
391
+ },
392
+ clear() {
393
+ //清空部门和人员
394
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
395
+ //部门和人员变为全选
396
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
397
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
398
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
399
+ this.$refs.paged.$refs.cri.model[key] = []
352
400
  })
353
401
  },
354
- methods: {
355
- showmsg(obj){
356
- this.rowdata=obj
357
- this.show=true
358
- },
359
- view(row){
360
- this.showupload = true
361
- this.selected= row
362
- },
363
- getotherfooter(){
364
- // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
365
- // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
366
- this.other=[];
367
- this.footer=[];
368
- let exportdata = this.getCondition;
369
- let otherInData=[];
370
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
371
- let footerData=[],exportfield=this.getfield;
372
- footerData.push("合计");
373
- let self = this;
374
- for(var field in self.sumsmodel){
375
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
376
- }
377
- this.footer.push(footerData);
378
- this.other.push(otherInData);
379
- },
380
- search(){
381
- this.$refs.paged.$refs.cri.search()
382
- },
383
- selfSearch(args) {
384
- if (this.data) {
385
- this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
386
- this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
387
- }
388
- args.condition = `${args.condition}` + this.orgCondtionStr
389
- this.model.search(args.condition, args.model)
390
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
391
- },
392
- clear() {
393
- //清空部门和人员
394
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
395
- //部门和人员变为全选
396
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
397
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
398
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
399
- this.$refs.paged.$refs.cri.model[key] = []
400
- })
401
- },
402
- show() {
403
- this.criteriaShow = true
404
- },
405
- hidden() {
406
- this.criteriaShow = !this.criteriaShow
407
- },
408
- getRes(obj) {
409
- this.orgCondtionStr = obj
410
- },
411
- cancel() {
412
- this.show = false
413
- },
414
- dealmsg(val) {
415
- console.log('---------------dealmsg')
416
- this.rowdata=val
417
- this.show=true
418
- val.model = this.model.model
419
- this.$dispatch('deal-msg', val)
420
- },
421
- stamp() {
422
- this.all = false
423
- //默认选择要打印的列
424
- this.modelval = defaultPrint.config
425
- this.fields = this.getfield
426
- console.log('所有打印字段', this.fields)
427
- this.printshow = true
428
- this.put()
429
- },
430
- put() {
431
- // 对Modelval进行排序
432
- this.sortModelval()
433
- this.thead = `<tr><th colspan=${this.modelval.length}>其他收费查询统计报表</th></tr><tr>`
434
- for (let key of this.modelval) {
435
- this.thead += '<th>' + this.fields[key] + '</th>'
436
- }
437
- this.thead += '</tr>'
438
- },
439
- print() {
440
- this.$refs.print.PrintAsFile()
441
- this.printshow = false
442
- },
443
- close() {
444
- this.printshow = false
445
- this.all = false
446
- },
447
- // 对选择的列进行排序
448
- sortModelval() {
449
- let sortModel = []
450
- Object.keys(this.fields).forEach((key) => {
451
- if (this.modelval.includes(key)) {
452
- sortModel.push(key)
453
- }
454
- })
455
- this.modelval = sortModel
456
- console.log('选择的打印的字段', this.modelval)
457
- },
458
- showchargedetail(row){
459
- this.showdetail=true
460
- this.otherchargeid=row.id
461
- },
462
- userTypeChange (f_user_type) {
463
- this.gasproperties = []
464
- if (f_user_type) {
465
- this.$refs.paged.$refs.cri.model.f_gasproperties = ''
466
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
467
- } else {
468
- this.gasproperties = [{label: '全部', value: ''}]
469
- }
470
- },
471
- setTypename (val) {
472
- this.typenumberList = []
473
- this.typeNameList = this.$appdata.getParam(val)
474
- },
475
- setTypenumber (val) {
476
- this.typenumberList = this.$appdata.getParam(val)
402
+ show() {
403
+ this.criteriaShow = true
404
+ },
405
+ hidden() {
406
+ this.criteriaShow = !this.criteriaShow
407
+ },
408
+ getRes(obj) {
409
+ this.orgCondtionStr = obj
410
+ },
411
+ cancel() {
412
+ this.show = false
413
+ },
414
+ dealmsg(val) {
415
+ console.log('---------------dealmsg')
416
+ this.rowdata=val
417
+ this.show=true
418
+ val.model = this.model.model
419
+ this.$dispatch('deal-msg', val)
420
+ },
421
+ stamp() {
422
+ this.all = false
423
+ //默认选择要打印的列
424
+ this.modelval = defaultPrint.config
425
+ this.fields = this.getfield
426
+ console.log('所有打印字段', this.fields)
427
+ this.printshow = true
428
+ this.put()
429
+ },
430
+ put() {
431
+ // 对Modelval进行排序
432
+ this.sortModelval()
433
+ this.thead = `<tr><th colspan=${this.modelval.length}>其他收费查询统计报表</th></tr><tr>`
434
+ for (let key of this.modelval) {
435
+ this.thead += '<th>' + this.fields[key] + '</th>'
477
436
  }
437
+ this.thead += '</tr>'
438
+ },
439
+ print() {
440
+ this.$refs.print.PrintAsFile()
441
+ this.printshow = false
442
+ },
443
+ close() {
444
+ this.printshow = false
445
+ this.all = false
478
446
  },
479
- watch: {
480
- 'all'(val) {
481
- if (val) {
482
- this.modelval = this.bodyData
483
- } else {
484
- this.modelval = defaultPrint.config
485
- this.put()
447
+ // 对选择的列进行排序
448
+ sortModelval() {
449
+ let sortModel = []
450
+ Object.keys(this.fields).forEach((key) => {
451
+ if (this.modelval.includes(key)) {
452
+ sortModel.push(key)
486
453
  }
487
- },
488
- 'modelval.length'() {
454
+ })
455
+ this.modelval = sortModel
456
+ console.log('选择的打印的字段', this.modelval)
457
+ },
458
+ showchargedetail(row){
459
+ this.showdetail=true
460
+ this.otherchargeid=row.id
461
+ },
462
+ userTypeChange (f_user_type) {
463
+ this.gasproperties = []
464
+ if (f_user_type) {
465
+ this.$refs.paged.$refs.cri.model.f_gasproperties = ''
466
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
467
+ } else {
468
+ this.gasproperties = [{label: '全部', value: ''}]
469
+ }
470
+ },
471
+ setTypename (val) {
472
+ this.typenumberList = []
473
+ this.typeNameList = this.$appdata.getParam(val)
474
+ },
475
+ setTypenumber (val) {
476
+ this.typenumberList = this.$appdata.getParam(val)
477
+ }
478
+ },
479
+ watch: {
480
+ 'all'(val) {
481
+ if (val) {
482
+ this.modelval = this.bodyData
483
+ } else {
484
+ this.modelval = defaultPrint.config
489
485
  this.put()
490
- },
491
- sumsmodel:{
492
- handler: function(val) {
493
- this.getotherfooter();
494
- },
495
- deep: true
496
486
  }
497
487
  },
498
- computed: {
499
- getCondition() {
500
- return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
501
- },
502
- service_person() {
503
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('服务人员')]
504
- },
505
- getfield() {
506
- return exportConfig.otherchargeConfig
507
- },
508
- chargetype() {
509
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('品名及规格')]
510
- },
511
- userTypes() {
512
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
513
- },
514
- chargeState() {
515
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
488
+ 'modelval.length'() {
489
+ this.put()
490
+ },
491
+ sumsmodel:{
492
+ handler: function(val) {
493
+ this.getotherfooter();
516
494
  },
517
- payments() {
518
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')]
519
- }
495
+ deep: true
496
+ }
497
+ },
498
+ computed: {
499
+ getCondition() {
500
+ return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
501
+ },
502
+ service_person() {
503
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('服务人员')]
504
+ },
505
+ getfield() {
506
+ return exportConfig.otherchargeConfig
507
+ },
508
+ chargetype() {
509
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('品名及规格')]
510
+ },
511
+ userTypes() {
512
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
513
+ },
514
+ chargeState() {
515
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
516
+ },
517
+ payments() {
518
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')]
520
519
  }
521
520
  }
521
+ }
522
522
  </script>