Commit e090e8ab authored by yht15023815643's avatar yht15023815643

update

parent a07b7498
...@@ -193,7 +193,7 @@ export default { ...@@ -193,7 +193,7 @@ export default {
} }
}, },
created() { created() {
this.defaultRoute = JSON.parse(JSON.stringify(this.sideRoute)) this.financial()
}, },
watch:{ watch:{
statisticObj:{ statisticObj:{
...@@ -336,6 +336,7 @@ export default { ...@@ -336,6 +336,7 @@ export default {
financial({cid:String(id)}).then(res=>{ financial({cid:String(id)}).then(res=>{
if(res.code==200&&!res.data){ if(res.code==200&&!res.data){
this.sideRoute[1].disabled = true this.sideRoute[1].disabled = true
this.defaultRoute = JSON.parse(JSON.stringify(this.sideRoute))
} }
}) })
}, },
......
...@@ -203,7 +203,7 @@ export default { ...@@ -203,7 +203,7 @@ export default {
[name]: this.queryParams[name], [name]: this.queryParams[name],
} }
customerUpdate(data).then(res=>{ customerUpdate(data).then(res=>{
if(res.data){ if(res.code==200){
this.$message.success(res.msg) this.$message.success(res.msg)
this.nowedit = 0 this.nowedit = 0
}else{ }else{
......
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