| Quintiq file version 2.0 | 
| #parent: pPPA/efPPA | 
| Response OnUserChanged () id:Response_pPPA_efPPA_OnUserChanged | 
| { | 
|   #keys: '[413988.0.1187121790]' | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_WebEditField_OnUserChanged' | 
|   QuillAction | 
|   { | 
|     Body: | 
|     [* | 
|       source := this.Text(); | 
|        | 
|       flag := not this.Text().EndsWith( ".xlsx" ); | 
|        | 
|       if ( not isnull( dhBinaryDataPPA.Data() ) ) { | 
|         if ( flag ) { | 
|           WebMessageBox::Warning( "文件需要以.xlsx为后缀" ); | 
|           this.Text( dhOriginalFileNamePPA.Data() ); | 
|         } else { | 
|           dhOriginalFileNamePPA.Data( this.Text() ); | 
|         } | 
|       } else { | 
|         WebMessageBox::Warning( "请先上传文件在命名" ); | 
|         this.Text( "" ); | 
|       } | 
|     *] | 
|     GroupServerCalls: false | 
|   } | 
| } |