From 1aa122a34f98325fa2d049c1895ac476ab3e3347 Mon Sep 17 00:00:00 2001 From: zuozhengqing <a13193816592@163.com> Date: 星期三, 18 十月 2023 10:02:17 +0800 Subject: [PATCH] 隐藏库存报表和位置报表的新建按钮 --- src/views/reportForm/inventoryReport/index.vue | 21 ++++++++++++--------- 1 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/views/reportForm/inventoryReport/index.vue b/src/views/reportForm/inventoryReport/index.vue index 6bd8e38..8b7c852 100644 --- a/src/views/reportForm/inventoryReport/index.vue +++ b/src/views/reportForm/inventoryReport/index.vue @@ -3,8 +3,9 @@ <div class="rightContent"> <div class="top"> <SearchCommonView + :showAdd="false" :add-title="'鏂板缓'" - :placeholder="'璇疯緭鍏ュ弬鑰�'" + :placeholder="''" :amount-view="false" @addCommonClick="addBtnClick" @searchClick="getList" @@ -143,7 +144,8 @@ warehouseListName: "", // 浠撳簱鍚嶇О stashRadio: "1", pageSizes: [15, 30], - oldRadioBtn: "" + oldRadioBtn: "", + metaTitle: this.$route.meta.title } }, created() { @@ -159,12 +161,10 @@ checkListHandler(e) { this.categoryListId = e this.getData() - console.log(this.categoryListId, e, " 閫変腑鐨勪骇鍝乮d") }, radioHandleChange(e) { this.warehouseListName = e this.getData() - console.log(e, "鍗曢��") }, setTable() { if (this.isIconIndex === "1") { @@ -288,9 +288,15 @@ }, // 鍘嗗彶 handleHistoryClick(row) { - console.log(row) - this.$router.push("/operate/allot") + this.$router.push({ + name: "inboundOutboundDetail", + params: { + id: row.produceId, + name: "鎶ヨ〃" + } + }) }, + // 琛ヨ揣 handleAddGoods(row) { console.log(row) @@ -317,7 +323,6 @@ unit: item.unit //鍗曚綅 } this.testArr.push(obj) - console.log(this.testArr, "this") }) }, @@ -332,7 +337,6 @@ } await getInventoryData(params).then((res) => { if (res.code === 200) { - console.log(res.data, "鎺ュ彛璇锋眰鎴愬姛") const list = res.data this.tableList.tableInfomation = list || [] this.pagerOptions.totalCount = res.total @@ -360,7 +364,6 @@ }).then((res) => { if (res.data.code === 200) { this.warehouseList = res.data.data - console.log(this.warehouseList, "warehouseList") } }) } -- Gitblit v1.8.0