|
@@ -416,38 +416,32 @@ export default {
|
416
|
416
|
hasBorrow: 0,
|
417
|
417
|
printOpen: false,
|
418
|
418
|
showAlter: true,
|
419
|
|
- returnOpen:false,
|
|
419
|
+ returnOpen: false,
|
420
|
420
|
};
|
421
|
421
|
},
|
422
|
422
|
created() {
|
423
|
423
|
if (this.taskName == '部门审核') {
|
424
|
424
|
this.deptUser = this.$store.getters.name;
|
425
|
|
- this.form.deptUserId = this.$store.getters.userId;
|
426
|
425
|
this.deptTime = parseTime(new Date(), '{y}-{m}-{d}')
|
427
|
426
|
}
|
428
|
427
|
if (this.taskName == '分管审核') {
|
429
|
428
|
this.managerUser = this.$store.getters.name;
|
430
|
|
- this.form.managerUserId = this.$store.getters.userId;
|
431
|
429
|
this.managerTime = parseTime(new Date(), '{y}-{m}-{d}')
|
432
|
430
|
}
|
433
|
431
|
if (this.taskName == '总经理审核') {
|
434
|
432
|
this.zjlUser = this.$store.getters.name;
|
435
|
|
- this.form.zjlUserId = this.$store.getters.userId;
|
436
|
433
|
this.zjlTime = parseTime(new Date(), '{y}-{m}-{d}')
|
437
|
434
|
}
|
438
|
435
|
if (this.taskName == '董事长批准') {
|
439
|
436
|
this.dszUser = this.$store.getters.name;
|
440
|
|
- this.form.dszUserId = this.$store.getters.userId;
|
441
|
437
|
this.dszTime = parseTime(new Date(), '{y}-{m}-{d}')
|
442
|
438
|
}
|
443
|
439
|
if (this.taskName == '党工团审核') {
|
444
|
440
|
this.unionUser = this.$store.getters.name;
|
445
|
|
- this.form.unionUserId = this.$store.getters.userId;
|
446
|
441
|
this.unionTime = parseTime(new Date(), '{y}-{m}-{d}')
|
447
|
442
|
}
|
448
|
443
|
if (this.taskName == '财务处理') {
|
449
|
444
|
this.cwUser = this.$store.getters.name;
|
450
|
|
- this.form.cwUserId = this.$store.getters.userId;
|
451
|
445
|
this.lendTime = parseTime(new Date(), '{y}-{m}-{d}')
|
452
|
446
|
}
|
453
|
447
|
this.form.applyDate = new Date();
|
|
@@ -475,6 +469,9 @@ export default {
|
475
|
469
|
this.initForm();
|
476
|
470
|
},
|
477
|
471
|
methods: {
|
|
472
|
+ initSign(){
|
|
473
|
+
|
|
474
|
+ },
|
478
|
475
|
initRules() {
|
479
|
476
|
if (this.taskName == '借款申请') {
|
480
|
477
|
this.rules = {
|
|
@@ -675,6 +672,30 @@ export default {
|
675
|
672
|
addBorrowDetail(detail)
|
676
|
673
|
})
|
677
|
674
|
})
|
|
675
|
+ if (this.taskName == '部门审核') {
|
|
676
|
+ this.form.deptUserId = this.$store.getters.userId;
|
|
677
|
+ this.form.deptTime = parseTime(new Date(), '{y}-{m}-{d}')
|
|
678
|
+ }
|
|
679
|
+ if (this.taskName == '分管审核') {
|
|
680
|
+ this.form.managerUserId = this.$store.getters.userId;
|
|
681
|
+ this.form.managerTime = parseTime(new Date(), '{y}-{m}-{d}')
|
|
682
|
+ }
|
|
683
|
+ if (this.taskName == '总经理审核') {
|
|
684
|
+ this.form.zjlUserId = this.$store.getters.userId;
|
|
685
|
+ this.form.zjlTime = parseTime(new Date(), '{y}-{m}-{d}')
|
|
686
|
+ }
|
|
687
|
+ if (this.taskName == '董事长批准') {
|
|
688
|
+ this.form.dszUserId = this.$store.getters.userId;
|
|
689
|
+ this.form.dszTime = parseTime(new Date(), '{y}-{m}-{d}')
|
|
690
|
+ }
|
|
691
|
+ if (this.taskName == '党工团审核') {
|
|
692
|
+ this.form.unionUserId = this.$store.getters.userId;
|
|
693
|
+ this.form.unionTime = parseTime(new Date(), '{y}-{m}-{d}')
|
|
694
|
+ }
|
|
695
|
+ if (this.taskName == '财务处理') {
|
|
696
|
+ this.form.cwUserId = this.$store.getters.userId;
|
|
697
|
+ this.form.lendTime = parseTime(new Date(), '{y}-{m}-{d}')
|
|
698
|
+ }
|
678
|
699
|
// 更新借款审批表
|
679
|
700
|
updateBorrow(this.form);
|
680
|
701
|
const params = { taskId: this.taskForm.taskId };
|
|
@@ -953,8 +974,8 @@ table {
|
953
|
974
|
padding: .0625rem;
|
954
|
975
|
}
|
955
|
976
|
}
|
|
977
|
+
|
956
|
978
|
::v-deep .el-descriptions-item__label.is-bordered-label {
|
957
|
979
|
width: 110px;
|
958
|
980
|
}
|
959
|
|
-
|
960
|
981
|
</style>
|