@layout("/common/_container.html"){
|
<div class="ibox float-e-margins">
|
<div class="ibox-content">
|
<div class="form-horizontal" id="sysCouponActivityInfoForm">
|
<input type="hidden" id="activityId">
|
<div class="row">
|
<div class="col-sm-6">
|
|
@if(language==1){
|
<#input id="name" name="活动标题" underline="true"/>
|
@}
|
@if(language==2){
|
<#input id="name" name="Activity title" underline="true"/>
|
@}
|
@if(language==3){
|
<#input id="name" name="Judul aktivitas" underline="true"/>
|
@}
|
|
@if(language==1){
|
<#button name="选择优惠券" icon="fa-plus" clickFun="SysCouponActivityInfoDlg.toSelectCouponOpt()" style="margin-left: 12%;"/>
|
@}
|
@if(language==2){
|
<#button name="Select coupons" icon="fa-plus" clickFun="SysCouponActivityInfoDlg.toSelectCouponOpt()" style="margin-left: 12%;"/>
|
@}
|
@if(language==3){
|
<#button name="Pilih Kupon" icon="fa-plus" clickFun="SysCouponActivityInfoDlg.toSelectCouponOpt()" style="margin-left: 12%;"/>
|
@}
|
|
@if(language==1){
|
<#input id="couponType" name="优惠券类型" readonly="true" />
|
@}
|
@if(language==2){
|
<#input id="couponType" name="Coupon type" readonly="true" />
|
@}
|
@if(language==3){
|
<#input id="couponType" name="Jenis kupon" readonly="true" />
|
@}
|
|
@if(language==1){
|
<#input id="couponUseType" name="服务类型" underline="true" readonly="true" />
|
@}
|
@if(language==2){
|
<#input id="couponUseType" name="Service type" underline="true" readonly="true" />
|
@}
|
@if(language==3){
|
<#input id="couponUseType" name="Jenis Layanan" underline="true" readonly="true" />
|
@}
|
|
@if(language==1){
|
<#input id="money" name="金额" underline="true" readonly="true" />
|
@}
|
@if(language==2){
|
<#input id="money" name="Sum of money" underline="true" readonly="true" />
|
@}
|
@if(language==3){
|
<#input id="money" name="Jumlah uang" underline="true" readonly="true" />
|
@}
|
|
@if(language==1){
|
<#input id="effective" name="有效天数" underline="true"/>
|
@}
|
@if(language==2){
|
<#input id="effective" name="Effective days" underline="true"/>
|
@}
|
@if(language==3){
|
<#input id="effective" name="Hari -hari yang efektif" underline="true"/>
|
@}
|
|
@if(language==1){
|
<#input id="number" name="张数" underline="true"/>
|
@}
|
@if(language==2){
|
<#input id="number" name="Number of sheets" underline="true"/>
|
@}
|
@if(language==3){
|
<#input id="number" name="Jumlah lembar" underline="true"/>
|
@}
|
|
@if(language==1){
|
<#input id="allNum" name="优惠券总数" underline="true"/>
|
@}
|
@if(language==2){
|
<#input id="allNum" name="Total Coupons" underline="true"/>
|
@}
|
@if(language==3){
|
<#input id="allNum" name="Total Coupons" underline="true"/>
|
@}
|
<div class="form-group">
|
|
@if(language==1){
|
<label class="col-sm-3 control-label">赠送用户:</label>
|
@}
|
@if(language==2){
|
<label class="col-sm-3 control-label">Send gifts to users:</label>
|
@}
|
@if(language==3){
|
<label class="col-sm-3 control-label">Kirim Hadiah ke Pengguna:</label>
|
@}
|
<div class="col-sm-9" style="display: flex;align-items: center;">
|
<div class="radio radio-info radio-inline">
|
<input type="radio" id="sendType1" value="1" onclick="update1()" name="sendType" checked="" >
|
|
@if(language==1){
|
<label for="sendType1"> 全部用户 </label>
|
@}
|
@if(language==2){
|
<label for="sendType1"> All users </label>
|
@}
|
@if(language==3){
|
<label for="sendType1"> Semua pengguna </label>
|
@}
|
</div>
|
<div class="radio radio-success radio-inline">
|
<input type="radio" id="sendType2" value="2" onclick="update1()" name="sendType" >
|
|
@if(language==1){
|
<label for="sendType2"> 选择用户 </label>
|
@}
|
@if(language==2){
|
<label for="sendType2"> Select User </label>
|
@}
|
@if(language==3){
|
<label for="sendType2"> Pilih Pengguna </label>
|
@}
|
|
</div>
|
<div id="btn" hidden>
|
|
@if(language==1){
|
<#button name="Choice" icon="fa-plus" clickFun="SysCouponActivityInfoDlg.toSelectUserOpt()"/>
|
@}
|
@if(language==2){
|
<#button name="" icon="fa-plus" clickFun="SysCouponActivityInfoDlg.toSelectUserOpt()"/>
|
@}
|
@if(language==3){
|
<#button name="Pilihan" icon="fa-plus" clickFun="SysCouponActivityInfoDlg.toSelectUserOpt()"/>
|
@}
|
</div>
|
</div>
|
</div>
|
<div class="form-group">
|
|
@if(language==1){
|
<label class="col-sm-3 control-label">已添加用户</label>
|
@}
|
@if(language==2){
|
<label class="col-sm-3 control-label">Has added user</label>
|
@}
|
@if(language==3){
|
<label class="col-sm-3 control-label">Telah menambahkan pengguna</label>
|
@}
|
<div class="col-sm-9">
|
<div style="height: 200px; border: 1px solid #e5e6e7;overflow-y: auto;">
|
<table class="table table-striped table-bordered table-hover table-condensed">
|
<thead>
|
|
@if(language==1){
|
<tr>
|
<th style="width: 300px;">用户昵称</th>
|
<th style="width: 300px;">手机号</th>
|
<th style="width: 300px;">注册地所属分公司</th>
|
<th style="width: 100px;">操作</th>
|
</tr>
|
@}
|
@if(language==2){
|
<tr>
|
<th style="width: 300px;">User nickname</th>
|
<th style="width: 300px;">Mobile phone number</th>
|
<th style="width: 300px;">Registered address of branch</th>
|
<th style="width: 100px;">Operate</th>
|
</tr>
|
@}
|
@if(language==3){
|
<tr>
|
<th style="width: 300px;">Nama panggilan pengguna</th>
|
<th style="width: 300px;">Nomor ponsel</th>
|
<th style="width: 300px;">Alamat Terdaftar Cabang</th>
|
<th style="width: 100px;">Beroperasi</th>
|
</tr>
|
@}
|
</thead>
|
<tbody id="coun">
|
|
</tbody>
|
</table>
|
</div>
|
</div>
|
</div>
|
</div>
|
|
|
</div>
|
|
<div class="row btn-group-m-t">
|
<div class="col-sm-10">
|
|
@if(language==1){
|
<#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="SysCouponActivityInfoDlg.addSubmit()"/>
|
@}
|
@if(language==2){
|
<#button btnCss="info" name="Submit" id="ensure" icon="fa-check" clickFun="SysCouponActivityInfoDlg.addSubmit()"/>
|
@}
|
@if(language==3){
|
<#button btnCss="info" name="Kirim" id="ensure" icon="fa-check" clickFun="SysCouponActivityInfoDlg.addSubmit()"/>
|
@}
|
|
@if(language==1){
|
<#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="SysCouponActivityInfoDlg.close()"/>
|
@}
|
@if(language==2){
|
<#button btnCss="danger" name="Cancel" id="cancel" icon="fa-eraser" clickFun="SysCouponActivityInfoDlg.close()"/>
|
@}
|
@if(language==3){
|
<#button btnCss="danger" name="Batal" id="cancel" icon="fa-eraser" clickFun="SysCouponActivityInfoDlg.close()"/>
|
@}
|
</div>
|
</div>
|
</div>
|
|
</div>
|
</div>
|
<script src="${ctxPath}/modular/system/sysCouponActivity/sysCouponActivity_info.js"></script>
|
<script>
|
function update1() {
|
let a = $("input[name='sendType']:checked").val()
|
if(a==1){
|
$("#btn").hide()
|
}else {
|
$("#btn").show()
|
}
|
}
|
</script>
|
@}
|