|
@@ -0,0 +1,350 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<s:VGroup xmlns:fx="http://ns.adobe.com/mxml/2009"
|
|
|
+ xmlns:s="library://ns.adobe.com/flex/spark"
|
|
|
+ xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="100%"
|
|
|
+ creationComplete="creationCompleteHandler(event)"
|
|
|
+ xmlns:button="com.jtgh.yjpt.common.component.ui.button.*" xmlns:cus="com.jtgh.yjpt.common.cus.*" xmlns:ui="com.jtgh.yjpt.common.component.ui.*">
|
|
|
+ <fx:Script>
|
|
|
+ <![CDATA[
|
|
|
+ import com.jtgh.yjpt.common.BusinessContext;
|
|
|
+ import com.jtgh.yjpt.common.Global;
|
|
|
+ import com.jtgh.yjpt.common.util.Constants;
|
|
|
+ import com.jtgh.yjpt.common.util.Utils;
|
|
|
+ import com.jtgh.yjpt.select.JcgSelect;
|
|
|
+ import com.jtgh.yjpt.select.MaoSelect;
|
|
|
+ import com.jtgh.yjpt.select.WhzyStatusSelect;
|
|
|
+ import com.jtgh.yjpt.vo.common.CodeVo;
|
|
|
+ import com.jtgh.yjpt.vo.gkgq.GqVo;
|
|
|
+ import com.jtgh.yjpt.vo.jyr.BwVo;
|
|
|
+ import com.jtgh.yjpt.vo.jyr.JyrVo;
|
|
|
+
|
|
|
+ import mx.collections.ArrayCollection;
|
|
|
+ import mx.controls.Alert;
|
|
|
+ import mx.events.FlexEvent;
|
|
|
+ import mx.events.ListEvent;
|
|
|
+ import mx.rpc.events.ResultEvent;
|
|
|
+
|
|
|
+ import spark.formatters.DateTimeFormatter;
|
|
|
+
|
|
|
+ [Bindable]
|
|
|
+ private var total:Number;
|
|
|
+ [Bindable]
|
|
|
+ private var statusList:ArrayCollection;
|
|
|
+ [Bindable]
|
|
|
+ private var inoroutList:ArrayCollection;
|
|
|
+ [Bindable]
|
|
|
+ private var maoList:ArrayCollection;
|
|
|
+ [Bindable]
|
|
|
+ private var jyrWhpmList:ArrayCollection;
|
|
|
+ [Bindable]
|
|
|
+ private var whpmList:ArrayCollection;
|
|
|
+ [Bindable]
|
|
|
+ private var jyrBwList:ArrayCollection;
|
|
|
+ [Bindable]
|
|
|
+ private var gqJyrList:ArrayCollection;
|
|
|
+ [Bindable]
|
|
|
+ private var xzqhJyrList:ArrayCollection;
|
|
|
+ [Bindable]
|
|
|
+ private var xzqhList:ArrayCollection;
|
|
|
+
|
|
|
+ public function downLond(event:MouseEvent):void{
|
|
|
+ if(!checkCount())
|
|
|
+ return;
|
|
|
+ var szds:Number=0;
|
|
|
+ if(szd.selectedVO != null) {
|
|
|
+ szds = (szd.selectedVO as CodeVo).id;
|
|
|
+ }
|
|
|
+ var gq:Number=0;
|
|
|
+ if(szgq.selectedVO != null) {
|
|
|
+ gq = (szgq.selectedVO as GqVo).id;
|
|
|
+ }
|
|
|
+ var xzqhs:Number=0;
|
|
|
+ if(xzqh.selectedVO != null) {
|
|
|
+ xzqhs = (szd.selectedVO as CodeVo).id;
|
|
|
+ }
|
|
|
+ var jyrs:Number=0;
|
|
|
+ if(jyr.selectedVO != null) {
|
|
|
+ (jyr.selectedVO as JyrVo).id
|
|
|
+ }
|
|
|
+ var mtbws:Number=0;
|
|
|
+ if (mtbw.selectedVO != null) {
|
|
|
+ mtbws = (mtbw.selectedVO as BwVo).id;
|
|
|
+ }
|
|
|
+
|
|
|
+ var url:String = Utils.getBaseUrl()+"getWxzylExcelFile.do";
|
|
|
+ var request:URLRequest = new URLRequest(url);
|
|
|
+ var params:URLVariables = new URLVariables();
|
|
|
+ params.szd = szds;
|
|
|
+ params.gq = gq;
|
|
|
+ params.xzqh = xzqhs;
|
|
|
+ params.jyr = jyrs;
|
|
|
+ params.bw = mtbws;
|
|
|
+ params.whbh = whbh.text;
|
|
|
+ params.whzyStatus = whzyStatus.textValue;
|
|
|
+ params.inorout = inorout.textValue;
|
|
|
+ params.mao = mao.textValue;
|
|
|
+ params.startTime = startTime.dateTime==null?"":startTime.text;
|
|
|
+ params.stopTime = stopTime.dateTime==null?"":stopTime.text;
|
|
|
+ params.zycs = Constants.GGDM_ID_ZYCS_GBQ;
|
|
|
+ request.data = params;
|
|
|
+ request.method = URLRequestMethod.POST;
|
|
|
+ var file:FileReference= new FileReference();
|
|
|
+ file.addEventListener(Event.COMPLETE, downloadCompleteHandler);
|
|
|
+ file.addEventListener(Event.CANCEL, downloadCompleteHandler);
|
|
|
+ file.download(request,"过驳区危险货物作业量查询统计.xls");
|
|
|
+ cursorManager.setBusyCursor();
|
|
|
+ }
|
|
|
+
|
|
|
+ private function downloadCompleteHandler(event:Event):void {
|
|
|
+ cursorManager.removeBusyCursor();
|
|
|
+ }
|
|
|
+
|
|
|
+ protected function creationCompleteHandler(event:FlexEvent):void
|
|
|
+ {
|
|
|
+ szd.addEventListener(ListEvent.CHANGE,reloadSzd);
|
|
|
+ jyr.addEventListener(ListEvent.CHANGE,reloadJyr);
|
|
|
+ }
|
|
|
+
|
|
|
+ private function styleFunc(data:Object, column:AdvancedDataGridColumn):Object
|
|
|
+ {
|
|
|
+ if(data["group"])
|
|
|
+ return {fontWeight:"bold"};
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ public function reloadJyr(e:Event):void
|
|
|
+ {
|
|
|
+ if(jyr.selectedVO!=null)
|
|
|
+ {
|
|
|
+ var jyrVo:JyrVo = jyr.selectedVO as JyrVo;
|
|
|
+ mtbw.reload(jyrVo);
|
|
|
+ xzqh.selectedVO = jyrVo.xzqh;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ mtbw.reload(null);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public function reloadSzd(e:Event):void
|
|
|
+ {
|
|
|
+ szgq.reload(szd.selectedVO);
|
|
|
+ jyr.reload(szd.selectedVO);
|
|
|
+ mtbw.reload(null);
|
|
|
+ if(Global.deployMode==Constants.DEPLOY_MODE_0)
|
|
|
+ {
|
|
|
+ xzqh.reload(szd.selectedVO);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ private function count_clickHandler(event:MouseEvent):void{
|
|
|
+ if(!checkCount())
|
|
|
+ return;
|
|
|
+ Utils.callRemote("zysqbpController","countEvent2",resultCallBack,whzyStatus.textValue,inorout.textValue,mao.textValue,((szd.selectedVO) as CodeVo).id,
|
|
|
+ szgq.selectedVO==null?0:(szgq.selectedVO as GqVo).id,xzqh.selectedVO==null?0:(xzqh.selectedVO as CodeVo).id,
|
|
|
+ jyr.selectedVO==null?0:(jyr.selectedVO as JyrVo).id,mtbw.selectedVO==null?0:(mtbw.selectedVO as BwVo).id,
|
|
|
+ whbh.text,startTime.dateTime,stopTime.dateTime,Constants.GGDM_ID_ZYCS_GBQ);
|
|
|
+ }
|
|
|
+
|
|
|
+ private function checkCount():Boolean
|
|
|
+ {
|
|
|
+ if(startTime.dateTime==null)
|
|
|
+ {
|
|
|
+ Utils.showInfoMessage("zysqbp.count.startTime.empty",null,"zysqbp");
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if(stopTime.dateTime==null)
|
|
|
+ {
|
|
|
+ Utils.showInfoMessage("zysqbp.count.stopTime.empty",null,"zysqbp");
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+
|
|
|
+ private function resultCallBack(r:ResultEvent):void
|
|
|
+ {
|
|
|
+ var bc:BusinessContext = r.result as BusinessContext;
|
|
|
+ if(Utils.checkMsgError(bc.msgs))
|
|
|
+ {
|
|
|
+ Alert.show(Utils.getFirstErrorMsg(bc.msgs).localeLabel,resourceManager.getString("common","errorTitle"));
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ total = bc.getAttribute("total") as Number;
|
|
|
+ xzqhList = bc.getAttribute("xzqhList") as ArrayCollection;
|
|
|
+ xzqhJyrList = bc.getAttribute("xzqhJyrList") as ArrayCollection;
|
|
|
+ gqJyrList = bc.getAttribute("gqJyrList") as ArrayCollection;
|
|
|
+ jyrBwList = bc.getAttribute("jyrBwList") as ArrayCollection;
|
|
|
+ whpmList = bc.getAttribute("whpmList") as ArrayCollection;
|
|
|
+ jyrWhpmList = bc.getAttribute("jyrWhpmList") as ArrayCollection;
|
|
|
+ statusList = bc.getAttribute("statusList") as ArrayCollection;
|
|
|
+ inoroutList = bc.getAttribute("inoroutList") as ArrayCollection;
|
|
|
+ maoList = bc.getAttribute("maoList") as ArrayCollection;
|
|
|
+ var df:DateTimeFormatter = new DateTimeFormatter();
|
|
|
+ df.setStyle("locale","zh-CN");
|
|
|
+ df.dateTimePattern="yyyy年MM月dd日";
|
|
|
+ countLabel.text=df.format(startTime.dateTime)+"至"+df.format(stopTime.dateTime)+(szd.selectedVO as CodeVo).localeName+"所在地"
|
|
|
+ +(szgq.selectedVO==null?"":(szgq.selectedVO as GqVo).gqmc)+(xzqh.selectedVO==null?"":(xzqh.selectedVO as CodeVo).name)
|
|
|
+ +(jyr.selectedVO==null?"":(jyr.selectedVO as JyrVo).gkjyr)+(mtbw.selectedVO==null?"":(mtbw.selectedVO as BwVo).bwmc)
|
|
|
+ +(whbh.text==""?"":(whbh.text+"危货品"))+"过驳区危货作业申报"
|
|
|
+ +(whzyStatus.textValue==null?"":WhzyStatusSelect.getName(whzyStatus.textValue as String))
|
|
|
+ +(inorout.textValue==null?"":JcgSelect.getName(inorout.textValue as String))
|
|
|
+ +(mao.textValue==null?"":MaoSelect.getName(mao.textValue as String))
|
|
|
+ +"总数:"+total;
|
|
|
+ }
|
|
|
+
|
|
|
+ ]]>
|
|
|
+ </fx:Script>
|
|
|
+
|
|
|
+ <s:VGroup width="100%" verticalAlign="middle" paddingTop="5" >
|
|
|
+ <s:HGroup width="100%" horizontalAlign="left" verticalAlign="middle">
|
|
|
+ <!--<button:IconButton id="statistics" type="statistics" toolTip="{resourceManager.getString('common','btn.statistics')}"
|
|
|
+ click="count_clickHandler(event)"/>-->
|
|
|
+ <s:Spacer width="10"/>
|
|
|
+ <button:IconButton id="print" type="print" toolTip="{resourceManager.getString('common','btn.export')}" click="downLond(event)"/>
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup width="100%" height="40" gap="0" horizontalAlign="left" verticalAlign="middle">
|
|
|
+ <s:HGroup horizontalAlign="left" verticalAlign="middle" width="25%">
|
|
|
+ <cus:QLabel textAlign="right" text="{resourceManager.getString('jlrxxgl','szd')}" width="120"/>
|
|
|
+ <cus:QComboBox id="szd" comboxClass="SzdSelect" parentId="{Global.szd.id}" selectedVO="{Global.szd}" width="160" />
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup horizontalAlign="left" verticalAlign="middle" width="25%">
|
|
|
+ <cus:QLabel width="120" text="{resourceManager.getString('yjgl','yjya.gq')}" textAlign="right" />
|
|
|
+ <cus:QComboBox id="szgq" comboxClass="GqBySzdSelect" parentId="{Global.szd}" hasBlank="true" width="160" />
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup horizontalAlign="left" verticalAlign="middle" width="25%">
|
|
|
+ <cus:QLabel width="120" text="{resourceManager.getString('jlrxxgl','xzqh')}" textAlign="right" />
|
|
|
+ <cus:QComboBox id="xzqh" comboxClass="XzqhSelect" parentId="{Global.deploySzd}" hasBlank="true" width="160" />
|
|
|
+ </s:HGroup>
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup width="100%" height="40" gap="0" horizontalAlign="left" verticalAlign="middle">
|
|
|
+ <s:HGroup horizontalAlign="left" verticalAlign="middle" width="25%">
|
|
|
+ <cus:QLabel textAlign="right" text="申报单位" width="120"/>
|
|
|
+ <cus:QComboBox id="jyr" comboxClass="JyrSelect" hasBlank="true" parentId="{Global.szd}" width="160"/>
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup horizontalAlign="left" verticalAlign="middle" width="25%">
|
|
|
+ <cus:QLabel textAlign="right" text="危货品UN编号" width="120"/>
|
|
|
+ <cus:QTextInput id="whbh" width="160"/>
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup horizontalAlign="left" verticalAlign="middle" width="25%">
|
|
|
+ <cus:QLabel textAlign="right" text="申报审批状态" width="120"/>
|
|
|
+ <cus:QComboBox id="whzyStatus" comboxClass="WhzyStatusSelect" hasBlank="true" width="160"/>
|
|
|
+ </s:HGroup>
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup width="100%" height="40" gap="0" horizontalAlign="left" verticalAlign="middle">
|
|
|
+ <s:HGroup horizontalAlign="left" verticalAlign="middle" width="25%">
|
|
|
+ <cus:QLabel textAlign="right" text="进出港" width="120"/>
|
|
|
+ <cus:QComboBox id="inorout" comboxClass="JcgSelect" hasBlank="true" width="160"/>
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup horizontalAlign="left" verticalAlign="middle" width="25%">
|
|
|
+ <cus:QLabel textAlign="right" text="内外贸" width="120"/>
|
|
|
+ <cus:QComboBox id="mao" comboxClass="MaoSelect" hasBlank="true" width="160"/>
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup horizontalAlign="left" verticalAlign="middle" width="25%" visible="false" includeInLayout="false">
|
|
|
+ <cus:QLabel textAlign="right" text="泊位" width="120"/>
|
|
|
+ <cus:QComboBox id="mtbw" comboxClass="BwByJyrSelect" hasBlank="true" width="160"/>
|
|
|
+ </s:HGroup>
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup width="100%" height="40" gap="0" horizontalAlign="left" verticalAlign="middle">
|
|
|
+ <s:HGroup horizontalAlign="left" verticalAlign="middle" width="25%">
|
|
|
+ <cus:QLabel textAlign="right" notNull="true" text="报告时间" width="120"/>
|
|
|
+ <ui:DateTime id="startTime" hasTime="false" width="160"/>
|
|
|
+ <cus:QLabel textAlign="right" text="起" width="20"/>
|
|
|
+ <ui:DateTime id="stopTime" hasTime="false" width="160"/>
|
|
|
+ <cus:QLabel textAlign="right" text="止" width="20"/>
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup horizontalAlign="left" verticalAlign="middle" width="25%">
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup horizontalAlign="left" verticalAlign="middle" width="25%">
|
|
|
+ </s:HGroup>
|
|
|
+ <s:HGroup horizontalAlign="left" verticalAlign="middle" width="25%">
|
|
|
+ <cus:QLabel text="" width="130"/>
|
|
|
+ <s:Image source="@Embed('resource/yjpt/list/btn_query.png')" buttonMode="true" click="count_clickHandler(event)"/>
|
|
|
+ </s:HGroup>
|
|
|
+ </s:HGroup>
|
|
|
+
|
|
|
+ <s:VGroup width="100%" verticalAlign="middle">
|
|
|
+ <s:BorderContainer height="40" width="100%" backgroundColor="#23A5B8" borderVisible="false">
|
|
|
+ <s:HGroup verticalAlign="middle" width="100%" horizontalAlign="center" height="40">
|
|
|
+ <s:Label id="countLabel" width="100%" fontSize="16" fontWeight="bold" textAlign="left"/>
|
|
|
+ </s:HGroup>
|
|
|
+ </s:BorderContainer>
|
|
|
+ <mx:VBox width="100%" height="500">
|
|
|
+ <mx:HBox width="100%" verticalAlign="middle">
|
|
|
+ <mx:AdvancedDataGrid width="20%" height="500" dataProvider="{xzqhList}" borderVisible="true"
|
|
|
+ showScrollTips="true" rowHeight="30" sortExpertMode="true" borderStyle="inset"
|
|
|
+ textAlign="center" visible="{xzqhList!=null}" includeInLayout="{xzqhList!=null}">
|
|
|
+ <mx:groupedColumns>
|
|
|
+ <mx:AdvancedDataGridColumn headerText="经营人行政区划" dataField="name" sortable="false" showDataTips="true" dataTipField="name"/>
|
|
|
+ <mx:AdvancedDataGridColumn headerText="作业次数" dataField="count" sortable="false" showDataTips="false"/>
|
|
|
+ </mx:groupedColumns>
|
|
|
+ </mx:AdvancedDataGrid>
|
|
|
+ <mx:AdvancedDataGrid width="20%" height="500" dataProvider="{xzqhJyrList}" borderVisible="true"
|
|
|
+ showScrollTips="true" rowHeight="30" sortExpertMode="true" borderStyle="inset"
|
|
|
+ textAlign="center" visible="{xzqhJyrList!=null}" includeInLayout="{xzqhJyrList!=null}">
|
|
|
+ <mx:groupedColumns>
|
|
|
+ <mx:AdvancedDataGridColumn headerText="行政区划/经营人" styleFunction="{styleFunc}" dataField="name" sortable="false" showDataTips="true" dataTipField="name"/>
|
|
|
+ <mx:AdvancedDataGridColumn headerText="作业次数" dataField="count" sortable="false" showDataTips="false"/>
|
|
|
+ </mx:groupedColumns>
|
|
|
+ </mx:AdvancedDataGrid>
|
|
|
+ <mx:AdvancedDataGrid width="20%" height="500" dataProvider="{gqJyrList}" borderVisible="true"
|
|
|
+ showScrollTips="true" rowHeight="30" sortExpertMode="true" borderStyle="inset"
|
|
|
+ textAlign="center" visible="{gqJyrList!=null}" includeInLayout="{gqJyrList!=null}">
|
|
|
+ <mx:groupedColumns>
|
|
|
+ <mx:AdvancedDataGridColumn headerText="港区/经营人" styleFunction="{styleFunc}" dataField="name" sortable="false" showDataTips="true" dataTipField="name"/>
|
|
|
+ <mx:AdvancedDataGridColumn headerText="作业次数" dataField="count" sortable="false" showDataTips="false"/>
|
|
|
+ </mx:groupedColumns>
|
|
|
+ </mx:AdvancedDataGrid>
|
|
|
+ <mx:AdvancedDataGrid width="20%" height="500" dataProvider="{jyrBwList}" borderVisible="true"
|
|
|
+ showScrollTips="true" rowHeight="30" sortExpertMode="true" borderStyle="inset"
|
|
|
+ textAlign="center" visible="{jyrBwList!=null}" includeInLayout="{jyrBwList!=null}">
|
|
|
+ <mx:groupedColumns>
|
|
|
+ <mx:AdvancedDataGridColumn headerText="经营人/过驳区" styleFunction="{styleFunc}" dataField="name" sortable="false" showDataTips="true" dataTipField="name"/>
|
|
|
+ <mx:AdvancedDataGridColumn headerText="作业次数" dataField="count" sortable="false" showDataTips="false"/>
|
|
|
+ </mx:groupedColumns>
|
|
|
+ </mx:AdvancedDataGrid>
|
|
|
+ <mx:AdvancedDataGrid width="20%" height="500" dataProvider="{whpmList}" borderVisible="true"
|
|
|
+ showScrollTips="true" rowHeight="30" sortExpertMode="true" borderStyle="inset"
|
|
|
+ textAlign="center" visible="{whpmList!=null}" includeInLayout="{whpmList!=null}">
|
|
|
+ <mx:groupedColumns>
|
|
|
+ <mx:AdvancedDataGridColumn headerText="危货品名" dataField="name" sortable="false" showDataTips="true" dataTipField="name"/>
|
|
|
+ <mx:AdvancedDataGridColumn headerText="作业次数" dataField="count" sortable="false" showDataTips="false"/>
|
|
|
+ </mx:groupedColumns>
|
|
|
+ </mx:AdvancedDataGrid>
|
|
|
+ <mx:AdvancedDataGrid width="20%" height="500" dataProvider="{jyrWhpmList}" borderVisible="true"
|
|
|
+ showScrollTips="true" rowHeight="30" sortExpertMode="true" borderStyle="inset"
|
|
|
+ textAlign="center" visible="{jyrWhpmList!=null}" includeInLayout="{jyrWhpmList!=null}">
|
|
|
+ <mx:groupedColumns>
|
|
|
+ <mx:AdvancedDataGridColumn headerText="经营人/危货品名" styleFunction="{styleFunc}" dataField="name" sortable="false" showDataTips="true" dataTipField="name"/>
|
|
|
+ <mx:AdvancedDataGridColumn headerText="作业次数" dataField="count" sortable="false" showDataTips="false"/>
|
|
|
+ </mx:groupedColumns>
|
|
|
+ </mx:AdvancedDataGrid>
|
|
|
+ <mx:AdvancedDataGrid width="20%" height="500" dataProvider="{statusList}" borderVisible="true"
|
|
|
+ showScrollTips="true" rowHeight="30" sortExpertMode="true" borderStyle="inset"
|
|
|
+ textAlign="center" visible="{statusList!=null}" includeInLayout="{statusList!=null}">
|
|
|
+ <mx:groupedColumns>
|
|
|
+ <mx:AdvancedDataGridColumn headerText="申报审批状态" styleFunction="{styleFunc}" dataField="statusName" sortable="false" showDataTips="true" dataTipField="statusName"/>
|
|
|
+ <mx:AdvancedDataGridColumn headerText="作业次数" dataField="count" sortable="false" showDataTips="false"/>
|
|
|
+ </mx:groupedColumns>
|
|
|
+ </mx:AdvancedDataGrid>
|
|
|
+ <mx:AdvancedDataGrid width="20%" height="500" dataProvider="{inoroutList}" borderVisible="true"
|
|
|
+ showScrollTips="true" rowHeight="30" sortExpertMode="true" borderStyle="inset"
|
|
|
+ textAlign="center" visible="{inoroutList!=null}" includeInLayout="{inoroutList!=null}">
|
|
|
+ <mx:groupedColumns>
|
|
|
+ <mx:AdvancedDataGridColumn headerText="进港/出港" styleFunction="{styleFunc}" dataField="inoroutName" sortable="false" showDataTips="true" dataTipField="inoroutName"/>
|
|
|
+ <mx:AdvancedDataGridColumn headerText="作业次数" dataField="count" sortable="false" showDataTips="false"/>
|
|
|
+ </mx:groupedColumns>
|
|
|
+ </mx:AdvancedDataGrid>
|
|
|
+ <mx:AdvancedDataGrid width="20%" height="500" dataProvider="{maoList}" borderVisible="true"
|
|
|
+ showScrollTips="true" rowHeight="30" sortExpertMode="true" borderStyle="inset"
|
|
|
+ textAlign="center" visible="{maoList!=null}" includeInLayout="{maoList!=null}">
|
|
|
+ <mx:groupedColumns>
|
|
|
+ <mx:AdvancedDataGridColumn headerText="内贸/外贸" styleFunction="{styleFunc}" dataField="maoName" sortable="false" showDataTips="true" dataTipField="maoName"/>
|
|
|
+ <mx:AdvancedDataGridColumn headerText="作业次数" dataField="count" sortable="false" showDataTips="false"/>
|
|
|
+ </mx:groupedColumns>
|
|
|
+ </mx:AdvancedDataGrid>
|
|
|
+ </mx:HBox>
|
|
|
+ </mx:VBox>
|
|
|
+ </s:VGroup>
|
|
|
+
|
|
|
+ </s:VGroup>
|
|
|
+</s:VGroup>
|