apply-clients 4.1.19-weinan → 4.1.21-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,25 @@ 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
|
+
})
|
|
576
|
+
this.search()
|
|
553
577
|
}
|
|
554
578
|
// async getConfig () {
|
|
555
579
|
// let http = new HttpResetClass()
|
|
@@ -583,14 +607,15 @@ export default {
|
|
|
583
607
|
clearTimeout(this.paymentInterval)
|
|
584
608
|
clearTimeout(this.orderInterval)
|
|
585
609
|
|
|
586
|
-
this.timeLeft =
|
|
587
|
-
|
|
610
|
+
this.timeLeft = 300
|
|
611
|
+
// 修改支付状态
|
|
612
|
+
this.updatestate('支付失败')
|
|
588
613
|
// 清除二维码
|
|
589
614
|
this.clearQrCode()
|
|
590
615
|
|
|
591
616
|
this.showQrCode = false
|
|
592
617
|
|
|
593
|
-
this.$showMessage('
|
|
618
|
+
this.$showMessage('订单支付超时!!!,如果已支付成功,我们将在1-2两个工作日内退款')
|
|
594
619
|
}
|
|
595
620
|
},
|
|
596
621
|
/*'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
|
}
|