|
@@ -444,13 +444,23 @@ export default {
|
444
|
444
|
return act_pay.toFixed(2);
|
445
|
445
|
},
|
446
|
446
|
getFundPaySumamt() {
|
447
|
|
- var fund_pay_sumamt = 0;
|
448
|
|
- for (let i = 0; i < this.list.length; i++) {
|
449
|
|
- for (let j = 0; j < this.list[i].orders.length; j++) {
|
450
|
|
- fund_pay_sumamt += this.list[i].orders[j].fund_pay_sumamt;
|
|
447
|
+ if (this.$store.getters.xt_user.org_id == 10138 || this.$store.getters.xt_user.org_id == 10278 || this.$store.getters.xt_user.org_id ==10537){
|
|
448
|
+ var fund_pay_sumamt = 0;
|
|
449
|
+ for (let i = 0; i < this.list.length; i++) {
|
|
450
|
+ for (let j = 0; j < this.list[i].orders.length; j++) {
|
|
451
|
+ fund_pay_sumamt += this.list[i].orders[j].hifp_pay + this.list[i].orders[j].maf_pay + this.list[i].orders[j].hifmi_pay;
|
|
452
|
+ }
|
|
453
|
+ }
|
|
454
|
+ return fund_pay_sumamt.toFixed(2);
|
|
455
|
+ }else{
|
|
456
|
+ var fund_pay_sumamt = 0;
|
|
457
|
+ for (let i = 0; i < this.list.length; i++) {
|
|
458
|
+ for (let j = 0; j < this.list[i].orders.length; j++) {
|
|
459
|
+ fund_pay_sumamt += this.list[i].orders[j].fund_pay_sumamt;
|
|
460
|
+ }
|
451
|
461
|
}
|
|
462
|
+ return fund_pay_sumamt.toFixed(2);
|
452
|
463
|
}
|
453
|
|
- return fund_pay_sumamt.toFixed(2);
|
454
|
464
|
},
|
455
|
465
|
getHifesPay() {
|
456
|
466
|
var hifes_pay = 0;
|
|
@@ -459,7 +469,7 @@ export default {
|
459
|
469
|
hifes_pay += this.list[i].orders[j].hifes_pay;
|
460
|
470
|
}
|
461
|
471
|
}
|
462
|
|
- return hifes_pay;
|
|
472
|
+ return hifes_pay.toFixed(2);
|
463
|
473
|
},
|
464
|
474
|
getMafPay() {
|
465
|
475
|
var maf_pay = 0;
|
|
@@ -468,7 +478,7 @@ export default {
|
468
|
478
|
maf_pay += this.list[i].orders[j].maf_pay;
|
469
|
479
|
}
|
470
|
480
|
}
|
471
|
|
- return maf_pay;
|
|
481
|
+ return maf_pay.toFixed(2);
|
472
|
482
|
},
|
473
|
483
|
getDepartment(id) {
|
474
|
484
|
var name = "";
|