|
@@ -116,7 +116,7 @@
|
|
|
</view>
|
|
|
<view class="flex row border-bottom mt20 flex-space-between">
|
|
|
<view class="left-text">对公账户</view>
|
|
|
- <view class="flex right">
|
|
|
+ <view class="flex">
|
|
|
<!-- <u--input disabled placeholder="户名与企业名称一致" inputAlign='right' border="none"
|
|
|
v-model="dataDetails.corporateAccount">
|
|
|
</u--input> -->
|
|
@@ -310,7 +310,7 @@
|
|
|
index: '',
|
|
|
isShowimgType: false,
|
|
|
validityPeriod: [],
|
|
|
- submitstatus:false,
|
|
|
+ submitstatus: false,
|
|
|
checked: false,
|
|
|
checked1: false,
|
|
|
dataDetails: {
|
|
@@ -412,11 +412,12 @@
|
|
|
this.dataDetails.bankDepositBranch = e.value[0]
|
|
|
this.isShowBank = false
|
|
|
},
|
|
|
- uploadImg() {
|
|
|
- this.uploadType = 5
|
|
|
- this.imgTypeSelect()
|
|
|
- // this.isShowimgType = true
|
|
|
- },
|
|
|
+ // uploadImg() {
|
|
|
+ // debugger
|
|
|
+ // this.uploadType = 5
|
|
|
+ // this.imgTypeSelect()
|
|
|
+ // // this.isShowimgType = true
|
|
|
+ // },
|
|
|
confirmValidityPeriod(e) {
|
|
|
if (e.value[0] == '' && e.value[0] != '长期') {
|
|
|
this.$refs.uToast.show({
|
|
@@ -441,7 +442,7 @@
|
|
|
case 0:
|
|
|
if (e.value[0] == '长期') {
|
|
|
this.dataDetails.businessTermDate = e.value[0]
|
|
|
- if(e.value[1]!=''||e.value[2]!=''){
|
|
|
+ if (e.value[1] != '' || e.value[2] != '') {
|
|
|
this.$refs.uToast.show({
|
|
|
type: 'error',
|
|
|
message: "选择长期时不允许选择月日!",
|
|
@@ -478,7 +479,7 @@
|
|
|
case 1:
|
|
|
if (e.value[0] == '长期') {
|
|
|
this.dataDetails.cardValidityDate = e.value[0]
|
|
|
- if(e.value[1]!=''||e.value[2]!=''){
|
|
|
+ if (e.value[1] != '' || e.value[2] != '') {
|
|
|
this.$refs.uToast.show({
|
|
|
type: 'error',
|
|
|
message: "选择长期时不允许选择月日!",
|
|
@@ -728,13 +729,13 @@
|
|
|
})
|
|
|
return true
|
|
|
}
|
|
|
- if (!uni.$u.test.rangeLength(this.dataDetails.unifiedSocialCreditCode, [18, 18])) {
|
|
|
- this.$refs.uToast.show({
|
|
|
- type: 'error',
|
|
|
- message: "统一社会信用代码输出错误!",
|
|
|
- })
|
|
|
- return true
|
|
|
- }
|
|
|
+ // if (!uni.$u.test.rangeLength(this.dataDetails.unifiedSocialCreditCode, [18, 18])) {
|
|
|
+ // this.$refs.uToast.show({
|
|
|
+ // type: 'error',
|
|
|
+ // message: "统一社会信用代码输出错误!",
|
|
|
+ // })
|
|
|
+ // return true
|
|
|
+ // }
|
|
|
//先注释掉
|
|
|
// if (this.dataDetails.advanceFreightService == 1 && uni.$u.test.isEmpty(this.dataDetails
|
|
|
// .propertyAddressUrl)) {
|
|
@@ -764,9 +765,9 @@
|
|
|
},
|
|
|
submit() {
|
|
|
if (this.validate()) return
|
|
|
- if(!this.submitstatus){
|
|
|
- this.submitstatus=true
|
|
|
-
|
|
|
+ if (!this.submitstatus) {
|
|
|
+ this.submitstatus = true
|
|
|
+
|
|
|
if (!this.consentStatus) {
|
|
|
uni.showToast({
|
|
|
title: '请勾选协议',
|
|
@@ -783,16 +784,16 @@
|
|
|
this.$request.baseRequest('post', '/companyInfo/api/addCompanyInfo', _this.dataDetails).then(res => {
|
|
|
uni.hideLoading()
|
|
|
uni.$u.toast('提交成功')
|
|
|
- this.submitstatus=false
|
|
|
+ this.submitstatus = false
|
|
|
uni.removeStorageSync("videoSrc")
|
|
|
uni.navigateBack({
|
|
|
delta: 1
|
|
|
})
|
|
|
-
|
|
|
+
|
|
|
})
|
|
|
.catch(res => {
|
|
|
uni.hideLoading()
|
|
|
- this.submitstatus=false
|
|
|
+ this.submitstatus = false
|
|
|
uni.showToast({
|
|
|
title: res.message,
|
|
|
icon: 'none',
|
|
@@ -800,7 +801,7 @@
|
|
|
})
|
|
|
});
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
consent() {
|
|
|
this.consentStatus = !this.consentStatus
|
|
@@ -849,6 +850,7 @@
|
|
|
// this.isShowcardValidity = false
|
|
|
// },
|
|
|
imgTypeSelect(val) {
|
|
|
+ debugger
|
|
|
var _this = this
|
|
|
// if (val.name == '相册') {
|
|
|
uni.chooseImage({
|
|
@@ -862,7 +864,6 @@
|
|
|
// 上传成功回调函数
|
|
|
switch (_this.uploadType) {
|
|
|
|
|
|
- // 身份正面
|
|
|
case 1:
|
|
|
_this.dataDetails.businessLicenseAddressUrl = result
|
|
|
// 识别
|
|
@@ -895,7 +896,7 @@
|
|
|
});
|
|
|
console.log(_this.dataDetails.businessLicenseAddressUrl)
|
|
|
break
|
|
|
- // 身份反面
|
|
|
+ // 身份正面
|
|
|
case 2:
|
|
|
_this.dataDetails.cardAddressUrl = result
|
|
|
// 识别
|