|
@@ -183,10 +183,12 @@
|
|
},
|
|
},
|
|
inspectInfo(row, index) {
|
|
inspectInfo(row, index) {
|
|
for (let i = 0; i < this.warehouseList.length; i++) {
|
|
for (let i = 0; i < this.warehouseList.length; i++) {
|
|
- if (this.WAREHOUSE[1].payname == this.warehouseList[i].value) {
|
|
|
|
|
|
+ if (this.warehouseName == this.warehouseList[i].value) {
|
|
|
|
+ // console.log(this.warehouseList[i])
|
|
this.cangid = this.warehouseList[i].id
|
|
this.cangid = this.warehouseList[i].id
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ // console.log(this.cangid)
|
|
//添加,编辑,查看
|
|
//添加,编辑,查看
|
|
this.$router.push({
|
|
this.$router.push({
|
|
path: 'inspectInfo',
|
|
path: 'inspectInfo',
|
|
@@ -264,7 +266,7 @@
|
|
let _wareHouse = localStorage.getItem('houseSelfCollect_house1')
|
|
let _wareHouse = localStorage.getItem('houseSelfCollect_house1')
|
|
_wareHouse = JSON.parse(_wareHouse)
|
|
_wareHouse = JSON.parse(_wareHouse)
|
|
if (_wareHouse) {
|
|
if (_wareHouse) {
|
|
- this.cangid = _wareHouse.id
|
|
|
|
|
|
+ this.cangid = _wareHouse.warehouseId
|
|
this.warehouseName = _wareHouse.value
|
|
this.warehouseName = _wareHouse.value
|
|
this.warehouseNo = _wareHouse.No
|
|
this.warehouseNo = _wareHouse.No
|
|
this.warehouseCount = _wareHouse.count
|
|
this.warehouseCount = _wareHouse.count
|