场景说明:如下图
在form表单中迁移table表格,每行数据都要能编辑,单独校验
注释:此处的资源下拉框校验,还需要走异步请求获取结果,然后再对比校验
话不多,上代码说明
1.首先获取的接口数据如下
form: {
vmDataList: [],
},
2.界面html 代码部分
<el-form
ref="formStorage"
:model="form"
:rules="rules"
class="storageChange-wrap"
>
<el-table :data="form.vmDataList" style="width: 100%" v-loading="loading">
<template slot="empty">
<empty-in-table></empty-in-table>
</template>
<el-table-column label="目标资源" min-width="320">
<template slot-scope="scope">
<e
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)