<apex:page standardController="Order" extensions="OrderShippingNotificationController" showHeader="false" sidebar="false" id="allPage" action="{!init}">
|
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
|
<script>
|
function savejs() {
|
savebtn();
|
}
|
|
function canceljs() {
|
top.window.close();
|
}
|
|
function refreshparent() {
|
var hasError = j$(escapeVfId('hasError')).val();
|
if (hasError == 'false') {
|
//top.window.opener.reloadjs();
|
top.window.close();
|
}
|
}
|
</script>
|
<apex:form id="allForm">
|
<apex:actionFunction name="savebtn" action="{!saveBtn}" rerender="allForm,message" onComplete="refreshparent();">
|
</apex:actionFunction>
|
<apex:outputPanel id="allPanel">
|
<apex:pageBlock title="{!$ObjectType.Order.fields.ShippingNotes__c.label}" id="allBlock">
|
<apex:pageBlockButtons location="top">
|
<apex:commandButton onclick="savejs(); return false;" value="发送" rerender="dummy"/>
|
<apex:commandButton onclick="canceljs(); return false;" value="取消" rerender="dummy"/>
|
</apex:pageBlockButtons>
|
|
<apex:outputPanel id="message">
|
<apex:pageMessages />
|
</apex:outputPanel>
|
|
<apex:outputText id="raid" value="{!raid}" style="display:none"/>
|
<input type="hidden" id="hasError" value="{!hasError}" />
|
|
<table>
|
<tr>
|
<td>To:</td>
|
<td>
|
<apex:inputField value="{!ra.ShippingRecieverEmailAdr__c}"/>
|
</td>
|
</tr>
|
<tr>
|
<td> </td>
|
<td>
|
<apex:inputField value="{!ra.ShippingNotes__c}" style="resize:none; width:500px; height:150px;"/>
|
</td>
|
</tr>
|
</table>
|
|
</apex:pageBlock>
|
</apex:outputPanel>
|
</apex:form>
|
</apex:page>
|