liuhj 1 month ago
parent
commit
733da08644
1 changed files with 9 additions and 0 deletions
  1. 9 0
      src/components/OP/SuppliesInventory.vue

+ 9 - 0
src/components/OP/SuppliesInventory.vue

@@ -190,6 +190,15 @@
                     prop="goodsName"
                     label="物品名称"
                     width="200">
+                    <template slot-scope="scope">
+                        <el-popover
+                        placement="top"
+                        width="300"
+                        trigger="hover">
+                            {{scope.row.groupName}}
+                            <span style="display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden;cursor: pointer;color: #48a2ff;" slot="reference">{{scope.row.goodsName}}</span>
+                        </el-popover>
+                    </template>
                     </el-table-column>
                     <el-table-column
                     prop="quantity"