manage-client 3.2.154 → 3.2.156

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": "manage-client",
3
- "version": "3.2.154",
3
+ "version": "3.2.156",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -116,17 +116,23 @@
116
116
  <th>
117
117
  <nobr>气费</nobr>
118
118
  </th>
119
+ <!-- <th>-->
120
+ <!-- <nobr>应交违约金</nobr>-->
121
+ <!-- </th>-->
122
+ <!-- <th>-->
123
+ <!-- <nobr>实交违约金</nobr>-->
124
+ <!-- </th>-->
119
125
  <th>
120
- <nobr>应交违约金</nobr>
126
+ <nobr>上期余额</nobr>
121
127
  </th>
122
128
  <th>
123
- <nobr>实交违约金</nobr>
129
+ <nobr>本期余额</nobr>
124
130
  </th>
125
131
  <th>
126
- <nobr>上期余额</nobr>
132
+ <nobr>账户支出</nobr>
127
133
  </th>
128
134
  <th>
129
- <nobr>本期余额</nobr>
135
+ <nobr>账户存入</nobr>
130
136
  </th>
131
137
  <th>
132
138
  <nobr>收款</nobr>
@@ -156,6 +162,9 @@
156
162
  <th>
157
163
  <nobr>公司</nobr>
158
164
  </th>
165
+ <th>
166
+ <nobr>操作</nobr>
167
+ </th>
159
168
  </tr>
160
169
  </template>
161
170
  <template partial='body'>
@@ -177,17 +186,23 @@
177
186
  <td style="text-align: center;">
178
187
  <nobr>{{row.f_preamount}}</nobr>
179
188
  </td>
189
+ <!-- <td style="text-align: center;">-->
190
+ <!-- <nobr>{{row.f_delay}}</nobr>-->
191
+ <!-- </td>-->
192
+ <!-- <td style="text-align: center;">-->
193
+ <!-- <nobr>{{row.f_delaypay}}</nobr>-->
194
+ <!-- </td>-->
180
195
  <td style="text-align: center;">
181
- <nobr>{{row.f_delay}}</nobr>
196
+ <nobr>{{row.f_balance}}</nobr>
182
197
  </td>
183
198
  <td style="text-align: center;">
184
- <nobr>{{row.f_delaypay}}</nobr>
199
+ <nobr>{{row.f_curbalance}}</nobr>
185
200
  </td>
186
201
  <td style="text-align: center;">
187
- <nobr>{{row.f_balance}}</nobr>
202
+ <nobr>{{row.f_newbalance}}</nobr>
188
203
  </td>
189
204
  <td style="text-align: center;">
190
- <nobr>{{row.f_curbalance}}</nobr>
205
+ <nobr>{{row.f_newcurbalance}}</nobr>
191
206
  </td>
192
207
  <td style="text-align: center;">
193
208
  <nobr>{{row.f_collection}}</nobr>
@@ -216,6 +231,9 @@
216
231
  <td style="text-align: center;">
217
232
  <nobr>{{row.f_depname}}</nobr>
218
233
  </td>
234
+ <td style="text-align: center;">
235
+ <button class="btn btn-link" @click.stop="$parent.$parent.$parent.showchargedetail(row)">查看</button>
236
+ </td>
219
237
  </template>
220
238
  <template partial='foot'></template>
221
239
  </data-grid>
@@ -240,6 +258,13 @@
240
258
  </div>
241
259
  </div>
242
260
  </div>
261
+ <modal :show.sync="showdetail" width="80%" title="详细记录" v-ref:modal large backdrop="false">
262
+ <article slot="modal-body" class="modal-body" style="height: 700px">
263
+ <charge-query :batchid="f_batch_id" :data="data" v-if="showdetail"></charge-query>
264
+ </article>
265
+ <footer slot="modal-footer" class="modal-footer">
266
+ </footer>
267
+ </modal>
243
268
  </template>
244
269
 
245
270
  <script>
@@ -258,6 +283,8 @@
258
283
  title: '团缴查询',
