|
@ -103,6 +103,7 @@ export default { |
|
|
if(str.charAt(str.length - 1)!="t"){ |
|
|
if(str.charAt(str.length - 1)!="t"){ |
|
|
var id= window.location.href.split("?")[1].split("=")[1]; |
|
|
var id= window.location.href.split("?")[1].split("=")[1]; |
|
|
this.sid=id |
|
|
this.sid=id |
|
|
|
|
|
console.log(this.sid) |
|
|
} |
|
|
} |
|
|
// if(window.location.href){ |
|
|
// if(window.location.href){ |
|
|
|
|
|
|
|
@ -125,8 +126,11 @@ export default { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
async LookStorehousedialog(sid) { |
|
|
async LookStorehousedialog(sid) { |
|
|
this.sid=sid |
|
|
if(sid!=undefined){ |
|
|
|
|
|
this.sid=sid |
|
|
|
|
|
} |
|
|
const _this = this; |
|
|
const _this = this; |
|
|
|
|
|
console.log(this.sid) |
|
|
const { data: result } = await this.$http.get( |
|
|
const { data: result } = await this.$http.get( |
|
|
`/v1/shstorehouse/fetchDetailsBySid/${this.sid}` |
|
|
`/v1/shstorehouse/fetchDetailsBySid/${this.sid}` |
|
|
); |
|
|
); |
|
|