| | |
| | | |
| | | } |
| | | }, |
| | | onLoad() { |
| | | onLoad(options) { |
| | | this.hform.HBarCode = options.HMaterNumber || ''; |
| | | this.getWHInfo() |
| | | this.getStockPlaceInfo() |
| | | |
| | |
| | | }) |
| | | }, |
| | | onReady() { |
| | | // #ifndef MP-WEIXIN |
| | | let query = uni.createSelectorQuery().in(this) |
| | | query.select("#scroll-content").boundingClientRect((data) => { |
| | | this.pageMeta.scrollContentTop = data.top |
| | |
| | | this.pageMeta.bottomBtnTop = data.top |
| | | console.log('this.pageMeta.bottomBtnTop: ',this.pageMeta.bottomBtnTop); |
| | | }).exec() |
| | | // #endif |
| | | // #ifdef MP-WEIXIN |
| | | // 微信不支持 uni.createSelectorQuery().in(this) |
| | | // #endif |
| | | |
| | | }, |
| | | } |
| | | </script> |