bug修改

This commit is contained in:
fengachen
2021-10-20 14:14:41 +08:00
parent 3d502ba1a1
commit ff9dcf42aa
5 changed files with 12 additions and 33 deletions
+7
View File
@@ -78,6 +78,7 @@ Page({
title: res.message,
icon: "none",
duration: 800,
});
if (that.data.prepage === 'guoji') {
wx.navigateTo({
@@ -88,6 +89,12 @@ Page({
url: '../signUpPage/signUpPage',
})
}
}else{
wx.showToast({
title: res.message,
icon:"none",
duration:800
})
}
}).catch(err => {
console.log(err);
+1 -1
View File
@@ -14,7 +14,7 @@
<view class="wx-form-item">
<view class="wx-form-label validate">信用代码:</view>
<view class="wx-form-value">
<input name="dutyCode" name="postCode" bindblur="validateDutyCode" data-message='请输入信用代码' data-errmsg='请输入正确的信用代码' placeholder="请输入信用代码" maxlength="50" />
<input name="dutyCode" bindblur="validateDutyCode" data-message='请输入信用代码' data-errmsg='请输入正确的信用代码' placeholder="请输入信用代码" maxlength="50" />
</view>
</view>
+1 -2
View File
@@ -55,8 +55,7 @@
}
.list-item {
word-break:break-all;
line-height: 80rpx;
padding: 10rpx;
padding: 30rpx;
border-bottom: 1px solid #eee;
}
/* 新建企业 */
+1 -28
View File
@@ -456,15 +456,7 @@ Page({
})
return
}
// 邮寄联系人
if (formData.postContactId === undefined) {
wx.showToast({
title: '请选择邮寄联系人',
icon: 'none',
duration: 2000
})
return
}
// 邮寄地址
if (formData.postContactAddress === '') {
wx.showToast({
@@ -552,25 +544,6 @@ Page({
})
}
})
// 从缓存中拿选中的联系人
wx.getStorage({
key: 'selectedPerson',
success(res) {
that.setData({
selectedPerson: res.data
})
}
})
// 从缓存中拿选中的邮寄联系人
wx.getStorage({
key: 'selectedPostPerson',
success(res) {
that.setData({
selectedPostPerson: res.data
})
}
})
// 从缓存中拿选中的会议的信息
wx.getStorage({
+2 -2
View File
@@ -80,13 +80,13 @@
<view class="form-item">
<text class="item-label flex-1 validate">邮寄地址:</text>
<input placeholder-class="text-right" name="postContactAddress" bindinput="bindInputPhone"
<input placeholder-class="text-right" name="postContactAddress" value="{{selectedPostPerson.contactAddress}}" bindinput="bindInputPhone"
placeholder="请输入邮寄地址" />
</view>
<view class="form-item">
<text class="item-label flex-1 validate">邮编:</text>
<input placeholder-class="text-right" name="postCode" bindblur="validatePostCode" data-message='请输入邮编' data-errmsg='请输入正确的邮编' type="number" maxlength="6" name="postCode" bindinput="bindInputPhone" placeholder="请输入邮编" />
<input placeholder-class="text-right" name="postCode" bindblur="validatePostCode" data-message='请输入邮编' data-errmsg='请输入正确的邮编' type="number" maxlength="6" value="{{selectedPostPerson.postalCode}}" placeholder="请输入邮编" />
</view>
<view class="form-item-radio">