f4e42ae0 by renchao@pashanhoo.com

style:权利人信息模块功能的完善

1 parent 7f9095f1
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-20 13:33:07
* @LastEditTime: 2023-08-04 13:07:38
-->
<template>
<el-dialog :visible.sync="dialogVisible" v-if="dialogVisible" :width="width" :fullscreen="fullscreen" top="0"
......@@ -124,8 +124,8 @@
*/
closeDialog () {
this.key++
this.$emit('input', false)
this.$emit('closeDialog')
this.$emit('input', false)
}
},
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-04 10:13:26
* @LastEditTime: 2023-08-04 11:12:48
-->
<template>
<!-- 受理信息 -->
......@@ -641,30 +641,30 @@
}
this.ruleForm.qlrData[0].sfczr = "1";
} else {
//是否分别持证
if (this.ruleForm.sldy.sqfbcz == "1") {
//是
this.ruleForm.qlrList.forEach((item, index) => {
item.sfczr = "1";
});
} else {
if (!that.ruleForm.czr) {
that.$message({
showClose: true,
message: "请选择持证人",
type: "error",
});
return false;
}
this.ruleForm.qlrList.forEach((item, index) => {
if (item.zjh == this.ruleForm.czr) {
item.sfczr = "1";
//是否分别持证
if (this.ruleForm.sldy.sqfbcz == "1") {
//是
this.ruleForm.qlrList.forEach((item, index) => {
item.sfczr = "1";
});
} else {
item.sfczr = "0";
if (!that.ruleForm.czr) {
that.$message({
showClose: true,
message: "请选择持证人",
type: "error",
});
return false;
}
this.ruleForm.qlrList.forEach((item, index) => {
if (item.zjh == this.ruleForm.czr) {
item.sfczr = "1";
} else {
item.sfczr = "0";
}
});
}
});
}
}
}
save(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-27 09:03:56
* @LastEditTime: 2023-08-04 13:08:20
-->
<template>
<dialogBox title="申请人信息" width="60%" isMain v-model="myValue" :isFullscreen="false" @submitForm="submitForm"
......@@ -42,7 +42,7 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="性别">
<el-form-item label="性别" prop="xb">
<el-select clearable v-model="ruleForm.xb" class="width100" placeholder="请选择">
<el-option v-for="item in dictData['A43']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
......@@ -52,17 +52,17 @@
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="法人名称">
<el-form-item label="法人名称" prop="frmc">
<el-input v-model="ruleForm.frmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="国家/地区">
<el-form-item label="国家/地区" prop="gj">
<el-input v-model="ruleForm.gj"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="户籍所在省市">
<el-form-item label="户籍所在省市" prop="hjszss">
<el-input v-model="ruleForm.hjszss"></el-input>
</el-form-item>
</el-col>
......@@ -70,12 +70,12 @@
<el-row>
<el-col :span="16">
<el-form-item label="地址">
<el-form-item label="地址" prop="txdz">
<el-input v-model="ruleForm.txdz"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="邮编">
<el-form-item label="邮编" prop="yb">
<el-input v-model="ruleForm.yb"></el-input>
</el-form-item>
</el-col>
......@@ -83,17 +83,17 @@
<el-row>
<el-col :span="8">
<el-form-item label="发证机关">
<el-form-item label="发证机关" prop="fzjg">
<el-input v-model="ruleForm.fzjg"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="电子邮件">
<el-form-item label="电子邮件" prop="dzyj">
<el-input v-model="ruleForm.dzyj"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="权利比例">
<el-form-item label="权利比例" prop="qlbl">
<el-input v-model="ruleForm.qlbl"></el-input>
</el-form-item>
</el-col>
......@@ -101,12 +101,12 @@
<el-row>
<el-col :span="8">
<el-form-item label="工作单位">
<el-form-item label="工作单位" prop="gzdw">
<el-input v-model="ruleForm.gzdw"></el-input>
</el-form-item>
</el-col>
<el-col :span="16">
<el-form-item label="代理机构">
<el-form-item label="代理机构" prop="dlrjg">
<el-input v-model="ruleForm.dlrjg"></el-input>
</el-form-item>
</el-col>
......@@ -114,17 +114,17 @@
<el-row>
<el-col :span="8">
<el-form-item label="联系电话">
<el-form-item label="联系电话" prop="dlrdh">
<el-input v-model="ruleForm.dlrdh" maxlength="11" oninput="value=value.replace(/[^\d]/g,'')"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="代理人姓名">
<el-form-item label="代理人姓名" prop="dlrmc">
<el-input v-model="ruleForm.dlrmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="代理人证件类型">
<el-form-item label="代理人证件类型" prop="dlrzjlx">
<el-select clearable v-model="ruleForm.dlrzjlx" class="width100" placeholder="请选择">
<el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
......@@ -134,7 +134,7 @@
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="代理人证件号">
<el-form-item label="代理人证件号" prop="dlrzjh">
<el-input v-model="ruleForm.dlrzjh" maxlength="20"></el-input>
</el-form-item>
</el-col>
......@@ -183,8 +183,8 @@
sqrmc: [{ required: true, message: "姓名/名称", trigger: "blur" }],
zjzl: [{ required: true, message: "证件种类", trigger: "change" }],
zjh: [{ required: true, message: "证件号", trigger: "blur" }],
},
};
}
}
},
watch: {
value (val) {
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-01 17:41:49
* @LastEditTime: 2023-08-04 13:11:21
-->
<template>
<div>
......@@ -189,6 +189,8 @@
if (this.gyfs == '0' && this.tableDataList.length > 0) {
this.$message.warning("当前共有方式为单独所有,无法添加多个权利人")
} else {
this.key++
this.details = {}
this.dialog = true
this.isaddupdate = true
}
......