GWY
2022-04-15 b823c7f3569cf9368e2245846e918f78f32e903a
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
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
<apex:page id="page" standardController="TradeCustomerManager__c" extensions="TradeCustomerManagerController" sidebar="true" showHeader="true" action="{!init}">
    <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
    <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
    <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
    <apex:includeScript value="{!URLFOR($Resource.connection20)}"/>
    <apex:includeScript value="{!URLFOR($Resource.apex20)}"/>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no"/>
    <style type="text/css">
        .divObj{
            width: 90%;
        }
        .divObj input[type="text"],select{
            /*border:none;
            outline: none;*/
            height: 25px;
        }
        .divObj input,textarea,select{
            /*background-color: #F0E68C;*/
        }
        .errorMessage{
            font-size: 15px;
            color:#FF0000;
        }
        .juzhong{
            vertical-align:middle!important;
            text-align: center;
        }
        .trHeight{
            width: 100%;
            border: 2px solid #151515;
            border-bottom: 0px;
            border-collapse: collapse;
        }
        .trHeight tr{
            height: 30px;
            border: 0px;
        }
        .trHeight td{
            vertical-align:middle!important;
            border: 0px;
            /*text-align: center;*/
        }
        .isproject{
            height: 30px;
            width: 100%;
            border: 2px solid #151515;
            border-collapse: collapse;
            border-bottom: 0px;
        }
        .isproject tr{
            height: 30px;
            border: 0px;
        }
        .isproject td{
            vertical-align:middle!important;
            border: 1px solid #151515;
            /*text-align: center;*/
        }
        .fileTable{
            width: 100%;
            border:2px solid #151515;
            border-collapse: collapse;
        }
        .fileTable th{
            text-align: center;
            padding:1px 5px 1px 5px;
            border:1px solid #151515;
        }
        .fileTable tr{
            height: 30px;
        }
        .fileTable td{
            vertical-align:middle!important;
            text-align: center;
            padding:1px 5px 1px 5px;
            border:1px solid #151515;
        }
        .buttonCss input,button{
            text-decoration-color:#696969;
            width: 80px; 
            line-height: 20px;
        }
    </style>
    <script>
        j$(document).ready(function() {
            
        });
 
        function noUpdate(){
            var isOnClick = j$(escapeVfId("isOnClick")).value();
            //j$(escapeVfId("page:messageForm:opportunityCode")).attr("style","display:none");
            //j$(escapeVfId("page:messageForm:opportunityCode")).attr("readonly","readonly");
            //j$(escapeVfId("page:messageForm:opportunityCode")).attr("type","hidden");display:none
        }
 
        function statusChabge(str,type){
            if(type == "yes"){
                j$(escapeVfId("page:messageForm:"+str+"no")).attr("checked",false);
            }
            if(type == "no"){
                j$(escapeVfId("page:messageForm:"+str+"yes")).attr("checked",false);
            }
        }
        function tradeCustomerApplaySave(){
            var errorMessageValue = j$(escapeVfId("errorMessageValue")).value();
            if (errorMessageValue!="1") {
                var strList = errorMessageValue.split("-");
                var errorStr = "";
                for(var i = 0 ; i<strList.length ; i++){
                    errorStr += strList[i] + "\n";
                }
                alert(errorStr);
            }
        }
 
        function saveAndBank(){
            var errorMessageValue = j$(escapeVfId("errorMessageValue")).value();
            if (errorMessageValue!="1") {
                var strList = errorMessageValue.split("-");
                var errorStr = "";
                for(var i = 0 ; i<strList.length ; i++){
                    errorStr += strList[i] + "\n";
                }
                if(confirm(errorStr + '是否返回合同页?') == true){
                    returnOrder();
                }
                //noUpdate();
            }else{
                returnOrder();
            }
        }
 
        function deleteFormJS(){
            if(confirm('是否删除申请表?') == true){
                    deleteForm();
                    returnOrder();
            }
        }
 
        function refreshPage(code,oppId){
            getOppCode(code,oppId);
        }
 
        function openSearchOpp(){
            var baseUrl = j$(escapeVfId("baseUrl")).value();
            var DealerId = j$(escapeVfId("DealerId")).value();
            //var repairId = j$(escapeVfId("repairId")).value();
            window.open(baseUrl + '/apex/TradeCustomerManagerSearchOpp?DealerId='+DealerId,'pselect', 'width=700,height=600,scrollbars=yes,toolbar=no,status=no,directories=no,menubar=no,resizable=1', true);
        }
 
        function isDeleteFile(){
            var isDeleteFile = j$(escapeVfId("isdeleteFile")).value();
            if(isDeleteFile == "NO"){
                alert("合同已提交,申请表附件不可删除!");
            }
        }
    </script>
    <div class="divObj">
        <apex:form id="messageForm">
            <input id="errorMessageValue" type="hidden" value="{!errorMessage}" />
            <input type="hidden" id="baseUrl" value="{!baseUrl}"/>
            <input type="hidden" id="isOnClick" value="{!isOnClick}"/>
            <input type="hidden" id="DealerId" value="{!trade.DealerId__c}"/>
            <input type="hidden" id="isdeleteFile" value="{!isdeleteFile}"/>
            <apex:actionFunction name="returnOrder" action="{!returnOrder}" reRender="" oncomplete="">
            </apex:actionFunction>
            <apex:actionFunction name="deleteForm" action="{!deleteForm}" reRender="" oncomplete="">
            </apex:actionFunction>
            <apex:actionFunction name="getOppCode" action="{!getOppCode}" reRender="messageForm" oncomplete="">
                <apex:param assignTo="{!trade.oppCodeLink__c}" name="code" value=""></apex:param>
                <apex:param assignTo="{!trade.oppId__c}" name="oppId" value=""></apex:param>
            </apex:actionFunction>
            <table class="trHeight">
                <tr>
                    <td class="juzhong" colspan="4">
                        <font style="font-size:25px;font-weight:bold;border-bottom:2px solid #000;">贸易管理悬念客户(B类)申请表</font>
                    </td>
                </tr>
                <tr>
                    <td colspan="4"></td>
                </tr>
                <tr>
                    <td class="juzhong">
                        <font style="font-size:15px;font-weight:bold;">重复客户</font>
                    </td>
                    <td class="juzhong">
                        <apex:inputField value="{!trade.isAloneCustomer__c}"/>
                    </td>
                    <td colspan="2">
                        <font style="font-size: 5px;color: #FF0000;">填写提示:</font><br/>
                        <font style="color: #FF0000;">重复用户的定义:2年内曾被OCSM-B类审核通过的用户(具体到最终使用人),且同时满足以下a,b,c的条件。</font><br/>
                        <font style="color: #FF0000;">a.使用者的所属单位与部门没有发生变化。</font><br/>
                        <font style="color: #FF0000;">b.使用者仅用于民用的使用目的没有变化。</font><br/>
                        <font style="color: #FF0000;">c.使用者及其所属的机构(大学、研究机关、企业等)在上回审批通过后无违法行为及合规违反等问题的发生。</font>
                    </td>
                </tr>
                <tr>
                    <td colspan="4"></td>
                </tr>
                <tr>
                    <td class="juzhong">
                        <font style="font-size:15px;font-weight:bold;">客户信息有更新</font>
                    </td>
                    <td class="juzhong">
                        <apex:inputField value="{!trade.customerInfoIsUpdate__c}"/>
                    </td>
                    <td class="juzhong" style="text-align:right;">
                        <font style="font-size:15px;font-weight:bold;">已被审核通过的询价号&nbsp;&nbsp;&nbsp;</font>
                    </td>
                    <td>
 
                        <apex:outputPanel layout="none" rendered="{!IF(trade.oppCodeLink__c != null, true, false)}">
                            &nbsp;
                            <apex:outputLink value="/{!trade.oppId__c}">{!trade.oppCodeLink__c}</apex:outputLink>&nbsp;&nbsp;
                        </apex:outputPanel>
                        <apex:commandButton onclick="openSearchOpp();return false;" value="选择询价" disabled="{!isOnClick}"/>
                        <apex:outputPanel layout="none" rendered="{!IF(trade.oppCodeLink__c == null, true, false)}">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        </apex:outputPanel>
                        <apex:outputPanel layout="none" rendered="{!IF(trade.oppCodeLink__c != null, true, false)}">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        </apex:outputPanel>
                    </td>
                </tr>
            </table>
            <table class="trHeight">
                <tr  style="height: 0px">
                    <td style="width: 10%"></td>
                    <td style="width: 10%"></td>
                    <td style="width: 10%"></td>
                    <td style="width: 10%"></td>
                    <td style="width: 10%"></td>
                    <td style="width: 10%"></td>
                    <td style="width: 10%"></td>
                    <td style="width: 10%"></td>
                    <td style="width: 10%"></td>
                    <td style="width: 10%"></td>
                </tr>
                <tr>
                    <td class="juzhong" colspan="10">
                        <font style="font-size:15px;font-weight:bold;">使用者及用途信息</font>
                    </td>
                </tr>
                <tr>
                    <td><font style="font-size:15px;">最终用户</font></td>
                    <td colspan="2"><apex:outputField value="{!trade.endUser__c}"/></td>
                    <td></td>
                    <td><font style="font-size:15px;">职务</font></td>
                    <td colspan="2"><apex:inputField value="{!trade.work__c}" style="width: 96%;"/></td>
                    <td colspan="3"></td>
                </tr>
                <tr>
                    <td><font style="font-size:15px;">购买目的</font></td>
                    <td colspan="2"><apex:inputField value="{!trade.buyTo__c}" style="width: 96%;"/></td>
                    <td></td>
                    <td><font style="font-size:15px;">观察对象</font></td>
                    <td colspan="2"><apex:inputField value="{!trade.watchObject__c}" style="width: 96%;"/></td>
                    <td colspan="3"></td>
                </tr>
                <tr>
                    <td>
                        <font style="font-size:15px;">研究方向</font>
                    </td>
                    <td colspan="2">
                        <apex:inputField value="{!trade.studyDirection__c}" style="width: 96%;"/>
                    </td>
                    <td></td>
                    <td>
                        <font style="font-size:15px;">应用领域</font>
                    </td>
                    <td colspan="2">
                        <apex:inputField value="{!trade.application__c}" style="width: 96%;"/>
                    </td>
                    <td colspan="3"></td>
                </tr>
                <tr>
                    <td colspan="2">
                        <font style="font-size:15px;">用户是否有个人网址</font>
                    </td>
                    <td>
                        <apex:inputField id="isHaveLink__c" onchange="" value="{!trade.isHaveLink__c}"/>
                    </td>
                    <td colspan="7"></td>
                </tr>
                <tr>
                    <td colspan="2">
                        <font style="font-size:15px;">IF YES,个人网址链接信息</font>
                    </td>
                    <td colspan="8">
                        <apex:inputField value="{!trade.peopleLink__c}" style="width: 96%;" html-placeholder="LINK"/>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        
                    </td>
                    <td colspan="8">
                        <apex:commandButton id="uploadFileButton2" action="{!uploadFile}" style="" onclick="blockme();" value="上传文件" disabled="{!isOnClick}"/>&nbsp;
                        <apex:outputPanel rendered="{!IF(personalListSize == 0,true,false)}">
                            同步上传个人网址PDF文件(附件命名规则:个人信息+询价号+使用者个人信息)
                        </apex:outputPanel>
                          <apex:outputPanel rendered="{!IF(personalListSize != 0,true,false)}">
                              &nbsp;&nbsp;
                            <apex:repeat id="personalFileList" value="{!personalFileList}" var="att">
                                <apex:commandLink id="seePersonalFileLink" value="{!att.Name}" action="{!seeFile}" onclick="blockme();" oncomplete="unblockUI();" reRender="messageForm">
                                    <apex:param name="fileIdSee" assignTo="{!fileIdSee}" value="{!att.Id}" />
                                </apex:commandLink>&nbsp;
                            </apex:repeat>
                        </apex:outputPanel>
                    </td>
                </tr>
                <tr class="" id="isHaveLinkNo">
                    <td colspan="2">
                        <font style="font-size:15px;">IF NO,所在单位网址</font>
                    </td>
                    <td colspan="8">
                        <apex:inputField value="{!trade.companyLink__c}" style="width: 96%;" html-placeholder="如单位无官网,请用文字对该企业进行简单介绍"/>
                    </td>
                </tr>
                <tr>
                    <td  colspan="2">
                        <font style="font-size:15px;">是否单独部品采购</font>
                    </td>
                    <td>
                        <apex:inputField value="{!trade.isAlone__c}"/>
                    </td>
                    <td>
                        <font style="font-size:15px;">IF YES,主机型号:</font>
                    </td>
                    <td  colspan="3">
                        <apex:inputField value="{!trade.model__c}" style="width: 96%;"/>
                    </td>
                    <td>
                        <font style="font-size:15px;">IF YES,主机合同号:</font>
                    </td>
                    <td  colspan="2">
                        <apex:inputField value="{!trade.contractNum__c}" style="width: 96%;"/>
                    </td>
                </tr>
                <!-- <tr>
                    <td  colspan="2">
                        <font style="font-size:15px;">是否PC/显示器采购</font>
                    </td>
                    <td>
                        <apex:inputField value="{!trade.isPC__c}"/>
                    </td>
                    <td>
                        <font style="font-size:15px;">IF YES,主机型号:</font>
                    </td>
                    <td  colspan="3">
                        <apex:inputField value="{!trade.PCmodel__c}" html-placeholder="主机型号+SET+(最终用户单位名)" style="width: 96%;"/>
                    </td>
                    <td>
                        <font style="font-size:15px;">IF YES,主机合同号:</font>
                    </td>
                    <td  colspan="2">
                        <apex:inputField value="{!trade.PCcontractNum__c}" style="width: 96%;"/>
                    </td>
                </tr> -->
            </table>
 
            <table class="isproject" cellspacing="0" cellpadding="1">
                <tr style="height: 0px;border: 0px;">
                    <td style="width: 10%;border: 0px"></td>
                    <td style="width: 10%;border: 0px"></td>
                    <td style="width: 10%;border: 0px;"></td>
                    <td style="width: 10%;border: 0px;"></td>
                    <td style="width: 10%;border: 0px;"></td>
                    <td style="width: 10%;border: 0px;"></td>
                    <td style="width: 10%;border: 0px;"></td>
                    <td style="width: 10%;border: 0px;"></td>
                    <td style="width: 10%;border: 0px;"></td>
                    <td style="width: 10%;border: 0px;"></td>
                </tr>
                <tr>
                    <td colspan="10" class="juzhong" style="border-top: 0px">
                        <span style="font-size:15px;">确认项目</span>
                    </td>
                </tr>
                <tr>
                    <td colspan="9" >
                        <span>用途确认:</span><br/>
                        <span>是否属于核武器/军用武器的开发、制造、使用、储存</span>
                    </td>
                    <td>
                        <apex:inputField id="useyes" onchange="statusChabge('use','yes')" value="{!trade.useYes__c}" style="height: "/>YES<br/>
                        <apex:inputField id="useno" onchange="statusChabge('use','no')" value="{!trade.useNo__c}"/>NO
                    </td>
                </tr>
                <tr>
                    <td colspan="9" >
                        <span>用途确认:</span><br/>
                        <span>是否有参与核燃料物质或者核原料物质、核反应堆的开发、制造、使用、储藏及核融合的关联研究</span>
                    </td>
                    <td>
                        <apex:inputField id="fuelyes" onchange="statusChabge('fuel','yes')" value="{!trade.isFuelYes__c}" style="height: "/>YES<br/>
                        <apex:inputField id="fuelno" onchange="statusChabge('fuel','no')" value="{!trade.isFuelNo__c}"/>NO
                    </td>
                </tr>
                <tr>
                    <td colspan="9" >
                        <span>用户确认:</span><br/>
                        <span>用户当前或过去是否关联核武器/军用武器的开发、制造、使用、储存</span>
                    </td>
                    <td>
                        <apex:inputField id="useryes" onchange="statusChabge('user','yes')" value="{!trade.userYes__c}"/>YES<br/>
                        <apex:inputField id="userno" onchange="statusChabge('user','no')" value="{!trade.userNo__c}"/>NO    
                    </td>
                </tr>
                <tr>
                    <td colspan="9" >
                        <span>场所确认:</span><br/>
                        <span>安装场所或使用场所是否在军事禁区或邻近军事军区或机密级别要求高的区域</span>
                    </td>
                    <td>
                        <apex:inputField id="placeyes" onchange="statusChabge('place','yes')" value="{!trade.placeYes__c}"/>YES<br/>
                        <apex:inputField id="placeno" onchange="statusChabge('place','no')" value="{!trade.placeNo__c}"/>NO    
                    </td>
                </tr>
                <tr>
                    <td colspan="9" >
                        <span>产品配件确认:</span><br/>
                        <span>配件是否超出了常规配置</span>
                    </td>
                    <td>
                        <apex:inputField id="productyes" onchange="statusChabge('product','yes')" value="{!trade.productYes__c}"/>YES<br/>
                        <apex:inputField id="productno" onchange="statusChabge('product','no')" value="{!trade.productNo__c}"/>NO    
                    </td>
                </tr>
                <tr>
                    <td style="vertical-align:text-top!important;text-align: center;">
                        <span style="font-size:15px;">备注:</span>
                    </td>
                    <td colspan="9" >
                        <apex:inputField value="{!trade.remark__c}" style="width: 98%;" html-placeholder="确认项目有任何一项选yes,备注必填" />
                    </td>
                </tr>
                <tr>
                    <td colspan="10">
                        <span style="font-size:15px;">使用者的军用关联web检索链接</span>
                    </td>
                </tr>
                <tr>
                    <td colspan="10">
                        <apex:inputField value="{!trade.militaryLink__c}" style="width: 98%" html-placeholder="搜索关键词格式:“公司名 使用者姓名 军事” 关键词中间需空一格。链接请不要含中文字符。"/>
                    </td>
                </tr>
                <tr>
                    <td colspan="10" style="border-bottom: 0px;">
                        <!-- <apex:outputPanel rendered="{!IF(militaryListSize == 0,true,false)}"> -->
                            <span style="font-size:15px;">同步上传军事关联web检索PDF文件</span>&nbsp;&nbsp;
                            <span>附件命名规则:军事+询价号+军事关联web检索</span>
                        <!-- </apex:outputPanel> -->
                        
                        <apex:commandButton id="uploadFileButton3" action="{!uploadFile}" style="width: 80px; line-height: 20px;" onclick="blockme();" value="上传文件" disabled="{!isOnClick}">
                          </apex:commandButton>
 
                          <apex:outputPanel rendered="{!IF(militaryListSize != 0,true,false)}">
                              &nbsp;&nbsp;
                            <apex:repeat id="militaryFileList" value="{!militaryFileList}" var="att">
                                <apex:commandLink id="militaryListSize" value="{!att.Name}" action="{!seeFile}" onclick="blockme();" oncomplete="unblockUI();" reRender="messageForm">
                                    <apex:param name="fileIdSee" assignTo="{!fileIdSee}" value="{!att.Id}" />
                                </apex:commandLink>&nbsp;
                            </apex:repeat>
                        </apex:outputPanel>
                    </td>
                </tr>
            </table>
            <table class="fileTable" cellspacing="0" cellpadding="1">
                <tr>
                    <td colspan="4" style="text-align: left;">
                        <span style="font-size:15px;">其他附件</span>&nbsp;&nbsp;
                        <apex:commandButton id="uploadFileButton1" action="{!uploadFile}" style="width: 80px; line-height: 20px;" onclick="blockme();" value="上传文件" disabled="{!isOnClick}">
                          </apex:commandButton>
                    </td>
                </tr>
                <tr>
                    <th>文件名</th>
                    <th>上传时间</th>
                    <th>创建人</th>
                    <th>操作</th>
                </tr>
                <apex:repeat id="fileList" value="{!fileListNew}" var="att">
                    <tr>
                        <td>{!att.Name}</td>
                        <td><apex:inputField value="{!att.CreatedDate}" style="margin:1px 10px 1px 2px;"/></td>
                        <td><apex:inputField value="{!att.CreatedById}"/></td>
                        <td>
                            <apex:commandLink id="deleteFileLink" value="删除" action="{!deleteFile}" onclick="blockme();" oncomplete="unblockUI();isDeleteFile();" reRender="messageForm">
                                <apex:param name="fileIdDelete" assignTo="{!fileIdDelete}" value="{!att.Id}" />
                            </apex:commandLink>&nbsp;&nbsp;
 
                            <apex:commandLink id="seeFileLink" value="详情" action="{!seeFile}" onclick="blockme();" oncomplete="unblockUI();" reRender="messageForm">
                                <apex:param name="fileIdSee" assignTo="{!fileIdSee}" value="{!att.Id}" />
                            </apex:commandLink>
                        </td>
                    </tr>
                </apex:repeat>
            </table>
            <div style="display: table;margin:0 auto;width:auto;">
                <div style="display: table;margin:0 auto;width:auto;float: left;">
                      <apex:commandButton id="saveButton" action="{!send}" style="width: 80px; line-height: 20px;" value="保存" onclick="blockme();"  oncomplete="unblockUI();tradeCustomerApplaySave();" reRender="messageForm" disabled="{!isOnClick}">
                          <apex:param name="saveSend" assignTo="{!sendType}" value="send"></apex:param>
                      </apex:commandButton>
                </div>
                <div style="display: table;margin:0 auto;width:auto;float: left;">
                    <apex:commandButton id="saveAndBankButton" action="{!send}" style="width: 80px; line-height: 20px;" onclick="blockme();" reRender="messageForm" oncomplete="unblockUI();saveAndBank();" value="保存并返回" disabled="{!isOnClick}">
                        <apex:param name="saveSend" value="send" assignTo="{!sendType}" />
                      </apex:commandButton>
                </div>
                <!-- action="{!deleteForm}" -->
                <div style="display: table;margin:0 auto;width:auto;float: left;">
                      <apex:commandButton id="deleteButton" style="width: 80px; line-height: 20px;" value="删除申请表" onclick="blockme();deleteFormJS();" disabled="{!isOnClick}">
                      </apex:commandButton>
                </div>
                
            </div>
            <!-- <div class="errorMessage" style="display: table;margin:0 auto;width:auto;">
                <span id="errorMessage">{!errorMessage}</span>
            </div> -->
            <div class="errorMessage" style="display: table;margin:0 auto;width:auto;font-size: 15px;color:#00FF00;">
                <span id="errorMessage">{!saveYes}</span>
            </div>
        </apex:form>
    </div>
</apex:page>