修复 真机运行时 单据选择页面自动聚焦 时机过早导致的 单据选择页面底部被虚拟键盘顶起的问题
2个文件已修改
58 ■■■■ 已修改文件
components/BillListPopup/BillListPopup.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages.json 46 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
components/BillListPopup/BillListPopup.vue
@@ -8,7 +8,8 @@
                </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>
@@ -65,6 +66,7 @@
        name: "BillListPopup",
        data() {
            return {
                enablefocus: false,
                size: 20,
                curPage: 1,
                length: 0,
@@ -105,6 +107,7 @@
            popupChangeHandler(e) {
                if (e.show === true) {
                    this.getBillList()
                } else {
                    // 清理资源
                    this.size = 20
@@ -115,6 +118,7 @@
                    this.HMater = ''
                    this.HCustom = ''
                    this.HBillList = []
                    this.enablefocus = false
                }
            },
            exit() {
@@ -191,7 +195,13 @@
                            }
                            this.HBillList = result
                            this.page = result.length
                            setTimeout(() => {
                                this.enablefocus = true
                            },500)
                        } else {
                            setTimeout(() => {
                                this.enablefocus = true
                            },500)
                            uni.showToast({
                                icon: 'none',
                                title: Message
pages.json
@@ -628,113 +628,99 @@
        },
        {
            "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" : "修改密码"
            }
        },{