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