|
@@ -144,14 +144,13 @@
|
|
|
},
|
|
|
|
|
|
onLoad(options) {
|
|
|
-
|
|
|
- let _pageToData = JSON.parse(options.itemValue)
|
|
|
- this.warehouseId = _pageToData.warehouseId
|
|
|
- this.dataList.warehouseName = _pageToData.warehouseName
|
|
|
+console.log(options)
|
|
|
+ this.warehouseId = options.warehouseId
|
|
|
+ this.dataList.warehouseName = options.warehouseName
|
|
|
this.startDate = this.getTime()[0]
|
|
|
this.dataList.validityDate = this.getTime()[1]
|
|
|
- this.warehouseNameAddress = _pageToData.warehousePrivate + _pageToData.warehouseCity + _pageToData
|
|
|
- .warehouseArea + _pageToData.detailedAddress
|
|
|
+ this.warehouseNameAddress = options.warehousePrivate + options.warehouseCity + options
|
|
|
+ .warehouseArea + options.detailedAddress
|
|
|
},
|
|
|
computed: {
|
|
|
...mapState(['hasLogin', 'userInfo']),
|