|
@@ -454,6 +454,7 @@ export default {
|
|
|
this.nums=''
|
|
|
this.initialized()
|
|
|
this.reged()
|
|
|
+ console.log(this.repair,this.member.createType,'切换服务状态')
|
|
|
},
|
|
|
buyHandler() {
|
|
|
this.member.buyCount=this.member.buyCount.replace(/[^\d]+/g,'')
|
|
@@ -634,6 +635,7 @@ export default {
|
|
|
|
|
|
}
|
|
|
}
|
|
|
+ console.log(this.member.products,this.member.buySubject)
|
|
|
if (this.member.products == 1) {
|
|
|
if(this.member.buySubject!='2'){//主体为个体走原有逻辑
|
|
|
if (this.bigStas == 1) {
|
|
@@ -704,6 +706,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
}else{
|
|
|
+ console.log('企业',this.member.buySubject)
|
|
|
this.colr = ''
|
|
|
if (this.nums == 0) {
|
|
|
this.creAuth = '1'
|
|
@@ -716,12 +719,16 @@ export default {
|
|
|
this.radioDis2 = true
|
|
|
this.radioDis3 = true
|
|
|
//编辑订单时手机号修改建通自定义跳转
|
|
|
- if (this.member.oldPhone !== this.member.phone) {
|
|
|
- this.member.createType = '1'
|
|
|
- } else {
|
|
|
- this.member.createType = this.member.oldCreateType
|
|
|
- }
|
|
|
- this.repair = this.member.createType
|
|
|
+ // if (this.member.oldPhone !== this.member.phone) {
|
|
|
+ // this.member.createType = '1'
|
|
|
+ // } else {
|
|
|
+ // this.member.createType = this.member.oldCreateType
|
|
|
+ // }
|
|
|
+ // this.repair = this.member.createType
|
|
|
+ //企业自定义走新建
|
|
|
+ this.member.createType = '1'
|
|
|
+ this.repair = '1'
|
|
|
+
|
|
|
this.monthTime = 60
|
|
|
}
|
|
|
|
|
@@ -1070,14 +1077,19 @@ export default {
|
|
|
this.sumSel = []
|
|
|
this.serData.forEach(k => {
|
|
|
if (this.repair == '1') {
|
|
|
+ console.log(this.currentId,this.equity,'新服务选中ID,和权益是否开通')
|
|
|
if (k.id == 1) {
|
|
|
k._checked = true
|
|
|
k._disabled = true
|
|
|
}
|
|
|
- if (!this.equity) {
|
|
|
- if (this.currentId.indexOf(k.id) > -1) {
|
|
|
+ //原有逻辑已开通不回显勾选
|
|
|
+ // if (!this.equity) {
|
|
|
+ // if (this.currentId.indexOf(k.id) > -1) {
|
|
|
+ // k._checked = true
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ if (this.currentId.indexOf(k.id) > -1) {
|
|
|
k._checked = true
|
|
|
- }
|
|
|
}
|
|
|
if (k._checked) {
|
|
|
this.sumSel.push(k)
|
|
@@ -1222,14 +1234,16 @@ export default {
|
|
|
this.radioDis2 = true
|
|
|
this.radioDis3 = true
|
|
|
//避免初始化权益修改自定义内容
|
|
|
- if (this.member.oldPhone !== this.member.phone) {
|
|
|
- this.member.createType = '1'
|
|
|
- this.repair = '1'
|
|
|
- } else {
|
|
|
- this.member.createType = this.member.oldCreateType
|
|
|
- }
|
|
|
- // this.member.createType = '1'
|
|
|
+ // if (this.member.oldPhone !== this.member.phone) {
|
|
|
+ // this.member.createType = '1'
|
|
|
+ // this.repair = '1'
|
|
|
+ // } else {
|
|
|
+ // this.member.createType = this.member.oldCreateType
|
|
|
+ // }
|
|
|
|
|
|
+ //企业固定为购买
|
|
|
+ this.repair = '1'
|
|
|
+ this.member.createType = '1'
|
|
|
this.monthTime = 60
|
|
|
if (!this.returnMyReceivable && !this.pReadon) {
|
|
|
this.myNoTchange()
|