李彤
2023-05-18 b4848014657dba3ed3ddd0d02ac144aa50be5549
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
<apex:page controller="AccountTargetTabController" showChat="false" showHeader="false" sidebar="false" action="{!init}" id="Page">
<title>目标数</title>
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
<style type="text/css">
    table {border-collapse: collapse;}
</style>
<script type="text/javascript">
    function checkNum(val, id) {
        if (val != "" && isNaN(parseInt(val))) {
            alert("请输入数值");
            document.getElementById(id).focus();
            return;
        }
    }
    function setReadonly() {
        var cnt = j$(escapeVfId('datasize')).value();
        var flg = j$(escapeVfId('Page:Form:ispast')).value();
        if (flg == "true") {
            for (var i = 0; i < cnt; i++) {
                j$(escapeVfId('Page:Form:repeat:' + i + ':field1')).attr("readonly",true);
                j$(escapeVfId('Page:Form:repeat:' + i + ':field2')).attr("readonly",true);
                // 2020/07/15 taoqz add start
                j$(escapeVfId('Page:Form:repeat:' + i + ':field4')).attr("disabled",true);
                // 2020/07/15 taoqz add end
            }
            j$(escapeVfId('Page:Form:submitCustomerTarget')).attr("disabled",true);
            j$(escapeVfId('Page:Form:DepartmentBudgetSumPrice')).attr("readonly",true);
            j$(escapeVfId('Page:Form:Proposal_target_customer')).attr("disabled",true);
        }
    }
</script>
 
<apex:form id="Form">
    <!-- lt 目标客户共同推进 start -->
    <!-- overflow-y: auto;overflow-x: auto;    overflow:scroll -->
    <!-- <div style="height: 265px; width:1200px;overflow-y:auto;overflow-x:auto; border:1px;
    border-left-color: black; border-right-color: black"> -->
    <div style="height: 265px; width:1000px;overflow:scroll;">
    <!-- lt 目标客户共同推进 end -->
    <apex:pageMessages />
 
    <apex:outputPanel layout="none" rendered="{!NOT(ISNULL(history))}">
        <script type="text/javascript">
            var refreshAll = '{!refreshAll}';
            var dupliErr = '{!dupliErr}';
            if (refreshAll == "true") {
                // 新規後
                if (dupliErr == "true") {
                    //WLIG-BV8CHF 20201222 you  start
                    var ocmperiod= '{!history.rec.OCM_Period__c}'.substring(0, 3);
                    alert("FY"+(parseInt(ocmperiod,10)+1868)+"的数据已经存在。");    
                    //alert("{!history.rec.OCM_Period__c}的数据已经存在。");
                    //WLIG-BV8CHF 20201222 you  end
                    // defaultの期のデータを表示
                    parent.location.href='/apex/AccountTargetHospital?id={!accid}&t={!dupliID}';
                } else {
                    // 新規したデータを表示
                    parent.location.href='/apex/AccountTargetHospital?id={!accid}&t={!history.rec.Id}';
                }
            }
        </script>
 
        <table id="ocmTbl">
            <tr>
                <apex:outputPanel rendered="{!ISBLANK(history.rec.Id)}" layout="none">
                    <td style="text-align: right;">OCSM年度&nbsp;&nbsp;</td>
                    <td width="80">
                        <apex:selectList value="{!history.rec.OCM_Year__c}" size="1" style="width:98%"><apex:selectOptions value="{!ocmYearOptions}"/></apex:selectList>
                    </td>
                </apex:outputPanel>
                <apex:outputPanel rendered="{!NOT(ISBLANK(history.rec.Id))}" layout="none">
                    <td></td><td></td>
                </apex:outputPanel>
                <td width="100"><apex:commandButton id="savebtn" value="保存" action="{!save}" rerender="Form" style="width:98%;"/></td>
            </tr>
        </table>
 
        <apex:inputHidden id="ispast" value="{!history.isPast}"/>
        <input type="hidden" id="datasize" value="{!dataSize}"/>
 
        <table border="1" id="table">
            
            <!-- lt  目标客户的画面调整  20220106 start  -->
            <tr>
                <!-- 左 -->
                <td>
                    <table border="1" frame="void" width="300px">  <!-- lt 目标客户共同推进 add width -->
                        <tr>
                            <!-- 20230320 ljh DB202302341475 start-->
                            <!-- <th width="100" style="height:20px;">&nbsp;</th> -->
                            <th width="155" style="height:20px;">&nbsp;</th>
                            <!-- 20230320 ljh DB202302341475 end-->
                            <th width="80" style="text-align: center;">目标数</th>
                        </tr>
                        <apex:variable value="{!1}" var="cnt" />
                        <apex:repeat value="{!history.dataList}" var="data" id="repeat">
                            <tr>
                                <td style="height:20px;">{!data.label1}</td>
                                <td style="text-align: center;">
                                    <apex:inputField value="{!history.rec[data.field1]}" style="width:90%; height:14px; text-align: right; ime-mode: disabled;" id="field1" onblur="checkNum(this.value, this.id);" />
                                </td>
                            </tr>
                            <apex:variable value="{!cnt + 1}" var="cnt" />
                        </apex:repeat>
                        <tr>
                            <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.Proposal_target_customer__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.Proposal_target_customer__c}" style="width:50%; height:14px; text-align: center;"  id="Proposal_target_customer"/>
                            </td>
                        </tr>
                        <tr>
                            <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.Submit_Customer_target_new__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.Submit_Customer_target_new__c}" style="width:50%; height:14px; text-align: center;" id="submitCustomerTarget"/>
                            </td>
                        </tr>
                        <tr>
                            <td style="width:120px;height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.Department_Budget_Sum_Price__c.label}</td>
                            <td style="text-align: center;">
                                <apex:inputField value="{!history.rec.Department_Budget_Sum_Price__c}" style="width:90%; height:14px; text-align: right;" id="DepartmentBudgetSumPrice"/>
                            </td>
                        </tr>
                        <!-- 2022/01/07 ssm 左侧空行 start -->
                        <apex:repeat value="{!history.emptyLineLeft}" var="ell" id="ell_repeat">
                            <tr>
                                <td style="height:20px;"></td>
                                <td ></td>
                            </tr>
                        </apex:repeat>
                        <tr>
                                <td style="height:20px;"></td>
                                <td ></td>
                            </tr>
                         <tr>
                                <td style="height:20px;"></td>
                                <td ></td>
                            </tr>   
                        <!-- 2022/01/07 ssm 左侧空行 end -->
                        <tr>
                            <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.TargetCustomerModifier__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.TargetCustomerModifier__c}" style="width:90%; height:14px; text-align: right;" />
                            </td>
                        </tr>
                    </table>
                </td>
 
                <!-- 右 -->
                <td>
                    <!-- <div style="height: 265px; overflow:scroll"> -->
                    <table border="1" frame="void" width="1000px"> <!-- lt 目标客户共同推进 add width -->
                        <tr>
                            <th width="210" style="height:20px;">&nbsp;</th>
                            <th width="100" style="text-align: center;">金额</th>
                            <th width="160">&nbsp;</th>
                            <!-- <th width="100" style="text-align: center;">主机数</th> -->
                            <th width="80">&nbsp;</th>
 
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 start  -->
                            <apex:variable var="type" value="" rendered="{!IF(dept.RecordType.DeveloperName ='Department_Class_BF' || dept.RecordType.DeveloperName ='Department_Class_GI',true,false)}">
                            <th width="190" >&nbsp;</th>
                            <th width="100" style="text-align: center;">市场目标产品</th>
                            <th width="160" >&nbsp;</th>
                            <th width="100" style="text-align: center;">共同推进</th>
                            </apex:variable>
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 end  -->
                        </tr>
                        
                        <tr>
                            <td style="width:180px;height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.Opp_Actual_ThousandY__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.Opp_Actual_ThousandY__c}" style="width:90%; text-align: right;" />
                            </td>
                            <td>{!$ObjectType.Account_Number_of_target__c.fields.RivalCustomers_first__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.RivalCustomers_first__c}" style="width:90%; text-align: right;" />
                            </td>
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 start  -->
                            <apex:variable var="type" value="" rendered="{!IF(dept.RecordType.DeveloperName ='Department_Class_BF' || dept.RecordType.DeveloperName ='Department_Class_GI',true,false)}">
                            <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.MarketTarget_Product_JF__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.MarketTarget_Product_JF__c}" style="width:90%; text-align: right;" />
                            </td>
                            <td>{!$ObjectType.Account_Number_of_target__c.fields.Promote_Together_JF__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.Promote_Together_JF__c}" style="width:90%; text-align: right;" />
                            </td>
                            </apex:variable>
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 end  -->
                        </tr>
                        <tr>
                            <!-- 20220331 lt 今年注残字段修改 3.6.位置互换 -->
                            <!-- <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.BO_Forecast_ThousandY__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.BO_Forecast_ThousandY__c}" style="width:90%; text-align: right;" />
                            </td> -->
                            <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.Opportunity_ThousandY__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.Opportunity_ThousandY__c}" style="width:90%; text-align: right;" />
                            </td>
                            <td>{!$ObjectType.Account_Number_of_target__c.fields.RivalHostsProportion_first__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.RivalHostsProportion_first__c}" style="width:90%; text-align: right;" />
                            </td>
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 start  -->
                            <apex:variable var="type" value="" rendered="{!IF(dept.RecordType.DeveloperName ='Department_Class_BF' || dept.RecordType.DeveloperName ='Department_Class_GI',true,false)}">
                            <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.MarketTarget_Product_EUS__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.MarketTarget_Product_EUS__c}" style="width:90%; text-align: right;" />
                            </td>
                            <td>{!$ObjectType.Account_Number_of_target__c.fields.Promote_Together_EUS__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.Promote_Together_EUS__c}" style="width:90%; text-align: right;" />
                            </td>
                            </apex:variable>
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 end  -->
                        </tr>
                        <tr>
                            <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.OP_ThousandY__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.OP_ThousandY__c}" style="width:90%; text-align: right;" />
                            </td>
                            <td>{!$ObjectType.Account_Number_of_target__c.fields.RivalHostsNumber__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.RivalHostsNumber__c}" style="width:90%; text-align: right;" />
                            </td>
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 start  -->
                            <apex:variable var="type" value="" rendered="{!IF(dept.RecordType.DeveloperName ='Department_Class_BF' || dept.RecordType.DeveloperName ='Department_Class_GI',true,false)}">
                            <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.MarketTarget_Product_CV290__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.MarketTarget_Product_CV290__c}" style="width:90%; text-align: right;" />
                            </td>
                            <td>{!$ObjectType.Account_Number_of_target__c.fields.Promote_Together_CV290__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.Promote_Together_CV290__c}" style="width:90%; text-align: right;" />
                            </td>
                            </apex:variable>
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 end  -->
                            <!-- <td ></td>
                            <td ></td> -->
                        </tr>
                        <tr>
                            <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.Opp_Forecast_ThousandY__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.Opp_Forecast_ThousandY__c}" style="width:90%; text-align: right;" />
                            </td>
                            <td>{!$ObjectType.Account_Number_of_target__c.fields.RivalHostsNumber_first__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.RivalHostsNumber_first__c}" style="width:90%; text-align: right;" />
                            </td>
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 start  -->
                            <apex:variable var="type" value="" rendered="{!IF(dept.RecordType.DeveloperName ='Department_Class_BF' || dept.RecordType.DeveloperName ='Department_Class_GI',true,false)}">
                            <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.MarketTarget_Product_GIFH290T__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.MarketTarget_Product_GIFH290T__c}" style="width:90%; text-align: right;" />
                            </td>
                            <td>{!$ObjectType.Account_Number_of_target__c.fields.Promote_Together_GIFH290T__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.Promote_Together_GIFH290T__c}" style="width:90%; text-align: right;" />
                            </td>
                            </apex:variable>
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 end  -->
                            <!-- <td ></td>
                            <td ></td> -->
                        </tr>
                        <tr>
                            <!-- 20220331 lt 今年注残字段修改 3.6.位置互换 -->
                            <!-- <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.Opportunity_ThousandY__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.Opportunity_ThousandY__c}" style="width:90%; text-align: right;" />
                            </td> -->
                            <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.BO_Forecast_ThousandY__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.BO_Forecast_ThousandY__c}" style="width:90%; text-align: right;" />
                            </td>
                            <td>{!$ObjectType.Account_Number_of_target__c.fields.AllHostsNumber__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.AllHostsNumber__c}" style="width:90%; text-align: right;" />
                            </td>
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 start  -->
                            <apex:variable var="type" value="" rendered="{!IF(dept.RecordType.DeveloperName ='Department_Class_BF' || dept.RecordType.DeveloperName ='Department_Class_GI',true,false)}">
                            <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.MarketTarget_Product_BFUC290F__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.MarketTarget_Product_BFUC290F__c}" style="width:90%; text-align: right;" />
                            </td>
                            <td>{!$ObjectType.Account_Number_of_target__c.fields.Promote_Together_BFUC290F__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.Promote_Together_BFUC290F__c}" style="width:90%; text-align: right;" />
                            </td>
                            </apex:variable>
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 end  -->
                            <!-- <td ></td>
                            <td ></td> -->
                        </tr>
                        <!-- 2022/01/07 ssm 右侧最后的地方拆成2行 与之前的效果保持一致 start -->
                        <tr>
                            <!--<td style="height:20px;"></td>
                            <td style=""></td>-->
                            <!--20230224 you start DB202302339407-->
                            <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.LostPricesqt__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.LostPricesqt__c}" style="width:90%; text-align: right;" />
                            </td>
                            <td>{!$ObjectType.Account_Number_of_target__c.fields.AllHostsNumber_first__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.AllHostsNumber_first__c}" style="width:90%; text-align: right;" />
                            </td>
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 start  -->
                            <apex:variable var="type" value="" rendered="{!IF(dept.RecordType.DeveloperName ='Department_Class_BF' || dept.RecordType.DeveloperName ='Department_Class_GI',true,false)}">
                            <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.MarketTarget_Product_SXFD__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.MarketTarget_Product_SXFD__c}" style="width:90%; text-align: right;" />
                            </td>
                            <td>{!$ObjectType.Account_Number_of_target__c.fields.Promote_Together_SXFD__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.Promote_Together_SXFD__c}" style="width:90%; text-align: right;" />
                            </td>
                            </apex:variable>
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 end  -->
                        </tr>
                        <tr>
                            <!--<td style="height:20px;"></td>
                            <td style=""></td>-->
                            <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.Dealer_Final_Priceqt__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.Dealer_Final_Priceqt__c}" style="width:90%; text-align: right;" />
                            </td>
                            <td style="height:20px;"></td>
                            <td style=""></td>
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 start  -->
                            <apex:variable var="type" value="" rendered="{!IF(dept.RecordType.DeveloperName ='Department_Class_BF' || dept.RecordType.DeveloperName ='Department_Class_GI',true,false)}">
                            <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.MarketTarget_Product_XXFD__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.MarketTarget_Product_XXFD__c}" style="width:90%; text-align: right;" />
                            </td>
                            <td>{!$ObjectType.Account_Number_of_target__c.fields.Promote_Together_XXFD__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.Promote_Together_XXFD__c}" style="width:90%; text-align: right;" />
                            </td>
                            </apex:variable>
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 end  -->
                        </tr>
                        <tr>
                            <!--<td style="height:20px;"></td>
                            <td style=""></td>-->
                            <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.HospitalTransactionAmountqt__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.HospitalTransactionAmountqt__c}" style="width:90%; text-align: right;" />
                            </td>
                            <td style="height:20px;"></td>
                            <td style=""></td>
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 start  -->
                            <apex:variable var="type" value="" rendered="{!IF(dept.RecordType.DeveloperName ='Department_Class_BF' || dept.RecordType.DeveloperName ='Department_Class_GI',true,false)}">
                            <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.MarketTarget_Product_XXHQ__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.MarketTarget_Product_XXHQ__c}" style="width:90%; text-align: right;" />
                            </td>
                            <td>{!$ObjectType.Account_Number_of_target__c.fields.Promote_Together_XXHQ__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.Promote_Together_XXHQ__c}" style="width:90%; text-align: right;" />
                            </td>
                            </apex:variable>
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 end  -->
                        </tr>
                        <!--20230224 you end DB202302339407-->
                        <!-- 2022/01/07 ssm 右侧补空行 start -->
                        <apex:repeat value="{!history.emptyLineRight}" var="elr" id="elr_repeat">
                            <tr>
                                <td style="height:20px;"></td>
                                <td ></td>
                                <td ></td>
                                <td ></td>
                            </tr>
                        </apex:repeat>
                        <!-- 2022/01/07 ssm 右侧补空行 end -->
                        <tr>
                            <td style="height:20px;">{!$ObjectType.Account_Number_of_target__c.fields.TargetCustomerMTIME__c.label}</td>
                            <td style="text-align: center;">
                                <apex:outputField value="{!history.rec.TargetCustomerMTIME__c}" style="width:90%; text-align: right;" />
                            </td>
                            <td ></td>
                            <td ></td>
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 start  -->
                            <apex:variable var="type" value="" rendered="{!IF(dept.RecordType.DeveloperName ='Department_Class_BF' || dept.RecordType.DeveloperName ='Department_Class_GI',true,false)}">
                            <td ></td>
                            <td ></td>
                            <td ></td>
                            <td ></td>
                            </apex:variable>
                            <!-- lt 20230419 DB202303610487 目标客户页面增加市场目标产品信息  市场目标产品 共同推进 end  -->
                        </tr>
                        <!-- 2022/01/07 ssm 右侧最后的地方拆成2行 与之前的效果保持一致 end -->
                    </table>
                <!-- </div> -->
                </td>
            </tr>
            <!-- lt  目标客户的画面调整  20220106 end -->
        </table>
 
        <script>
            setReadonly();
        </script>
 
    </apex:outputPanel>
    </div>
</apex:form>
</apex:page>