<div v-for="(data,i) in dataSource" > <!-- v-if="linkName == '商务标负责人审批意见'"-->
<span>项目名称:{{data.projectName}}</span>
<a-form-model ref="form" :model="tenderPersonnels[i][0]" slot="detail">
<table class="ant-table-fixed" style="width: 100%;">
<thead class="ant-table-thead">
<tr>
<th width="10%">专业名称及项目职责</th>
<th width="10%">姓 名</th>
<th width="10%">职称</th>
<th width="10%">总分配比例</th>
<th width="10%">可分配金额(元)</th>
<th width="10%">个人分配比例</th>
<th width="10%">分配金额</th>
<th width="10%">备注</th>
</tr>
</thead>
<tbody ><!-- class="ant-table-tbody"-->
<tr v-for="(person,j) in tenderPersonnels[i]">
<td>
<a-form-model-item>
<span>{{person.professionalType}}</span>
</a-form-model-item>
</td>
<td>
<a-form-model-item>
<span>{{person.userName}}</span>
</a-form-model-item>
</td>
<td>
<a-form-model-item>
<span>{{person.occupationName}}</span>
</a-form-model-item>
</td>
<td>
<a-form-model-item>
<span>{{person.allRatio}}%</span>
</a-form-model-item>
</td>
<td>
<a-form-model-item>
<span>{{person.allMoney}}</span>
</a-form-model-item>
</td>
<td>
<a-form-model-item prop="personalRatio" :rules="[{ required: true, message: '请输入个人分配比例!!'}]">
<a-input @blur="getPersonalMoney($event,i,j)" v-model="person.personalRatio" />
</a-form-model-item>
</td>
<td>
<a-form-model-item prop="personalAllotMoney">
<a-input v-model="person.personalAllotMoney" suffix="元"/>
</a-form-model-item>
</td>
<td>
<a-form-model-item>
<span>{{person.remark}}</span>
</a-form-model-item>
</td>
</tr>
</tbody>
</table>
</a-form-model>
</div>
这里的formmodel中model 是tenderPersonnels[i][0] 但是0是动态的,我不知道vue这么写对不对,还有救吗?