|
@@ -7,7 +7,7 @@
|
|
|
</template>
|
|
|
<template slot="right">
|
|
|
<ws-select
|
|
|
- v-model="searchTypeText"
|
|
|
+ v-model="warehouseName"
|
|
|
placeholder=""
|
|
|
@change="selecttaskType"
|
|
|
:value="searchType"
|
|
@@ -116,7 +116,7 @@ export default {
|
|
|
searchKeyWord: '',
|
|
|
taskTypeList: [],
|
|
|
searchType: 0,
|
|
|
- searchTypeText: '',
|
|
|
+ warehouseName: '',
|
|
|
inspect: [],
|
|
|
warehouseList: [],
|
|
|
cangid: '', //仓库id
|
|
@@ -134,7 +134,7 @@ export default {
|
|
|
console.log(row.id, 'id值')
|
|
|
this.$router.push({
|
|
|
path: 'inspectInfo',
|
|
|
- query: { type: index, cangid: this.cangid, id: row.id },
|
|
|
+ query: { type: index, cangid: this.cangid, id: row.id ,warehouseName:this.warehouseName},
|
|
|
})
|
|
|
},
|
|
|
selecttaskType(e) {
|
|
@@ -190,7 +190,7 @@ export default {
|
|
|
id: response[i].id,
|
|
|
})
|
|
|
}
|
|
|
- this.searchTypeText = response[0].warehouseName
|
|
|
+ this.warehouseName = response[0].warehouseName
|
|
|
this.cangid = response[0].id
|
|
|
})
|
|
|
|
|
@@ -199,7 +199,7 @@ export default {
|
|
|
currentPage: this.currentPage,
|
|
|
pageSize: this.pageSize,
|
|
|
searchKeyWord: this.searchKeyWord,
|
|
|
- searchTypeText: this.searchTypeText,
|
|
|
+ warehouseName: this.warehouseName,
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then((response) => {
|