|
@@ -4,7 +4,7 @@
|
|
|
xmlns:cus="com.jtgh.yjpt.common.cus.*"
|
|
|
xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="100%"
|
|
|
xmlns:ui="com.jtgh.yjpt.common.component.ui.*" paddingTop="10" paddingLeft="10" paddingBottom="10" paddingRight="10">
|
|
|
-
|
|
|
+
|
|
|
<fx:Script>
|
|
|
<![CDATA[
|
|
|
import com.jtgh.yjpt.common.TypeBase;
|
|
@@ -15,7 +15,7 @@
|
|
|
public var thisModel:GqModel = new GqModel;
|
|
|
public var gq_id:Number;
|
|
|
public var functionId:Number;
|
|
|
-
|
|
|
+
|
|
|
protected function numberCheck(event:KeyboardEvent):void
|
|
|
{
|
|
|
var input:QTextInput=event.currentTarget as QTextInput
|
|
@@ -24,24 +24,20 @@
|
|
|
}
|
|
|
]]>
|
|
|
</fx:Script>
|
|
|
-
|
|
|
+
|
|
|
<s:VGroup id="form" width="100%">
|
|
|
<s:HGroup width="100%">
|
|
|
- <cus:QLabel text="{resourceManager.getString('gq','gq.gqmc')}" textAlign="right" width="128"/>
|
|
|
- <cus:QTextInput id="gqmc" width="300" />
|
|
|
- </s:HGroup>
|
|
|
- <s:HGroup width="100%">
|
|
|
<cus:QLabel text="{resourceManager.getString('gq','gq.ssgk')}" textAlign="right" width="128"/>
|
|
|
<cus:QComboBox id="ssgk" width="300" comboxClass="SzdEditSelect" parentId="{Global.szd.id}"
|
|
|
selectedVO="{thisModel.gq.szd==null?Global.user.szd:thisModel.gq.szd}" />
|
|
|
<s:Spacer width="100%"/>
|
|
|
+ <cus:QLabel text="{resourceManager.getString('gq','gq.gqmc')}" textAlign="right" width="128"/>
|
|
|
+ <cus:QTextInput id="gqmc" width="300" />
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup width="100%">
|
|
|
<cus:QLabel text="{resourceManager.getString('gq','gq.gqszsylx')}" textAlign="right" width="128"/>
|
|
|
<cus:QComboBox id="gqszsylx" width="300" comboxClass="CodeSelect" codeType="{Constants.GROUP_CODE_SYLX}"
|
|
|
hasBlank="true"/>
|
|
|
- </s:HGroup>
|
|
|
- <s:HGroup width="100%">
|
|
|
- <cus:QLabel text="{resourceManager.getString('gq','gq.szsx')}" textAlign="right" width="128"/>
|
|
|
- <cus:QComboBox id="szsx" width="300" comboxClass="CodeSelect" codeType="{Constants.GROUP_CODE_SXLX}" hasBlank="true"/>
|
|
|
<s:Spacer width="100%"/>
|
|
|
<cus:QLabel text="{resourceManager.getString('gq','gq.gqmj')}" keyUp="numberCheck(event)" textAlign="right" width="128"/>
|
|
|
<cus:QTextInput id="gqmj" width="300"/>
|
|
@@ -92,7 +88,7 @@
|
|
|
<cus:QLabel text="{resourceManager.getString('gq','gq.bz')}" textAlign="right" width="128"/>
|
|
|
<cus:QTextArea id="bz" width="100%"/>
|
|
|
</s:HGroup>
|
|
|
-
|
|
|
+
|
|
|
<s:BorderContainer width="100%" borderVisible="false" height="32" backgroundColor="#00FFFF" visible="false" includeInLayout="false">
|
|
|
<s:layout>
|
|
|
<s:HorizontalLayout horizontalAlign="center" verticalAlign="middle"/>
|
|
@@ -103,16 +99,16 @@
|
|
|
</s:BorderContainer>
|
|
|
<s:DataGrid id="mtDataGrid" width="100%" dataProvider="{thisModel.mtList}" editable="true" visible="false" includeInLayout="false">
|
|
|
<s:columns><s:ArrayList>
|
|
|
- <s:GridColumn dataField="mtmc" headerText="{resourceManager.getString('gq','mt.mtmc')}"/>
|
|
|
- <s:GridColumn dataField="nhwtgnl" headerText="{resourceManager.getString('gq','mt.nhwtgnl')}"/>
|
|
|
- <s:GridColumn dataField="mtsjqyss" headerText="{resourceManager.getString('gq','mt.mtsjqyss')}"/>
|
|
|
- <s:GridColumn dataField="gisid" headerText="{resourceManager.getString('gq','mt.gisid')}"/>
|
|
|
- <ui:DataGridColumn headerText="{resourceManager.getString('common','btn.del')}" type="{TypeBase.MULTIBUTTON}"
|
|
|
- editFunction="{thisModel.mtEdit}" delFunction="{thisModel.mtDel}"/>
|
|
|
- </s:ArrayList></s:columns>
|
|
|
+ <s:GridColumn dataField="mtmc" headerText="{resourceManager.getString('gq','mt.mtmc')}"/>
|
|
|
+ <s:GridColumn dataField="nhwtgnl" headerText="{resourceManager.getString('gq','mt.nhwtgnl')}"/>
|
|
|
+ <s:GridColumn dataField="mtsjqyss" headerText="{resourceManager.getString('gq','mt.mtsjqyss')}"/>
|
|
|
+ <s:GridColumn dataField="gisid" headerText="{resourceManager.getString('gq','mt.gisid')}"/>
|
|
|
+ <ui:DataGridColumn headerText="{resourceManager.getString('common','btn.del')}" type="{TypeBase.MULTIBUTTON}"
|
|
|
+ editFunction="{thisModel.mtEdit}" delFunction="{thisModel.mtDel}"/>
|
|
|
+ </s:ArrayList></s:columns>
|
|
|
</s:DataGrid>
|
|
|
</s:VGroup>
|
|
|
-
|
|
|
+
|
|
|
<ui:ButtonBox width="100%" horizontalAlign="center">
|
|
|
<s:Button id="save" label="{resourceManager.getString('common','btn.save')}" click="{thisModel.doSave(event)}" skinClass="skins.cus.ButtonSkin"/>
|
|
|
<s:Button id="close" label="{resourceManager.getString('common','btn.close')}" click="{thisModel.doPopupClose(event)}" skinClass="skins.cus.ButtonSkin"/>
|