Commit 605d2fd6 authored by youjie's avatar youjie

no message

parent 85892d22
...@@ -464,7 +464,8 @@ ...@@ -464,7 +464,8 @@
let x = this.addMsg.TempTypeList[i] let x = this.addMsg.TempTypeList[i]
if(this.addMsg.Type!=3){ if(this.addMsg.Type!=3){
if(x.SourceType==2||x.SourceType==3){ if(x.SourceType==2||x.SourceType==3){
isdisabled=true if(x.SourceType==2) isdisabled=true
if(x.SourceType==3) isdisabledXHS=true
break break
} }
} }
...@@ -477,13 +478,11 @@ ...@@ -477,13 +478,11 @@
ProfitRate: "0", ProfitRate: "0",
SourceType:'1', SourceType:'1',
STdisabled:isdisabled, STdisabled:isdisabled,
STdisabledXHS:isdisabled, STdisabledXHS:isdisabledXHS,
} }
this.addMsg.TempTypeList.push(obj) this.addMsg.TempTypeList.push(obj)
}, },
RulesOk(formName) { RulesOk(formName) {
console.log(this.addMsg,'====')
// return
this.$refs[formName].validate((valid) => { this.$refs[formName].validate((valid) => {
if (valid) { if (valid) {
let LineshortIds = JSON.parse(JSON.stringify(this.addMsg.LineshortIds)) let LineshortIds = JSON.parse(JSON.stringify(this.addMsg.LineshortIds))
...@@ -529,7 +528,7 @@ ...@@ -529,7 +528,7 @@
}else{ }else{
x.STdisabled = true x.STdisabled = true
} }
}else if(!isfeizhu){ }else{
x.STdisabled = false x.STdisabled = false
} }
if(isxiaohongshu==true){ if(isxiaohongshu==true){
...@@ -543,7 +542,7 @@ ...@@ -543,7 +542,7 @@
}else{ }else{
x.STdisabledXHS = true x.STdisabledXHS = true
} }
}else if(!isxiaohongshu){ }else{
x.STdisabledXHS = false x.STdisabledXHS = false
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment