sale-client 3.6.146 → 3.6.148
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/build/dev-server.js +1 -1
- package/package.json +1 -1
- package/src/components/FilesManage/MeterinfoTest.vue +16 -3
- package/src/components/FilesManage/UserEssentialInfoTest.vue +6 -2
- package/src/components/FilesManageNew/UserEssentialInfoTest.vue +6 -3
- package/src/components/SellGasCharge/MeterChargeforUser/ChargeUserCenter.vue +3 -3
- package/src/components/WechatManage/OutLets.vue +8 -8
- package/src/components/charge/HandList.vue +1 -1
- package/src/components/charge/business/depositCharge/DepositCharge.vue +1 -1
- package/src/components/charge/business/machine/MachineCharge.vue +1 -1
- package/src/components/charge/business/machine/MachineMeterCenter.vue +3 -3
- package/src/components/charge/business/machine/MachineMeterPartCenter.vue +11 -11
- package/src/components/charge/business/machine/MachinePartCharge.vue +1 -1
- package/src/components/chargeBatch/BatchChargeDetail.vue +1 -1
- package/src/components/chargeBatch/ChargeGroupList.vue +1 -1
- package/src/components/chargeBatch/OweRecordQuery.vue +1 -1
- package/src/components/common/userinfo_detail/ic_detail/ChargeQueryUser.vue +3 -3
- package/src/components/common/userinfo_detail/ic_detail/HandQueryUser.vue +2 -2
- package/src/components/common/userinfo_detail/ic_detail/WebChargeQueryUser.vue +1 -1
- package/src/components/common/userinfo_detail/ic_detail/WebHandQueryUser.vue +2 -2
- package/src/components/revenue/Common/PaymentCode.vue +3 -2
- package/src/components/revenue/HandManager/OverdueSet.vue +2 -2
- package/src/components/revenue/HandManager/OverdueSetList.vue +3 -3
- package/src/components/revenue/HandManager/OverdueSetUser.vue +1 -1
- package/src/components/revenue/bank/bankOffer.vue +2 -2
- package/src/components/revenue/changeInsurance/InsuranceAdd.vue +8 -3
- package/src/components/revenue/changeInsurance/InsuranceChargesDetails.vue +91 -5
- package/src/components/revenue/comprehen/ComprehenOperation/RefundManage/RefundManage.vue +1 -1
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeMeter.vue +8 -1
- package/src/components/revenue/comprehen/Maintenance/hand/handListMaintain.vue +2 -2
- package/src/components/revenue/comprehen/Message/TemplateMessage.vue +2 -2
- package/src/components/revenue/comprehen/Message/UserDefinedMessageNew.vue +1 -1
- package/src/components/revenue/comprehen/batch/batchEditFiles.vue +1 -1
- package/src/components/revenue/comprehen/batch/batchEditManage.vue +1 -1
- package/src/components/revenue/comprehen/closeaccount/Closeaccount.vue +1 -1
- package/src/components/revenue/comprehen/closeaccount/battchcancelaudit.vue +1 -1
- package/src/components/revenue/comprehen/insurance/insuranceGuanL.vue +13 -1
- package/src/components/revenue/comprehen/ovdue/Overduetax.vue +6 -6
- package/src/components/revenue/machineHandManage/ArrearsQuery.vue +3 -3
- package/src/components/revenue/machineHandManage/HandplanQuery.vue +2 -2
- package/src/components/revenue/machineHandManage/machineHand.vue +0 -4
- package/src/filiale/Baole/FilesManage/MeterinfoTest.vue +2 -2
- package/src/filiale/ancheng/FilesManage/MeterinfoTest.vue +2 -2
- package/src/filiale/daliyihua/MeterinfoTest.vue +2 -2
- package/src/filiale/dongguan/components/FilesManage/MeterinfoTest.vue +2 -2
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/ChargeQueryUser.vue +1 -1
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/HandQueryUser.vue +2 -2
- package/src/filiale/gehua/ChargeGroupList.vue +1 -1
- package/src/filiale/gehua/DepositCharge.vue +1 -1
- package/src/filiale/gehua/MachineMeterCenter.vue +3 -3
- package/src/filiale/gehua/MeterinfoTest.vue +2 -2
- package/src/filiale/gehua/machineHandManage/HandplanQuery.vue +2 -2
- package/src/filiale/guangxi/MachineMeterCenter.vue +2 -2
- package/src/filiale/haile/ArrearsQuery.vue +3 -3
- package/src/filiale/haile/FilesManage/MeterinfoTest.vue +2 -2
- package/src/filiale/haile/MachineMeterCenter.vue +3 -3
- package/src/filiale/haile/machineHandManage/ArrearsQuery.vue +3 -3
- package/src/filiale/huayin/MachineMeterCenter.vue +3 -3
- package/src/filiale/huayin/MeterinfoTest.vue +2 -2
- package/src/filiale/jinjiang/MachineMeterCenter.vue +2 -2
- package/src/filiale/kelai/MachineMeterCenter.vue +3 -3
- package/src/filiale/kelai/MeterinfoTest.vue +2 -2
- package/src/filiale/lixianV3/ic_detail/HandQueryUser.vue +1 -1
- package/src/filiale/lixianV3/iotHand.vue +34 -1
- package/src/filiale/macheng/MachineMeterCenter.vue +2 -2
- package/src/filiale/macheng/ic_detail/HandQueryUser.vue +2 -2
- package/src/filiale/macheng/ic_detail/WebHandQueryUser.vue +2 -2
- package/src/filiale/meihekou/batch/batchEditFiles.vue +1 -1
- package/src/filiale/meihekou/batch/batchEditManage.vue +1 -1
- package/src/filiale/ningjin/HandplanQuery.vue +2 -2
- package/src/filiale/qianneng/chargeBatch/ChargeGroupList.vue +1 -1
- package/src/filiale/qianneng/chargeBatch/OweRecordQuery.vue +1 -1
- package/src/filiale/qianneng/revenue/common/ic_detail/ChargeQueryUser.vue +1 -1
- package/src/filiale/qianneng/revenue/common/ic_detail/HandQueryUser.vue +2 -2
- package/src/filiale/qingtongxia/MachineCharge.vue +1 -1
- package/src/filiale/qingtongxia/MachineMeterCenter.vue +3 -3
- package/src/filiale/rongcheng/business/depositCharge/DepositCharge.vue +1 -1
- package/src/filiale/rongcheng/business/machine/MachineCharge.vue +1 -1
- package/src/filiale/rongcheng/business/machine/MachineMeterCenter.vue +3 -3
- package/src/filiale/rongcheng/business/machine/MachineMeterPartCenter.vue +11 -11
- package/src/filiale/rongcheng/business/machine/MachinePartCharge.vue +1 -1
- package/src/filiale/rongchuang/DepositCharge.vue +1 -1
- package/src/filiale/shangluo/MachineMeterCenter.vue +3 -3
- package/src/filiale/shangluo/MeterinfoTest.vue +2 -2
- package/src/filiale/shanxian/components/FilesManage/MeterinfoTest.vue +2 -2
- package/src/filiale/shexian/ChargeQueryUser.vue +1 -1
- package/src/filiale/shexian/FilesManage/MeterinfoTest.vue +2 -2
- package/src/filiale/tongchuan/ChangeMeter.vue +10 -0
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/ChargeQueryUser.vue +1 -1
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/HandQueryUser.vue +1 -1
- package/src/filiale/wenxi/ChargeQueryUser.vue +1 -1
- package/src/filiale/wenxi/HandplanQuery.vue +2 -2
- package/src/filiale/wenxi/MeterinfoTest.vue +2 -2
- package/src/filiale/xinkang/ChargeQueryUser.vue +1 -1
- package/src/filiale/xinkang/MeterinfoTest.vue +2 -2
- package/src/filiale/yuansheng/MeterinfoTest.vue +2 -2
- package/src/filiale/zhongyi/HandplanQuery.vue +2 -2
- package/src/main.js +3 -3
package/build/dev-server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
|
-
const [ serverRul, localUrl ] = ['
|
|
2
|
+
const [ serverRul, localUrl ] = ['http://121.36.60.63:8300/', 'http://121.36.60.63:8300/']
|
|
3
3
|
var merge = require('webpack-merge')
|
|
4
4
|
var baseConfig = require('./webpack.dev.conf')
|
|
5
5
|
var devConfig = {
|
package/package.json
CHANGED
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
:options='meterbookoptions' placeholder='抄表册'
|
|
241
241
|
close-on-select></v-select>
|
|
242
242
|
</div>
|
|
243
|
-
<div class="col-sm-4 form-group" v-
|
|
243
|
+
<div class="col-sm-4 form-group" v-if="config.f_install_date" :class="[$m.f_install_date.required ? 'has-error' : '']">
|
|
244
244
|
<input type="text" v-model="$refs.f_install_date.value" v-show="false" v-validate:f_install_date='{required: true }'>
|
|
245
245
|
<label for="f_install_date" class="font_normal_body"> 安装日期</label>
|
|
246
246
|
<datepicker style="width:60%" id="startDate" placeholder="安装日期" width='100%'
|
|
@@ -252,6 +252,18 @@
|
|
|
252
252
|
:show-reset-button="true">
|
|
253
253
|
</datepicker>
|
|
254
254
|
</div>
|
|
255
|
+
<div class="col-sm-4 form-group" v-if="!config.f_install_date" :class="[$m.f_install_date.required ? 'has-error' : '']">
|
|
256
|
+
<input type="text" v-model="$refs.f_install_date.value" v-show="false">
|
|
257
|
+
<label for="f_install_date" class="font_normal_body"> 安装日期</label>
|
|
258
|
+
<datepicker style="width:60%" id="startDate" placeholder="安装日期" width='100%'
|
|
259
|
+
v-model="row.f_install_date"
|
|
260
|
+
:value.sync="row.f_install_date"
|
|
261
|
+
class="datepicker"
|
|
262
|
+
v-ref:f_install_date
|
|
263
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
264
|
+
:show-reset-button="true">
|
|
265
|
+
</datepicker>
|
|
266
|
+
</div>
|
|
255
267
|
<div class="col-sm-4 form-group">
|
|
256
268
|
<label for="f_adjustable" class="font_normal_body"> 调 压 箱</label>
|
|
257
269
|
<v-select :value.sync="row.f_adjustable" :options='adjustables' placeholder='调压箱' close-on-select
|
|
@@ -353,9 +365,9 @@
|
|
|
353
365
|
<input type="text" style="width:60%" v-model="row.f_comments" class="input_search" placeholder="备注"/>
|
|
354
366
|
</div>
|
|
355
367
|
<div class="col-sm-4 form-group" v-if="config.overduesetShow">
|
|
356
|
-
<label class="font_normal_body"
|
|
368
|
+
<label class="font_normal_body">违约金规则</label>
|
|
357
369
|
<v-select :value.sync="row.f_overdue_set" v-model="row.f_overdue_set"
|
|
358
|
-
:options='overdueset' placeholder='
|
|
370
|
+
:options='overdueset' placeholder='违约金规则'
|
|
359
371
|
close-on-select></v-select>
|
|
360
372
|
</div>
|
|
361
373
|
|
|
@@ -539,6 +551,7 @@
|
|
|
539
551
|
// 卡控流量计相关字段显示
|
|
540
552
|
stuckFlowmeterShow: false,
|
|
541
553
|
overduesetShow: true,
|
|
554
|
+
f_install_date: true,
|
|
542
555
|
open_way: '指令开户'
|
|
543
556
|
},
|
|
544
557
|
mapShow: false,
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
</div>
|
|
45
45
|
<div style="" class="col-sm-8 form-group"
|
|
46
46
|
:class="[$v.f_idnumber2.identityCardValid ? 'has-error' : '']"
|
|
47
|
-
v-if="baseinfo.base.f_credentials === '身份证'">
|
|
47
|
+
v-if="baseinfo.base.f_credentials === '身份证' && config.f_idnumber ">
|
|
48
48
|
<label for="f_idnumber" class="font_normal_body">*证件号码</label>
|
|
49
49
|
<input type="text" maxlength="18" v-model="baseinfo.base.f_idnumber"
|
|
50
50
|
v-validate:f_idnumber2='{identityCardValid: true}' class="input_search" style="width:80%"
|
|
51
51
|
placeholder="证件号码">
|
|
52
52
|
</div>
|
|
53
|
-
<div style="" class="col-sm-8 form-group" v-if="baseinfo.base.f_credentials !== '身份证'">
|
|
53
|
+
<div style="" class="col-sm-8 form-group" v-if="baseinfo.base.f_credentials !== '身份证' || !config.f_idnumber ">
|
|
54
54
|
<label class="font_normal_body"> 证件号码</label>
|
|
55
55
|
<input type="text" v-model="baseinfo.base.f_idnumber" class="input_search" style="width:80%"
|
|
56
56
|
placeholder="证件号码">
|
|
@@ -234,6 +234,7 @@
|
|
|
234
234
|
let result = await http.load('GET', `rs/vue/EditUserState.json`, {}, {resolveMsg: null, rejectMsg: null})
|
|
235
235
|
console.log(result.data.EditUserState)
|
|
236
236
|
self.edituserstate = result.data.EditUserState
|
|
237
|
+
self.config.f_idnumber = result.data.f_idnumber
|
|
237
238
|
} catch (e) {
|
|
238
239
|
console.log(e)
|
|
239
240
|
}
|
|
@@ -246,6 +247,9 @@
|
|
|
246
247
|
return {
|
|
247
248
|
showselectaddress: false,
|
|
248
249
|
site: '',
|
|
250
|
+
config: {
|
|
251
|
+
f_idnumber: true
|
|
252
|
+
},
|
|
249
253
|
showphone: false,
|
|
250
254
|
areas: [],
|
|
251
255
|
streets: [],
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
</div>
|
|
37
37
|
<div style="" class="col-sm-8 form-group"
|
|
38
38
|
:class="[$v.f_idnumber2.identityCardValid ? 'has-error' : '']"
|
|
39
|
-
v-if="baseinfo.base.f_credentials === '身份证'||baseinfo.base.f_credentials[0] === '身份证'">
|
|
39
|
+
v-if="(baseinfo.base.f_credentials === '身份证'||baseinfo.base.f_credentials[0] === '身份证') && config.f_idnumber ">
|
|
40
40
|
<label for="f_idnumber" class="font_normal_body color-red">*证件号码</label>
|
|
41
41
|
<input type="text" maxlength="18" v-model="baseinfo.base.f_idnumber"
|
|
42
42
|
v-validate:f_idnumber2='{identityCardValid: true}' class="input_search" style="width:80%"
|
|
43
43
|
placeholder="证件号码">
|
|
44
44
|
</div>
|
|
45
45
|
<div style="" class="col-sm-8 form-group"
|
|
46
|
-
v-if="baseinfo.base.f_credentials !== '身份证'&&baseinfo.base.f_credentials[0] !== '身份证'">
|
|
46
|
+
v-if="(baseinfo.base.f_credentials !== '身份证'&&baseinfo.base.f_credentials[0] !== '身份证')|| !config.f_idnumber ">
|
|
47
47
|
<label class="font_normal_body"> 证件号码</label>
|
|
48
48
|
<input type="text" v-model="baseinfo.base.f_idnumber" class="input_search" style="width:80%"
|
|
49
49
|
placeholder="证件号码">
|
|
@@ -222,6 +222,7 @@
|
|
|
222
222
|
self.config.f_print_dh = result.data.f_print_dh
|
|
223
223
|
self.baseinfo.base.f_print_dh = (self.baseinfo.base.f_print_dh && self.baseinfo.base.f_print_dh != '' && self.baseinfo.base.f_print_dh != '否') ? self.baseinfo.base.f_print_dh : result.data.f_print_dh
|
|
224
224
|
self.edituserstate = result.data.EditUserState
|
|
225
|
+
self.config.f_idnumber = result.data.f_idnumber
|
|
225
226
|
} catch (e) {
|
|
226
227
|
console.log(e)
|
|
227
228
|
}
|
|
@@ -237,7 +238,9 @@
|
|
|
237
238
|
areas: [],
|
|
238
239
|
streets: [],
|
|
239
240
|
residentials: [],
|
|
240
|
-
config: {
|
|
241
|
+
config: {
|
|
242
|
+
f_idnumber: true,
|
|
243
|
+
},
|
|
241
244
|
inputtores: this.$appdata.getParam('抄表员'),
|
|
242
245
|
credentials: this.$appdata.getParam('证件类型'),
|
|
243
246
|
costtypes: this.$appdata.getParam('缴费类型'),
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
</div>
|
|
58
58
|
<div class="form-group">
|
|
59
59
|
<div class="col-sm-6 form-input-group">
|
|
60
|
-
<label for="f_overdue" class="control-label col-sm-3"
|
|
60
|
+
<label for="f_overdue" class="control-label col-sm-3">违约金:</label>
|
|
61
61
|
<!-- <span class="col-sm-2 form-control-static">{{model.f_totalcost}}</span> -->
|
|
62
|
-
<input class="form-control col-sm-3" type="number" v-model="model.f_overdue" placeholder="
|
|
62
|
+
<input class="form-control col-sm-3" type="number" v-model="model.f_overdue" placeholder="违约金" disabled>
|
|
63
63
|
</div>
|
|
64
64
|
<div class="col-sm-6 form-input-group">
|
|
65
65
|
<label for="f_totalcost" class=" col-sm-3 control-label">应收金额:</label>
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
computed: {
|
|
167
167
|
'curbalance' () {
|
|
168
168
|
let account = 0
|
|
169
|
-
//
|
|
169
|
+
// 判断是否有违约金,第一笔没有违约金,说明所有欠费都没有违约金
|
|
170
170
|
if (this.model.rows.length === 0 || this.model.rows.length > 0 && this.model.rows.overdue <= 0) {
|
|
171
171
|
account = (this.model.f_collection - 0) + this.model.f_balance
|
|
172
172
|
} else {
|
|
@@ -373,12 +373,12 @@
|
|
|
373
373
|
},
|
|
374
374
|
confirm () {
|
|
375
375
|
this.data.f_overdue = this.newOverdue
|
|
376
|
-
console.log(this.data.f_overdue, this.data.f_last_overdue, '
|
|
377
|
-
//
|
|
376
|
+
console.log(this.data.f_overdue, this.data.f_last_overdue, '违约金')
|
|
377
|
+
// 未违约金修改添加,将修改的值,原因添加到this.data.logicmodel中
|
|
378
378
|
// 如果有变更原因说明有变更
|
|
379
379
|
if (this.f_cause && this.f_cause.length > 0) {
|
|
380
|
-
this.data.f_paydelaypay = this.f_paydelaypay //
|
|
381
|
-
this.data.f_delaypay = this.f_delaypay //
|
|
380
|
+
this.data.f_paydelaypay = this.f_paydelaypay // 应缴违约金
|
|
381
|
+
this.data.f_delaypay = this.f_delaypay // 实缴违约金
|
|
382
382
|
this.data.f_cause = this.f_cause // 变更原因
|
|
383
383
|
}
|
|
384
384
|
this.$showMessage(`确定对用户${this.row.f_user_name}进行机表缴费吗?`, ['confirm', 'cancel']).then((res) => {
|
|
@@ -406,10 +406,10 @@
|
|
|
406
406
|
this.clean()
|
|
407
407
|
},
|
|
408
408
|
changeOverdue (val, reason) {
|
|
409
|
-
this.$set('f_paydelaypay', this.newOverdue) //
|
|
410
|
-
this.newOverdue = val //
|
|
411
|
-
this.$set('f_delaypay', this.newOverdue) //
|
|
412
|
-
this.$set('f_cause', this.reason) //
|
|
409
|
+
this.$set('f_paydelaypay', this.newOverdue) // 应交违约金
|
|
410
|
+
this.newOverdue = val // 实缴违约金
|
|
411
|
+
this.$set('f_delaypay', this.newOverdue) // 实缴违约金
|
|
412
|
+
this.$set('f_cause', this.reason) // 实缴违约金
|
|
413
413
|
this.calOverdue()
|
|
414
414
|
},
|
|
415
415
|
updateConfirm () {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<!--</div>-->
|
|
35
35
|
<div class="row">
|
|
36
36
|
<label class = "col-sm-4">用气量:</label>
|
|
37
|
-
<
|
|
37
|
+
<span style="text-align:left" class = "col-sm-2">{{row.f_oughtamount}}</span>
|
|
38
38
|
<label class = "col-sm-4">用气金额:</label>
|
|
39
39
|
<span class = "col-sm-2" style="text-align:left">{{row.f_oughtfee}}</span>
|
|
40
40
|
</div>
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
validateOk: false,
|
|
259
259
|
handid: '',
|
|
260
260
|
showOverdueModal: false,
|
|
261
|
-
editOverdue: this.$login.r.includes('
|
|
261
|
+
editOverdue: this.$login.r.includes('违约金修改'),
|
|
262
262
|
paytype: this.$appdata.getParam('付款方式') ? this.$appdata.getParam('付款方式') : [],
|
|
263
263
|
printstyle: this.$appdata.getParam('打印格式') ? this.$appdata.getParam('打印格式') : [],
|
|
264
264
|
privilegeList: [{label: '无优惠', value: '0'}],
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
}
|
|
144
144
|
this.model.f_collection = this.model.f_collection < 0 ? 0 : this.model.f_collection
|
|
145
145
|
},
|
|
146
|
-
//
|
|
146
|
+
// 获取欠费里面有违约金的最大的一笔欠费的角标
|
|
147
147
|
getMaxIndex (val) {
|
|
148
148
|
if (val.findIndex((item) => { return item.f_oughtfee < 0 }) !== -1) {
|
|
149
149
|
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;" >
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
<!--<modal :show.sync="showOverdueModal" v-ref:modal backdrop="false">-->
|
|
151
151
|
<!--<header slot="modal-header" class="modal-header">-->
|
|
152
152
|
<!--<button type="button" class="close" @click="closeOverdue"><span>×</span></button>-->
|
|
153
|
-
<!--<h4 class="modal-title"
|
|
153
|
+
<!--<h4 class="modal-title">修改违约金</h4>-->
|
|
154
154
|
<!--</header>-->
|
|
155
155
|
<!--<article slot="modal-body" class="modal-body">-->
|
|
156
156
|
<!--<validator name='m'>-->
|
|
@@ -336,7 +336,7 @@ let asyncMachineMeterCenter = async function (self) {
|
|
|
336
336
|
validateOk: false,
|
|
337
337
|
handid: '',
|
|
338
338
|
showOverdueModal: false,
|
|
339
|
-
editOverdue: this.$login.r.includes('
|
|
339
|
+
editOverdue: this.$login.r.includes('违约金修改'),
|
|
340
340
|
paytype: [],
|
|
341
341
|
printstyle: this.$appdata.getParam('打印格式') ? this.$appdata.getParam('打印格式') : [],
|
|
342
342
|
privilegeList: [{label: '无优惠', value: '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="违约金" @blur="calOverdue()"
|
|
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;">
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
<modal :show.sync="showOverdueModal" v-ref:modal backdrop="false">
|
|
108
108
|
<header slot="modal-header" class="modal-header">
|
|
109
109
|
<button type="button" class="close" @click="close"><span>×</span></button>
|
|
110
|
-
<h4 class="modal-title"
|
|
110
|
+
<h4 class="modal-title">修改违约金</h4>
|
|
111
111
|
</header>
|
|
112
112
|
<article slot="modal-body" class="modal-body">
|
|
113
113
|
<div class="form-group">
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
otherprice: '',
|
|
242
242
|
handid: '',
|
|
243
243
|
showOverdueModal: false,
|
|
244
|
-
editOverdue: this.$login.r.includes('
|
|
244
|
+
editOverdue: this.$login.r.includes('违约金修改'),
|
|
245
245
|
paytype: this.$appdata.getParam('付款方式') ? this.$appdata.getParam('付款方式') : [],
|
|
246
246
|
printstyle: this.$appdata.getParam('打印格式') ? this.$appdata.getParam('打印格式') : []
|
|
247
247
|
}
|
|
@@ -314,12 +314,12 @@
|
|
|
314
314
|
},
|
|
315
315
|
confirm () {
|
|
316
316
|
this.data.f_overdue = this.newOverdue
|
|
317
|
-
console.log(this.data.f_overdue, this.data.f_last_overdue, '
|
|
318
|
-
//
|
|
317
|
+
console.log(this.data.f_overdue, this.data.f_last_overdue, '违约金')
|
|
318
|
+
// 未违约金修改添加,将修改的值,原因添加到this.data.logicmodel中
|
|
319
319
|
// 如果有变更原因说明有变更
|
|
320
320
|
if (this.f_cause && this.f_cause.length > 0) {
|
|
321
|
-
this.data.f_paydelaypay = this.f_paydelaypay //
|
|
322
|
-
this.data.f_delaypay = this.f_delaypay //
|
|
321
|
+
this.data.f_paydelaypay = this.f_paydelaypay // 应缴违约金
|
|
322
|
+
this.data.f_delaypay = this.f_delaypay // 实缴违约金
|
|
323
323
|
this.data.f_cause = this.f_cause // 变更原因
|
|
324
324
|
}
|
|
325
325
|
if (this.data.f_collection <= 0) {
|
|
@@ -354,10 +354,10 @@
|
|
|
354
354
|
this.clean()
|
|
355
355
|
},
|
|
356
356
|
changeOverdue (val, reason) {
|
|
357
|
-
this.$set('f_paydelaypay', this.newOverdue) //
|
|
358
|
-
this.newOverdue = val //
|
|
359
|
-
this.$set('f_delaypay', this.newOverdue) //
|
|
360
|
-
this.$set('f_cause', this.reason) //
|
|
357
|
+
this.$set('f_paydelaypay', this.newOverdue) // 应交违约金
|
|
358
|
+
this.newOverdue = val // 实缴违约金
|
|
359
|
+
this.$set('f_delaypay', this.newOverdue) // 实缴违约金
|
|
360
|
+
this.$set('f_cause', this.reason) // 实缴违约金
|
|
361
361
|
this.calOverdue()
|
|
362
362
|
}
|
|
363
363
|
},
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
}
|
|
115
115
|
this.model.f_collection = this.config.floor ? Math.floor(this.model.f_totalcost - 0) : this.model.f_totalcost
|
|
116
116
|
},
|
|
117
|
-
//
|
|
117
|
+
// 获取欠费里面有违约金的最大的一笔欠费的角标
|
|
118
118
|
getMaxIndex (val) {
|
|
119
119
|
if (val.findIndex((item) => { return item.f_oughtfee < 0 }) !== -1) {
|
|
120
120
|
return val.findIndex((item) => { return item.f_oughtfee < 0 })
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<span class = "col-sm-2" style="text-align:left">{{model.f_preamount}}</span>
|
|
19
19
|
</div>
|
|
20
20
|
<div class="row">
|
|
21
|
-
<label class = "col-sm-4"
|
|
21
|
+
<label class = "col-sm-4">违约金额:</label>
|
|
22
22
|
<span class = "col-sm-2" style="text-align:left">{{model.f_delaypay}}</span>
|
|
23
23
|
<label class = "col-sm-4">实收金额:</label>
|
|
24
24
|
<span class = "col-sm-2" style="text-align:left">{{model.f_collection}}</span>
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
<nobr>气费金额</nobr>
|
|
91
91
|
</th>
|
|
92
92
|
<th>
|
|
93
|
-
<nobr
|
|
93
|
+
<nobr>违约金</nobr>
|
|
94
94
|
</th>
|
|
95
95
|
<th>
|
|
96
96
|
<nobr>减免金额</nobr>
|
|
@@ -479,7 +479,7 @@ export default {
|
|
|
479
479
|
'f_pregas': '气量',
|
|
480
480
|
'f_price': '气价',
|
|
481
481
|
'f_preamount': '气费金额',
|
|
482
|
-
'f_delaypay': '
|
|
482
|
+
'f_delaypay': '违约金',
|
|
483
483
|
'f_jianmian': '减免金额',
|
|
484
484
|
'f_balance': '上期结余',
|
|
485
485
|
'f_oughtfee': '应交金额',
|
|
@@ -501,7 +501,7 @@ export default {
|
|
|
501
501
|
'f_pregas': '气量',
|
|
502
502
|
'f_price': '气价',
|
|
503
503
|
'f_preamount': '气费金额',
|
|
504
|
-
'f_delaypay': '
|
|
504
|
+
'f_delaypay': '违约金',
|
|
505
505
|
'f_jianmian': '减免金额',
|
|
506
506
|
'f_balance': '上期结余',
|
|
507
507
|
'f_collection': '实收金额',
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
二阶用气金额合计: {{model.sums.f_stair2fee}}
|
|
156
156
|
</td>
|
|
157
157
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
158
|
-
|
|
158
|
+
三阶用气量合计: {{model.sums.f_stair3amount}}
|
|
159
159
|
</td>
|
|
160
160
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
161
161
|
三阶用气金额合计: {{model.sums.f_stair3fee}}
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
'f_qianfei_fee': '欠费金额合计',
|
|
219
219
|
'f_detailprice': '结算明细',
|
|
220
220
|
'datas': '用气周期',
|
|
221
|
-
'money1': '
|
|
221
|
+
'money1': '违约金',
|
|
222
222
|
'price1': '单价',
|
|
223
223
|
'f_oughtfee1': '应交金额',
|
|
224
224
|
'f_inputtor': '抄表员',
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
<th><nobr>气价</nobr></th>
|
|
65
65
|
<th><nobr>气量</nobr></th>
|
|
66
66
|
<th><nobr>气费金额</nobr></th>
|
|
67
|
-
<th><nobr
|
|
67
|
+
<th><nobr>违约金</nobr></th>
|
|
68
68
|
<th><nobr>减免金额</nobr></th>
|
|
69
69
|
<th><nobr>上期结余</nobr></th>
|
|
70
70
|
<th><nobr v-if="!$parent.$parent.$parent.isIot">应交金额</nobr></th>
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
二阶用气金额合计: {{model.sums.f_stair2fee}}
|
|
149
149
|
</td>
|
|
150
150
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
151
|
-
|
|
151
|
+
三阶用气量合计: {{model.sums.f_stair3amount}}
|
|
152
152
|
</td>
|
|
153
153
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
154
154
|
三阶用气金额合计: {{model.sums.f_stair3fee}}
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
'f_oughtfee': '用气金额',
|
|
204
204
|
'f_detailprice': '结算明细',
|
|
205
205
|
'datas': '用气周期',
|
|
206
|
-
'money1': '
|
|
206
|
+
'money1': '违约金',
|
|
207
207
|
'price1': '单价',
|
|
208
208
|
'f_oughtfee1': '应交金额',
|
|
209
209
|
'f_inputtor': '抄表员',
|
|
@@ -43,7 +43,8 @@
|
|
|
43
43
|
// 定时器
|
|
44
44
|
timer: null,
|
|
45
45
|
// 收费成功id
|
|
46
|
-
sellinggasId: null
|
|
46
|
+
sellinggasId: null,
|
|
47
|
+
canPayment: this.$appdata.getSingleValue('微信支付付款方式') ? this.$appdata.getSingleValue('微信支付付款方式') : '微信支付',
|
|
47
48
|
}
|
|
48
49
|
},
|
|
49
50
|
created () {
|
|
@@ -56,7 +57,7 @@
|
|
|
56
57
|
return new Promise((resolve) => {
|
|
57
58
|
this.paycoderesolve = resolve
|
|
58
59
|
// 如果是付款码支付则显示界面扫用户付款码收钱
|
|
59
|
-
if (this.payment.toString().indexOf('&') !== -1) {
|
|
60
|
+
if (this.canPayment.indexOf(this.payment.toString()) !== -1 || this.payment.toString().indexOf('&') !== -1) {
|
|
60
61
|
this.paymentCodeShow = true
|
|
61
62
|
this.paycodefocus()
|
|
62
63
|
} else {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
<modal v-if="show" :show.sync="show" style="height: auto">
|
|
86
86
|
<header slot="modal-header" class="modal-header">
|
|
87
87
|
<button type="button" class="close" @click="show=!show"><span>×</span></button>
|
|
88
|
-
<h4 class="modal-title"
|
|
88
|
+
<h4 class="modal-title">新增违约金规则</h4>
|
|
89
89
|
</header>
|
|
90
90
|
<article slot="modal-body" class="modal-body">
|
|
91
91
|
<div class="row">
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
<modal v-if="updateshow" :show.sync="updateshow" style="height: auto">
|
|
116
116
|
<header slot="modal-header" class="modal-header">
|
|
117
117
|
<button type="button" class="close" @click="updateshow=!updateshow"><span>×</span></button>
|
|
118
|
-
<h4 class="modal-title"
|
|
118
|
+
<h4 class="modal-title">新增违约金规则</h4>
|
|
119
119
|
</header>
|
|
120
120
|
<article slot="modal-body" class="modal-body">
|
|
121
121
|
<div class="row">
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
export default {
|
|
162
|
-
title: '
|
|
162
|
+
title: '违约金规则',
|
|
163
163
|
data () {
|
|
164
164
|
return {
|
|
165
165
|
model: new PagedList('rs/sql/getOverdueSet', 30, {items: '"*"', tablename: '"t_overdue_set"', orderitem: '"f_operate_date desc"'}),
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<th><nobr>用户类型</nobr></th>
|
|
49
49
|
<th><nobr>用户地址</nobr></th>
|
|
50
50
|
<th><nobr>账户结余</nobr></th>
|
|
51
|
-
<th><nobr
|
|
51
|
+
<th><nobr>违约金</nobr></th>
|
|
52
52
|
<th><nobr>应交气量</nobr></th>
|
|
53
53
|
<th><nobr>应交气费</nobr></th>
|
|
54
54
|
<th><nobr>欠费总额</nobr></th>
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
return {condition: `${this.$refs.paged.$refs.cri.condition} and f_cost_type = '银行代扣' and f_filialeids like '${this.filialeCodeStr}%'`}
|
|
193
193
|
},
|
|
194
194
|
getfield () {
|
|
195
|
-
return {'f_userinfo_id': '用户号', 'f_userinfo_code': '客户编号', 'f_user_id': '表编号', 'f_user_name': '用户姓名', 'f_user_phone': '用户电话', 'f_user_type': '用户类型', 'f_address': '用户地址', 'f_balance': '账户结余', 'overdue': '
|
|
195
|
+
return {'f_userinfo_id': '用户号', 'f_userinfo_code': '客户编号', 'f_user_id': '表编号', 'f_user_name': '用户姓名', 'f_user_phone': '用户电话', 'f_user_type': '用户类型', 'f_address': '用户地址', 'f_balance': '账户结余', 'overdue': '违约金', 'f_oughtamount': '应交气量', 'f_oughtfee': '应交气费', 'qianfei': '应交总额', 'f_bank_name': '银行名称', 'f_bank_accopen': '银行账户', 'f_bank_account': '银行账号', 'f_bank_idnumber': '银行证件号', 'f_outlets': '营业网点'}
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
}
|
|
@@ -145,11 +145,16 @@
|
|
|
145
145
|
<input type="text" v-model="model.f_ok_number" style="width: 60%"
|
|
146
146
|
class="input_search">
|
|
147
147
|
</div>
|
|
148
|
-
<div class="col-sm-6
|
|
148
|
+
<div class="col-sm-6 form-group">
|
|
149
|
+
<label class="font_normal_body">    保险单号</label>
|
|
150
|
+
<input type="text" v-model="model.f_ins_number" style="width: 60%"
|
|
151
|
+
class="input_search">
|
|
152
|
+
</div>
|
|
153
|
+
<div class="col-sm-6 form-group" v-show="false">
|
|
149
154
|
<label class="font_normal_body">      公司 </label>
|
|
150
155
|
<right-tree @re-res="getRes"></right-tree>
|
|
151
156
|
</div>
|
|
152
|
-
<div class="col-sm-6">
|
|
157
|
+
<div class="col-sm-6 form-group">
|
|
153
158
|
<label class="font_normal_body">      部门</label>
|
|
154
159
|
<res-select restype='department'
|
|
155
160
|
:is-mul="mul"
|
|
@@ -158,7 +163,7 @@
|
|
|
158
163
|
:initresid='depid'>
|
|
159
164
|
</res-select>
|
|
160
165
|
</div>
|
|
161
|
-
<div class="col-sm-6">
|
|
166
|
+
<div class="col-sm-6 form-group">
|
|
162
167
|
<label class="font_normal_body">      人员</label>
|
|
163
168
|
<res-select restype='user'
|
|
164
169
|
@res-select="getuser"
|