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
@@ -276,7 +286,7 @@
        }
        .uni-card[is-active] {
           background-color: rgba(0, 122, 255, 0.2);
            background-color: rgba(0, 122, 255, 0.2);
        }
    }
</style>