You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
1.3 KiB
20 lines
1.3 KiB
import DocumentApprovedIcon from "../components/DocumentApprovedIcon"; |
|
import PdfDocumentIcon from "../components/PdfDocumentIcon"; |
|
import DocumentClockIcon from "../components/DocumentClockIcon"; |
|
interface ProductStatus { |
|
icon: React.ElementType; |
|
text: string; |
|
textKey: string; |
|
status: number | null; |
|
} |
|
export const productStatus: ProductStatus[] = [ |
|
{ icon: DocumentApprovedIcon, text: '待报价', textKey: 'order.status.waiting_quote', status: 8 }, |
|
{ icon: PdfDocumentIcon, text: '待付款', textKey: 'order.status.waiting_payment', status: 0 }, |
|
// { icon: DocumentClockIcon, text: '付运费', textKey: 'order.status.pay_shipping', status: 6 }, |
|
{ icon: DocumentClockIcon, text: '待发货', textKey: 'order.status.waiting_shipment', status: 1 }, |
|
{ icon: DocumentApprovedIcon, text: '运输中', textKey: 'order.status.in_transit', status: 2 }, |
|
// { icon: DocumentApprovedIcon, text: '代收货', textKey: 'order.status.waiting_receipt', status: 3 }, |
|
{ icon: PdfDocumentIcon, text: '已完成', textKey: 'order.status.completed', status: 3 }, |
|
{ icon: DocumentClockIcon, text: '已过期', textKey: 'order.status.cancelled', status: 4 }, |
|
// { icon: DocumentClockIcon, text: '已退款', textKey: 'order.status.refunded', status: 6 } |
|
] |