From 5b952be3c2534d1d34cd9a75e0f7df1e109f2354 Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期三, 18 十月 2023 11:26:46 +0800
Subject: [PATCH] feat: 产品类别弹窗添加产品数量展示
---
src/views/reportForm/locationReport/index.vue | 24 +++++++++++++++++-------
1 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/src/views/reportForm/locationReport/index.vue b/src/views/reportForm/locationReport/index.vue
index 5e7bdd5..2da4e3e 100644
--- a/src/views/reportForm/locationReport/index.vue
+++ b/src/views/reportForm/locationReport/index.vue
@@ -5,8 +5,8 @@
<div>
<SearchCommonView
:add-title="'鏂板缓'"
- :showAdd="true"
- :placeholder="'璇疯緭鍏ュ弬鑰�'"
+ :showAdd="false"
+ :placeholder="''"
:amount-view="false"
@addCommonClick="addBtnClick"
@searchClick="getList"
@@ -21,6 +21,7 @@
:table-list="tableList"
@selTableCol="selTableCol"
@tableRowClick="tableRowClick"
+ :showSummary="true"
>
<template slot="tableButton">
<el-table-column label="鎿嶄綔" width="210" align="center">
@@ -106,7 +107,8 @@
infomation: {}
},
productId: this.$route.params.id,
- productName: this.$route.params.name
+ productName: this.$route.params.name,
+ metaTitle: this.$route.meta.title
}
},
created() {
@@ -117,7 +119,8 @@
setTable() {
this.tableList = {
tableInfomation: [],
- selectBox: true,
+ selectBox: false,
+ selectIndex: true,
showcol: this.showcol,
countcol: this.countcol,
allcol: [],
@@ -178,7 +181,7 @@
prop: "unit",
width: 120,
default: false,
- isShowColumn: showcol.includes("浠峰��")
+ isShowColumn: showcol.includes("鍗曚綅")
},
{
label: "浠峰��",
@@ -202,7 +205,6 @@
pageSize: this.pagerOptions.pageSize
}).then((res) => {
if (res.code === 200) {
- console.log(res.data, "鎺ュ彛璇锋眰鎴愬姛")
const list = res.data
this.tableList.tableInfomation = list || []
this.pagerOptions.totalCount = res.total
@@ -232,7 +234,15 @@
return val === 1 ? "鑽夌" : val === 3 ? "灏辩华" : "瀹屾垚"
},
// 鍘嗗彶
- handleHistoryClick() {},
+ handleHistoryClick(row) {
+ this.$router.push({
+ name: "inboundOutboundDetail",
+ params: {
+ id: row.produceId,
+ name: "鎶ヨ〃"
+ }
+ })
+ },
// 琛ヨ揣
handleAddGoods() {}
}
--
Gitblit v1.8.0