优惠券选择页确认按钮层级调整
This commit is contained in:
@@ -130,9 +130,10 @@ export default {
|
||||
onLoad() {
|
||||
uni.showLoading();
|
||||
|
||||
this.machineId = "861741042996303";
|
||||
this.getShopInfoApi();
|
||||
return;
|
||||
// 写死
|
||||
// this.machineId = "861299032410223";
|
||||
// this.getShopInfoApi();
|
||||
// return;
|
||||
|
||||
plus.device.getInfo({
|
||||
success: (e) => {
|
||||
@@ -193,20 +194,21 @@ export default {
|
||||
});
|
||||
},
|
||||
scanCodeHandle() {
|
||||
uni.setStorageSync("customer_info", ["56356", "zh-CN"]);
|
||||
this.$i18n.locale = "en";
|
||||
this.gotoWhere(
|
||||
`/pages/verification/stepOne?money=${this.form_data.money.value}&num_dine=${this.form_data.num_dine}`
|
||||
);
|
||||
uni.setStorageSync("heXiaoData", {
|
||||
totalMoney: +this.form_data.money.value,
|
||||
userNum: this.form_data.num_dine,
|
||||
dTicket: 0, // 优惠券抵扣
|
||||
dIntegral: 0, // 积分抵扣
|
||||
dMoney: 0, // 抵扣后金额
|
||||
coupon: [], // 选中的优惠券
|
||||
});
|
||||
return;
|
||||
// 写死
|
||||
// uni.setStorageSync("customer_info", ["39207", "zh-CN"]);
|
||||
// this.$i18n.locale = "en";
|
||||
// uni.setStorageSync("heXiaoData", {
|
||||
// totalMoney: +this.form_data.money.value,
|
||||
// userNum: this.form_data.num_dine,
|
||||
// dTicket: 0, // 优惠券抵扣
|
||||
// dIntegral: 0, // 积分抵扣
|
||||
// dMoney: 0, // 抵扣后金额
|
||||
// coupon: [], // 选中的优惠券
|
||||
// });
|
||||
// this.gotoWhere(
|
||||
// `/pages/verification/stepOne?money=${this.form_data.money.value}&num_dine=${this.form_data.num_dine}`
|
||||
// );
|
||||
// return;
|
||||
// 允许从相机和相册扫码
|
||||
if (parseInt(this.form_data.money.value) < 0) return;
|
||||
if (parseInt(this.form_data.num_dine) < 0) return;
|
||||
|
Reference in New Issue
Block a user