删掉租期相关错误东西

This commit is contained in:
yml2213
2026-05-23 14:44:32 +08:00
parent e6cc9f1255
commit a6a1afb879
41 changed files with 127 additions and 312 deletions
@@ -35,7 +35,7 @@ async function loadOrders() {
const statusTabs = [
{ key: "all", label: "全部" },
{ key: "pending_handoff", label: "待交接" },
{ key: "renting", label: "租赁中" },
{ key: "renting", label: "使用中" },
{ key: "pending_return_confirm", label: "待归还" },
{ key: "completed", label: "已完成" },
];
@@ -64,7 +64,7 @@ function statusColor(status: string) {
function statusLabel(status: string) {
const map: Record<string, string> = {
pending_handoff: "待交接",
renting: "租赁中",
renting: "使用中",
overdue: "已逾期",
pending_return_confirm: "待归还",
completed: "已完成",
@@ -138,11 +138,7 @@ function goDetail(id: number) {
<h3 class="order-title">{{ order.title }}</h3>
<div class="info-grid">
<div class="info-item">
<span class="info-label">租期</span>
<span class="info-value">{{ order.rent_hours }}小时</span>
</div>
<div class="info-item">
<span class="info-label">租金</span>
<span class="info-label">订单金额</span>
<span class="info-value price">¥{{ order.rent_amount }}</span>
</div>
<div class="info-item">