Commit d06fd1d9 authored by Kittisak Maneewong's avatar Kittisak Maneewong

Edit migrate company

parent 3523450e
...@@ -28,6 +28,8 @@ class CreateCompaniesTable extends Migration ...@@ -28,6 +28,8 @@ class CreateCompaniesTable extends Migration
$table->string('province'); $table->string('province');
$table->string('zipcode'); $table->string('zipcode');
$table->string('imageMap')->nullable(); $table->string('imageMap')->nullable();
$table->string('lat')->nullable();
$table->string('long')->nullable();
$table->string('about')->nullable(); $table->string('about')->nullable();
$table->string('bts')->nullable(); $table->string('bts')->nullable();
$table->string('mrt')->nullable(); $table->string('mrt')->nullable();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -27,12 +27,14 @@ ...@@ -27,12 +27,14 @@
outline outline
label="ชื่อบริษัท" label="ชื่อบริษัท"
:rules="[rules.required]" :rules="[rules.required]"
v-model="company_name"
class="my-ip" class="my-ip"
></v-text-field> ></v-text-field>
<label class="font-weight-bold">ชื่อผู้ติดต่อ <span class="red--text">&nbsp;*</span></label> <label class="font-weight-bold">ชื่อผู้ติดต่อ <span class="red--text">&nbsp;*</span></label>
<v-text-field <v-text-field
outline outline
label="ชื่อผู้ติดต่อ" label="ชื่อผู้ติดต่อ"
v-model="company_owner"
:rules="[rules.required]" :rules="[rules.required]"
class="my-ip" class="my-ip"
></v-text-field> ></v-text-field>
...@@ -40,6 +42,7 @@ ...@@ -40,6 +42,7 @@
<v-text-field <v-text-field
outline outline
label="เบอร์ผู้ติดต่อ" label="เบอร์ผู้ติดต่อ"
v-model="phone_no"
:rules="[rules.required]" :rules="[rules.required]"
class="my-ip" class="my-ip"
></v-text-field> ></v-text-field>
...@@ -49,6 +52,7 @@ ...@@ -49,6 +52,7 @@
<v-text-field <v-text-field
outline outline
label="อีเมล" label="อีเมล"
v-model="email"
:rules="[rules.required, rules.email]" :rules="[rules.required, rules.email]"
class="my-ip" class="my-ip"
></v-text-field> ></v-text-field>
...@@ -57,12 +61,14 @@ ...@@ -57,12 +61,14 @@
outline outline
label="Fax" label="Fax"
class="my-ip" class="my-ip"
v-model="fax"
></v-text-field> ></v-text-field>
<label class="font-weight-bold">เว็บไซต์ <span class="red--text"></span></label> <label class="font-weight-bold">เว็บไซต์ <span class="red--text"></span></label>
<v-text-field <v-text-field
outline outline
label="เว็บไซต์" label="เว็บไซต์"
class="my-ip" class="my-ip"
v-model="website"
></v-text-field> ></v-text-field>
</v-flex> </v-flex>
</v-layout> </v-layout>
...@@ -75,6 +81,7 @@ ...@@ -75,6 +81,7 @@
outline outline
label="ที่อยู่" label="ที่อยู่"
:rules="[rules.required]" :rules="[rules.required]"
v-model="addr"
class="my-1" class="my-1"
></v-textarea> ></v-textarea>
<label class="font-weight-bold">จังหวัด <span class="red--text">&nbsp;*</span></label> <label class="font-weight-bold">จังหวัด <span class="red--text">&nbsp;*</span></label>
...@@ -105,6 +112,7 @@ ...@@ -105,6 +112,7 @@
outline outline
label="เกี่ยวกับบริษัท" label="เกี่ยวกับบริษัท"
class="my-1" class="my-1"
v-model="about"
></v-textarea> ></v-textarea>
</v-flex> </v-flex>
<v-flex sm6 xs12 class="px-3"> <v-flex sm6 xs12 class="px-3">
...@@ -166,6 +174,7 @@ ...@@ -166,6 +174,7 @@
<v-select <v-select
label="เลือก" label="เลือก"
:items="bts" :items="bts"
v-model="bts"
></v-select> ></v-select>
</v-flex> </v-flex>
<v-flex sm3 xs12 class="px-3"> <v-flex sm3 xs12 class="px-3">
...@@ -173,6 +182,7 @@ ...@@ -173,6 +182,7 @@
<v-select <v-select
label="เลือก" label="เลือก"
:items="mrt" :items="mrt"
v-model="mrt"
></v-select> ></v-select>
</v-flex> </v-flex>
<v-flex sm3 xs12 class="px-3"> <v-flex sm3 xs12 class="px-3">
...@@ -180,12 +190,15 @@ ...@@ -180,12 +190,15 @@
<v-select <v-select
label="เลือก" label="เลือก"
:items="arl" :items="arl"
v-model="arl"
></v-select> ></v-select>
</v-flex> </v-flex>
<v-flex sm3 xs12 class="px-3"> <v-flex sm3 xs12 class="px-3">
<label class="font-weight-bold">สายรถเมล์</label> <label class="font-weight-bold">สายรถเมล์</label>
<VTextField <VTextField
label="สายรถเมล์"/> label="สายรถเมล์"
v-model="bus"
></VTextField>
</v-flex> </v-flex>
<v-flex sm12 class="px-3"> <v-flex sm12 class="px-3">
<label class="font-weight-bold">การเดินทางเพิ่มเติม</label> <label class="font-weight-bold">การเดินทางเพิ่มเติม</label>
...@@ -195,6 +208,7 @@ ...@@ -195,6 +208,7 @@
outline outline
label="" label=""
class="my-2" class="my-2"
v-model="another"
></v-textarea> ></v-textarea>
</v-flex> </v-flex>
<v-flex sm6 xs12 class="px-3 py-3 detail"> <v-flex sm6 xs12 class="px-3 py-3 detail">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment