解决源单选择页面 多源单模式时,因过早关闭 单据选择页面内的单据缓存没有被正常清理造成的bug
2个文件已修改
31 ■■■■ 已修改文件
components/BillListPopup/BillListPopup.vue 27 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
manifest.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
components/BillListPopup/BillListPopup.vue
@@ -107,27 +107,28 @@
            popupChangeHandler(e) {
                if (e.show === true) {
                    this.getBillList()
                } else {
                    // 清理资源
                    this.size = 20
                    this.curPage = 1
                    this.length = 0
                    this.page = 0
                    this.HSourceBillNo = ''
                    this.HMater = ''
                    this.HCustom = ''
                    this.HBillList = []
                    this.enablefocus = false
                }
            },
            exit() {
            async exit() {
                this.size = 20
                this.curPage = 1
                this.length = 0
                this.page = 0
                this.HSourceBillNo = ''
                this.HMater = ''
                this.HCustom = ''
                this.HBillList = []
                this.enablefocus = false
                this.multiSouceBillList = []
                // 需要等待页面内的数据赋值完毕
                await this.$nextTick()
                this.$refs.popup.close();
            },
            search() {
                this.getBillList()
            },
            ret() {
                console.log('this.MultiSourceBill: ',this.MultiSourceBill);
                uni.$emit('BillSelectComplete', {
                    HInterID: 0,
                    HBillNo: 0,
manifest.json
@@ -2,8 +2,8 @@
    "name" : "智云LMES",
    "appid" : "__UNI__B002F49",
    "description" : "",
    "versionName" : "1.0.65",
    "versionCode" : 165,
    "versionName" : "1.0.67",
    "versionCode" : 167,
    "transformPx" : false,
    /* 5+App特有相关 */
    "app-plus" : {