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