无关风月
2025-05-08 9486766c806fe1d9e082b2fd02ea1cc558f1b443
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
@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>
@}