|
|
@@ -6,11 +6,11 @@
|
|
6
|
6
|
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.caseNum" placeholder="" />
|
|
7
|
7
|
</uni-forms-item>
|
|
8
|
8
|
<uni-forms-item label="申请人:" name="applicantName" label-width="120px" required>
|
|
9
|
|
- <uni-easyinput :inputBorder="false" :disabled='true' v-model="affiliate.applicationName"
|
|
|
9
|
+ <uni-easyinput :inputBorder="false" :disabled='true' v-model="affiliate.name"
|
|
10
|
10
|
placeholder="" />
|
|
11
|
11
|
</uni-forms-item>
|
|
12
|
12
|
<uni-forms-item label="被申请人:" name="respondentName" label-width="120px" required>
|
|
13
|
|
- <uni-easyinput :inputBorder="false" :disabled='true' v-model="affiliate.respondentName"
|
|
|
13
|
+ <uni-easyinput :inputBorder="false" :disabled='true' v-model="affiliateRes.name"
|
|
14
|
14
|
placeholder="" />
|
|
15
|
15
|
</uni-forms-item>
|
|
16
|
16
|
<!-- <uni-forms-item label="案件标的:" name="caseSubjectAmount" label-width="120px" required>
|
|
|
@@ -63,7 +63,8 @@
|
|
63
|
63
|
data() {
|
|
64
|
64
|
return {
|
|
65
|
65
|
formData: {},
|
|
66
|
|
- affiliate:{},
|
|
|
66
|
+ affiliate:{},
|
|
|
67
|
+ affiliateRes:{},
|
|
67
|
68
|
selectFlag: false,
|
|
68
|
69
|
rules: {},
|
|
69
|
70
|
payPlatforms: [{
|
|
|
@@ -100,8 +101,18 @@
|
|
100
|
101
|
getData(parms) {
|
|
101
|
102
|
selectById(parms).then(res => {
|
|
102
|
103
|
this.formData = res.data
|
|
103
|
|
- this.affiliate = res.data.affiliate
|
|
104
|
|
- console.log(this.formData)
|
|
|
104
|
+ res.data.affiliate.applicant.forEach((item,index) =>{
|
|
|
105
|
+ if(item.applicant!=null){
|
|
|
106
|
+ this.affiliate = {name:item.applicant.name}
|
|
|
107
|
+ }
|
|
|
108
|
+
|
|
|
109
|
+ })
|
|
|
110
|
+ res.data.affiliate.applicant.forEach((item,index) =>{
|
|
|
111
|
+ if(item.res!=null){
|
|
|
112
|
+ this.affiliateRes = {name:item.res.name}
|
|
|
113
|
+ }
|
|
|
114
|
+
|
|
|
115
|
+ })
|
|
105
|
116
|
if(this.dataType.type==4){
|
|
106
|
117
|
this.formDataVal ={
|
|
107
|
118
|
annexType: 4,
|
|
|
@@ -160,7 +171,6 @@
|
|
160
|
171
|
annexId: data.annexId,
|
|
161
|
172
|
annexName: data.fileName
|
|
162
|
173
|
});
|
|
163
|
|
- // console.log(this.submitForm, "OOOOOOOOOOOOOOOOOOOOOOOOO");
|
|
164
|
174
|
uni.showToast({
|
|
165
|
175
|
title: '上传成功',
|
|
166
|
176
|
icon: 'none',
|