binxie
2023-07-11 be102ae06e8f986bd9d1a544cd2752e5fa94231a
force-app/main/default/pages/ListShip.page
@@ -35,19 +35,19 @@
            <table style="border: 0; border-collapse: collapse;" id="searchTbl1">
                <tr>
                    <th style="text-align:right; width:50px;">条件:</th>
                    <th style="text-align:right; width:50px;">本部</th>
                    <td style="text-align:left; width:70px;"><apex:selectList value="{!salesDept}" size="1" style="width:95%"><apex:selectOptions value="{!salesDeptOpts}"/></apex:selectList></td>
                    <th style="text-align:right; width:50px;">省</th>
                    <td style="text-align:left; width:70px;"><apex:selectList value="{!area}" size="1" style="width:95%"><apex:selectOptions value="{!areaOpts}"/></apex:selectList></td>
                    <th style="text-align:right; width:60px;">本部</th>
                    <td style="text-align:left; width:75px;"><apex:selectList value="{!salesDept}" size="1" style="width:95%"><apex:selectOptions value="{!salesDeptOpts}"/></apex:selectList></td>
                    <th style="text-align:right; width:60px;">省</th>
                    <td style="text-align:left; width:75px;"><apex:selectList value="{!area}" size="1" style="width:95%"><apex:selectOptions value="{!areaOpts}"/></apex:selectList></td>
                    <th style="text-align:right; width:60px;">医院</th>
                    <td style="text-align:left; width:75px;"><apex:inputText value="{!enduser}" style="width:95%;"/></td>
                    <th style="text-align:right; width:60px;">{!$ObjectType.Ship__c.fields.Shipping_date__c.Label}</th>
                    <td style="text-align:left; width:65px;"><apex:inputField value="{!dateFrom.Birth_Date__c}" style="width:95%;"/></td>
                    <td style="text-align:left; width:75px;"><apex:inputField value="{!dateFrom.Birth_Date__c}" style="width:95%;"/></td>
                    <td style="text-align:left; width:10px;">~</td>
                    <td style="text-align:left; width:65px;"><apex:inputField value="{!dateTo.Birth_Date__c}" style="width:95%;"/></td>
                    <td style="text-align:left; width:75px;"><apex:inputField value="{!dateTo.Birth_Date__c}" style="width:95%;"/></td>
                </tr>
            </table>
            <table style="width:100%; border: 0; border-collapse: collapse;" id="searchTbl2">
            <table style="width:100%; border: 0; border-collapse: collapse; margin: 10px 0 10px 0; " id="searchTbl2">
                <tr>
                    <th style="width:50px;">&nbsp;</th>
                    <th style="text-align:right; width:60px;">{!$ObjectType.Ship__c.fields.Category2__c.Label}</th>
@@ -64,7 +64,7 @@
                    <td style="text-align:left;"><apex:commandButton value="适用" style="width:60px;" reRender="Page" onclick="searchJs();"/></td>
                </tr>
            </table>
            <table style="border: 0; border-collapse: collapse;" id="groupbyTbl">
            <table style="border: 0; border-collapse: collapse;margin-bottom: 10px;" id="groupbyTbl">
                <tr>
                    <th style="text-align:right; width:60px;">行项目:</th>
                    <td style="text-align:left;"><apex:inputCheckbox id="isSalesDept" value="{!isSalesDept}" disabled="true"></apex:inputCheckbox><apex:outputLabel value="本部" for="isSalesDept"/></td>
@@ -144,18 +144,18 @@
    <apex:outputPanel rendered="{!isShowMonth || isShowWeek}" layout="none">
        <apex:repeat value="{!headerYrCols}" var="yr"><apex:repeat value="{!headerDcCols[yr]}" var="dc">
            <apex:outputPanel rendered="{!isShowSumQty}" layout="none">
                <th style="text-align:center;border: solid 1px;">数量</th>
                <th width="100px" style="text-align:center;border: solid 1px;">数量</th>
            </apex:outputPanel>
            <apex:outputPanel rendered="{!isShowSumAmount}" layout="none">
                <th style="text-align:center;border: solid 1px;">売上金額</th>
                <th width="100px" style="text-align:center;border: solid 1px;">売上金額</th>
            </apex:outputPanel>
        </apex:repeat></apex:repeat>
    </apex:outputPanel>
    <apex:outputPanel rendered="{!isShowSumQty}" layout="none">
                <th style="text-align:center;border: solid 1px;">数量</th>
                <th width="100px" style="text-align:center;border: solid 1px;">数量</th>
    </apex:outputPanel>
    <apex:outputPanel rendered="{!isShowSumAmount}" layout="none">
                <th style="text-align:center;border: solid 1px;">売上金額</th>
                <th width="100px" style="text-align:center;border: solid 1px;">売上金額</th>
    </apex:outputPanel>
            </tr>
<apex:variable value="{!0}" var="line" />