盘点功能完善0331

merge-requests/1/head
张鑫 5 years ago
parent 8702df4f10
commit 5de2c8aa04

@ -45,7 +45,8 @@
style="width:100%;display:flex;align-items:center;justify-content:space-between;flex-direction: column">
<div class="carousel-page"
v-if="columnItem.row == checkObj.row && columnItem.column == checkObj.column">
<p class="carousel-page-title" @click="goHistory">{{checkObj.orderNum}}</p>
<p class="carousel-page-title" @click="goHistory(checkObj.orderNum)" v-if="checkObj.orderNum">{{checkObj.orderNum}}</p>
<p class="carousel-page-title" @click="goHistory()" v-else></p>
<div class="carousel-page-content">
<div class="img-box">
<img
@ -132,7 +133,7 @@
style="width:100%;display:flex;align-items:center;justify-content:space-between;flex-direction: column">
<div class="carousel-page"
v-if="listrow == row && listcolumn == column">
<p class="carousel-page-title" @click="goHistory"></p>
<p class="carousel-page-title" @click="goHistory()"></p>
<div class="carousel-page-content">
<div class="img-box">
<div
@ -318,6 +319,8 @@ export default {
console.log(value)
this.select = value
this.id = value
this.row = 1
this.column =1
console.log(JSON.stringify(this.checkObj))
this.getStreetList()
for (var i = 0; i < this.listData.length; i++) {
@ -339,8 +342,6 @@ export default {
this.selectType2 = 'out'
this.getStockInfo(1, 1, this.shelveId)
}
}
}
},
@ -480,9 +481,10 @@ export default {
this.visible = visible
this.modelData = data
},
goHistory(){
goHistory(orderNum){
const href = this.$router.resolve({
name: 'historyMonitoring'
name: 'historyMonitoring',
params:{orderNum:orderNum}
});
window.open(href.href, '_blank');
},

@ -168,9 +168,9 @@ export default {
mounted() {
this.handleGetHistoryList()
console.log(this.imgUrl)
if (this.$route.query.orderNum) {
console.log(this.$route.query.orderNum)
this.queryParam.orderNum = this.$route.query.orderNum
if (this.$route.params.orderNum) {
console.log(this.$route.params.orderNum)
this.queryParam.orderNum = this.$route.params.orderNum
}
},
methods: {

Loading…
Cancel
Save