apply-clients 4.1.18-weinan → 4.1.20-weinan
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
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
<p class="col-xs-4 text-left font"><b>金额大写</b></p>
|
|
48
48
|
<p class="col-xs-8 text-left input-font">{{ row.f_amount_words }}</p>
|
|
49
49
|
</div>
|
|
50
|
-
<div class="row">
|
|
50
|
+
<!-- <div class="row">
|
|
51
51
|
<p class="col-xs-4 text-left font"><b>收费项目</b></p>
|
|
52
52
|
<p class="col-xs-8 text-left input-font">{{ row.f_payment_term }}</p>
|
|
53
|
-
</div
|
|
53
|
+
</div>-->
|
|
54
54
|
<div class="row">
|
|
55
55
|
<p class="col-xs-4 text-left font"><b>付款方式</b></p>
|
|
56
56
|
<p class="col-xs-8 text-left input-font">{{ row.f_payment_method }}</p>
|
|
@@ -75,6 +75,10 @@
|
|
|
75
75
|
<p class="col-xs-4 text-left font"><b>收费日期</b></p>
|
|
76
76
|
<p class="col-xs-8 text-left input-font">{{ row.f_charge_date }}</p>
|
|
77
77
|
</div>
|
|
78
|
+
<div class="row">
|
|
79
|
+
<p class="col-xs-4 text-left font"><b>支付状态</b></p>
|
|
80
|
+
<p class="col-xs-8 text-left input-font">{{ row.f_paystate }}</p>
|
|
81
|
+
</div>
|
|
78
82
|
<div class="row">
|
|
79
83
|
<p class="col-xs-4 text-left font"><b>备注</b></p>
|
|
80
84
|
<p class="col-xs-8 text-left input-font">{{ row.f_charge_remarks }}</p>
|
|
@@ -193,14 +197,16 @@ export default {
|
|
|
193
197
|
payment_terms:[{f_payment_term: '',f_charge_money: '',f_amount_words:'',f_payment_method : ''}]
|
|
194
198
|
},
|
|
195
199
|
order: {},
|
|
196
|
-
timeLeft:
|
|
200
|
+
timeLeft: 300,
|
|
197
201
|
paymentInterval: null,
|
|
198
202
|
orderInterval: null,
|
|
199
203
|
filiale:"",
|
|
200
204
|
config: {
|
|
201
205
|
|
|
202
206
|
},
|
|
203
|
-
title1:''
|
|
207
|
+
title1:'',
|
|
208
|
+
// 收费编号
|
|
209
|
+
f_charge_number:''
|
|
204
210
|
}
|
|
205
211
|
},
|
|
206
212
|
ready () {
|
|
@@ -256,6 +262,8 @@ export default {
|
|
|
256
262
|
clearTimeout(this.paymentInterval)
|
|
257
263
|
clearTimeout(this.orderInterval)
|
|
258
264
|
this.timeLeft = 10
|
|
265
|
+
// 修改支付状态
|
|
266
|
+
this.updatestate('支付成功')
|
|
259
267
|
// 清除二维码
|
|
260
268
|
this.clearQrCode()
|
|
261
269
|
this.showQrCode = false
|
|
@@ -369,6 +377,7 @@ export default {
|
|
|
369
377
|
}).then(ress=>{
|
|
370
378
|
console.log('ress',ress)
|
|
371
379
|
if(ress.data.code == '200'){
|
|
380
|
+
this.f_charge_number = ress.data.f_charge_number
|
|
372
381
|
this.showQrCode = true
|
|
373
382
|
this.$nextTick(()=>{
|
|
374
383
|
this.qrcode()
|
|
@@ -546,10 +555,24 @@ export default {
|
|
|
546
555
|
closeQRCode(){
|
|
547
556
|
clearTimeout(this.paymentInterval)
|
|
548
557
|
clearTimeout(this.orderInterval)
|
|
549
|
-
this.timeLeft =
|
|
558
|
+
this.timeLeft = 300
|
|
559
|
+
// 修改支付状态
|
|
560
|
+
this.updatestate('支付失败')
|
|
550
561
|
// 清除二维码
|
|
551
562
|
this.clearQrCode()
|
|
552
563
|
this.showQrCode = false
|
|
564
|
+
},
|
|
565
|
+
async updatestate(state){
|
|
566
|
+
let data = {
|
|
567
|
+
f_out_trade_no:this.order.f_out_trade_no,
|
|
568
|
+
f_charge_number:this.f_charge_number,
|
|
569
|
+
f_paystate:state
|
|
570
|
+
}
|
|
571
|
+
let http = new HttpResetClass()
|
|
572
|
+
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/updatestate`, {data:data}, {
|
|
573
|
+
resolveMsg: null,
|
|
574
|
+
rejectMsg: '修改失败!!!'
|
|
575
|
+
})
|
|
553
576
|
}
|
|
554
577
|
// async getConfig () {
|
|
555
578
|
// let http = new HttpResetClass()
|
|
@@ -583,14 +606,15 @@ export default {
|
|
|
583
606
|
clearTimeout(this.paymentInterval)
|
|
584
607
|
clearTimeout(this.orderInterval)
|
|
585
608
|
|
|
586
|
-
this.timeLeft =
|
|
587
|
-
|
|
609
|
+
this.timeLeft = 300
|
|
610
|
+
// 修改支付状态
|
|
611
|
+
this.updatestate('支付失败')
|
|
588
612
|
// 清除二维码
|
|
589
613
|
this.clearQrCode()
|
|
590
614
|
|
|
591
615
|
this.showQrCode = false
|
|
592
616
|
|
|
593
|
-
this.$showMessage('
|
|
617
|
+
this.$showMessage('订单支付超时!!!,如果已支付成功,我们将在1-2两个工作日内退款')
|
|
594
618
|
}
|
|
595
619
|
},
|
|
596
620
|
/*'selectdata.showfei' (val){
|
|
@@ -263,7 +263,14 @@
|
|
|
263
263
|
let fields = this.data.fields
|
|
264
264
|
let flag = false
|
|
265
265
|
for (const item of fields) {
|
|
266
|
-
if (item.type
|
|
266
|
+
if (item.type !== 'checkbox' && item.required && !item.value) {
|
|
267
|
+
if (item.value === 0) {
|
|
268
|
+
flag = false
|
|
269
|
+
} else {
|
|
270
|
+
flag = true
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
if (item.type === 'select' && item.label === '工程状态' && (item.value === '正在施工' || item.value === '未开工') && item.disabledButton) {
|
|
267
274
|
flag = true
|
|
268
275
|
}
|
|
269
276
|
}
|
|
@@ -1054,6 +1054,39 @@ export default {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
}
|
|
1056
1056
|
if (this.show_data.fields[index].label === '其他费用') {
|
|
1057
|
+
let http = new HttpResetClass()
|
|
1058
|
+
let data = {
|
|
1059
|
+
num1: this.getLableValue('单价'),
|
|
1060
|
+
num2: this.getLableValue('户数'),
|
|
1061
|
+
operator: '*'
|
|
1062
|
+
}
|
|
1063
|
+
try {
|
|
1064
|
+
let res = await http.load('POST', 'rs/logic/compute', {data: data}, {
|
|
1065
|
+
resolveMsg: null,
|
|
1066
|
+
rejectMsg: null
|
|
1067
|
+
})
|
|
1068
|
+
data = {
|
|
1069
|
+
num1: res.data,
|
|
1070
|
+
num2: this.getLableValue('其他费用'),
|
|
1071
|
+
operator: '+'
|
|
1072
|
+
}
|
|
1073
|
+
res = await http.load('POST', 'rs/logic/compute', {data: data}, {
|
|
1074
|
+
resolveMsg: null,
|
|
1075
|
+
rejectMsg: null
|
|
1076
|
+
})
|
|
1077
|
+
this.setLabelValue('合同金额',res.data)
|
|
1078
|
+
if(this.show_data.f_apply_type === '居民报建'){
|
|
1079
|
+
this.show_data.f_contract_money = res.data
|
|
1080
|
+
this.show_data.f_due_money = res.data
|
|
1081
|
+
this.show_data.f_surplus_money = res.data
|
|
1082
|
+
this.setLabelValue('应交总金额',res.data)
|
|
1083
|
+
this.setLabelValue('未结总金额',res.data)
|
|
1084
|
+
}
|
|
1085
|
+
} catch (e) {
|
|
1086
|
+
this.$showAlert(e.data.msg, 'warning', 3000)
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
/*if (this.show_data.fields[index].label === '其他费用') {
|
|
1057
1090
|
let http = new HttpResetClass()
|
|
1058
1091
|
let data = {
|
|
1059
1092
|
num1: this.getLableValue(this.show_data.fields[index].label),
|
|
@@ -1076,7 +1109,7 @@ export default {
|
|
|
1076
1109
|
} catch (e) {
|
|
1077
1110
|
this.$showAlert(e.data.msg, 'warning', 3000)
|
|
1078
1111
|
}
|
|
1079
|
-
}
|
|
1112
|
+
}*/
|
|
1080
1113
|
}
|
|
1081
1114
|
// ========================= 武安 =================================
|
|
1082
1115
|
// 号码检测
|