wip(freight): migration 0017 + model/column-list groundwork for add-freight-templates

This commit is contained in:
Chengdong Zhang
2026-09-23 17:39:45 +08:00
parent a83e857bdf
commit 5b426486ac
105 changed files with 6193 additions and 1566 deletions
+6 -1
View File
@@ -9,7 +9,12 @@ const tone = computed<"green" | "blue" | "red" | "orange">(() => {
});
const label = computed(() => {
const root = props.kind === "order" ? "order.status" : props.kind === "shipment" ? "shipment.status" : "invoice.status";
const root =
props.kind === "order"
? "order.status"
: props.kind === "shipment"
? "shipment.status"
: "invoice.status";
return `${root}.${props.status}`;
});
</script>