no message

焦作-mxbc-北起
LAPTOP-S9HJSOEB\昊天 2 years ago
parent 5506a429c6
commit e99b9c7b3e

@ -125,6 +125,7 @@ export default {
row: 1,
column: 1,
streetName: '',
streetPlc:"",
visible: false,
category: '',
count: 0,
@ -181,13 +182,16 @@ export default {
this.imgUrl = imgUrl
//this.getStreetList();
if (this.$route.query.row && this.$route.query.column && this.$route.query.direction && this.$route.query.side && this.$route.query.streetId) {
if (this.$route.query.row && this.$route.query.column && this.$route.query.direction && this.$route.query.side && (this.$route.query.streetId || this.$route.query.streetPlc)) {
this.id = this.$route.query.id
this.row = this.$route.query.row
this.column = this.$route.query.column
this.direction = this.$route.query.direction
this.side = this.$route.query.side
this.streetId = this.$route.query.streetId
if(this.$route.query.streetPlc){
this.streetPlc = this.$route.query.streetPlc
}
this.streetName = this.$route.query.name
this.getStockInfo(this.row, this.column);
@ -213,6 +217,7 @@ export default {
direction: this.direction,
side: this.side,
streetId: this.streetId,
streetPlc: this.streetPlc,
}
}).then(res => {
if (res.data) {

Loading…
Cancel
Save