This commit is contained in:
parent
782c369e28
commit
1a91ef116f
|
|
@ -499,17 +499,19 @@
|
|||
|
||||
backToSavedBillingAddress: function () {
|
||||
this.new_billing_address = false;
|
||||
setTimeout(() => {
|
||||
this.validateForm('address-form');
|
||||
}, 0);
|
||||
this.validateFormAfterAction()
|
||||
},
|
||||
|
||||
backToSavedShippingAddress: function () {
|
||||
this.new_shipping_address = false;
|
||||
this.validateFormAfterAction()
|
||||
},
|
||||
|
||||
validateFormAfterAction: function () {
|
||||
setTimeout(() => {
|
||||
this.validateForm('address-form');
|
||||
}, 0);
|
||||
},
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -79,11 +79,11 @@
|
|||
<div class="mt10 mb10" v-if="address.billing.address_id">
|
||||
<span class="checkbox fs16 display-inbl">
|
||||
<input
|
||||
type="checkbox"
|
||||
class="ml0"
|
||||
type="checkbox"
|
||||
id="billing[use_for_shipping]"
|
||||
name="billing[use_for_shipping]"
|
||||
@change="setTimeout(() => validateForm('address-form'), 0)"
|
||||
@change="validateFormAfterAction"
|
||||
v-model="address.billing.use_for_shipping" />
|
||||
|
||||
<span class="ml-5">
|
||||
|
|
|
|||
|
|
@ -514,8 +514,8 @@
|
|||
type="checkbox"
|
||||
id="billing[use_for_shipping]"
|
||||
name="billing[use_for_shipping]"
|
||||
v-model="address.billing.use_for_shipping"
|
||||
@change="setTimeout(() => validateForm('address-form'), 0)" />
|
||||
@change="validateFormAfterAction"
|
||||
v-model="address.billing.use_for_shipping" />
|
||||
|
||||
<span class="ml-5">
|
||||
{{ __('shop::app.checkout.onepage.use_for_shipping') }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue