创建数据库表格

This commit is contained in:
not-like-juvenile
2026-02-06 16:56:24 +08:00
parent 56ae71babf
commit a5e7afacec
12 changed files with 645 additions and 59 deletions

View File

@@ -113,7 +113,14 @@
this.statusHistory = mockService.getMockTracking(this.orderNo)
},
getStatusText(status: string) : string {
const maps = { 'PENDING': '待发货', 'SHIPPED': '待签收', 'DELIVERED': '已签收', 'EXCEPTION': '异常' }
const maps = {
'PENDING': '待发货',
'SHIPPED': '已发货',
'IN_TRANSIT': '运输中',
'DELIVERED': '已签收',
'OUT_FOR_DELIVERY': '派送中',
'EXCEPTION': '异常'
}
return (maps[status] != null) ? maps[status] : status
},
async refreshLogistics() {