修复 真机运行时 单据选择页面自动聚焦 时机过早导致的 单据选择页面底部被虚拟键盘顶起的问题
| | |
| | | </view> |
| | | <view class="search-condition"> |
| | | <view class="title"><text>物料: </text></view> |
| | | <view class="right"><input auto-focus type="text" v-model="HMater" @confirm="getBillList" /></view> |
| | | <view class="right"><input type="text" :focus="enablefocus" v-model="HMater" |
| | | @confirm="getBillList" /></view> |
| | | </view> |
| | | <view class="search-condition"> |
| | | <view class="title"><text>关联项: </text></view> |
| | |
| | | name: "BillListPopup", |
| | | data() { |
| | | return { |
| | | enablefocus: false, |
| | | size: 20, |
| | | curPage: 1, |
| | | length: 0, |
| | |
| | | popupChangeHandler(e) { |
| | | if (e.show === true) { |
| | | this.getBillList() |
| | | |
| | | } else { |
| | | // 清理资源 |
| | | this.size = 20 |
| | |
| | | this.HMater = '' |
| | | this.HCustom = '' |
| | | this.HBillList = [] |
| | | this.enablefocus = false |
| | | } |
| | | }, |
| | | exit() { |
| | |
| | | } |
| | | this.HBillList = result |
| | | this.page = result.length |
| | | setTimeout(() => { |
| | | this.enablefocus = true |
| | | },500) |
| | | } else { |
| | | setTimeout(() => { |
| | | this.enablefocus = true |
| | | },500) |
| | | uni.showToast({ |
| | | icon: 'none', |
| | | title: Message |
| | |
| | | }, |
| | | { |
| | | "path" : "pages/shengchanlingliaoshengdan/table", |
| | | "style" : |
| | | { |
| | | "style": { |
| | | "navigationBarTitleText" : "生产领料", |
| | | "enablePullDownRefresh": true |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/shengchanlingliaoshengdan/form", |
| | | "style" : |
| | | { |
| | | "style": { |
| | | "navigationBarTitleText" : "生产领料单" |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/weiwailingliao/table", |
| | | "style" : |
| | | { |
| | | "style": { |
| | | "navigationBarTitleText" : "委外领料", |
| | | "enablePullDownRefresh": true |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/weiwailingliao/form", |
| | | "style" : |
| | | { |
| | | "style": { |
| | | "navigationBarTitleText" : "委外领料单" |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/shengchanrukushengdan/table", |
| | | "style" : |
| | | { |
| | | "style": { |
| | | "navigationBarTitleText" : "生产入库", |
| | | "enablePullDownRefresh": true |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/shengchanrukushengdan/form", |
| | | "style" : |
| | | { |
| | | "style": { |
| | | "navigationBarTitleText" : "生产入库单" |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/shengchanbuliao/table", |
| | | "style" : |
| | | { |
| | | "style": { |
| | | "navigationBarTitleText" : "生产补料", |
| | | "enablePullDownRefresh": true |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/shengchanbuliao/form", |
| | | "style" : |
| | | { |
| | | "style": { |
| | | "navigationBarTitleText" : "生产补料单" |
| | | |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/qitaruku_v2/table", |
| | | "style" : |
| | | { |
| | | "style": { |
| | | "navigationBarTitleText" : "其他入库", |
| | | "enablePullDownRefresh": true |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/qitaruku_v2/form", |
| | | "style" : |
| | | { |
| | | "style": { |
| | | "navigationBarTitleText" : "其他入库单" |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/qitachuku_v2/table", |
| | | "style" : |
| | | { |
| | | "style": { |
| | | "navigationBarTitleText" : "其他出库", |
| | | "enablePullDownRefresh": true |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/qitachuku_v2/form", |
| | | "style" : |
| | | { |
| | | "style": { |
| | | "navigationBarTitleText" : "其他出库单" |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/zhijiediaobo/table", |
| | | "style" : |
| | | { |
| | | "style": { |
| | | "navigationBarTitleText" : "直接调拨", |
| | | "enablePullDownRefresh": true |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/zhijiediaobo/form", |
| | | "style" : |
| | | { |
| | | "style": { |
| | | "navigationBarTitleText" : "直接调拨单" |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/xiugaimima/index", |
| | | "style" : |
| | | { |
| | | "style": { |
| | | "navigationBarTitleText" : "修改密码" |
| | | } |
| | | },{ |