This commit is contained in:
Hazirah Nabilah
2017-09-14 12:23:29 +08:00
parent 1d9b634e50
commit 67d3421e15
+109 -47
View File
@@ -327,39 +327,85 @@ License: You must have a valid license purchased only from themeforest(the above
<h3 class="block"><b>List Forwarder</b></h3>
<div class="row">
<form class="form-horizontal" role="form">
<div class="form-group">
<label for="so" class="col-md-2 control-label">Order No.</label>
<div class="col-md-4">
<select class="form-control">
<option>Please choose your order</option>
<option value="000">00012</option>
<option value="001">00114</option>
<option value="002">00216</option>
<option value="004">00418</option>
<option value="006">00624</option>
</select>
<div class="col-md-12">
<div class="form-group">
<div class="form-group">
<label for="so" class="col-md-2 control-label">Type</label>
<div class="col-md-4">
<select id="folder" class="form-control" onchange="show_hide(this);">
<option>Please Select</option>
<option value="000">New Order</option>
<option value="001">Purchase Oder</option>
</select>
</div>
</div>
</div>
<div class="form-group">
<label for="so" class="col-md-2 control-label">Marking</label>
<div class="col-md-4">
<input type="text" class="form-control" id="marking" placeholder="CIEF/00123">
</div>
</div>
<div class="form-group">
<label for="so" class="col-md-2 control-label">Supplier</label>
<div class="col-md-4">
<input type="text" class="form-control" id="supplier" placeholder="Infinite co.">
</div>
</div>
<div class="form-group">
<label for="so" class="col-md-2 control-label">Warehouse Name</label>
<div class="col-md-4">
<input type="text" class="form-control" id="marking" placeholder="IFNT">
</div>
<div class="tab-pane active" id="issue1" style="display: none;">
<form role="form" action="#">
<br/>
<div class="form-group">
<label for="so" class="col-md-2 control-label">Marking</label>
<div class="col-md-4">
<input type="text" class="form-control" id="marking" placeholder="CIEF/00123">
</div>
</div>
<div class="form-group">
<label for="so" class="col-md-2 control-label">Supplier</label>
<div class="col-md-4">
<input type="text" class="form-control" id="supplier" placeholder="Infinite co.">
</div>
</div>
<div class="form-group">
<label for="so" class="col-md-2 control-label">Warehouse Name</label>
<div class="col-md-4">
<input type="text" class="form-control" id="marking" placeholder="IFNT">
</div>
</div>
</form>
</div>
<div class="tab-pane active" id="issue2" style="display: none;">
<form role="form" action="#">
<div class="form-group">
<label for="so" class="col-md-2 control-label">Order No.</label>
<div class="col-md-4">
<select class="form-control">
<option>Please choose your order</option>
<option value="000">00012</option>
<option value="001">00114</option>
<option value="002">00216</option>
<option value="004">00418</option>
<option value="006">00624</option>
</select>
</div>
</div>
<div class="form-group">
<label for="so" class="col-md-2 control-label">Marking</label>
<div class="col-md-4">
<input type="text" class="form-control" id="marking" placeholder="CIEF/00123">
</div>
</div>
<div class="form-group">
<label for="so" class="col-md-2 control-label">Supplier</label>
<div class="col-md-4">
<input type="text" class="form-control" id="supplier" placeholder="Infinite co.">
</div>
</div>
<div class="form-group">
<label for="so" class="col-md-2 control-label">Warehouse Name</label>
<div class="col-md-4">
<input type="text" class="form-control" id="marking" placeholder="IFNT">
</div>
</div>
</form>
</div>
</div>
</div>
</form>
</div>
<div class="form-actions">
<div class="row">
@@ -384,6 +430,7 @@ License: You must have a valid license purchased only from themeforest(the above
<thead>
<th>Export HS Code</th>
<th>Export Stock Desc</th>
<th>Photo</th>
<th>Brand</th>
<th>Model No</th>
<th>Import HS Code</th>
@@ -401,6 +448,22 @@ License: You must have a valid license purchased only from themeforest(the above
<td>Hello </td>
<td> </td>
<td> </td>
<th> </th>
<td> </td>
<td> </td>
<td> </td>
<td>Hello </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Hello </td>
<td> </td>
<td> </td>
<Th> </Th>
<td> </td>
<td> </td>
<td> </td>
@@ -416,20 +479,7 @@ License: You must have a valid license purchased only from themeforest(the above
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td>Hello </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Hello </td>
<td> </td>
<td> </td>
<td> </td>
<th> </th>
<td> </td>
<td> </td>
<td>Hello </td>
@@ -445,6 +495,7 @@ License: You must have a valid license purchased only from themeforest(the above
<td> </td>
<td> </td>
<td> </td>
<th> </th>
<td> </td>
<td> </td>
<td>Hello </td>
@@ -700,11 +751,22 @@ License: You must have a valid license purchased only from themeforest(the above
ordering: false,
info: false});
$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
$('#user2').DataTable().columns.adjust().responsive.recalc();
});
$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
$('#user2').DataTable().columns.adjust().responsive.recalc();
});
})
});
$( "#folder" ).change(function() {
var select_value = $(this).val();
if(select_value == "000"){
$("#issue1").show();
$("#issue2").hide();
}else if(select_value == "001"){
$("#issue2").show();
$("#issue1").hide();
}
});
</script>
</body>