Commit c9644af5 authored by FE-安焕焕's avatar FE-安焕焕 👣

支付问题

parent ce87018a
......@@ -59,22 +59,8 @@ export default {
payList: this?.value?.payList || {}
};
},
mounted() {
console.log(this.value, 'value');
},
methods: {
changePayType(payType) {
// 需要初始化全部的选中状态
for (let item in this.payList) {
if (this.payList[item].payType === payType) {
this.payList[item].isCheck = true;
continue;
}
this.payList[item].isCheck = false;
}
this.$emit('changePayType', payType);
}
}
mounted() {},
methods: {}
};
</script>
<style lang="less">
......
......@@ -89,11 +89,10 @@ export default {
},
methods: {
changePayType({ payType, mergePayPretreatmentInfo }) {
console.log(mergePayPretreatmentInfo, 'mergePayPretreatmentInfo');
if (this.disabled || this.creditPayInfo.disabled) {
return;
}
this.payCard.changePayType(payType, mergePayPretreatmentInfo);
this.pay.changePayType(payType, mergePayPretreatmentInfo);
},
openCouponModal() {
if (this.couponDisabled) return;
......
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