fixed multiple stuff
This commit is contained in:
@@ -65,12 +65,12 @@ Vue.component('warehouse-e-shop', {
|
||||
const response = await axios.post(`${window['TT_CONFIG']['BASE_PATH']}/WarehouseEShopOrder/createOrder`, {
|
||||
shoppingCart: this.shoppingCart,
|
||||
deliveryMode: this.createOrderDialogData.deliveryMode,
|
||||
extRef: this.createOrderDialogData.extRef.trim(),
|
||||
deliveryAddressName: this.createOrderDialogData.deliveryAddressName.trim(),
|
||||
deliveryAddressAdditional: this.createOrderDialogData.deliveryAddressAdditional.trim(),
|
||||
deliveryAddressLine: this.createOrderDialogData.deliveryAddressLine.trim(),
|
||||
deliveryAddressPLZ: this.createOrderDialogData.deliveryAddressPLZ.trim(),
|
||||
deliveryAddressCity: this.createOrderDialogData.deliveryAddressCity.trim(),
|
||||
extRef: this.createOrderDialogData.extRef?.trim(),
|
||||
deliveryAddressName: this.createOrderDialogData.deliveryAddressName?.trim(),
|
||||
deliveryAddressAdditional: this.createOrderDialogData.deliveryAddressAdditional?.trim(),
|
||||
deliveryAddressLine: this.createOrderDialogData.deliveryAddressLine?.trim(),
|
||||
deliveryAddressPLZ: this.createOrderDialogData.deliveryAddressPLZ?.trim(),
|
||||
deliveryAddressCity: this.createOrderDialogData.deliveryAddressCity?.trim(),
|
||||
});
|
||||
if (response.data.success) {
|
||||
this.window.notify('success', response.data.message || 'Erfolgreich gespeichert');
|
||||
|
||||
Reference in New Issue
Block a user