but missing function back
This commit is contained in:
parent
ff5f8c5b29
commit
9fd65de29e
1 changed files with 11 additions and 1 deletions
|
|
@ -949,7 +949,17 @@ export const useMainStore = defineStore({
|
||||||
}).then((response) => resolve(response), (error) => reject(error));
|
}).then((response) => resolve(response), (error) => reject(error));
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
getCarrierAccountInfo() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
globalMethods.callHttpClient({
|
||||||
|
method: endpoints.GetAccountInfo.method,
|
||||||
|
endpoint: endpoints.GetAccountInfo.url + this.issConfig.parentAccountNumber
|
||||||
|
}).then((response) => {
|
||||||
|
this.order.carrierPhoneNumber = response.data.phoneNumber;
|
||||||
|
return resolve(response.data);
|
||||||
|
}).catch((error) => reject(error));
|
||||||
|
});
|
||||||
|
},
|
||||||
async getSupportingItems() {
|
async getSupportingItems() {
|
||||||
const { glassParts } = this.lineItems;
|
const { glassParts } = this.lineItems;
|
||||||
const { carId } = this.vehicle;
|
const { carId } = this.vehicle;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue