From e31a294cd6ce4cdc41a2df4a5d3994b0f14f1eb2 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 13 九月 2023 14:31:17 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.22:9001/r/mom-before
---
src/components/view/standard-table/product.vue | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/src/components/view/standard-table/product.vue b/src/components/view/standard-table/product.vue
index 95a0782..6141739 100644
--- a/src/components/view/standard-table/product.vue
+++ b/src/components/view/standard-table/product.vue
@@ -35,9 +35,9 @@
/* .standard .el-table__body {
height: 100%;
} */
- .standard .el-table .el-table__row:not([class*="el-table__row--level-"]) td:nth-child(3){
+ /* .standard .el-table .el-table__row:not([class*="el-table__row--level-"]) td:nth-child(3){
padding-left: 23px !important;
- }
+ } */
</style>
<template>
<div class="standard">
@@ -69,12 +69,18 @@
</el-table-column>
<el-table-column prop="productFather" label="椤圭洰">
<template slot-scope="scope">
- <el-tag type="info" v-if="scope.row.productFather != null">03</el-tag>
+ <el-tag type="info" v-if="scope.row.productFather != null">04</el-tag>
<span>{{scope.row.productFather}}</span>
</template>
</el-table-column>
+ <el-table-column prop="productFather" hidden></el-table-column>
<el-table-column prop="unit" label="鍗曚綅"></el-table-column>
<el-table-column prop="product" label="鎸囨爣"></el-table-column>
+ <el-table-column label="鎿嶄綔">
+ <template slot-scope="scope">
+ <el-button type="text" @click="updateProduct(scope.row)">缂栬緫</el-button>
+ </template>
+ </el-table-column>
</el-table>
</div>
</template>
@@ -89,6 +95,9 @@
},
props:['tableData','tableType'],
methods:{
+ updateProduct(row){
+ console.log(row);
+ },
// 琛ㄦ牸鏍戝叏閮ㄩ�変腑閰嶇疆
// 鍏ㄩ��/鍙栨秷閫夋搷浣�
selectAll(val) {
--
Gitblit v1.9.3