ProjectDispatchAdd.mxml文件内容如下
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" xmlns:util="util.*" horizontalAlign="center">
<mx:HBox styleName="lzyTitleBar" width="60%" height="30">
<mx:Label text="工程派遣单"/>
</mx:HBox>
<mx:Grid verticalGap="0" horizontalGap="0" width="60%" horizontalAlign="center">
<mx:GridRow width="100%">
<mx:GridItem horizontalAlign="right" borderStyle="solid" width="100" height="35" verticalAlign="middle" borderColor="#377EAE">
<mx:Label text="客户名称:"/>
</mx:GridItem>
<mx:GridItem borderStyle="solid" borderSides="top,bottom,right" width="100%" verticalAlign="middle" borderColor="#377EAE">
<mx:Label text="" color="red" width="2"/>
<mx:TextInput width="300" id="coopName" maxChars="50"/>
<mx:Label text="*" color="red" width="10"/>
</mx:GridItem>
</mx:GridRow>
<mx:GridRow width="100%">
<mx:GridItem horizontalAlign="right" borderStyle="solid" borderSides="bottom,left,right" width="100" height="35" verticalAlign="middle" borderColor="#377EAE">
<mx:Label text="标的名称:"/>
</mx:GridItem>
<mx:GridItem borderStyle="solid" borderSides="bottom,right" width="100%" verticalAlign="middle" borderColor="#377EAE">
<mx:Label text="" color="red" width="2"/>
<mx:TextInput width="300" id="targetName" maxChars="50"/>
<mx:Label text="*" color="red" width="10"/>
</mx:GridItem>
</mx:GridRow>
</mx:Grid>
<mx:HBox width="60%" horizontalAlign="center" borderStyle="solid" borderColor="#377EAE" height="35" verticalAlign="middle">
<mx:Button styleName="certainBtn" label="保存"/>
<mx:Button styleName="resetBtn" label="返回"/>
</mx:HBox>
</mx:VBox>