|
@@ -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,
|
|
|
},
|
|
|
},
|
|
|
{
|