sale-client 3.5.27 → 3.5.30
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 +1 -1
- package/src/components/FilesManage/MeterinfoTest.vue +13 -13
- package/src/components/FilesManage/UserGeneralInfoTest.vue +2 -1
- package/src/components/revenue/cardHandManage/cardDown.vue +15 -15
- package/src/components/revenue/invoiceuse/{ChargeList.vue → InvoiceChargeList.vue} +0 -0
- package/src/components/revenue/invoiceuse/InvoiceEntry.vue +2 -3
- package/src/components/webMeter/paramSave/ParamSet.vue +73 -74
- package/src/filiale/fugu/MeterinfoTest.vue +2 -2
- package/src/filiale/gongyi/charge/business/machine/MachineCharge.vue +1 -1
- package/src/filiale/gongyi/charge/business/machine/MachineMeterCenter.vue +3 -3
- package/src/filiale/gongyi/charge/business/machine/OweDetailList.vue +3 -3
- package/src/filiale/gongyi/charge/business/machine/OweList.vue +2 -2
- package/src/filiale/gongyi/revenue/comprehen/ovdue/Overduetax.vue +8 -8
- package/src/filiale/gongyi/revenue/comprehen/ovdue/OverduetaxPrintBill.vue +1 -1
- package/src/filiale/gongyi/sale.js +1 -1
- package/src/filiale/guangxi/OtherGas.vue +5 -5
- package/src/filiale/jinjiang/MachineMeterCenter.vue +1 -1
- package/src/filiale/liaoyuan/Overduetax.vue +5 -5
- package/src/filiale/liaoyuan/sale.js +1 -1
- package/src/filiale/macheng/MachineMeterCenter.vue +1 -1
- package/src/filiale/meihekou/MachineCharge.vue +1 -1
- package/src/filiale/qianneng/FilesManage/MeterinfoTest.vue +2 -2
- package/src/filiale/qianneng/MachineCharge.vue +1 -1
- package/src/filiale/qianneng/machine/ArrearsQuery.vue +3 -3
- package/src/filiale/qianneng/machine/MachineMeterCenter.vue +3 -3
- package/src/filiale/rizhao/ChargeQueryUser.vue +1 -1
- package/src/filiale/rizhao/MeterinfoTest.vue +2 -2
- package/src/filiale/rongchuang/handListMaintain.vue +2 -2
- package/src/filiale/shanggao/MeterinfoTest.vue +2 -2
- package/src/filiale/shaoguan/MachineMeterCenter.vue +3 -3
- package/src/filiale/wuhai/MeterinfoTest.vue +2 -2
- package/src/filiale/zhongyi/FileUserFiles.vue +16 -19
- package/src/filiale/zhongyi/MeterinfoTest.vue +2 -2
- package/src/sale.js +6 -3
- package/src/filiale/WEINAN/AutomaticPurse.vue +0 -304
- package/src/filiale/WEINAN/CardList.vue +0 -497
- package/src/filiale/WEINAN/CardMeterCenter.vue +0 -819
- package/src/filiale/WEINAN/CardMeterChargeCancel.vue +0 -401
- package/src/filiale/WEINAN/ChangeMeter.vue +0 -737
- package/src/filiale/WEINAN/ChargeList.vue +0 -1006
- package/src/filiale/WEINAN/ChargeManageNew.vue +0 -232
- package/src/filiale/WEINAN/ChargeQueryUser.vue +0 -331
- package/src/filiale/WEINAN/ChargeRecordQuery.vue +0 -73
- package/src/filiale/WEINAN/DisableManage.vue +0 -63
- package/src/filiale/WEINAN/EnableManage.vue +0 -142
- package/src/filiale/WEINAN/FileAddressManage.vue +0 -112
- package/src/filiale/WEINAN/FileUserAddress.vue +0 -785
- package/src/filiale/WEINAN/HighMeter.vue +0 -1090
- package/src/filiale/WEINAN/IOTMeterCenter.vue +0 -814
- package/src/filiale/WEINAN/MachineMeterCenter.vue +0 -595
- package/src/filiale/WEINAN/MeterMessage.vue +0 -131
- package/src/filiale/WEINAN/MeterinfoTest.vue +0 -584
- package/src/filiale/WEINAN/OffGasAddGas.vue +0 -213
- package/src/filiale/WEINAN/OtherGas.vue +0 -351
- package/src/filiale/WEINAN/OverUseCharge.vue +0 -412
- package/src/filiale/WEINAN/RecordCancel.vue +0 -302
- package/src/filiale/WEINAN/RecordQueryUser.vue +0 -253
- package/src/filiale/WEINAN/ReplaceCardManage.vue +0 -408
- package/src/filiale/WEINAN/ShowCardSellGas.vue +0 -842
- package/src/filiale/WEINAN/Stairinfo.vue +0 -157
- package/src/filiale/WEINAN/TransferManage.vue +0 -370
- package/src/filiale/WEINAN/UserBaseInfoNew.vue +0 -325
- package/src/filiale/WEINAN/UserEssentialInfoTest.vue +0 -384
- package/src/filiale/WEINAN/UserGeneralInfoTest.vue +0 -533
- package/src/filiale/WEINAN/UserInfoDetailManageNew.vue +0 -150
- package/src/filiale/WEINAN/Userinfo.vue +0 -82
- package/src/filiale/WEINAN/gasmove.vue +0 -243
- package/src/filiale/WEINAN/meterinfodetail.vue +0 -104
- package/src/filiale/WEINAN/plugins/FileManageService.js +0 -362
- package/src/filiale/WEINAN/plugins/getTimeService.js +0 -87
- package/src/filiale/WEINAN/sale.js +0 -55
- package/src/filiale/WEINAN/sale.js~Stashed changes +0 -29
- package/src/filiale/WEINAN/static/mainicon//347/237/251/345/275/2421828.png +0 -0
package/package.json
CHANGED
|
@@ -186,6 +186,7 @@
|
|
|
186
186
|
<div class="col-sm-4 form-group">
|
|
187
187
|
<label class="font_normal_body">表具使用年限</label>
|
|
188
188
|
<input type="number" class="input_search" style="width:60%" v-model="row.f_use_limit"
|
|
189
|
+
:value.sync="row.f_use_limit"
|
|
189
190
|
placeholder='表具使用年限' >
|
|
190
191
|
</div>
|
|
191
192
|
<div class="col-sm-4 form-group">
|
|
@@ -202,6 +203,7 @@
|
|
|
202
203
|
<datepicker style="width:60%" placeholder="通气日期"
|
|
203
204
|
v-model="row.f_gas_date"
|
|
204
205
|
v-ref:f_gas_date
|
|
206
|
+
@change="gasDateChange"
|
|
205
207
|
:value.sync="row.f_gas_date"
|
|
206
208
|
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
207
209
|
></datepicker>
|
|
@@ -568,7 +570,7 @@
|
|
|
568
570
|
props: ['f_filialeid', 'meter', 'isdecimal', 'valid', 'f_userinfo_id', 'overdueset', 'curuser'],
|
|
569
571
|
async ready () {
|
|
570
572
|
console.log('看看meter里面的数据', this.meter, this.row)
|
|
571
|
-
this.row = Object.assign(this.row, this.meter, {})
|
|
573
|
+
this.row = Object.assign(this.row, this.meter, {f_use_limit : this.$appdata.getSingleValue('报废年限')})
|
|
572
574
|
if(this.row.f_meter_classify){
|
|
573
575
|
if(this.row.f_meter_classify==='物联网表'){
|
|
574
576
|
this.isiot=true
|
|
@@ -586,6 +588,16 @@
|
|
|
586
588
|
co(meterBookGen(this))
|
|
587
589
|
},
|
|
588
590
|
methods: {
|
|
591
|
+
gasDateChange () {
|
|
592
|
+
if (!this.row.f_scrap_date && this.row.f_gas_date) {
|
|
593
|
+
if (this.row.f_use_limit) {
|
|
594
|
+
let date = new Date(this.row.f_gas_date)
|
|
595
|
+
let year = date.getFullYear() + (this.row.f_use_limit / 1)
|
|
596
|
+
this.$set('row.f_scrap_date', year + this.row.f_gas_date.slice(4))
|
|
597
|
+
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
},
|
|
589
601
|
// 获取集中器下拉框
|
|
590
602
|
async getConcentrators () {
|
|
591
603
|
let condition = {
|
|
@@ -794,18 +806,6 @@
|
|
|
794
806
|
} else {
|
|
795
807
|
this.ratioshow = false
|
|
796
808
|
}
|
|
797
|
-
},
|
|
798
|
-
'row.f_gas_date' (val) {
|
|
799
|
-
if (!this.row.f_use_limit) {
|
|
800
|
-
this.row.f_use_limit = this.$appdata.getSingleValue('使用年限')
|
|
801
|
-
}
|
|
802
|
-
if (!this.row.f_scrap_date && this.row.f_gas_date) {
|
|
803
|
-
if (this.row.f_use_limit !== undefined) {
|
|
804
|
-
let date = new Date(this.row.f_gas_date)
|
|
805
|
-
let year = date.getFullYear() + (this.row.f_use_limit / 1)
|
|
806
|
-
this.row.f_scrap_date = year + this.row.f_gas_date.slice(4)
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
809
|
}
|
|
810
810
|
},
|
|
811
811
|
computed: {
|
|
@@ -426,8 +426,8 @@ let readyGen = async function (self) {
|
|
|
426
426
|
let downGen = function* (type, condition, data, self) {
|
|
427
427
|
self.condition = condition
|
|
428
428
|
self.msg = '确认下发计划'
|
|
429
|
-
let getUnhand = yield Vue.resetpost('rs/sql/getUnhand', {data: {startDate: self.startDate,
|
|
430
|
-
|
|
429
|
+
// let getUnhand = yield Vue.resetpost('rs/sql/getUnhand', {data: {startDate: self.startDate,
|
|
430
|
+
// condition: self.condition}}, {resolveMsg: null, rejectMsg: '获取待审核数据异常!!'})
|
|
431
431
|
// if (type === 'single') {
|
|
432
432
|
// getUnhand = yield Vue.resetpost('rs/sql/getUnhand', {
|
|
433
433
|
// data: {
|
|
@@ -461,19 +461,19 @@ let downGen = function* (type, condition, data, self) {
|
|
|
461
461
|
// console.log('========================================================================================')
|
|
462
462
|
// self.unhandplan.push(temp)
|
|
463
463
|
// }
|
|
464
|
-
for (let i = 0; i < getUnhand.data.length; i++) {
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
}
|
|
472
|
-
if (getUnhand.data.length > 0) {
|
|
473
|
-
|
|
474
|
-
} else {
|
|
475
|
-
|
|
476
|
-
}
|
|
464
|
+
// for (let i = 0; i < getUnhand.data.length; i++) {
|
|
465
|
+
// let temp = {
|
|
466
|
+
// id: getUnhand.data[i].id,
|
|
467
|
+
// f_user_id: getUnhand.data[i].f_user_id,
|
|
468
|
+
// f_userfiles_id: getUnhand.data[i].f_userfiles_id
|
|
469
|
+
// }
|
|
470
|
+
// self.unhandplan.push(temp)
|
|
471
|
+
// }
|
|
472
|
+
// if (getUnhand.data.length > 0) {
|
|
473
|
+
// self.msg = self.msg + `, 警告: 之前有 ${getUnhand.data.length} 条待审核数据`
|
|
474
|
+
// } else {
|
|
475
|
+
// self.unhandplan = []
|
|
476
|
+
// }
|
|
477
477
|
// console.log('1111111:',self.msg)
|
|
478
478
|
self.show = true
|
|
479
479
|
}
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id='InvoiceEntry' class="flex-row binary">
|
|
3
3
|
<div class="binary-left" v-if="sellgas">
|
|
4
|
-
<charge-list v-ref:charge_list></charge-list>
|
|
4
|
+
<invoice-charge-list v-ref:charge_list></invoice-charge-list>
|
|
5
5
|
</div>
|
|
6
6
|
<div class="binary-right" v-if="sellgas">
|
|
7
7
|
<information-input v-if="InformationInputShow"></information-input>
|
|
@@ -13,14 +13,13 @@
|
|
|
13
13
|
</template>
|
|
14
14
|
|
|
15
15
|
<script>
|
|
16
|
-
import ChargeList from './ChargeList'
|
|
17
16
|
import InformationInput from './InformationInput'
|
|
18
17
|
import InvoiceInformationInput from './InvoiceInformationInput'
|
|
19
18
|
|
|
20
19
|
export default {
|
|
21
20
|
name: 'InvoiceEntry',
|
|
22
21
|
props: ['sellgas'],
|
|
23
|
-
components: {InformationInput,
|
|
22
|
+
components: {InformationInput, InvoiceInformationInput},
|
|
24
23
|
title: '发票信息录入',
|
|
25
24
|
data () {
|
|
26
25
|
return {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<criteria :model='model' partial='criteria' v-ref:criteria @condition-changed='$parent.selfSearch'>
|
|
5
5
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
6
|
<div class="row">
|
|
7
|
-
<div class="col-sm-
|
|
7
|
+
<div class="col-sm-2">
|
|
8
8
|
<label class="font_normal_body" >气表协议类型</label>
|
|
9
9
|
<v-select style="width:60%" title="气表协议类型"
|
|
10
10
|
placeholder='气表协议类型'
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
close-on-select
|
|
16
16
|
:value-single="true" v-ref:brand> </v-select>
|
|
17
17
|
</div>
|
|
18
|
-
<div class="col-sm-
|
|
18
|
+
<div class="col-sm-2">
|
|
19
19
|
<label class="font_normal_body">气表品牌</label>
|
|
20
20
|
<v-select
|
|
21
21
|
placeholder='气表品牌'
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
condition="f_gasbrand_id = '{}'"
|
|
27
27
|
close-on-select></v-select>
|
|
28
28
|
</div>
|
|
29
|
-
<div class="col-sm-
|
|
29
|
+
<div class="col-sm-2 form-group">
|
|
30
30
|
<label class="font_normal_body">气表型号</label>
|
|
31
31
|
<v-select :value.sync="model.f_meter_style"
|
|
32
32
|
v-model="model.f_meter_style"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
condition="f_gasmodel_id = '{}'"
|
|
35
35
|
close-on-select></v-select>
|
|
36
36
|
</div>
|
|
37
|
-
<div class="col-sm-
|
|
37
|
+
<div class="col-sm-2 ">
|
|
38
38
|
<label class="font_normal_body">客户编号</label>
|
|
39
39
|
<input @keyup.enter="search" style="width:60%" type="text" class="input_search "
|
|
40
40
|
v-model="model.f_userinfo_code"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
</div>
|
|
53
53
|
</div>
|
|
54
54
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
55
|
-
<div class="col-sm-
|
|
55
|
+
<div class="col-sm-2 ">
|
|
56
56
|
<label class="font_normal_body">表 号 </label>
|
|
57
57
|
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
58
58
|
v-model="model.f_meternumber"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
condition="f_meternumber like '%{}%'"
|
|
61
61
|
>
|
|
62
62
|
</div>
|
|
63
|
-
<div class="col-sm-
|
|
63
|
+
<div class="col-sm-2 ">
|
|
64
64
|
<label class="font_normal_body">客户姓名</label>
|
|
65
65
|
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
66
66
|
v-model="model.f_user_name"
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
condition="f_user_name like '%{}%'"
|
|
69
69
|
>
|
|
70
70
|
</div>
|
|
71
|
-
<div class="col-sm-
|
|
71
|
+
<div class="col-sm-2 ">
|
|
72
72
|
<label class="font_normal_body">小 区 </label>
|
|
73
73
|
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
74
74
|
v-model="model.f_residential_area"
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
condition="f_residential_area like '%{}%'"
|
|
77
77
|
>
|
|
78
78
|
</div>
|
|
79
|
-
<div class="col-sm-
|
|
79
|
+
<div class="col-sm-2">
|
|
80
80
|
<label class="font_normal_body">用户类型</label>
|
|
81
81
|
<v-select
|
|
82
82
|
placeholder='用户类型'
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
</v-select>
|
|
90
90
|
</div>
|
|
91
91
|
|
|
92
|
-
<div class="col-sm-
|
|
92
|
+
<div class="col-sm-2">
|
|
93
93
|
<label class="font_normal_body">用气性质</label>
|
|
94
94
|
<v-select
|
|
95
95
|
placeholder='用气性质'
|
|
@@ -104,14 +104,14 @@
|
|
|
104
104
|
</div>
|
|
105
105
|
</div>
|
|
106
106
|
</criteria>
|
|
107
|
-
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
107
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" :optional="true">
|
|
108
108
|
<template partial='head'>
|
|
109
109
|
<tr>
|
|
110
|
-
<th style="text-align:center"
|
|
111
|
-
<nobr>全选</nobr
|
|
112
|
-
<input @keyup.enter="search" style="width:60%" type="checkbox" v-model='checked1'
|
|
113
|
-
@click="$parent.$parent.$parent.checkedALL()"
|
|
114
|
-
</th
|
|
110
|
+
<!-- <th style="text-align:center">-->
|
|
111
|
+
<!-- <nobr>全选</nobr>-->
|
|
112
|
+
<!-- <input @keyup.enter="search" style="width:60%" type="checkbox" v-model='checked1'-->
|
|
113
|
+
<!-- @click="$parent.$parent.$parent.checkedALL()">-->
|
|
114
|
+
<!-- </th>-->
|
|
115
115
|
<!--<th >操作</th>-->
|
|
116
116
|
<th style="text-align:center">
|
|
117
117
|
<nobr>客户编号</nobr>
|
|
@@ -150,11 +150,8 @@
|
|
|
150
150
|
|
|
151
151
|
</tr>
|
|
152
152
|
</template>
|
|
153
|
-
<template partial='body'
|
|
153
|
+
<template partial='body'>
|
|
154
154
|
<tr>
|
|
155
|
-
<td style="text-align:center">
|
|
156
|
-
<input @keyup.enter="search" style="width:60%" type="checkbox" name="opertioninput"
|
|
157
|
-
@click="$parent.$parent.$parent.checked(row)"></td>
|
|
158
155
|
<!--<td>-->
|
|
159
156
|
<!--<button type="button" name="button" class="btn btn-link" v-if="row.f_user_state === '正常'"-->
|
|
160
157
|
<!--@click.stop="$parent.$parent.$parent.paramSet(row)">参数设置-->
|
|
@@ -354,8 +351,10 @@ export default {
|
|
|
354
351
|
},
|
|
355
352
|
showParam () {
|
|
356
353
|
this.conditionMsg = ''
|
|
357
|
-
if (
|
|
354
|
+
if (this.$refs.paged.$refs.grid.getRowData().length === 0) {
|
|
358
355
|
this.user = []
|
|
356
|
+
} else {
|
|
357
|
+
this.user = this.$refs.paged.$refs.grid.getRowData()
|
|
359
358
|
}
|
|
360
359
|
if (this.user.length === 0) {
|
|
361
360
|
this.$showMessage('是否要设置查询出来的所有表参数', ['confirm', 'cancel']).then((res) => {
|
|
@@ -400,19 +399,19 @@ export default {
|
|
|
400
399
|
closeParam () {
|
|
401
400
|
// this.$refs.form.row={}
|
|
402
401
|
this.showParame = !this.showParame
|
|
403
|
-
if (this.isCheckAll) {
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
}
|
|
407
|
-
this.isCheckAll = false
|
|
402
|
+
// if (this.isCheckAll) {
|
|
403
|
+
this.map.clear()
|
|
404
|
+
this.user = []
|
|
405
|
+
// }
|
|
406
|
+
// this.isCheckAll = false
|
|
408
407
|
},
|
|
409
408
|
clear () {
|
|
410
409
|
this.$refs.form.paramtype = ''
|
|
411
|
-
this.isCheckAll = false
|
|
410
|
+
// this.isCheckAll = false
|
|
412
411
|
this.showParame = false
|
|
413
412
|
this.map.clear()
|
|
414
413
|
this.user = []
|
|
415
|
-
this.unCheckAll()
|
|
414
|
+
// this.unCheckAll()
|
|
416
415
|
this.search()
|
|
417
416
|
},
|
|
418
417
|
selfSearch (args) {
|
|
@@ -422,14 +421,14 @@ export default {
|
|
|
422
421
|
this.condition = args.condition
|
|
423
422
|
this.model.search(args.condition, args.model)
|
|
424
423
|
}
|
|
425
|
-
this.isCheckAll = false
|
|
424
|
+
// this.isCheckAll = false
|
|
426
425
|
},
|
|
427
426
|
showparam (setable) {
|
|
428
427
|
this.setable = setable
|
|
429
428
|
if (!setable) {
|
|
430
429
|
this.map.clear()
|
|
431
430
|
this.user = []
|
|
432
|
-
this.isCheckAll = false
|
|
431
|
+
// this.isCheckAll = false
|
|
433
432
|
}
|
|
434
433
|
},
|
|
435
434
|
search () {
|
|
@@ -467,42 +466,42 @@ export default {
|
|
|
467
466
|
getRes (obj) {
|
|
468
467
|
this.orgcondition = obj
|
|
469
468
|
},
|
|
470
|
-
unCheckAll () {
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
},
|
|
476
|
-
checkedALL () {
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
},
|
|
483
|
-
checked (val) {
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
},
|
|
469
|
+
// unCheckAll () {
|
|
470
|
+
// let box = document.getElementsByName('opertioninput')
|
|
471
|
+
// for (var i = 0; i < box.length; i++) {
|
|
472
|
+
// box[i].checked = false
|
|
473
|
+
// }
|
|
474
|
+
// },
|
|
475
|
+
// checkedALL () {
|
|
476
|
+
// this.checked1 = !this.checked1
|
|
477
|
+
// let box = document.getElementsByName('opertioninput')
|
|
478
|
+
// for (var i = 0; i < box.length; i++) {
|
|
479
|
+
// box[i].checked = this.checked1
|
|
480
|
+
// }
|
|
481
|
+
// },
|
|
482
|
+
// checked (val) {
|
|
483
|
+
// let userid = val.f_userfiles_id
|
|
484
|
+
// if (this.map.has(userid)) {
|
|
485
|
+
// this.map.delete(userid)
|
|
486
|
+
// /* 遍历数组,然后根据选中的状态获取对应的下标,然后进行删除 */
|
|
487
|
+
// for (let i = 0; i < this.user.length; i++) {
|
|
488
|
+
// if (val.f_userfiles_id === this.user[i].f_userfiles_id) {
|
|
489
|
+
// this.user.splice(i, 1)
|
|
490
|
+
// }
|
|
491
|
+
// }
|
|
492
|
+
// } else {
|
|
493
|
+
// this.user.push(val)
|
|
494
|
+
// this.map.set(userid, {
|
|
495
|
+
// id: null,
|
|
496
|
+
// f_user_id: userid,
|
|
497
|
+
// f_alias: val.f_alias,
|
|
498
|
+
// f_userinfo_id: val.f_userinfo_id,
|
|
499
|
+
// f_orgname: val.f_orgname,
|
|
500
|
+
// f_orgid: val.f_orgid,
|
|
501
|
+
// f_meternumber: val.f_meternumber
|
|
502
|
+
// })
|
|
503
|
+
// }
|
|
504
|
+
// },
|
|
506
505
|
showModal (val) {
|
|
507
506
|
this.val1 = val
|
|
508
507
|
this.isShowUserException = true
|
|
@@ -559,16 +558,16 @@ export default {
|
|
|
559
558
|
this.$refs.paged.$refs.criteria.model.f_gasbrand_id = val[0]
|
|
560
559
|
this.search()
|
|
561
560
|
}
|
|
562
|
-
},
|
|
563
|
-
'checked1' (val) {
|
|
564
|
-
if (val) {
|
|
565
|
-
this.user = this.model.rows
|
|
566
|
-
this.mapset(this.model.rows)
|
|
567
|
-
} else {
|
|
568
|
-
this.map.clear()
|
|
569
|
-
this.user = []
|
|
570
|
-
}
|
|
571
561
|
}
|
|
562
|
+
// 'checked1' (val) {
|
|
563
|
+
// if (val) {
|
|
564
|
+
// this.user = this.model.rows
|
|
565
|
+
// this.mapset(this.model.rows)
|
|
566
|
+
// } else {
|
|
567
|
+
// this.map.clear()
|
|
568
|
+
// this.user = []
|
|
569
|
+
// }
|
|
570
|
+
// }
|
|
572
571
|
}
|
|
573
572
|
}
|
|
574
573
|
</script>
|
|
@@ -324,9 +324,9 @@
|
|
|
324
324
|
 <span class="glyphicon glyphicon-map-marker" @click="openModal" ></span>
|
|
325
325
|
</div>
|
|
326
326
|
<div class="col-sm-4 form-group" v-if="config.overduesetShow">
|
|
327
|
-
<label class="font_normal_body"
|
|
327
|
+
<label class="font_normal_body">违约金规则</label>
|
|
328
328
|
<v-select :value.sync="row.f_overdue_set" v-model="row.f_overdue_set"
|
|
329
|
-
:options='overdueset' placeholder='
|
|
329
|
+
:options='overdueset' placeholder='违约金规则'
|
|
330
330
|
close-on-select></v-select>
|
|
331
331
|
</div>
|
|
332
332
|
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
this.model.f_collection = this.config.floor ? Math.floor(this.model.f_totalcost - 0) : this.model.f_totalcost
|
|
149
149
|
}
|
|
150
150
|
},
|
|
151
|
-
//
|
|
151
|
+
// 获取欠费里面有违约金的最大的一笔欠费的角标
|
|
152
152
|
getMaxIndex (val) {
|
|
153
153
|
if (val.findIndex((item) => { return item.f_oughtfee < 0 }) !== -1) {
|
|
154
154
|
return val.findIndex((item) => { return item.f_oughtfee < 0 })
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<input class="input_search" style="width:60%" type="number" v-model="newOverdue"
|
|
36
36
|
v-scale="[newOverdue,2]" placeholder="违约金"
|
|
37
37
|
disabled>
|
|
38
|
-
<!--<button type="button" name="button" class="btn btn-link" @click="modefiy()" v-if="authArr.includes('
|
|
38
|
+
<!--<button type="button" name="button" class="btn btn-link" @click="modefiy()" v-if="authArr.includes('违约金修改')">修改</button>-->
|
|
39
39
|
</div>
|
|
40
40
|
</div>
|
|
41
41
|
<div class="row" style="padding-top: 0.5em;" >
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
<!--<modal :show.sync="showOverdueModal" v-ref:modal backdrop="false">-->
|
|
135
135
|
<!--<header slot="modal-header" class="modal-header">-->
|
|
136
136
|
<!--<button type="button" class="close" @click="closeOverdue"><span>×</span></button>-->
|
|
137
|
-
<!--<h4 class="modal-title"
|
|
137
|
+
<!--<h4 class="modal-title">修改违约金</h4>-->
|
|
138
138
|
<!--</header>-->
|
|
139
139
|
<!--<article slot="modal-body" class="modal-body">-->
|
|
140
140
|
<!--<validator name='m'>-->
|
|
@@ -300,7 +300,7 @@ let asyncMachineMeterCenter = async function (self) {
|
|
|
300
300
|
validateOk: false,
|
|
301
301
|
handid: '',
|
|
302
302
|
showOverdueModal: false,
|
|
303
|
-
editOverdue: this.$login.r.includes('
|
|
303
|
+
editOverdue: this.$login.r.includes('违约金修改'),
|
|
304
304
|
paytype: [],
|
|
305
305
|
printstyle: this.$appdata.getParam('打印格式') ? this.$appdata.getParam('打印格式') : [],
|
|
306
306
|
privilegeList: [{label: '无优惠', value: '0'}],
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<modal :show.sync="show" v-ref:modal large backdrop="false">
|
|
5
5
|
|
|
6
6
|
<header slot="modal-header" class="modal-header" style="text-align: center">
|
|
7
|
-
<h4 class="modal-title"
|
|
7
|
+
<h4 class="modal-title">违约金详情</h4>
|
|
8
8
|
</header>
|
|
9
9
|
<article slot="modal-body" class="modal-body">
|
|
10
10
|
<data-grid :model="row" partial='list' v-ref:grid>
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
<tr>
|
|
13
13
|
<th><nobr>序号</nobr></th>
|
|
14
14
|
<th><nobr>日期</nobr></th>
|
|
15
|
-
<th><nobr
|
|
15
|
+
<th><nobr>违约天数</nobr></th>
|
|
16
16
|
<th><nobr>公式</nobr></th>
|
|
17
|
-
<th><nobr
|
|
17
|
+
<th><nobr>违约金额</nobr></th>
|
|
18
18
|
</tr>
|
|
19
19
|
</template>
|
|
20
20
|
<template partial='body'>
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
<td>{{row.day1}}</td>
|
|
88
88
|
<td>{{row.day2}}</td>
|
|
89
89
|
<td v-if="row.overdue > 0">
|
|
90
|
-
<button class="btn btn-info" @click="$parent.$parent.showOweDetail(row.overdueDetail)"
|
|
90
|
+
<button class="btn btn-info" @click="$parent.$parent.showOweDetail(row.overdueDetail)">违约金详情</button>
|
|
91
91
|
</td>
|
|
92
92
|
</tr>
|
|
93
93
|
</template>
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
pages: [],
|
|
130
130
|
selectAll: true,
|
|
131
131
|
isDetail: false,
|
|
132
|
-
//
|
|
132
|
+
// 违约金详情
|
|
133
133
|
overdueDetail: {rows: []},
|
|
134
134
|
selectedRows: 0// 初始化选中的行数
|
|
135
135
|
}
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
<th>本期指数</th>
|
|
42
42
|
<th>抄表日期</th>
|
|
43
43
|
<th>欠费金额</th>
|
|
44
|
-
<th
|
|
45
|
-
<th
|
|
44
|
+
<th>违约天数</th>
|
|
45
|
+
<th>违约金金额</th>
|
|
46
46
|
<th>减免金额</th>
|
|
47
47
|
<th>减免后金额</th>
|
|
48
48
|
<th>操作</th>
|
|
@@ -59,12 +59,12 @@
|
|
|
59
59
|
<td style="text-align: center;">{{row.f_oughtfee}}</td>
|
|
60
60
|
<td style="text-align: center;">{{row.overduedays}}</td>
|
|
61
61
|
<td style="text-align: center;">{{row.f_overdue}}</td>
|
|
62
|
-
|
|
62
|
+
<!--根据违约金金额是否显示减免金额输入框-->
|
|
63
63
|
<div class="form-group" style="margin-bottom:0px;display: contents;"
|
|
64
64
|
:class="{'has-error has-feedback': row.error}"
|
|
65
65
|
v-if="row.overdue>0">
|
|
66
66
|
<!--根据减免金额显示输入框 @blur="$parent.$parent.$parent.beforenter(row)"-->
|
|
67
|
-
<input title="
|
|
67
|
+
<input title="违约金减免" type="text" class="input_search" v-model="row.f_remission_late_fee_vue"
|
|
68
68
|
@blur="$parent.$parent.$parent.beforenter(row)"
|
|
69
69
|
v-next-el="{id: $index+1}" :id="$index"
|
|
70
70
|
style="width: 100px;padding: 6px;"
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
|
|
91
91
|
<script>
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* 巩义违约金减免页面
|
|
94
94
|
*/
|
|
95
95
|
import Vue from 'vue'
|
|
96
96
|
import {DataModel, HttpResetClass} from 'vue-client'
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
|
|
99
99
|
export default {
|
|
100
100
|
components: {OverduetaxPrintBill},
|
|
101
|
-
title: '
|
|
101
|
+
title: '违约金减免',
|
|
102
102
|
data () {
|
|
103
103
|
return {
|
|
104
104
|
curorgid: [this.$login.f.orgid],
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
return
|
|
163
163
|
}
|
|
164
164
|
if (row.f_remission_late_fee_vue > row.overdue) {
|
|
165
|
-
this.$showMessage('
|
|
165
|
+
this.$showMessage('减免金额不能大于违约金')
|
|
166
166
|
row.f_remission_late_fee_vue = ''
|
|
167
167
|
return
|
|
168
168
|
}
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
// f_end_date: row.f_end_date,
|
|
189
189
|
f_userinfo_code: row.f_userinfo_code
|
|
190
190
|
}
|
|
191
|
-
let res = await http.load('POST', 'rs/logic/overDueTaxun', handplan, {resolveMsg: null, rejectMsg: '
|
|
191
|
+
let res = await http.load('POST', 'rs/logic/overDueTaxun', handplan, {resolveMsg: null, rejectMsg: '减免违约金出错'})
|
|
192
192
|
this.$refs.paged.$refs.cri.search()
|
|
193
193
|
}
|
|
194
194
|
},
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div class="auto form-horizontal">
|
|
3
3
|
<modal :show.sync="show" large backdrop="false">
|
|
4
4
|
<header slot="modal-header" class="modal-header">
|
|
5
|
-
<h3 style="color:black" class="modal-title"
|
|
5
|
+
<h3 style="color:black" class="modal-title">违约金减免单</h3>
|
|
6
6
|
</header>
|
|
7
7
|
<article slot="modal-body" class="modal-body">
|
|
8
8
|
<validator name='v'>
|
|
@@ -16,7 +16,7 @@ let specialComp = {
|
|
|
16
16
|
'gongyi-chargeManage': (resolve) => { require(['./charge/ChargeManage'], resolve) },
|
|
17
17
|
'change-meter': (resolve) => { require(['./revenue/changemeter/ChangeMeter'], resolve) },
|
|
18
18
|
'card-hand': (resolve) => { require(['./HandManager/CardHand'], resolve) },
|
|
19
|
-
//
|
|
19
|
+
// 违约金减免页面
|
|
20
20
|
'overdue_tax': (resolve) => { require(['./revenue/comprehen/ovdue/Overduetax'], resolve) },
|
|
21
21
|
// 机表收费
|
|
22
22
|
'machine-meter-center': (resolve) => { require(['./charge/business/machine/MachineMeterCenter'], resolve) },
|
|
@@ -75,13 +75,13 @@ let evenRound = function (num, decimalPlaces) {
|
|
|
75
75
|
? ((i % 2 == 0) ? i : i + 1) : Math.round(n)
|
|
76
76
|
return d ? r / m : r
|
|
77
77
|
}
|
|
78
|
-
let modify = async function (userfilesID, gas, type = '1') {
|
|
78
|
+
let modify = async function (self, userfilesID, gas, type = '1') {
|
|
79
79
|
let data = {
|
|
80
80
|
f_gas: gas,
|
|
81
81
|
f_userfiles_id: userfilesID,
|
|
82
82
|
type
|
|
83
83
|
}
|
|
84
|
-
return
|
|
84
|
+
return self.$resetpost('rs/logic/modifySCGas', {data: data}, {resolveMsg: null, rejectMsg: '获取写卡参数失败'})
|
|
85
85
|
}
|
|
86
86
|
let otherGasGen = async function (self) {
|
|
87
87
|
// 划价
|
|
@@ -171,7 +171,7 @@ let otherGasGen = async function (self) {
|
|
|
171
171
|
} else {
|
|
172
172
|
try {
|
|
173
173
|
// 写卡操作
|
|
174
|
-
let cardParams = await self.$resetpost('rs/logic/stairCard', {data: {f_card_id: cardId + '', f_alias: self.row.f_alias, f_user_id: self.row.f_user_id}}, {resolveMsg: null, rejectMsg: '获取写卡参数失败'})
|
|
174
|
+
let cardParams = await self.$resetpost('rs/logic/stairCard', {data: {f_card_id: cardId + '', f_alias: self.row.f_alias, f_userfiles_id: self.row.f_userfiles_id, f_user_id: self.row.f_user_id}}, {resolveMsg: null, rejectMsg: '获取写卡参数失败'})
|
|
175
175
|
|
|
176
176
|
// 获取写卡参数
|
|
177
177
|
let params = self.getWriteCard(cardParams, self.row, data)
|
|
@@ -191,7 +191,7 @@ let otherGasGen = async function (self) {
|
|
|
191
191
|
if (!cardParams || !result || cardRes.data.Err || cardRes.data.Exception) {
|
|
192
192
|
throw new Error(`卡服务错误:${cardRes.data.Err}${cardRes.data.Exception},请联系开发人员处理!!`)
|
|
193
193
|
} else {
|
|
194
|
-
await modify(self.row.f_userfiles_id, params.ql)
|
|
194
|
+
await modify(self, self.row.f_userfiles_id, params.ql)
|
|
195
195
|
await self.$CommonService.updatePassword(self.row, cardRes)
|
|
196
196
|
self.$showAlert('补气成功', 'success', 2000)
|
|
197
197
|
return result.data.id
|
|
@@ -344,7 +344,7 @@ export default {
|
|
|
344
344
|
czsx: row.f_topup_ceil, // 充值上线,t_gasbrand表中
|
|
345
345
|
tzed: row.f_overdr_lines, // 透支额度,t_gasbrand表中
|
|
346
346
|
bkcs: row.f_fillcard_times, // 补卡次数,从补卡表里通过表编号获得
|
|
347
|
-
ql: evenRound(data.f_pregas - 0), // 预购气量
|
|
347
|
+
ql: evenRound(data.f_pregas - 0, 2), // 预购气量
|
|
348
348
|
cs: row.cardInfo.Times + 1, // 求购气次数,先开户为1
|
|
349
349
|
iotTimes: row.f_iot_times, // 远传次数
|
|
350
350
|
money: data.f_preamount, // 购气金额
|
|
@@ -300,7 +300,7 @@ let asyncMachineMeterCenter = async function (self) {
|
|
|
300
300
|
validateOk: false,
|
|
301
301
|
handid: '',
|
|
302
302
|
showOverdueModal: false,
|
|
303
|
-
editOverdue: this.$login.r.includes('
|
|
303
|
+
editOverdue: this.$login.r.includes('违约金修改'),
|
|
304
304
|
paytype: [],
|
|
305
305
|
printstyle: this.$appdata.getParam('打印格式') ? this.$appdata.getParam('打印格式') : [],
|
|
306
306
|
privilegeList: [{label: '无优惠', value: '0'}],
|