-
@@ -51,7 +51,7 @@ export default {
columns: [
// 表头
{
- title: "ID",
+ title: "编号",
key: "id",
minWidth: 120,
},
@@ -91,11 +91,6 @@ export default {
);
},
},
-
- {
- title: "商品库存",
- key: "quantity",
- },
{
title: "创建时间",
key: "createTime",
@@ -206,7 +201,6 @@ export default {
// 重新加载数据
this.getDataList();
},
-
// 获取列表数据
getDataList() {
this.loading = true;
diff --git a/seller/src/views/goods/goods-seller/goods.vue b/seller/src/views/goods/goods-seller/goods.vue
index 16a24faf..c35d53a6 100644
--- a/seller/src/views/goods/goods-seller/goods.vue
+++ b/seller/src/views/goods/goods-seller/goods.vue
@@ -19,7 +19,7 @@
-
+
@@ -118,7 +118,7 @@ import {
import * as API_Shop from "@/api/shops";
export default {
-
+
name: "goods",
data() {
return {
@@ -201,8 +201,8 @@ export default {
},
{
title: "商品编号",
- key: "sn",
- width: 100,
+ key: "id",
+ width: 180,
tooltip: true,
},
{
@@ -211,18 +211,6 @@ export default {
minWidth: 200,
slot: "goodsSlot",
},
-
- {
- title: "市场价格",
- key: "cost",
- width: 130,
- render: (h, params) => {
- return h(
- "div",
- this.$options.filters.unitPrice(params.row.cost, "¥")
- );
- },
- },
{
title: "商品类型",
key: "goodsType",