11
This commit is contained in:
1 parent
6fc455dbaf
commit
8ac5c0cf14
5 files changed
+15
-18
No files matched your search
+1
-1
@@ -90,4 +90,4 @@
|
||||
"vite": "5.2.8",
|
||||
"vue-tsc": "^1.0.24"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,12 +8,12 @@ export default {
|
||||
tab: {
|
||||
all: "全部",
|
||||
pendingShip: "待发货",
|
||||
pendingReceive: "待收货/待使用",
|
||||
pendingReceive: "待收货/待核销",
|
||||
received: "已核销/已收货",
|
||||
afterSale: "售后",
|
||||
pendingPay: "待支付",
|
||||
closed: "已关闭",
|
||||
pendingUse: "待使用",
|
||||
pendingUse: "待核销",
|
||||
afterSaleing: "售后中",
|
||||
completed: "已完成",
|
||||
},
|
||||
@@ -66,7 +66,7 @@ export default {
|
||||
},
|
||||
status: {
|
||||
pendingPay: "待支付",
|
||||
pendingUse: "待使用",
|
||||
pendingUse: "待核销",
|
||||
pendingShip: "待发货",
|
||||
paid: "已支付",
|
||||
pendingReceive: "待收货",
|
||||
|
||||
@@ -8,12 +8,12 @@ export default {
|
||||
tab: {
|
||||
all: "全部",
|
||||
pendingShip: "待發貨",
|
||||
pendingReceive: "待收貨/待使用",
|
||||
pendingReceive: "待收貨/待核销",
|
||||
received: "已核銷/已收貨",
|
||||
afterSale: "售後",
|
||||
pendingPay: "待支付",
|
||||
closed: "已關閉",
|
||||
pendingUse: "待使用",
|
||||
pendingUse: "待核销",
|
||||
afterSaleing: "售後中",
|
||||
completed: "已完成",
|
||||
},
|
||||
@@ -66,7 +66,7 @@ export default {
|
||||
},
|
||||
status: {
|
||||
pendingPay: "待支付",
|
||||
pendingUse: "待使用",
|
||||
pendingUse: "待核销",
|
||||
pendingShip: "待發貨",
|
||||
paid: "已支付",
|
||||
pendingReceive: "待收貨",
|
||||
|
||||
+2
-2
@@ -2,8 +2,8 @@
|
||||
"name" : "资安信",
|
||||
"appid" : "__UNI__1BFE88F",
|
||||
"description" : "资安信后勤管理系统",
|
||||
"versionName" : "1.5.36",
|
||||
"versionCode" : 1536,
|
||||
"versionName" : "1.5.37",
|
||||
"versionCode" : 1537,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
|
||||
@@ -75,7 +75,7 @@ const mealSlotText = computed(
|
||||
|
||||
const dinerName = computed(() => props.cardetail?.username || t("mobile.order.unknownUser"))
|
||||
|
||||
/** 卡片视觉态:待使用 / 售后成功 / 已完成,决定色条与日期数字颜色。 */
|
||||
/** 卡片视觉态:待核销 / 售后成功 / 已完成,决定色条与日期数字颜色。 */
|
||||
const visualStatus = computed<"pending" | "refundSuccess" | "completed" | "other">(() => {
|
||||
const refundStatus = String(props.cardetail?.refundStatus || "0")
|
||||
const orderStatus = String(props.cardetail?.orderStatus || "")
|
||||
@@ -135,7 +135,7 @@ const showRefundButton = computed(
|
||||
|
||||
const showDetailButton = computed(() => Boolean(props.cardetail?.id))
|
||||
|
||||
/** 待使用卡片「详情」用实心深色,其余描边,贴近设计稿。 */
|
||||
/** 待核销卡片「详情」用实心深色,其余描边,贴近设计稿。 */
|
||||
const detailBtnSolid = computed(() => visualStatus.value === "pending")
|
||||
|
||||
const doRefund = () => {
|
||||
@@ -174,7 +174,8 @@ const doDetail = () => {
|
||||
</view>
|
||||
|
||||
<view class="meal-card__amount">
|
||||
<text class="meal-card__amount-label">{{ t("mobile.order.list.comboAmount", { count: productCount }) }}</text>
|
||||
<text class="meal-card__amount-label">{{ t("mobile.order.list.comboAmount", { count: productCount })
|
||||
}}</text>
|
||||
<text class="meal-card__amount-value">¥{{ hooks.useMoney(cardetail.payPrice) }}</text>
|
||||
</view>
|
||||
|
||||
@@ -199,12 +200,8 @@ const doDetail = () => {
|
||||
<view v-if="showRefundButton" class="meal-card__btn" @tap.stop="doRefund">
|
||||
{{ hasAfterSale ? t("mobile.order.continueRefund") : t("mobile.order.list.applyRefund") }}
|
||||
</view>
|
||||
<view
|
||||
v-if="showDetailButton"
|
||||
class="meal-card__btn"
|
||||
:class="{ 'meal-card__btn--solid': detailBtnSolid }"
|
||||
@tap.stop="doDetail"
|
||||
>
|
||||
<view v-if="showDetailButton" class="meal-card__btn"
|
||||
:class="{ 'meal-card__btn--solid': detailBtnSolid }" @tap.stop="doDetail">
|
||||
{{ t("mobile.order.detailBtn") }}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in new issue
Block a user