@layout("/common/_container.html"){
|
<style>
|
.newWidth, .single-line{
|
max-width:150px !important;display: initial !important;
|
}
|
</style>
|
<div class="ibox float-e-margins">
|
<div class="ibox-content">
|
|
<div class="form-horizontal" id="specialPriceInfoForm">
|
<input hidden id="code" value="${code}">
|
<div class="row">
|
<div class="col-sm-111">
|
|
|
<div class="">
|
@if(language==1){
|
@if(userType==1){
|
<button name="SupendButton-one" style="width: 200px;height: 100px;border-color: #0e9aef;background-color:#0e9aef ;">司机</button>
|
@}
|
@if(userType==2){
|
<button name="SupendButton-two" style="width: 200px;height: 100px;border-color: #0e9aef;background-color: #0e9aef; " onclick="changeColor(this)">用户</button>
|
@}
|
@}
|
@if(language==2){
|
@if(userType==1){
|
<button name="SupendButton-one" style="width: 200px;height: 100px;border-color: #0e9aef;background-color:#0e9aef ;">Driver</button>
|
@}
|
@if(userType==2){
|
<button name="SupendButton-two" style="width: 200px;height: 100px;border-color: #0e9aef;background-color: #0e9aef; " onclick="changeColor(this)">User</button>
|
@}
|
@}
|
@if(language==3){
|
@if(userType==1){
|
<button name="SupendButton-one" style="width: 200px;height: 100px;border-color: #0e9aef;background-color:#0e9aef ;">Pemandu</button>
|
@}
|
@if(userType==2){
|
<button name="SupendButton-two" style="width: 200px;height: 100px;border-color: #0e9aef;background-color: #0e9aef; " onclick="changeColor(this)">Pengguna</button>
|
@}
|
@}
|
|
</div>
|
|
<div class="form-group">
|
@if(language==1){
|
<label class="col-sm-2 control-label">选择车型:</label>
|
@}
|
@if(language==2){
|
<label class="col-sm-2 control-label">Select vehicle type:</label>
|
@}
|
@if(language==3){
|
<label class="col-sm-2 control-label">Pilih Jenis Kendaraan:</label>
|
@}
|
|
<div class="col-sm-10">
|
<select class="form-control" id="serverCarModelId" name="serverCarModelId" style="width: 200px;">
|
@for(obj in modelList!){
|
<option value="${obj.id}" ${obj.id == item.serverCarModelId ? 'selected=selected' : ''}>${obj.name}</option>
|
@}
|
</select>
|
</div>
|
</div>
|
<div class="form-group" style="display: flex">
|
@if(language==1){
|
<label class="col-sm-2 control-label">选择城市:</label>
|
@}
|
@if(language==2){
|
<label class="col-sm-2 control-label">Select city:</label>
|
@}
|
@if(language==3){
|
<label class="col-sm-2 control-label">Pilih Kota:</label>
|
@}
|
|
<div class="col-sm-2">
|
<select class="form-control" id="cityId" name="cityId" style="width: 200px;">
|
<option>${city.cityName}</option>
|
</select>
|
</div>
|
</div>
|
<div class="form-group">
|
@if(language==1){
|
<label class="col-sm-2 control-label">起步价设置:</label>
|
<div class="col-sm-10">
|
起步价为 <input type="text" disabled oninput="checkIsYuan(this)" name="num1" id="num1" value="${json1.num1}" class="form-control newWidth" placeholder="最多5位数"/> Rp,
|
起步包含 <input type="text" disabled oninput="checkIsGongLi(this)" name="num2" id="num2" value="${json1.num2}" class="form-control newWidth" placeholder="最多3位数"/> 公里,
|
<input type="text" disabled oninput="checkIsMinute(this)" name="num3" id="num3" value="${json1.num3}" class="form-control newWidth" placeholder="最多3位数"/> 分钟
|
<br/>
|
</div>
|
@}
|
@if(language==2){
|
<label class="col-sm-2 control-label">Starting price setting:</label>
|
<div class="col-sm-10">
|
The starting price is <input type="text" disabled oninput="checkIsYuan(this)" name="num1" id="num1" value="${json1.num1}" class="form-control newWidth" placeholder="Up to 5 digits"/> Rp,
|
and the starting time includes <input type="text" disabled oninput="checkIsGongLi(this)" name="num2" id="num2" value="${json1.num2}" class="form-control newWidth" placeholder="Up to 3 digits"/> Km,
|
<input type="text" disabled oninput="checkIsMinute(this)" name="num3" id="num3" value="${json1.num3}" class="form-control newWidth" placeholder="Up to 3 digits"/> minutes
|
<br/>
|
</div>
|
@}
|
@if(language==3){
|
<label class="col-sm-2 control-label">Pengaturan harga mulai:</label>
|
<div class="col-sm-10">
|
Harga awal adalah <input type="text" disabled oninput="checkIsYuan(this)" name="num1" id="num1" value="${json1.num1}" class="form-control newWidth" placeholder="Sehingga 5 digit"/> Rp,
|
dan waktu mulai termasuk <input type="text" disabled oninput="checkIsGongLi(this)" name="num2" id="num2" value="${json1.num2}" class="form-control newWidth" placeholder="Sehingga 3 digit"/> 公里,
|
<input type="text" disabled oninput="checkIsMinute(this)" name="num3" id="num3" value="${json1.num3}" class="form-control newWidth" placeholder="Sehingga 3 digit"/> menit
|
<br/>
|
</div>
|
@}
|
|
</div>
|
|
<div class="form-group">
|
@if(language==1){
|
<label class="col-sm-2 control-label">里程费设置:</label>
|
<div class="col-sm-10">
|
超过起步里程后每公里 <input type="text"disabled oninput="checkIsYuan(this)" name="num4" id="num4" value="${json2.num1}" class="form-control newWidth" placeholder="最多5位数"/> Rp
|
<br/>
|
</div>
|
@}
|
@if(language==2){
|
<label class="col-sm-2 control-label">Mileage fee setting:</label>
|
<div class="col-sm-10">
|
per kilometer after exceeding the starting mileage <input type="text"disabled oninput="checkIsYuan(this)" name="num4" id="num4" value="${json2.num1}" class="form-control newWidth" placeholder="Up to 5 digits"/> Rp
|
<br/>
|
</div>
|
@}
|
@if(language==3){
|
<label class="col-sm-2 control-label">Pengaturan biaya jarak tempuh:</label>
|
<div class="col-sm-10">
|
per kilometer setelah melebihi jarak tempuh awal <input type="text"disabled oninput="checkIsYuan(this)" name="num4" id="num4" value="${json2.num1}" class="form-control newWidth" placeholder="Sehingga 5 digit"/> Rp
|
<br/>
|
</div>
|
@}
|
|
|
</div>
|
|
<div class="form-group">
|
@if(language==1){
|
<label class="col-sm-2 control-label">时长费设置:</label>
|
<div class="col-sm-10">
|
超过起步时长后每分钟 <input type="text" disabled oninput="checkIsYuan(this)" name="num5" id="num5" value="${json3.num1}" class="form-control newWidth" placeholder="最多5位数"/> Rp
|
<br/>
|
</div>
|
@}
|
@if(language==2){
|
<label class="col-sm-2 control-label">Time fee setting:</label>
|
<div class="col-sm-10">
|
per minute after the start time <input type="text" disabled oninput="checkIsYuan(this)" name="num5" id="num5" value="${json3.num1}" class="form-control newWidth" placeholder="Up to 5 digits"/> Rp
|
<br/>
|
</div>
|
@}
|
@if(language==3){
|
<label class="col-sm-2 control-label">Pengaturan biaya waktu:</label>
|
<div class="col-sm-10">
|
per menit setelah waktu mulai <input type="text" disabled oninput="checkIsYuan(this)" name="num5" id="num5" value="${json3.num1}" class="form-control newWidth" placeholder="Sehingga 5 digit"/> Rp
|
<br/>
|
</div>
|
@}
|
|
</div>
|
|
<div class="form-group">
|
@if(language==1){
|
<label class="col-sm-2 control-label">等待费设置:</label>
|
<div class="col-sm-10">
|
司机到达预约地点 <input type="text" disabled oninput="checkIsMinute(this)" name="num6" id="num6" value="${json4.num1}" class="form-control newWidth" placeholder="最多3位数"/> 分钟过后开始收取等待费,
|
为 <input type="text" disabled oninput="checkIsYuan(this)" name="num7" id="num7" value="${json4.num2}" class="form-control newWidth" placeholder="最多5位数"/> Rp/分,不足一分钟按照一分钟计算
|
<br/>
|
</div>
|
@}
|
@if(language==2){
|
<label class="col-sm-2 control-label">Waiting fee setting:</label>
|
<div class="col-sm-10">
|
The waiting fee will be charged after <input type="text" disabled oninput="checkIsMinute(this)" name="num6" id="num6" value="${json4.num1}" class="form-control newWidth" placeholder="Up to 3 digits"/> minutes after the driver arrives at the appointment place, which is
|
<input type="text" disabled oninput="checkIsYuan(this)" name="num7" id="num7" value="${json4.num2}" class="form-control newWidth" placeholder="Up to 5 digits"/> Rp/minute, If it is less than one minute, it will be calculated as one minute.
|
<br/>
|
</div>
|
@}
|
@if(language==3){
|
<label class="col-sm-2 control-label">Pengaturan biaya waktu:</label>
|
<div class="col-sm-10">
|
Biaya tunggu akan dibebankan setelah <input type="text" disabled oninput="checkIsMinute(this)" name="num6" id="num6" value="${json4.num1}" class="form-control newWidth" placeholder="最多3位数"/> menit setelah pengemudi tiba di tempat janji temu, yaitu
|
<input type="text" disabled oninput="checkIsYuan(this)" name="num7" id="num7" value="${json4.num2}" class="form-control newWidth" placeholder="最多5位数"/> Rp/menit,Jika kurang dari satu menit, itu akan dihitung sebagai satu menit.
|
<br/>
|
</div>
|
@}
|
|
</div>
|
|
@for(json5 in json5a){
|
<div class="form-group">
|
@if(language==1){
|
<label class="col-sm-2 control-label">高峰期费用设置:</label>
|
<div class="col-sm-10">
|
和 <input type="text" disabled name="num24" id="num24" value="${json5.num1}" class="form-control newWidth" placeholder="选择时间段"/> 为高峰期行车时间,
|
起步价变为 <input type="text" disabled oninput="checkIsYuan(this)" name="num25" id="num25" value="${json5.num2}" class="form-control newWidth" placeholder="最多5位数"/> Rp
|
<br>
|
<br>
|
里程费为每公里 <input type="text" disabled oninput="checkIsYuan(this)" name="num26" id="num26" value="${json5.num3}" class="form-control newWidth" placeholder="最多5位数"/> Rp,
|
时长费为每分钟 <input type="text" disabled oninput="checkIsYuan(this)" name="num27" id="num27" value="${json5.num4}" class="form-control newWidth" placeholder="最多5位数"/> Rp
|
<br>
|
<br>
|
</div>
|
@}
|
@if(language==2){
|
<label class="col-sm-2 control-label">Peak period expense setting:</label>
|
<div class="col-sm-10">
|
<input type="text" disabled name="num24" id="num24" value="${json5.num1}" class="form-control newWidth" placeholder="Select a time period"/> is the peak driving time, and the starting price becomes
|
<input type="text" disabled oninput="checkIsYuan(this)" name="num25" id="num25" value="${json5.num2}" class="form-control newWidth" placeholder="Up to 5 digits"/> Rp
|
<br>
|
<br>
|
The mileage fee is <input type="text" disabled oninput="checkIsYuan(this)" name="num26" id="num26" value="${json5.num3}" class="form-control newWidth" placeholder="Up to 5 digits"/> Rp,
|
per kilometer and the duration fee is <input type="text" disabled oninput="checkIsYuan(this)" name="num27" id="num27" value="${json5.num4}" class="form-control newWidth" placeholder="Up to 5 digits"/> Rp
|
<br>
|
<br>
|
</div>
|
@}
|
@if(language==3){
|
<label class="col-sm-2 control-label">Peak period expense setting:</label>
|
<div class="col-sm-10">
|
<input type="text" disabled name="num24" id="num24" value="${json5.num1}" class="form-control newWidth" placeholder="Pilih periode waktu"/> adalah waktu mengemudi puncak, dan harga awal menjadi
|
<input type="text" disabled oninput="checkIsYuan(this)" name="num25" id="num25" value="${json5.num2}" class="form-control newWidth" placeholder="Sehingga 5 digit"/> Rp
|
<br>
|
<br>
|
Biaya jarak tempuh adalah <input type="text" disabled oninput="checkIsYuan(this)" name="num26" id="num26" value="${json5.num3}" class="form-control newWidth" placeholder="Sehingga 5 digit"/> Rp,
|
per kilometer dan biaya durasi adalah <input type="text" disabled oninput="checkIsYuan(this)" name="num27" id="num27" value="${json5.num4}" class="form-control newWidth" placeholder="Sehingga 5 digit"/> Rp
|
<br>
|
<br>
|
</div>
|
@}
|
|
</div>
|
@}
|
@for(json6 in json6a){
|
<div class="form-group">
|
|
@if(language==1){
|
<label class="col-sm-2 control-label">远途费设置:</label>
|
<div class="col-sm-10">
|
总里程超过 <input type="text" disabled oninput="checkIsGongLi(this)" name="num8" id="num8" value="${json6.num1}" class="form-control newWidth" placeholder="最多3位数"/> 公里
|
不足 <input type="text" disabled oninput="checkIsGongLi(this)" name="num9" id="num9" value="${json6.num2}" class="form-control newWidth" placeholder="最多3位数"/> 公里,
|
超出部分每公里加收 <input type="text"disabled oninput="checkIsYuan(this)" name="num10" id="num10" value="${json6.num3}" class="form-control newWidth" placeholder="最多5位数"/> Rp
|
<br>
|
<br>
|
超过 <input type="text" disabled oninput="checkIsGongLi(this)" name="num11" id="num11" value="${json6.num4}" class="form-control newWidth" placeholder="最多3位数"/> 公里
|
不足 <input type="text" disabled oninput="checkIsGongLi(this)" name="num12" id="num12" value="${json6.num5}" class="form-control newWidth" placeholder="最多3位数"/> 公里时,
|
超出部分每公里加收 <input type="text" disabled oninput="checkIsYuan(this)" name="num13" value="${json6.num6}" id="num13" class="form-control newWidth" placeholder="最多5位数"/> Rp
|
<br/>
|
<br>
|
超过 <input type="text" disabled oninput="checkIsGongLi(this)" name="num14" id="num14" value="${json6.num7}" class="form-control newWidth" placeholder="最多3位数"/> 公里以后,
|
超出部分每公里加收 <input type="text" disabled oninput="checkIsYuan(this)" name="num15" id="num15" value="${json6.num8}" class="form-control newWidth" placeholder="最多5位数"/> Rp
|
<br/>
|
</div>
|
@}
|
@if(language==2){
|
<label class="col-sm-2 control-label">Long-distance fee setting:</label>
|
<div class="col-sm-10">
|
The total mileage is more than <input type="text" disabled oninput="checkIsGongLi(this)" name="num8" id="num8" value="${json6.num1}" class="form-control newWidth" placeholder="Up to 3 digits"/> kilometers but less than
|
<input type="text" disabled oninput="checkIsGongLi(this)" name="num9" id="num9" value="${json6.num2}" class="form-control newWidth" placeholder="Up to 3 digits"/> kilometers,
|
and the excess part will be charged <input type="text"disabled oninput="checkIsYuan(this)" name="num10" id="num10" value="${json6.num3}" class="form-control newWidth" placeholder="Up to 5 digits"/> Rp
|
<br>
|
<br>
|
When the mileage is more than <input type="text" disabled oninput="checkIsGongLi(this)" name="num11" id="num11" value="${json6.num4}" class="form-control newWidth" placeholder="Up to 3 digits"/> kilometers
|
but less than <input type="text" disabled oninput="checkIsGongLi(this)" name="num12" id="num12" value="${json6.num5}" class="form-control newWidth" placeholder="Up to 3 digits"/> kilometers,
|
the excess part will be charged <input type="text" disabled oninput="checkIsYuan(this)" name="num13" value="${json6.num6}" id="num13" class="form-control newWidth" placeholder="Up to 5 digits"/> Rp
|
<br/>
|
<br>
|
After more than <input type="text" disabled oninput="checkIsGongLi(this)" name="num14" id="num14" value="${json6.num7}" class="form-control newWidth" placeholder="Up to 3 digits"/> kilometers,
|
the excess part will be charged <input type="text" disabled oninput="checkIsYuan(this)" name="num15" id="num15" value="${json6.num8}" class="form-control newWidth" placeholder="Up to 5 digits"/> Rp
|
<br/>
|
</div>
|
@}
|
@if(language==3){
|
<label class="col-sm-2 control-label">Pengaturan biaya jarak jauh:</label>
|
<div class="col-sm-10">
|
Total jarak tempuh lebih dari <input type="text" disabled oninput="checkIsGongLi(this)" name="num8" id="num8" value="${json6.num1}" class="form-control newWidth" placeholder="Sehingga 3 digit"/> kilometer tetapi kurang dari
|
<input type="text" disabled oninput="checkIsGongLi(this)" name="num9" id="num9" value="${json6.num2}" class="form-control newWidth" placeholder="Sehingga 3 digit"/> kilometer,
|
dan kelebihan bagian akan dibebankan <input type="text"disabled oninput="checkIsYuan(this)" name="num10" id="num10" value="${json6.num3}" class="form-control newWidth" placeholder="Sehingga 5 digit"/> Rp
|
<br>
|
<br>
|
Ketika jarak tempuh lebih dari <input type="text" disabled oninput="checkIsGongLi(this)" name="num11" id="num11" value="${json6.num4}" class="form-control newWidth" placeholder="Sehingga 3 digit"/> kilometer tetapi kurang dari
|
<input type="text" disabled oninput="checkIsGongLi(this)" name="num12" id="num12" value="${json6.num5}" class="form-control newWidth" placeholder="Sehingga 3 digit"/> kilometer,
|
bagian berlebih akan dikenakan biaya <input type="text" disabled oninput="checkIsYuan(this)" name="num13" value="${json6.num6}" id="num13" class="form-control newWidth" placeholder="Sehingga 5 digit"/> Rp
|
<br/>
|
<br>
|
Setelah lebih dari <input type="text" disabled oninput="checkIsGongLi(this)" name="num14" id="num14" value="${json6.num7}" class="form-control newWidth" placeholder="Sehingga 3 digit"/> kilometer,
|
bagian berlebih akan dibebankan <input type="text" disabled oninput="checkIsYuan(this)" name="num15" id="num15" value="${json6.num8}" class="form-control newWidth" placeholder="Sehingga 5 digit"/> Rp
|
<br/>
|
</div>
|
@}
|
|
|
|
</div>
|
@}
|
@for(json7 in json7a){
|
<div class="form-group">
|
|
|
@if(language==1){
|
<label class="col-sm-2 control-label">夜间行驶费用设置:</label>
|
<div class="col-sm-10">
|
<input type="text" name="num16" id="num16" disabled value="${json7.num1}" class="form-control newWidth" placeholder="选择时间"/> 点为夜间行驶时间,
|
起步价变为 <input type="text" disabled oninput="checkIsYuan(this)" name="num17" id="num17" value="${json7.num2}" class="form-control newWidth" placeholder="最多5位数"/> Rp
|
<br>
|
<br>
|
里程费为每公里 <input type="text" disabled oninput="checkIsYuan(this)" name="num18" id="num18" value="${json7.num3}" class="form-control newWidth" placeholder="最多5位数"/> Rp,
|
时长费为每分钟 <input type="text" disabled oninput="checkIsYuan(this)" name="num19" id="num19" value="${json7.num4}" class="form-control newWidth" placeholder="最多5位数"/> Rp
|
<br>
|
<br>
|
远途费为每公里加收 <input type="text" disabled oninput="checkIsYuan(this)" name="num20" id="num20" value="${json7.num5}" class="form-control newWidth" placeholder="最多5位数"/>
|
、 <input type="text" disabled oninput="checkIsYuan(this)" name="num21" id="num21" value="${json7.num6}" class="form-control newWidth" placeholder="最多5位数"/>
|
、 <input type="text" disabled oninput="checkIsYuan(this)" name="num22" id="num22" value="${json7.num7}" class="form-control newWidth" placeholder="最多5位数"/> Rp
|
<br/>
|
</div>
|
@}
|
@if(language==2){
|
<label class="col-sm-2 control-label">Night driving cost setting:</label>
|
<div class="col-sm-10">
|
<input type="text" name="num16" id="num16" disabled value="${json7.num1}" class="form-control newWidth" placeholder="selection time"/> is the night driving time, and the starting price will be
|
<input type="text" disabled oninput="checkIsYuan(this)" name="num17" id="num17" value="${json7.num2}" class="form-control newWidth" placeholder="Up to 5 digits"/> Rp
|
<br>
|
<br>
|
The mileage fee is <input type="text" disabled oninput="checkIsYuan(this)" name="num18" id="num18" value="${json7.num3}" class="form-control newWidth" placeholder="Up to 5 digits"/> Rp,
|
per kilometer and the duration fee is <input type="text" disabled oninput="checkIsYuan(this)" name="num19" id="num19" value="${json7.num4}" class="form-control newWidth" placeholder="Up to 5 digits"/> Rp/minute
|
<br>
|
<br>
|
The long-distance fee will be added <input type="text" disabled oninput="checkIsYuan(this)" name="num20" id="num20" value="${json7.num5}" class="form-control newWidth" placeholder="Up to 5 digits"/>
|
、 <input type="text" disabled oninput="checkIsYuan(this)" name="num21" id="num21" value="${json7.num6}" class="form-control newWidth" placeholder="Up to 5 digits"/>
|
、 <input type="text" disabled oninput="checkIsYuan(this)" name="num22" id="num22" value="${json7.num7}" class="form-control newWidth" placeholder="Up to 5 digits"/> Rp/kilometer
|
<br/>
|
</div>
|
@}
|
@if(language==3){
|
<label class="col-sm-2 control-label">Pengaturan biaya mengemudi malam:</label>
|
<div class="col-sm-10">
|
<input type="text" name="num16" id="num16" disabled value="${json7.num1}" class="form-control newWidth" placeholder="waktu pemilihan"/> adalah waktu mengemudi malam, dan harga awal akan,
|
<input type="text" disabled oninput="checkIsYuan(this)" name="num17" id="num17" value="${json7.num2}" class="form-control newWidth" placeholder="Sehingga 5 digit"/> Rp
|
<br>
|
<br>
|
Biaya jarak tempuh adalah <input type="text" disabled oninput="checkIsYuan(this)" name="num18" id="num18" value="${json7.num3}" class="form-control newWidth" placeholder="Sehingga 5 digit"/> Rp,
|
per kilometer dan biaya durasi adalah <input type="text" disabled oninput="checkIsYuan(this)" name="num19" id="num19" value="${json7.num4}" class="form-control newWidth" placeholder="Sehingga 5 digit"/> Rp/menit
|
<br>
|
<br>
|
Biaya jarak jauh akan ditambahkan <input type="text" disabled oninput="checkIsYuan(this)" name="num20" id="num20" value="${json7.num5}" class="form-control newWidth" placeholder="Sehingga 5 digit"/>
|
、 <input type="text" disabled oninput="checkIsYuan(this)" name="num21" id="num21" value="${json7.num6}" class="form-control newWidth" placeholder="Sehingga 5 digit"/>
|
、 <input type="text" disabled oninput="checkIsYuan(this)" name="num22" id="num22" value="${json7.num7}" class="form-control newWidth" placeholder="Sehingga 5 digit"/> Rp/kilometer
|
<br/>
|
</div>
|
@}
|
|
|
|
</div>
|
@}
|
|
|
|
@if(sub==1){
|
<div class="form-group">
|
<div class="col-sm-2 col-sm-offset-1">
|
@if(language==1){
|
<#SelectCon id="check" name="审核结果:" >
|
<option value="2">审核通过</option>
|
<option value="3">驳回</option>
|
</#SelectCon>
|
@}
|
@if(language==2){
|
<#SelectCon id="check" name="Aaudit result:" >
|
<option value="2">Pass the aduit</option>
|
<option value="3">Has been rejected</option>
|
</#SelectCon>
|
@}
|
@if(language==3){
|
<#SelectCon id="check" name="Hasil aaudit:" >
|
<option value="2">Lulus adiit</option>
|
<option value="3">Telah ditolak</option>
|
</#SelectCon>
|
@}
|
|
</div>
|
</div>
|
|
@if(language==1){
|
<#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="TSystemPriceInfoDlg.submit()"/>
|
<#button btnCss="danger" name="返回" id="ensure" icon="fa-check" clickFun="TSystemPriceInfoDlg.close()"/>
|
@}
|
@if(language==2){
|
<#button btnCss="info" name="Submit" id="ensure" icon="fa-check" clickFun="TSystemPriceInfoDlg.submit()"/>
|
<#button btnCss="danger" name="Cancel" id="ensure" icon="fa-check" clickFun="TSystemPriceInfoDlg.close()"/>
|
@}
|
@if(language==3){
|
<#button btnCss="info" name="Kirim" id="ensure" icon="fa-check" clickFun="TSystemPriceInfoDlg.submit()"/>
|
<#button btnCss="danger" name="Batal" id="ensure" icon="fa-check" clickFun="TSystemPriceInfoDlg.close()"/>
|
@}
|
|
@}
|
@if(sub==2){
|
@if(language==1){
|
<#button btnCss="danger" name="返回" id="ensure" icon="fa-check" clickFun="TSystemPriceInfoDlg.close()"/>
|
@}
|
@if(language==2){
|
<#button btnCss="danger" name="return" id="ensure" icon="fa-check" clickFun="TSystemPriceInfoDlg.close()"/>
|
@}
|
@if(language==3){
|
<#button btnCss="danger" name="kembali" id="ensure" icon="fa-check" clickFun="TSystemPriceInfoDlg.close()"/>
|
@}
|
|
@}
|
</div>
|
</div>
|
|
</div>
|
|
</div>
|
</div>
|
<script src="${ctxPath}/modular/system/tSystemPrice/tSystemPrice_info.js"></script>
|
<script type="text/javascript">
|
var language =$("#language").val()
|
laydate.render({
|
elem: '#num16'
|
,type: 'time'
|
,range: '-'
|
,format: 'HH:mm'
|
,lang:"en"
|
});
|
laydate.render({
|
elem: '#num23'
|
,type: 'time'
|
,range: '-'
|
,format: 'HH:mm'
|
,lang:"en"
|
});
|
laydate.render({
|
elem: '#num24'
|
,type: 'time'
|
,range: '-'
|
,format: 'HH:mm'
|
,lang:"en"
|
});
|
|
var regDouble = /^(0|[1-9]\d{0,4})(\.\d{1,2})?$/;
|
var regInt = /^[0-9]{0,3}$/;
|
function checkIsYuan(obj){
|
var num = $(obj).val();
|
|
if(!regDouble.test(num)){
|
if(language==1){
|
layer.msg("【Rp】输入框不能超过5位数,保留两位小数");
|
}else if(language==2){
|
layer.msg("[Rp] The input box cannot exceed 5 digits, and two decimal places are reserved");
|
}else {
|
layer.msg("Kotak masukan [Rp] tidak dapat melebihi 5 digit, dengan dua tempat perpuluhan dirahasiakan");
|
}
|
|
}
|
}
|
function checkIsGongLi(obj){
|
var num = $(obj).val();
|
if(!regDouble.test(num)){
|
if(language==1){
|
layer.msg("【公里】输入框不能超过3位数,保留两位小数");
|
}else if(language==2){
|
layer.msg("[Km] The input box cannot exceed 3 digits, and two decimal places are reserved");
|
}else {
|
layer.msg("Kotak masukan [Km] tidak dapat melebihi 3 digit, dengan dua tempat perpuluhan dirahasiakan");
|
}
|
}
|
if (obj.id == "num9"){
|
$("#num11").val(num);
|
}else if (obj.id == "num12"){
|
$("#num14").val(num);
|
}
|
}
|
function checkIsMinute(obj){
|
var num = $(obj).val();
|
if(!regInt.test(num)){
|
if(language==1){
|
layer.msg("【分钟】输入框不能超过3位数,保留两位小数");
|
}else if(language==2){
|
layer.msg("[minute] The input box cannot exceed 3 digits, and two decimal places are reserved");
|
}else {
|
layer.msg("Kotak masukan [menit] tidak dapat melebihi 3 digit, dengan dua tempat perpuluhan dirahasiakan");
|
}
|
}
|
}
|
|
</script>
|
@}
|