浏览代码

SKU报价看板优化

lxf 1 年之前
父节点
当前提交
cf6ac2e475
共有 2 个文件被更改,包括 41 次插入6 次删除
  1. 1 1
      src/components/byTable/index.vue
  2. 40 5
      src/views/group/data-board/sku-quoted-price/index.vue

+ 1 - 1
src/components/byTable/index.vue

@@ -217,7 +217,7 @@ export default defineComponent({
       },
     },
     tableHeight: {
-      type: Number,
+      type: String,
       required: false,
     },
     // 指定外层容器的渲染组件

+ 40 - 5
src/views/group/data-board/sku-quoted-price/index.vue

@@ -14,6 +14,7 @@
           action: () => deriveExcel(),
         },
       ]"
+      :tableHeight="'calc(100vh - 242px)'"
       @get-list="getList"
       @clickReset="clickReset">
       <template #skuPrice>
@@ -47,7 +48,9 @@ const sourceList = ref({
     total: 0,
     departmentId: proxy.useUserStore().user.deptId,
     skuSpecCode: "",
-    skuSpecName: "",
+    bomSpecCode: "",
+    colour: "",
+    chromatophore: "",
   },
 });
 const loading = ref(false);
@@ -68,8 +71,19 @@ const searchConfig = computed(() => {
     },
     {
       type: "input",
-      prop: "skuSpecName",
-      label: "SKU品名",
+      prop: "bomSpecCode",
+      label: "BOM品号",
+    },
+    {
+      type: "input",
+      prop: "colour",
+      label: "颜色",
+    },
+    {
+      type: "select",
+      prop: "chromatophore",
+      dictKey: "bom_chromatophore",
+      label: "色层",
     },
   ];
 });
@@ -86,14 +100,35 @@ const config = computed(() => {
       attrs: {
         label: "SKU品号",
         prop: "skuSpecCode",
-        width: 160,
+        width: 140,
       },
     },
     {
       attrs: {
         label: "SKU品名",
         prop: "skuSpecName",
-        "min-width": 220,
+        "min-width": 320,
+      },
+    },
+    {
+      attrs: {
+        label: "BOM品号",
+        prop: "bomSpecCode",
+        width: 130,
+      },
+    },
+    {
+      attrs: {
+        label: "颜色",
+        prop: "colour",
+        width: 160,
+      },
+    },
+    {
+      attrs: {
+        label: "色层",
+        prop: "chromatophore",
+        width: 120,
       },
     },
     {