| | |
| | | </PropertyDef> |
| | | </DataType> |
| | | </Model> |
| | | <View layout="padding:5;regionPadding:5"> |
| | | <View layout="padding:10"> |
| | | <Property name="packages">font-awesome,css-common</Property> |
| | | <Property name="cache"> |
| | | <Property name="mode">clientSide</Property> |
| | |
| | | <Property name="dataType">dataTypeC</Property> |
| | | <Property name="dataProvider">quantityDataPR#getQuery</Property> |
| | | </DataSet> |
| | | <AutoForm> |
| | | <Property name="cols">*,*,*,*</Property> |
| | | <Property name="dataSet">dataSetC</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelWidth">110</Property> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">depotId</Property> |
| | | <Property name="property">depotId</Property> |
| | | <Property name="trigger">autoMappingDropDown2</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">start</Property> |
| | | <Property name="property">start</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">end</Property> |
| | | <Property name="property">end</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <Container layout="hbox regionPadding:10"> |
| | | <Container> |
| | | <Property name="className">c-param</Property> |
| | | <AutoForm> |
| | | <Property name="cols">*,*,*,90,90</Property> |
| | | <Property name="dataSet">dataSetC</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelWidth">110</Property> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">depotId</Property> |
| | | <Property name="property">depotId</Property> |
| | | <Property name="trigger">autoMappingDropDown2</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">start</Property> |
| | | <Property name="property">start</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">end</Property> |
| | | <Property name="property">end</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <Button> |
| | | <ClientEvent name="onClick">var param = view.get("#dataSetC.data");
 |
| | | view.get("#dsMain").set("parameter",param).flushAsync();
 |
| | |
| | | 
 |
| | | //view.get("#labelBillUser").set("text","制表人:"+user);
 |
| | | //view.get("#labelBillCheckDate").set("text",text);</ClientEvent> |
| | | <Property name="caption">查询</Property> |
| | | <Property name="caption">搜索</Property> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | <Property name="exClassName">btn-q1</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">view.get("#dataSetC").flushAsync();</ClientEvent> |
| | | <Property name="caption">重置</Property> |
| | | <Property name="iconClass">fa fa-refresh</Property> |
| | | <Property name="exClassName">btn2</Property> |
| | | <Property name="exClassName">btn-q2</Property> |
| | | </Button> |
| | | </Container> |
| | | </AutoForm> |
| | | <Container layoutConstraint="center"> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <DataGrid id="dataGrid1" layoutConstraint="center "> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Property name="headerRowHeight">30</Property> |
| | | <RowNumColumn/> |
| | | <DataColumn name="batchId"> |
| | | <Property name="property">batchId</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="depotId"> |
| | | <Property name="property">depotId</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="weight"> |
| | | <Property name="property">weight</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="bulk"> |
| | | <Property name="property">bulk</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="receiveDate"> |
| | | <Property name="property">receiveDate</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="checkUser"> |
| | | <Property name="property">checkUser</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="visible">false</Property> |
| | | </DataColumn> |
| | | <DataColumn name="remark"> |
| | | <Property name="property">remark</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | </AutoForm> |
| | | </Container> |
| | | <Container> |
| | | <Property name="className">c-data</Property> |
| | | <AutoForm id="autoForm1" layoutConstraint="top"> |
| | | <Property name="cols">*,*,*</Property> |
| | | <Property name="dataSet">dataSetC</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="showHint">false</Property> |
| | | <AutoFormElement layoutConstraint="colSpan:3"> |
| | | <Property name="labelWidth">120</Property> |
| | | <AutoFormElement layoutConstraint="colSpan:4"> |
| | | <Property name="name">title</Property> |
| | | <Property name="property">title</Property> |
| | | <Property name="showLabel">false</Property> |
| | |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Container> |
| | | <Container layoutConstraint="bottom"> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <DataPilot layoutConstraint="right"> |
| | | <DataGrid id="dataGrid1" layoutConstraint=" padding:8"> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="itemCodes">pageSize,pages</Property> |
| | | </DataPilot> |
| | | <Property name="readOnly">true</Property> |
| | | <Property name="headerRowHeight">30</Property> |
| | | <Property name="rowHeight">50</Property> |
| | | <RowNumColumn/> |
| | | <DataColumn name="batchId"> |
| | | <Property name="property">batchId</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="depotId"> |
| | | <Property name="property">depotId</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="weight"> |
| | | <Property name="property">weight</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="bulk"> |
| | | <Property name="property">bulk</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="receiveDate"> |
| | | <Property name="property">receiveDate</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="checkUser"> |
| | | <Property name="property">checkUser</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="visible">false</Property> |
| | | </DataColumn> |
| | | <DataColumn name="remark"> |
| | | <Property name="property">remark</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <ToolBar layoutConstraint="bottom"> |
| | | <Fill/> |
| | | <DataPilot layoutConstraint="right"> |
| | | <Property name="itemCodes">pageSize,pages</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </DataPilot> |
| | | </ToolBar> |
| | | </Container> |
| | | </View> |
| | | </ViewConfig> |