diff --git a/src/pages/hotel-manage/calendar.vue b/src/pages/hotel-manage/calendar.vue
index 5ab59ba..c0e7a3c 100644
--- a/src/pages/hotel-manage/calendar.vue
+++ b/src/pages/hotel-manage/calendar.vue
@@ -588,7 +588,7 @@ const submitSingle = async () => {
saving.value = true
try {
const payload: any = {
- id: single.id || undefined,
+ id: single.id != null && single.id !== "" ? String(single.id) : undefined,
stayDate: single.stayDate,
productCode: single.productCode,
sellPrice: single.sellPrice !== "" ? Number(single.sellPrice) : undefined,
diff --git a/src/pages/hotel-manage/detail.vue b/src/pages/hotel-manage/detail.vue
index 65fac1e..67390b4 100644
--- a/src/pages/hotel-manage/detail.vue
+++ b/src/pages/hotel-manage/detail.vue
@@ -604,7 +604,7 @@ const submitEdit = async () => {
const payload: any = {
...(hotel.value || {}),
...buildPayload(),
- id: hotel.value?.id || hotelId.value,
+ id: String(hotel.value?.id || hotelId.value),
}
const res: any = await smHotelAdminApi.update(payload)
if (res?.code !== 0) {
diff --git a/src/pages/hotel-manage/list.vue b/src/pages/hotel-manage/list.vue
index 7bdf727..caed585 100644
--- a/src/pages/hotel-manage/list.vue
+++ b/src/pages/hotel-manage/list.vue
@@ -354,6 +354,7 @@ const batchSetStatus = async (status: "ACTIVE" | "OFFLINE") => {
}
const res: any = await smHotelAdminApi.update({
...hotel,
+ id: hotel?.id != null ? String(hotel.id) : id,
upstreamStatus: status,
})
if (res?.code === 0) ok++
diff --git a/src/pages/hotel-manage/orders.vue b/src/pages/hotel-manage/orders.vue
index 547544a..83d1cff 100644
--- a/src/pages/hotel-manage/orders.vue
+++ b/src/pages/hotel-manage/orders.vue
@@ -30,7 +30,12 @@
暂无订单
-
+
{{ row.hotelName || row.hotelCode || "酒店" }}
@@ -39,34 +44,54 @@
结算价异常 · 请人工判断
下游申请取消 · 请确认
+
+ 单号
+
+ {{ orderNo(row) }}
+ 复制
+
+
+
+ 房型/产品
+ {{ row.productName || row.roomTypeName || row.productCode || "-" }}
+
+
+ 入住
+ {{ row.checkInDate || "-" }} ~ {{ row.checkOutDate || "-" }} · {{ row.count || 1 }}间
+
+
+ 联系人
+ {{ row.contactName || "-" }} {{ row.contactPhone || "" }}
+
+
+ 支付时间
+ {{ fmtTime(row.createTime) }}
+
取消规则:{{ row.cancelRuleHint }}
- {{ row.productName || row.roomTypeName || row.productCode || "-" }}
-
- {{ row.checkInDate || "-" }} ~ {{ row.checkOutDate || "-" }} · {{ row.count || 1 }}间
-
-
- {{ row.contactName || "-" }} {{ row.contactPhone || "" }}
-
{{ row.failMsg }}
-
+
+
+
+
+ 订单详情
+ 关闭
+
+
+ 加载中…
+
+
+
+
+ 订单
+ 状态{{ statusText(detail.order.orderStatus) }}
+
+ 渠道单号
+
+ {{ detail.order.channelNo || "-" }}
+ 复制
+
+
+
+ 平台单号
+
+ {{ detail.order.platformNo || "-" }}
+ 复制
+
+
+ 入住离店{{ detail.order.checkInDate }} ~ {{ detail.order.checkOutDate }}
+ 间数{{ detail.order.count || 1 }}
+ 应收¥{{ formatAmt(detail.order.sellAmount) }}
+ 成本¥{{ formatAmt(detail.order.costAmount) }}
+ 支付时间{{ fmtTime(detail.order.createTime) }}
+ 联系人{{ detail.order.contactName || "-" }} {{ detail.order.contactPhone || "" }}
+ 取消规则{{ detail.order.cancelRuleHint }}
+ 失败说明{{ detail.order.failMsg }}
+
+
+ 酒店
+ 名称{{ detail.hotel.hotelName || "-" }}
+ 编码{{ detail.hotel.hotelCode || "-" }}
+ 地址{{ detail.hotel.address || detail.hotel.district || "-" }}
+ 电话{{ detail.hotel.phone || "-" }}
+ 来源{{ detail.hotel.dataSource || "-" }}
+
+
+
+ 产品
+ 名称{{ detail.product.productName || detail.roomTypeName || "-" }}
+ 编码{{ detail.product.productCode || "-" }}
+ 房型{{ detail.product.roomTypeCode || detail.order.roomTypeCode || "-" }}
+
+
+ 入住人
+
+ {{ i + 1 }}
+ {{ g }}
+
+
+
+ 暂无详情
+
+
+
+