b6650f69 by 杨威

权利人组件修改

1 parent 0d0860e3
......@@ -51,7 +51,7 @@
width="50%"
center
>
<el-form :model="formData">
<el-form :model="formData" class="qlrForm">
<table class="zdjbxxTable" cellspacing="0" cellpadding="0" border="1">
<tr>
<td colspan="2">权利人名称<i class="requisite">*</i></td>
......@@ -233,7 +233,7 @@
</td>
</tr>
<!-- <tr :key="item.dh">-->
<tr :key="'dh'+item.index">
<tr :key="'dh'+index">
<td>证件号码</td>
<td colspan="3">
<input type="text" class="formInput" v-model="item.zjh" />
......@@ -284,12 +284,12 @@
</tr>
</table>
</el-form>
<span slot="footer" class="dialog-footer">
<div class="dialog-footer">
<el-button type="primary" @click="addNewQlrInfo"
>确 定</el-button
>
<el-button @click="dialogVisible = false">取 消</el-button>
</span>
</div>
</el-dialog>
</div>
</template>
......@@ -495,8 +495,8 @@
});
} else {
this.formData.dlrList.forEach((item, index) => {
if (index == ind && this.formData.dlr.length > 1) {
this.formData.dlr.splice(ind, 1);
if (index == ind && this.formData.dlrList.length > 1) {
this.formData.dlrList.splice(ind, 1);
}
});
}
......@@ -597,6 +597,10 @@
}
}
.insetDialog{
.qlrForm{
height: 500px;
overflow-y: scroll;
}
.zdjbxxTable {
margin: 10px 0;
background-color: #fff;
......@@ -670,6 +674,10 @@
.el-select {
width: 100%;
}
}
}
.dialog-footer{
width: 160px;
margin: 20px auto 0;
}
}
</style>
......