| | |
| | | <apex:commandButton onclick="DeleteConsumable();" value="删除" style="margin-left:30px;width:180px" rerender="dummy" rendered="{!!(editAble)}" disabled="{!IF(ambc.Change_status__c='已提交'||ambc.Change_status__c='批准'||ambc.Change_status__c='驳回',true,false)}"/> |
| | | <apex:commandButton onclick="backOrderJs();" value="再申请" style="margin-left:30px;width:180px" rerender="dummy" rendered="{!IF(ambc.Change_status__c='驳回' && !editAble,true,false)}" /> |
| | | </apex:pageBlock> |
| | | |
| | | |
| | | <apex:pageBlock title="变更申请单信息" id="unEditable" rendered="{!!(editAble)}"> |
| | | <table> |
| | | <colgroup> |
| | |
| | | <td align="right" >目标客户:</td> |
| | | <td align="left" ><apex:outputField value="{!ambc.AccountField__r.Name}"/></td> |
| | | <td/> |
| | | </tr> |
| | | |
| | | </tr> |
| | | |
| | | <tr style='line-height: 25px;'> |
| | | <apex:outputPanel rendered="{!checkUser}"> |
| | | <td align="right" >SPO表单号:</td> |
| | |
| | | <col width="180px"/> |
| | | <col width="60px"/> |
| | | <col width="60px"/> |
| | | |
| | | |
| | | </colgroup> |
| | | <tr> |
| | | <td align="right"></td> |
| | |
| | | <td> |
| | | <apex:selectList value="{!text1}" id="text1" size="1" style="width:90px"><apex:selectOptions value="{!textOpts}"/> |
| | | </apex:selectList> |
| | | </td> |
| | | </td> |
| | | <td> |
| | | <apex:inputText value="{!val1}" |
| | | id="val1" style="width:200px"/> |
| | |
| | | <td colspan="4" style="height:50px;"> 原客户:<apex:outputField value="{!ambc.rawAccount__c}"/></td> |
| | | <td colspan="4">目标客户:<apex:inputField id="OEC" value="{!ambc.AccountField__c}" style="height:25px;width:200px"/></td> |
| | | </tr> |
| | | |
| | | |
| | | <tr > |
| | | <apex:outputPanel rendered="{!checkUser}"> |
| | | <td colspan="3"/> |
| | |
| | | <!-- </apex:selectList> --> |
| | | </td> |
| | | <!-- CHAN-B9B68N Stop --> |
| | | |
| | | |
| | | </tr> |
| | | <tr> |
| | | <td colspan="3"/> |
| | | |
| | | |
| | | <td colspan="4" style="height:50px;"> |
| | | 备注:<apex:inputText value="{!ambc.remark__c}" style="width:200px"/></td> |
| | | <!-- LZHU-BPJ8DF 20200513 Start --> |
| | |
| | | </table> |
| | | |
| | | </apex:pageBlock> |
| | | |
| | | |
| | | <!-- CHAN-BC6BV2 XHL AddStart 20190522 --> |
| | | <apex:pageBlock title="附件" id="accessory" rendered="{!isShow}"> |
| | | |
| | | <apex:pageBlock title="文件" id="accessory" rendered="{!isShow}"> |
| | | |
| | | <apex:pageBlockButtons location="top"> |
| | | <apex:commandButton value="附件上传" onclick="uploadingAttachmentJs();" disabled="{!IF(ambc.Change_status__c='已提交'||ambc.Change_status__c='批准',true,false)}"/> |
| | | <apex:commandButton value="文件上传" onclick="uploadingAttachmentJs();" disabled="{!IF(ambc.Change_status__c='已提交'||ambc.Change_status__c='批准',true,false)}"/> |
| | | </apex:pageBlockButtons> |
| | | |
| | | |
| | | <apex:pageBlockTable value="{!contents}" var="attachment" > |
| | | |
| | | |
| | | |
| | | |
| | | <apex:column headerValue="标题" style="width: 33%"> |
| | | <apex:outputField value="{!attachment.Title}"/> |
| | | </apex:column> |
| | |
| | | <script> |
| | | |
| | | </script> |
| | | </apex:page> |
| | | </apex:page> |