赞
踩
<a-row v-for="(item, index) in superList" :key="index">
<a-col :span="9">
<a-input placeholder="请输入负责人姓名" autocomplete="off"
v-decorator="[
`superList[${index}].name`,
, { rules: [{ required: true, message: '请输入负责人姓名' }] }]" />
</a-col>
<a-col :span="15">
<a-input placeholder="请输入负责人电话" class="phoneItem" autocomplete="off"
v-decorator="[
`superList[${index}].phone`,
, { rules: [{ required: true, message: '请输入负责人电话' }] }]" />
<a class="delBut" v-if="superList.length !== 1" @click="delItem('super', index)">删除</a>
</a-col>
</a-row>
const { form } = this;
switch (type) {
case 'head'://建设负责人
const headList = form.getFieldValue('headList');
headList.splice(record,1)
this.headList.splice(record,1)
form.setFieldsValue({
headList: headList,
});
break;
}
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。