@@ -622,7 +622,7 @@ var vm = new Vue({
} else if (res.data) {
window.isRetained = res.data.retainedCapital
_this.isForce = res.data.fource
- if(window.isFree) {
+ if(window.isFree || !isCollect) {
if (res.data.retainedCapital || !result) {
_this.showForm = true
_this.getOldInfo(source)
@@ -385,7 +385,7 @@
}
if (r && r.error_msg === '' && r.data) {
this.setEchoInfo(r.data)
- var result = checkRequiredKeys(['name', 'phone', 'company', 'position', 'branch'], r.data)
+ var result = checkRequiredKeys(['name', 'phone', 'company', 'companyType', 'position', 'branch'], r.data)
if (result) {
var skipAuto = ['jyarticle_see3', 'article_collection', 'article_original', 'jypush_see10']
var _this = this
@@ -493,7 +493,7 @@
this.setcodeShow = true
- var result = checkRequiredKeys(['name', 'phone', 'company', 'mail', 'position', 'branch'], r.data)
+ var result = checkRequiredKeys(['name', 'phone', 'company', 'companyType', 'mail', 'position', 'branch'], r.data)
@@ -1224,7 +1224,7 @@
$(window).scrollTop(scrollTop);
if (sessionStorage.getItem('hasFreeMore') === 'true') {
isNeedSales(function (res) {
- var result = checkRequiredKeys(['name', 'phone', 'position', 'branch','company'], res.info)
+ var result = checkRequiredKeys(['name', 'phone', 'position', 'branch','company', 'companyType'], res.info)
if (!result && res.data && res.data.retainedCapital) {
$(".seeMore").show()
$(".seeMore-btn").on('click', function () {
@@ -1104,7 +1104,7 @@
url:'/bigmember/use/isAdd?t' + new Date().getTime(),
success: function (r) {
if (r && r.data) {
- window.isFree = res.data.isFree
+ window.isFree = r.data.isFree
if ($.isArray(r.data.power)) {
if (r.data.power.length>0&&(r.data.power.indexOf(4) !== -1||r.data.power.indexOf(13) !== -1||r.data.power.indexOf(12) !== -1)){
isMember = true;