<apex:page Controller="ShipmentController" showHeader="true" sidebar="true" id="allPage" tabStyle="SaleAndDelivery__tab" action="{!init}" title="出货信息一览">
|
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
|
<script>
|
|
function SortLimitedJs(key){
|
blockme();
|
var productCount = j$(escapeVfId('allPage:allForm:allBlock:ConsumableorderdetailsSection:ConsumableorderdetailsCnt')).value();
|
var isChanged = false;
|
for (var i = 0; i < productCount; i++) {
|
var nowChk = j$(escapeVfId('allPage:allForm:allBlock:ConsumableorderdetailsSection:ConsumableorderdetailsTable:' + i + ':sumablesCountproRowCheckbox')).attr('checked');
|
var oldChk = j$(escapeVfId('allPage:allForm:allBlock:ConsumableorderdetailsSection:ConsumableorderdetailsTable:' + i + ':proRowOldCheckbox')).attr('checked');
|
var nowshelfnumber= j$(escapeVfId('allPage:allForm:allBlock:ConsumableorderdetailsSection:ConsumableorderdetailsTable:' + i + ':shelfnumber')).value();
|
var oldshelfnumber= j$(escapeVfId('allPage:allForm:allBlock:ConsumableorderdetailsSection:ConsumableorderdetailsTable:' + i + ':oldshelfnumber')).value();
|
if (nowChk != oldChk || (nowChk == 'checked' && nowshelfnumber != oldshelfnumber)) {
|
isChanged = true;
|
break;
|
}
|
}
|
|
|
//SortLimited();
|
|
|
|
}
|
|
|
|
window.sfdcPage.appendToOnloadQueue(function() { calonLoad() });
|
</script>
|
<style>
|
.dateFormat {
|
display: none;
|
}
|
</style>
|
<!--<apex:form id="allForm">
|
|
<apex:actionFunction name="SortLimited" action="{!SortLimited}" rerender="ConsumableorderdetailsSection, message" onComplete="unblockUI();">
|
<apex:param name="firstParam" assignTo="{!sortKey}" value="" />
|
</apex:actionFunction>
|
<apex:outputPanel id="allPanel">
|
<apex:pageBlock id="allBlock" >
|
<apex:outputPanel id="message">
|
<apex:pageMessages />
|
</apex:outputPanel>
|
<apex:pageBlock title="出货情况一览" id="Editable">
|
<table>
|
<colgroup>
|
<col width="100px"/>
|
<col width="200px"/>
|
<col width="100px"/>
|
<col width="100px"/>
|
<col width="100px"/>
|
<col width="200px"/>
|
<col width="150px"/>
|
<col width="150px"/>
|
<col width="150px"/>
|
<col width="150px"/>
|
<col width="150px"/>
|
<col width="150px"/>
|
<col width="150px"/>
|
<col width="150px"/>
|
</colgroup>
|
<tr>
|
<td align="right">出货单号:</td>
|
<td align="left"><apex:outputField id="OrderExpectDate" value="{!coc.Name}" style="width:140px" /></td>
|
<td align="right">消费医院:</td>
|
<td align="left"><apex:outputField id="OrderDircteion" value="{!coc.Order_ForHospital__c}" style="width:160px"/></td>
|
<td align="right">二级经销商:</td>
|
<td align="left"><apex:outputField id="OrderSecondDealer" value="{!coc.Order_ForDealer__r.Name}" style="width:160px"/></td>
|
</tr>
|
<tr>
|
</tr>
|
</table>
|
</apex:pageBlock>
|
<apex:pageblocksection columns="1" title="出货明细" id="ConsumableorderdetailsSection">
|
<apex:pageblocktable value="{!ConsumableorderdetailsRecords}" var="records" id="ConsumableorderdetailsTable">
|
<apex:column width="180">
|
<apex:facet name="header">消耗品明细名称</apex:facet>
|
<apex:outputField value="{!records.esd.Name}"/>
|
</apex:column>
|
<apex:column width="180">
|
<apex:facet name="header">消耗品名称</apex:facet>
|
<apex:outputField value="{!records.esd.Consumable_Product__r.Name}"/>
|
</apex:column>
|
<apex:column width="120">
|
<apex:facet name="header">产品型号</apex:facet>
|
<apex:outputField value="{!records.esd.Asset_Model_No__c}"/>
|
</apex:column>
|
<apex:column width="80">
|
<apex:facet name="header">单价(元)</apex:facet>
|
<apex:outputField id="consumablesCountSinglePrice" value="{!records.esd.Intra_Trade_List_RMB__c}"/>
|
</apex:column>
|
</apex:pageblocktable>
|
<script>
|
setDisabled();
|
</script>
|
</apex:pageblocksection>
|
|
</apex:pageBlock>
|
</apex:outputPanel>
|
</apex:form>
|
<script>
|
|
</script>-->
|
</apex:page>
|