Commit 694dd3b8 by mr.wang

多生物字段修改

parent aaba7365
......@@ -122,7 +122,7 @@ export default {
},
{
label: "证件号码",
prop: "gmsfhm",
prop: "zjhm",
},
{
label: "性别",
......
......@@ -632,6 +632,6 @@ export default {
text-align: center;
}
.el-date-editor{
width: 174px !important;
width: 85px !important;
}
</style>
......@@ -57,7 +57,6 @@
value: "",
placeholder: "请输入",
col: "2",
prop: 'twentyTwoZwbh'
},
],
},
......@@ -87,6 +86,17 @@
loading.close();
},
submit(params) {
const zwbh = params.get('zwbh')
if(zwbh !== null) {
let patter = /^[0-9]{22}/;//验证是否22位数字
if (!patter.test(zwbh) || zwbh.length > 22) {
this.$message({
message: '请输入22位数字指纹编号!',
type: 'warning'
});
return
}
}
let loading = this.$loading({
lock: true,
text: "正在保存...",
......
......@@ -56,7 +56,6 @@
value: "",
placeholder: "请输入",
col: "2",
prop: 'twentyTwoZwbh'
},
],
},
......@@ -86,6 +85,17 @@
loading.close();
},
submit(params) {
const zwbh = params.get('zwbh')
if(zwbh !== null) {
let patter = /^[0-9]{22}/;//验证是否22位数字
if (!patter.test(zwbh) || zwbh.length > 22) {
this.$message({
message: '请输入22位数字指纹编号!',
type: 'warning'
});
return
}
}
let loading = this.$loading({
lock: true,
text: "正在保存...",
......
......@@ -12,7 +12,7 @@
</form-compontent>
<!-- 关联列表 -->
<div v-if="!!this.glxxXxzjbh && this.glxxXxzjbh != ''">
<div v-if="!!this.glxxXxzjbh && this.glxxXxzjbh != ''" class="this-my-card">
<div v-for="(item, index) in listData" :key="index">
<el-card class="box-card" style="margin: 0px 20px 20px">
<div slot="header" class="clearfix">
......@@ -1580,4 +1580,8 @@ export default {
color: #007aff !important;
cursor: pointer;
}
.this-my-card .box-card{
width: 1200px;
margin: 0 auto !important;
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment