Commit 21b3b089 by cpa

商家端

parent c3e8b019
...@@ -380,18 +380,32 @@ ...@@ -380,18 +380,32 @@
this.clearData() this.clearData()
} }
this.loading = true this.loading = true
let userInfo= JSON.parse(sessionStorage.getItem("linshenxs-userInfo")) getClassifyDropDown()
let account=userInfo.content.username .then(r => {
this.classOptions = this.zmRes(r)
this.$axios.get("/admin/merchantMallGoods/merchantDropDownBox",{ if(DBG) {
params:{merchantId:userInfo.content.username}, this.refill(mock)
}).then(response => { } else {
console.log(JSON.stringify(response) ) if(id != undefined) {
return response.data this.flags=true
}, error => { return getGoodsDetails({id: id})
console.log('错误', error.message) }
}) }
return Promise.resolve()
})
.then(r => {
this.loading = false
if(r) {
let z = this.zmRes(r)
if(z) {
this.refill(z)
}
}
})
.catch(e => {
this.loading = false
})
}, },
//清除数据 //清除数据
clearData() { clearData() {
......
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