Commit 593349e1 authored by chenwei's avatar chenwei

defect fixed | 兑换礼品弹窗提示信息

parent 9f0e35ff
......@@ -23,6 +23,9 @@ export default {
submitOrder: "submit Order",
to: "to",
success: "Successful exchange",
deliveryAddress: "delivery Address",
messageVerificationCode: "Please enter the verification code",
title: "gift",
},
addressManager: {
selectAddress: "Select the shipping address",
......
......@@ -1122,6 +1122,9 @@ export default {
submitOrder: "提交订单",
to: "",
success: "兑换成功",
deliveryAddress: "邮寄地址",
messageVerificationCode: "请输入验证码",
title: "礼品",
},
addressManager: {
selectAddress: "选择收货地址",
......
......@@ -152,7 +152,8 @@
width="30%"
:before-close="handleClose"
>
<div class="title">
<div class="title number">
{{ $t("exchange.title") }}
{{ isChinese ? rewardDetailsInfo.titleZh : rewardDetailsInfo.titleEn }}
</div>
<div class="number">
......@@ -164,6 +165,9 @@
<div class="number">
{{ $t("exchange.exchangeMethod") }}{{ getExcahngeType() }}
</div>
<div v-if="addressInfo.id && paramsInfo.redeemType != 1" class="number">
{{ $t("exchange.deliveryAddress") }}{{ addressInfo.address }}
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false">{{
$t("customer.cancel")
......@@ -230,6 +234,10 @@ export default {
parseTime,
// 兑换
handleSubmitRedeem() {
if (!this.paramsInfo.code) {
this.$message.error(this.$t("exchange.messageVerificationCode"));
return;
}
this.dialogVisible = true;
},
confirmSubmit() {
......@@ -245,7 +253,7 @@ export default {
type: "success",
});
this.dialogVisible = false;
this.$router.push({ path: "/jiedao/jd-exchange-log" });
this.$router.push({ path: "/jiedao/jd-integral" });
});
},
getExcahngeType() {
......@@ -322,6 +330,9 @@ export default {
};
</script>
<style lang="scss" scoped>
.number {
padding-bottom: 8px;
}
::v-deep .headerTab .el-tabs__nav-scroll {
height: 100px;
background: #d3e6ff;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment