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

支付问题

parent ce87018a
...@@ -59,22 +59,8 @@ export default { ...@@ -59,22 +59,8 @@ export default {
payList: this?.value?.payList || {} payList: this?.value?.payList || {}
}; };
}, },
mounted() { mounted() {},
console.log(this.value, 'value'); methods: {}
},
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);
}
}
}; };
</script> </script>
<style lang="less"> <style lang="less">
......
...@@ -89,11 +89,10 @@ export default { ...@@ -89,11 +89,10 @@ export default {
}, },
methods: { methods: {
changePayType({ payType, mergePayPretreatmentInfo }) { changePayType({ payType, mergePayPretreatmentInfo }) {
console.log(mergePayPretreatmentInfo, 'mergePayPretreatmentInfo');
if (this.disabled || this.creditPayInfo.disabled) { if (this.disabled || this.creditPayInfo.disabled) {
return; return;
} }
this.payCard.changePayType(payType, mergePayPretreatmentInfo); this.pay.changePayType(payType, mergePayPretreatmentInfo);
}, },
openCouponModal() { openCouponModal() {
if (this.couponDisabled) return; 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