@@ -147,6 +147,20 @@ const tagList = ref({
40: "info",
50: "success",
});
+const status = ref([
+ {
+ dictKey: 30,
+ dictValue: "生产中",
+ },
+ dictKey: 40,
+ dictValue: "已完成",
+ dictKey: 50,
+ dictValue: "已发货",
+]);
const sourceList = ref({
data: [],
pagination: {
@@ -240,6 +254,16 @@ const config = computed(() => {
},
{
attrs: {
+ label: "生产状态",
+ prop: "status",
+ width: 120,
+ render(val) {
+ return proxy.dictKeyValue(val, status.value);
+ attrs: {
label: "各款SKU生产进度",
slot: "schedule",
"min-width": 220,