|
|
@@ -428,6 +428,48 @@
|
|
|
</el-date-picker>
|
|
|
<el-checkbox v-model="perSonObj['checked'+(index+1)]" @change="checkChange($event,index)" :disabled="!setQuery.bnfList[index].bnfCertBeginDate"> 长期</el-checkbox>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="电话:" :prop="'bnfList.'+index+'.bnfMobile'" :rules="{ required: true, message: '请输入受益人电话', trigger: 'blur' }">
|
|
|
+ <el-input
|
|
|
+ v-model="item.bnfMobile"
|
|
|
+ size="small"
|
|
|
+ :maxlength="11"
|
|
|
+ class="item-width-300"
|
|
|
+ placeholder="请输入受益人电话"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="是否是自然人:">
|
|
|
+ <el-checkbox v-model="setQuery.bnfList[index].bnfNatrlPrsn" true-label="1" false-label="0"> </el-checkbox>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="身份证正面:" :prop="'bnfList.'+index+'.bnfPicList.'+0+'.file_img'" :rules="{ required: true, message: '请上传受益人身份证正面', trigger: 'change' }">
|
|
|
+ <Upload
|
|
|
+ :type="[index,0,'A0042']"
|
|
|
+ id="bnfPicList0"
|
|
|
+ width="250px"
|
|
|
+ height="150px"
|
|
|
+ :disabled="mode == 'detail'"
|
|
|
+ uploadType="YIN_LIAN_AUTH"
|
|
|
+ :imgUrl="setQuery.bnfList[index].bnfPicList[0].file_img"
|
|
|
+ @uploadEnd="uploadEnd1"
|
|
|
+ ></Upload>
|
|
|
+ <div class="notice">
|
|
|
+ (图片支持jpg, png, bmp格式,建议上传100kb~500kb大小文件)
|
|
|
+ </div>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="身份证反面:" :prop="'bnfList.'+index+'.bnfPicList.'+1+'.file_img'" :rules="{ required: true, message: '请上传受益人身份证反面面', trigger: 'change' }">
|
|
|
+ <Upload
|
|
|
+ :type="[index,1,'A0043']"
|
|
|
+ id="bnfPicList1"
|
|
|
+ width="250px"
|
|
|
+ height="150px"
|
|
|
+ :disabled="mode == 'detail'"
|
|
|
+ uploadType="YIN_LIAN_AUTH"
|
|
|
+ :imgUrl="setQuery.bnfList[index].bnfPicList[1].file_img"
|
|
|
+ @uploadEnd="uploadEnd1"
|
|
|
+ ></Upload>
|
|
|
+ <div class="notice">
|
|
|
+ (图片支持jpg, png, bmp格式,建议上传100kb~500kb大小文件)
|
|
|
+ </div>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="家庭地址:" :prop="'bnfList.'+index+'.bnfHomeAddr'" :rules="{ required: true, message: '请输入家庭地址', trigger: 'blur' }">
|
|
|
<el-input
|
|
|
v-model="item.bnfHomeAddr"
|
|
|
@@ -436,8 +478,8 @@
|
|
|
placeholder="请输入受益人家庭地址"
|
|
|
></el-input>
|
|
|
<el-button size="small" class="ml10" type="danger" v-if="setQuery.bnfList.length>1" @click="delPerson(index)">删除受益人</el-button>
|
|
|
-
|
|
|
</el-form-item>
|
|
|
+
|
|
|
</div>
|
|
|
<el-form-item>
|
|
|
<el-button size="small" @click="addPerson">添加受益人</el-button>
|
|
|
@@ -676,6 +718,24 @@ export default {
|
|
|
bnfCertno: "",
|
|
|
bnfName: "",
|
|
|
bnfHomeAddr: "",
|
|
|
+ "bnfMobile": "",
|
|
|
+ "bnfNatrlPrsn": '1',//受益人是否为特定自然人 1-是 0-否
|
|
|
+ "bnfPicList": [
|
|
|
+ {
|
|
|
+ "document_type": "0042",
|
|
|
+ "document_name": "受益人证明材料",
|
|
|
+ "file_img": "",
|
|
|
+ "file_path": "",
|
|
|
+ "file_size": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "document_type": "0043",
|
|
|
+ "document_name": "受益人证明材料",
|
|
|
+ "file_img": "",
|
|
|
+ "file_path": "",
|
|
|
+ "file_size": ""
|
|
|
+ }
|
|
|
+ ]
|
|
|
},
|
|
|
],
|
|
|
detailDistrict: "",
|
|
|
@@ -1468,6 +1528,29 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
+ if(!this.setQuery.bnfList[0].bnfMobile){
|
|
|
+ this.setQuery.bnfList[0].bnfMobile = ''
|
|
|
+ }
|
|
|
+ if(!this.setQuery.bnfList[0].bnfNatrlPrsn){
|
|
|
+ this.setQuery.bnfList[0].bnfNatrlPrsn = '1'
|
|
|
+ }
|
|
|
+ if(!this.setQuery.bnfList[0].bnfPicList){
|
|
|
+ this.setQuery.bnfList[0].bnfPicList = [ {
|
|
|
+ "document_type": "0042",
|
|
|
+ "document_name": "受益人证明材料",
|
|
|
+ "file_img": "",
|
|
|
+ "file_path": "",
|
|
|
+ "file_size": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "document_type": "0043",
|
|
|
+ "document_name": "受益人证明材料",
|
|
|
+ "file_img": "",
|
|
|
+ "file_path": "",
|
|
|
+ "file_size": ""
|
|
|
+ }]
|
|
|
+ }
|
|
|
+
|
|
|
// 提取图片
|
|
|
this.setQuery.pic_list.map((item) => {
|
|
|
for (const key in this.picObj) {
|
|
|
@@ -1591,6 +1674,23 @@ export default {
|
|
|
};
|
|
|
picUpload(obj).then((res) => {});
|
|
|
},
|
|
|
+ // 图片统一上传
|
|
|
+ uploadEnd1(val) {
|
|
|
+ console.log(val);
|
|
|
+ // this.setQuery[this.picObj[val.type]] = val.url
|
|
|
+ this.$set(this.setQuery.bnfList[val.type[0]].bnfPicList[val.type[1]], 'file_img', val.url);
|
|
|
+ this.$set(this.setQuery.bnfList[val.type[0]].bnfPicList[val.type[1]], 'file_size', val.size);
|
|
|
+ // this.setQuery.idCardImg = val.url
|
|
|
+ let obj = {
|
|
|
+ accesseId:this.$route.query.accesseId||this.accesseId,
|
|
|
+ epId: this.$route.query.id,
|
|
|
+ fileUrl: val.url,
|
|
|
+ picType: val.type[2],
|
|
|
+ };
|
|
|
+ picUpload(obj).then((res) => {
|
|
|
+ this.$set(this.setQuery.bnfList[val.type[0]].bnfPicList[val.type[1]], 'file_path', res.content.file_path);
|
|
|
+ });
|
|
|
+ },
|
|
|
// 股东信息
|
|
|
shareholderInfo() {
|
|
|
let obj = {
|