|
@@ -472,10 +472,11 @@ export default {
|
|
|
//删除我的订单
|
|
|
deleteMyOrder(id) {
|
|
|
let _this = this;
|
|
|
+ // "此操作将永久删除该订单, 是否继续?"
|
|
|
_this
|
|
|
- .$confirm("此操作将永久删除该订单, 是否继续?", "提示", {
|
|
|
- confirmButtonText: "确定",
|
|
|
- cancelButtonText: "取消",
|
|
|
+ .$confirm(_this.$t("Key103"), _this.$t("Key361"), {
|
|
|
+ confirmButtonText: _this.$t("Key94"),
|
|
|
+ cancelButtonText: _this.$t("Key83"),
|
|
|
type: "warning",
|
|
|
})
|
|
|
.then(() => {
|
|
@@ -517,7 +518,7 @@ export default {
|
|
|
if (item.goods_is_deleted == "true") {
|
|
|
this.$message({
|
|
|
showClose: true,
|
|
|
- message: "商品已被删除,无法购买",
|
|
|
+ message: this.$t("Key733"), //"商品已被删除,无法购买",
|
|
|
type: "error",
|
|
|
offset: 80,
|
|
|
duration: 2000,
|
|
@@ -525,7 +526,7 @@ export default {
|
|
|
} else if (item.goods_publish_status == 0) {
|
|
|
this.$message({
|
|
|
showClose: true,
|
|
|
- message: "商品已下架,无法购买",
|
|
|
+ message: this.$t("Key734"), //"商品已下架,无法购买",
|
|
|
type: "error",
|
|
|
offset: 80,
|
|
|
duration: 2000,
|
|
@@ -541,7 +542,7 @@ export default {
|
|
|
if (item.goods_is_deleted == "true") {
|
|
|
this.$message({
|
|
|
showClose: true,
|
|
|
- message: "商品已被删除,不能购买",
|
|
|
+ message: this.$t("Key733"),
|
|
|
type: "error",
|
|
|
offset: 80,
|
|
|
duration: 2000,
|
|
@@ -549,7 +550,7 @@ export default {
|
|
|
} else if (item.goods_publish_status == 0) {
|
|
|
this.$message({
|
|
|
showClose: true,
|
|
|
- message: "商品已下架,不能购买",
|
|
|
+ message: this.$t("Key734"), // "商品已下架,不能购买",
|
|
|
type: "error",
|
|
|
offset: 80,
|
|
|
duration: 2000,
|
|
@@ -574,7 +575,7 @@ export default {
|
|
|
// this.$message.success("支付成功");
|
|
|
this.$message.success(this.$t("Key657"));
|
|
|
} else {
|
|
|
- this.$message.warning("支付失败");
|
|
|
+ this.$message.warning(this.$t("Key735"));
|
|
|
}
|
|
|
this.getOrderList();
|
|
|
},
|