259
284
  data() {
260
285
  return {
286
+ f_batch_id: null,
287
+ showdetail: false,
261
288
  isSingleUser: null,
262
289
  startDate1:'',
263
290
  endDate1:'',
@@ -277,14 +304,14 @@
277
304
  data: {},
278
305
  getstart:'',
279
306
  show:false,
280
- chargetype: [{label: '批量收费', value: '批量收费'}, {label: '团体收费', value: '团体收费'}],
307
+ chargetype: [{label: '团体收费', value: '团体收费'}, {label: '团体退费', value: '团体退费'}],
281
308
  rowdata:{},
282
309
  initres: {
283
310
  org:[this.$login.f.orgid],
284
311
  dep:[],
285
312
  user:[]
286
313
  },
287
- model: new PagedList('rs/sql/manage_singleTable', 20, {items: `'*'`, orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`, tablename: `'t_sellinggasbatch'`},{
314
+ model: new PagedList('rs/sql/groupChargeQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`},{
288
315
  f_pregas: 0,
289
316
  f_preamount: 0,
290
317
  f_collection: 0,
@@ -307,6 +334,10 @@
307
334
  })
308
335
  },
309
336
  methods: {
337
+ showchargedetail(row){
338
+ this.showdetail = true
339
+ this.f_batch_id = row.id
340
+ },
310
341
  getotherfooter () {
311
342
  // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
312
343
  // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
@@ -46,7 +46,7 @@ export default{
46
46
  'f_address': '客户地址'
47
47
  },
48
48
  meterConfig: {
49
- 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号',
49
+ 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_customer': '团缴编号',
50
50
  'f_user_phone': '客户电话','f_rent_phone': '备用电话', 'idnumber': '身份证号', 'f_address': '客户地址', 'f_book_slice_area': '表册片区',
51
51
  'f_balance_amount': '表上余额', 'f_user_type': '客户类型', 'f_usetype': '使用类型', 'f_gasproperties': '用气性质',
52
52
  'f_meternumber': '表号', 'f_card_id': '卡号', 'f_price_name': '气价名称', 'value': '气价详情', 'f_meter_brand': '气表品牌',
@@ -987,7 +987,7 @@ export default{
987
987
  },
988
988
  GroupCharge: {
989
989
  'id': '收费编号', 'f_user_name': '客户姓名', 'f_user_type': '客户类型', 'f_address': '客户地址','f_pregas': '气量','f_preamount': '气费','f_delay': '应交违约金','f_delaypay': '实交违约金',
990
- 'f_balance': '上期余额','f_curbalance': '本期余额','f_collection': '收款','f_state': '收费状态','f_operate_date': '收费日期','f_payment': '付款方式','f_type': '收费类型','f_comments': '备注',
990
+ 'f_balance': '上期余额','f_curbalance': '本期余额','f_newbalance': '账户支出', 'f_newcurbalance': '账户存入', 'f_collection': '收款','f_state': '收费状态','f_operate_date': '收费日期','f_payment': '付款方式','f_type': '收费类型','f_comments': '备注',
991
991
  'f_operator': '收费人','f_orgname': '部门','f_depname': '公司'
992
992
  },
993
993
  // 上报数据
@@ -386,6 +386,20 @@
386
386
  condition="f_llj_date <= '{} 23:59:59'">
387
387
  </datepicker>
388
388
  </div>
389
+ <div class="col-sm-2 form-group">
390
+ <label class="font_normal_body">设备类型</label>
391
+ <v-select :value.sync="row.f_devices_type" v-model="row.f_devices_type"
392
+ :options='$parent.$parent.devicetypes' placeholder='设备类型' :value-single="true"
393
+ condition="f_devices_type = '{}'"
394
+ close-on-select></v-select>
395
+ </div>
396
+ <div class="col-sm-2 form-group">
397
+ <label class="font_normal_body">使用时间</label>
398
+ <v-select :value.sync="row.f_use_date" v-model="row.f_use_date"
399
+ :options='$parent.$parent.useDate' placeholder='使用时间' :value-single="true"
400
+ condition="f_cost_type = '{}'"
401
+ close-on-select></v-select>
402
+ </div>
389
403
  </div>
390
404
  </div>
391
405
  </criteria>
@@ -431,7 +445,10 @@
431
445
  <th><nobr>证件类型</nobr></th>
432
446
  <th><nobr>证件号码</nobr></th>
433
447
  <th><nobr>人口数</nobr></th>
448
+ <th><nobr>最后安检日期</nobr></th>
434
449
  <th><nobr>保险结束日期</nobr></th>
450
+ <th><nobr>设备类型</nobr></th>
451
+ <th><nobr>使用时间</nobr></th>
435
452
  <th><nobr>建档日期</nobr></th>
436
453
  <th><nobr>建档人</nobr></th>
437
454
  <th><nobr>所属营业厅</nobr></th>
@@ -539,7 +556,10 @@
539
556
  <td style="text-align: center;"><nobr>{{row.f_credentials}}</nobr></td>
540
557
  <td style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>
541
558
  <td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>
542
- <td style="text-align: center;"><nobr>{{row.f_ins_stop_date}}</nobr></td>
559
+ <td style="text-align: center;"><nobr>{{row.f_last_check_date}}</nobr></td><!--最后安检日期-->
560
+ <td style="text-align: center;"><nobr>{{row.f_ins_stop_date}}</nobr></td><!--保险结束日期-->
561
+ <td style="text-align: center;"><nobr>{{row.f_devices_type}}</nobr></td><!--设备类型-->
562
+ <td style="text-align: center;"><nobr>{{row.f_use_date}}</nobr></td><!--使用时间-->
543
563
  <td style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>
544
564
  <td style="text-align: center;"><nobr>{{row.f_createfile_person}}</nobr></td>
545
565
  <td style="text-align: center;"><nobr>{{row.f_depname}}</nobr></td>
@@ -724,6 +744,7 @@
724
744
  // 下拉框参数
725
745
  userstates:this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : [],
726
746
  bandstates:this.$appdata.getParam('微信绑定') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('微信绑定')] : [],
747
+ devicetypes: this.$appdata.getParam('设备类型'),
727
748
  initres: {
728
749
  org:[this.$login.f.orgid],
729
750
  dep:[],
@@ -735,6 +756,7 @@
735
756
  bookSlice:[{label: '全部',value: ''}],
736
757
  pricenames:[],
737
758
  dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
759
+ useDate:[{label:"8年以内",value:"8年以内"},{label:"8年以上",value:"8年以上"}]
738
760
  }
739
761
  },
740
762
  ready(){
@@ -130,10 +130,11 @@ export default{
130
130
  'f_user_state': '客户状态','f_userinfo_code': '客户编号','f_card_id': '卡号','f_user_name': '客户名称',
131
131
  'f_residential_area': '小区名称','f_address': '客户地址','f_user_phone': '客户电话',
132
132
  'f_gas_date': '通气日期','f_price_name': '气价名称','f_position': '安装位置','f_meter_type': '气表类型','f_meter_brand': '气表品牌',
133
- 'f_meternumber': '表号','f_metertitles': '表封号','f_aroundmeter': '左右表','f_install_date': '安装日期','f_meter_base': '气表底数',
133
+ 'f_meternumber': '表号','f_metertitles': '表封号','f_aroundmeter': '左右表','f_install_date': '安装日期','f_llj_date': '生产日期','f_meter_base': '气表底数',
134
134
  'f_balance': '账户余额','f_hand_date': '最后抄表日期','f_whether_hairpin': '是否发卡',
135
135
  'f_valve_state': '阀门状态','f_user_type': '客户类型','f_gasproperties': '用气性质',
136
- 'f_open_date': '开户时间','f_credentials': '证件类型','f_idnumber': '证件号码','f_people_num': '人口数','f_ins_stop_date': '保险结束日期',
136
+ 'f_open_date': '开户时间','f_credentials': '证件类型','f_idnumber': '证件号码','f_people_num': '人口数','f_last_check_date': '最后安检日期',
137
+ 'f_ins_stop_date': '保险结束日期','f_devices_type': '设备类型','f_use_date': '使用时间',
137
138
  'f_createfile_date': '建档日期','f_createfile_person': '建档人','f_depname': '所属营业厅','f_comments': '备注信息',
138
139
  'f_used_name': '曾用名','f_rent_phone': '备用电话','f_rent_name': '租户姓名','f_zuhu_phone': '租户电话',
139
140
  'f_contract_id': '合同ID','f_is_mgq': '是否煤改气','f_send_usegas_card': '是否发放天然气使用证',
@@ -107,6 +107,8 @@
107
107
  <tr>
108
108
  <th><nobr>客户编号</nobr></th>
109
109
  <th><nobr>客户名称</nobr></th>
110
+ <th><nobr>客户类型</nobr></th>
111
+ <th><nobr>用气性质</nobr></th>
110
112
  <th><nobr>一月</nobr></th>
111
113
  <th><nobr>二月</nobr></th>
112
114
  <th><nobr>三月</nobr></th>
@@ -133,6 +135,12 @@
133
135
  <td style="text-align: center;">
134
136
  <nobr>{{row.username}}</nobr>
135
137
  </td>
138
+ <td style="text-align: center;">
139
+ <nobr>{{row.f_user_type}}</nobr>
140
+ </td>
141
+ <td style="text-align: center;">
142
+ <nobr>{{row.f_gasproperties}}</nobr>
143
+ </td>
136
144
  <td style="text-align: center;">
137
145
  <nobr>{{row.jan}}</nobr>
138
146
  </td>
@@ -64,7 +64,7 @@ export default{
64
64
  'f_tablebase': '本期底数', 'f_balance': '账户余额', 'f_oughtfee_all': '合计欠费', 'f_oughtfee_all_new': '实际欠费'
65
65
  },
66
66
  monthGasConfig: {
67
- 'code': '客户编号', 'username': '客户名称', 'jan': '一月',
67
+ 'code': '客户编号', 'username': '客户名称','f_user_type':'客户类型','f_gasproperties':'用气性质', 'jan': '一月',
68
68
  'feb': '二月', 'mar': '三月', 'apr': '四月',
69
69
  'may': '五月', 'jun': '六月', 'jul': '七月', 'jug': '八月',
70
70
  'sep': '九月', 'oct': '十月', 'nov': '十一月', 'dec': '十二月',
@@ -820,7 +820,7 @@
820
820
  self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
821
821
  }
822
822
  export default {
823
- props:['data'],
823
+ props:['data', 'batchid'],
824
824
  title: '收费查询',
825
825
  data() {
826
826
  return {
@@ -904,6 +904,12 @@
904
904
  }
905
905
  },
906
906
  ready() {
907
+ if (this.batchid) {
908
+ this.$refs.paged.$refs.cri.model.startDate = this.data ? this.data.startDate : this.$login.toStandardDateString() + ' 00:00:00'
909
+ this.$refs.paged.$refs.cri.model.endDate = this.data ? this.data.endDate : this.$login.toStandardDateString() + ' 23:59:59'
910
+ this.$refs.paged.$refs.cri.search()
911
+ return
912
+ }
907
913
  // this.$refs.paged.$refs.cri.model.f_state=['有效']
908
914
  this.getaddress()
909
915
  this.getEquipment()
@@ -1055,7 +1061,7 @@
1055
1061
  this.prices = this.$MagGetSaleParam.getPrices();
1056
1062
  },
1057
1063
  selfSearch(args) {
1058
- if (this.data) {
1064
+ if (this.data && !this.batchid) {
1059
1065
  this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
1060
1066
  this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
1061
1067
  }
@@ -1068,6 +1074,9 @@
1068
1074
  if(this.IdCardInfo!=''){
1069
1075
  args.condition +=` and f_idnumber='${this.IdCardInfo}'`
1070
1076
  }
1077
+ if (this.batchid) {
1078
+ args.condition += ` and f_batch_id=${this.batchid}`
1079
+ }
1071
1080
  this.model.search(args.condition, args.model)
1072
1081
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
1073
1082
  this.card=''
@@ -73,6 +73,11 @@
73
73
  <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
74
74
  condition="f_userinfo_code = '{}' " placeholder="客户编号">
75
75
  </div>
76
+ <div class="col-sm-2 form-group">
77
+ <label class="font_normal_body" style="color: red">团缴编号</label>
78
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_customer"
79
+ condition="f_customer = '{}' " placeholder="团缴编号">
80
+ </div>
76
81
  <div class="col-sm-2 form-group">
77
82
  <label class="font_normal_body" style="color: red">入户证号</label>
78
83
  <input type="text" style="width:60%" class="input_search" v-model="model.f_enter_number"
@@ -304,6 +309,9 @@
304
309
  <th>
305
310
  <nobr>档案编号</nobr>
306
311
  </th>
312
+ <th>
313
+ <nobr>团缴编号</nobr>
314
+ </th>
307
315
  <th>
308
316
  <nobr>客户电话</nobr>
309
317
  </th>
@@ -407,6 +415,9 @@
407
415
  <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
408
416
  <nobr>{{row.f_olduserinfo_code}}</nobr>
409
417
  </td>
418
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
419
+ <nobr>{{row.f_customer}}</nobr>
420
+ </td>
410
421
  <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
411
422
  <nobr>{{row.f_user_phone}}</nobr>
412
423
  </td>
@@ -1026,6 +1026,14 @@
1026
1026
  this.show = false
1027
1027
  },
1028
1028
  selfSearch(args) {
1029
+ if (!args.model.startDate) {
1030
+ this.$showMessage('开始日期必填!')
1031
+ return
1032
+ }
1033
+ if (!args.model.endDate) {
1034
+ this.$showMessage('结束日期必填!')
1035
+ return
1036
+ }
1029
1037
  if (this.data) {
1030
1038
  this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
1031
1039
  this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate