From 4e4e0524c709d69faf2d527d189b5fefa5d5cf77 Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Mon, 7 Oct 2019 14:26:03 +0800 Subject: [PATCH] large commit --- .../vue/components/order/forms/OrderFormComponent.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/resources/assets/vue/components/order/forms/OrderFormComponent.vue b/resources/assets/vue/components/order/forms/OrderFormComponent.vue index 0d1e9b4..7fecd0b 100644 --- a/resources/assets/vue/components/order/forms/OrderFormComponent.vue +++ b/resources/assets/vue/components/order/forms/OrderFormComponent.vue @@ -37,7 +37,7 @@
- +
@@ -56,7 +56,7 @@
- +
@@ -94,7 +94,8 @@ mounted: function() { $(this.$el).find('form').validate({ rules: { - marking: "required" + marking: "required", + warehouse_id: "required" }, errorPlacement: function ( error, element ) { @@ -148,6 +149,7 @@ 'content-type': 'application/json' } }).then(response => { + $('.modal').modal('hide'); this.clearForm(); //turn off loading animation this.isLoading = false;