小程序上书选货位后,图书上传页默认选中该货位
This commit is contained in:
parent
b1d5a6acff
commit
a4845ff3c4
@ -824,6 +824,25 @@ export default {
|
||||
this.loadSavedAccounts()
|
||||
// 恢复定价策略配置
|
||||
this.loadPriceConfig()
|
||||
// 恢复选择的仓库货位
|
||||
const savedWhData = uni.getStorageSync('selectedWarehouseData')
|
||||
if (savedWhData) {
|
||||
const locationText = savedWhData.warehouseName + ' - ' + savedWhData.locationCode
|
||||
const whData = {
|
||||
warehouseId: savedWhData.warehouseId,
|
||||
warehouseName: savedWhData.warehouseName,
|
||||
warehouseCode: savedWhData.warehouseCode,
|
||||
locationId: savedWhData.locationId,
|
||||
locationName: savedWhData.locationName,
|
||||
locationCode: savedWhData.locationCode,
|
||||
code: savedWhData.locationCode,
|
||||
name: savedWhData.locationName
|
||||
}
|
||||
this.isbnSelectedArea = locationText
|
||||
this.isbnWarehouseData = whData
|
||||
this.noIsbnSelectedArea = locationText
|
||||
this.noIsbnWarehouseData = whData
|
||||
}
|
||||
},
|
||||
|
||||
computed: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user