From 27876781629d64545777c069ed60717b34f46b2c Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期五, 03 十一月 2023 17:05:49 +0800 Subject: [PATCH] 库存预览跳转带出单据的状态及仓库位置列表默认展示内部位置 --- src/views/operate/orderPoint/index.vue | 48 +++++++++++------------------------------------- 1 files changed, 11 insertions(+), 37 deletions(-) diff --git a/src/views/operate/orderPoint/index.vue b/src/views/operate/orderPoint/index.vue index 80c1401..092a1d9 100644 --- a/src/views/operate/orderPoint/index.vue +++ b/src/views/operate/orderPoint/index.vue @@ -8,10 +8,13 @@ :placeholder="'璇疯緭鍏ヤ綅缃�/浜у搧'" :amount-view="false" :search-task-map="searchTaskMap" + :show-sreen="false" + :screen-array="screenArray" @addCommonClick="addProductClick" @searchClick="getList" @discardBtnClick="discardBtnClick" @delSelectClick="delSelectClick" + @switchKeywords="switchKeywords" /> </div> <div class="content_wrap"> @@ -83,41 +86,6 @@ data() { return { datas: [], - // datas: [{ - // label: '涓�绾� 1', - // children: [{ - // label: '浜岀骇 1-1', - // children: [{ - // label: '涓夌骇 1-1-1' - // }] - // }] - // }, { - // label: '涓�绾� 2', - // children: [{ - // label: '浜岀骇 2-1', - // children: [{ - // label: '涓夌骇 2-1-1' - // }] - // }, { - // label: '浜岀骇 2-2', - // children: [{ - // label: '涓夌骇 2-2-1' - // }] - // }] - // }, { - // label: '涓�绾� 3', - // children: [{ - // label: '浜岀骇 3-1', - // children: [{ - // label: '涓夌骇 3-1-1' - // }] - // }, { - // label: '浜岀骇 3-2', - // children: [{ - // label: '涓夌骇 3-2-1' - // }] - // }] - // }], defaultProps: { children: "children", label: "jointName" @@ -140,12 +108,13 @@ unit: "", reorderId: 0, searchTaskMap: [], - type: "bh" + type: "bh", + screenArray: [{ id: "0", type: "bh", title: "閲嶆柊璁㈣喘" }] } }, created() { this.setTable() - this.searchTaskMap = [{ type: this.type, title: "閲嶆柊璁㈣喘" }] + this.searchTaskMap = [{ id: "0", type: this.type, title: "閲嶆柊璁㈣喘" }] this.getData() this.getLocationList() }, @@ -411,6 +380,11 @@ delSelectClick() { this.type = "" this.getData() + }, + switchKeywords(item) { + console.log(item, "switchKeywords") + this.type = item?.length > 0 ? "bh" : "" + this.getData() } } } -- Gitblit v1.8.0