From 5834f98b71dfbd1d3866a369166f37f837b27102 Mon Sep 17 00:00:00 2001
From: wanghongjun <1445693971@qq,com>
Date: Thu, 7 Mar 2024 15:41:50 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=A4=E8=AF=81=E6=B7=BB=E5=8A=A0=E6=97=A5?=
=?UTF-8?q?=E6=9C=9F=E9=80=89=E6=8B=A9=E5=99=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/user/mycertinfo/orgverify.vue | 58 +++++++++++++++++++++++------
1 file changed, 47 insertions(+), 11 deletions(-)
diff --git a/pages/user/mycertinfo/orgverify.vue b/pages/user/mycertinfo/orgverify.vue
index 32286d0..c72164d 100644
--- a/pages/user/mycertinfo/orgverify.vue
+++ b/pages/user/mycertinfo/orgverify.vue
@@ -128,10 +128,9 @@
-
- 机构成立日期
-
+
+ {{establishDate}}
+
@@ -157,8 +156,9 @@
-
-
+
+ {{licenseDate}}
+
@@ -329,7 +329,7 @@
// 机构简介
desc: "",
// 成立日期
- establishDate: '',
+ establishDate: '机构成立日期',
// 法人名称
legalsName: "",
// 法人证件类型
@@ -349,7 +349,7 @@
// 开户银行预留手机号
bankCellPhone: "",
// 营业执照有效期
- licenseDate: "",
+ licenseDate: "营业执照有效期",
// 法人手机号
legalsCellPhone: "",
// 开户人
@@ -455,6 +455,14 @@
//
//this.citydata = cityjson
},
+ computed: {
+ startDate() {
+ return this.getDate('start');
+ },
+ endDate() {
+ return this.getDate('end');
+ }
+ },
created() {
let provinceArr = [];
let cityArr = [];
@@ -850,6 +858,31 @@
this.murl = str
this.showPopup = ! this.showPopup
},
+ // 机构日期选择
+ bindDateChange: function(e) {
+ this.establishDate = e.detail.value
+ },
+ // 营业执照有效期选择
+ bindDateChange2: function(e) {
+ this.licenseDate = e.detail.value
+ },
+
+ //获取当前的日子
+ getDate(type) {
+ const date = new Date();
+ let year = date.getFullYear();
+ let month = date.getMonth() + 1;
+ let day = date.getDate();
+
+ if (type === 'start') {
+ year = year - 60;
+ } else if (type === 'end') {
+ year = year + 2;
+ }
+ month = month > 9 ? month : '0' + month;
+ day = day > 9 ? day : '0' + day;
+ return `${year}-${month}-${day}`;
+ },
handleSubmit() {
const app = this
@@ -857,6 +890,8 @@
alert('请勾选《交易主体进场协议》和《文化数据交易委托协议》和《临时业务机构委托协议》')
}
+ app.chkinput();
+
console.log(app.$data)
// 注册地址
@@ -918,13 +953,13 @@
regioncity: regionArr[1], //注册地区-市
regiondistrict: regionArr[2], //注册地区-区/县
address: app.address, //详细地址
- establishdate: '2024-03-05', //机构成立日期 !!!
+ establishdate: app.establishDate, //机构成立日期
desc: app.desc, //机构简介
legalsname: app.legalsName, //法人姓名
legalstype: app.legalsType, //法人证件类型
legalsidnum: app.legalsIdnum, //法人身份证号
uscc: app.Organizationcode, //统一社会信用代码
- licensedate: '2030-03-05', //营业执照有效期 !!!
+ licensedate: app.licenseDate, //营业执照有效期
legalscellphone: app.legalsCellPhone, //法人手机号
publicaccount: app.publicAccount, //银行账号
bankaccountname: app.bankAccountName, //开户人
@@ -952,7 +987,7 @@
};
// 10 = 法人 20 = 经办人
- if (app.sfval == 20) {
+ if (app.sfval === 20) {
// 经办人授权委托书、经办人身份证正面、经办人身份证反面
let jfr_entfile = document.getElementById('jfr_entfile').value;
let jfr_idafile = document.getElementById('jfr_idafile').value;
@@ -965,6 +1000,7 @@
}
console.log(institutionsdata)
+
let institutionsdata_json = JSON.stringify(institutionsdata)
//认证(缴费)接口
var ajaxentUserDemo = new AJAX_OBJ("Paymentlist/entuiprise/mannAgeDate", onentiseSuccess, onUrlError);