| | |
| | | </PropertyDef> |
| | | <PropertyDef name="timeDesc"> |
| | | <Property></Property> |
| | | <Property name="label">时间</Property> |
| | | <Property name="label">查询时间</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="title"> |
| | | <Property></Property> |
| | |
| | | <Property name="label">创建人</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="createTime"> |
| | | <Property name="label">创建时间</Property> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="label">制表时间</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | </Model> |
| | |
| | | <Property name="loadMode">manual</Property> |
| | | <Property name="dataProvider">superInventoryReportPR#getQuery</Property> |
| | | </DataSet> |
| | | <DataSet id="dsDeptList"> |
| | | <Property name="dataProvider">deptPR#getDeptByUserType</Property> |
| | | <Property name="userData">库区列表下拉框</Property> |
| | | <Property name="loadMode">manual</Property> |
| | | <Property name="dataType">[dtDept]</Property> |
| | | </DataSet> |
| | | <Container> |
| | | <Property name="className">c-param</Property> |
| | | <AutoForm> |
| | | <Property name="cols">*,*,*,*,90,90,140</Property> |
| | | <Property name="cols">*,*,280,280,90,90,140</Property> |
| | | <Property name="dataSet">dsQuery</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelAlign">right</Property> |
| | |
| | | <AutoFormElement> |
| | | <Property name="name">deptId</Property> |
| | | <Property name="property">deptId</Property> |
| | | <Property name="trigger">dsDeptDropDown</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | |
| | | <Container> |
| | | <Property name="className">c-data</Property> |
| | | <AutoForm id="autoForm1" layoutConstraint="top"> |
| | | <Property name="cols">*,*,*,*</Property> |
| | | <Property name="cols">*,*,300</Property> |
| | | <Property name="dataSet">dsQuery</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="showHint">false</Property> |
| | | <Property name="labelWidth">120</Property> |
| | | <AutoFormElement layoutConstraint="colSpan:4"> |
| | | <AutoFormElement layoutConstraint="colSpan:3"> |
| | | <Property name="name">title</Property> |
| | | <Property name="property">title</Property> |
| | | <Property name="showLabel">false</Property> |
| | |
| | | <Property name="name">timeDesc</Property> |
| | | <Property name="property">timeDesc</Property> |
| | | <Property name="editorType">Label</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="visible">false</Property> |
| | | <Property name="name">depotId</Property> |
| | | <Property name="property">depotId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | |
| | | </DataPilot> |
| | | </ToolBar> |
| | | </Container> |
| | | <DataSetDropDown id="dsDeptDropDown"> |
| | | <ClientEvent name="onOpen">
 |
| | | var entity = view.get("#dsQuery.data");
 |
| | | if(!entity){
 |
| | | $alert("请先选择所属公司");
 |
| | | }else{
 |
| | | var deptId = entity.get("customerId");
 |
| | | if(!deptId){
 |
| | | $alert("请先选择所属公司");
 |
| | | }else{
 |
| | | view.get("#dsDeptList").set("parameter",entity.get("customerId")).flushAsync();
 |
| | | }
 |
| | | }</ClientEvent> |
| | | <Property name="dataSet">dsDeptList</Property> |
| | | <Property name="height">450</Property> |
| | | <Property name="autoOpen">true</Property> |
| | | <Property name="assignmentMap">deptId=id</Property> |
| | | <Property name="width">400</Property> |
| | | <DataColumn> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">kqmc</Property> |
| | | <Property name="property">kqmc</Property> |
| | | <Editor/> |
| | | </DataColumn> |
| | | </DataSetDropDown> |
| | | </View> |
| | | </ViewConfig> |