订单结算修改,增加限时折扣
This commit is contained in:
@@ -162,12 +162,10 @@ const radiovalue = defineModel({
|
||||
watch(
|
||||
() => props.disablePayType,
|
||||
(newval) => {
|
||||
console.log('禁止支付方式', newval);
|
||||
|
||||
const canUsePayType = paymentMethodList.value.filter((item) => {
|
||||
return !newval.includes(item.name);
|
||||
});
|
||||
console.log('可用支付方式', canUsePayType);
|
||||
if (canUsePayType.find((v) => v.type == radiovalue.value.type)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user