| | |
| | | <Arguments/> |
| | | <Context/> |
| | | <Model> |
| | | |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.fzzy.push.sh2023.dto.SH2023Api2203</Property> |
| | | <PropertyDef name="htbh"> |
| | | <Property></Property> |
| | | <Property name="label">合同号</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bdh"> |
| | | <Property></Property> |
| | | <Property name="label">标的号</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cjrq"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">成交日期</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="jyzt"> |
| | | <Property></Property> |
| | | <Property name="label">交易状态</Property> |
| | | <Property name="mapping"> |
| | | <Property name="keyProperty">key</Property> |
| | | <Property name="valueProperty">value</Property> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="key"></Property> |
| | | <Property name="value"></Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">00</Property> |
| | | <Property name="value">已终止</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">01</Property> |
| | | <Property name="value">新制</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">02</Property> |
| | | <Property name="value">已签约</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">03</Property> |
| | | <Property name="value">已完结</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">04</Property> |
| | | <Property name="value">部分终止</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">05</Property> |
| | | <Property name="value">进行中</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">06</Property> |
| | | <Property name="value">已验收</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">07</Property> |
| | | <Property name="value">可归档</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">08</Property> |
| | | <Property name="value">已归档</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">09</Property> |
| | | <Property name="value">冻结保证金</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">10</Property> |
| | | <Property name="value">违约</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">11</Property> |
| | | <Property name="value">流拍</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="lsxz"> |
| | | <Property></Property> |
| | | <Property name="label">粮食性质</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("LSXZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="lspzdl"> |
| | | <Property></Property> |
| | | <Property name="label">粮食品种大类</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="lspzmx"> |
| | | <Property></Property> |
| | | <Property name="label">粮食品种明细</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("LSPZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="scnf"> |
| | | <Property></Property> |
| | | <Property name="label">生产年份</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="kd"> |
| | | <Property></Property> |
| | | <Property name="label">库点</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bmfqc"> |
| | | <Property></Property> |
| | | <Property name="label">买方全称</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="smfqc"> |
| | | <Property></Property> |
| | | <Property name="label">卖方全称</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cjsl"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">成交数量</Property> |
| | | <Property name="displayFormat">#0.00吨</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cjje"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">成交金额</Property> |
| | | <Property name="displayFormat">#0.00元</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="qpj"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">起拍价</Property> |
| | | <Property name="displayFormat">#0.00元</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cjj"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">成交价</Property> |
| | | <Property name="displayFormat">#0.00元</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="yjfd"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">溢价幅度</Property> |
| | | <Property name="displayFormat">#0.00</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bmfsxf"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">买方手续费</Property> |
| | | <Property name="displayFormat">#0.00元</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="smfsxf"> |
| | | <Property></Property> |
| | | <Property name="label">卖方手续费</Property> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="displayFormat">#0.00元</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="lx"> |
| | | <Property></Property> |
| | | <Property name="label">采购/销售类型</Property> |
| | | <Property name="mapping"> |
| | | <Property name="keyProperty">key</Property> |
| | | <Property name="valueProperty">value</Property> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="key">0</Property> |
| | | <Property name="value">采购订单</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">1</Property> |
| | | <Property name="value">销售订单</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bmfxzqh"> |
| | | <Property></Property> |
| | | <Property name="label">买方行政区划</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("gbAreaPR#listAll").getResult()}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="smfxzqh"> |
| | | <Property></Property> |
| | | <Property name="label">卖方行政区划</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("gbAreaPR#listAll").getResult()}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="hwmc"> |
| | | <Property></Property> |
| | | <Property name="label">货位名称</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="jyxzqh"> |
| | | <Property></Property> |
| | | <Property name="label">交易行政区划</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("gbAreaPR#listAll").getResult()}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="czbz"> |
| | | <Property></Property> |
| | | <Property name="label">操作标志</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("CZBZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="zhgxsj"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">最后更新时间</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtParam"> |
| | | <Property name="creationType">com.fzzy.api.data.ApiParam</Property> |
| | | <PropertyDef name="kqdm"> |
| | | <Property></Property> |
| | | <Property name="label">所属库区</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="start"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">开始时间</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="end"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">截止时间</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="czbz"> |
| | | <Property></Property> |
| | | <Property name="label">操作标志</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("CZBZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtGBArea"> |
| | | <Property name="creationType">com.fzzy.api.entity.GbArea</Property> |
| | | <PropertyDef name="code"> |
| | | <Property></Property> |
| | | <Property name="label">接口编码</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="name"> |
| | | <Property></Property> |
| | | <Property name="label">名称</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="parentCode"> |
| | | <Property></Property> |
| | | <Property name="label">父编码</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="disabledTag"> |
| | | <Property></Property> |
| | | <Property name="label">禁用</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="simple"> |
| | | <Property></Property> |
| | | <Property name="label">是否默认</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="remark"> |
| | | <Property></Property> |
| | | <Property name="label">备注说明</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | </Model> |
| | | <View layout="regionPadding:10"> |
| | | |
| | | <Property name="packages">font-awesome,css-common</Property> |
| | | <DataSet id="dsMain"> |
| | | <Property name="dataType">[dtMain]</Property> |
| | | <Property name="dataProvider">sHApi2203PR#listData</Property> |
| | | <Property name="pageSize">15</Property> |
| | | </DataSet> |
| | | <DataSet id="dsQuery"> |
| | | <ClientEvent name="onReady">self.insert();</ClientEvent> |
| | | <Property name="dataType">dtParam</Property> |
| | | </DataSet> |
| | | <ToolBar> |
| | | <ToolBarLabel> |
| | | <Property name="text">工具栏:</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </ToolBarLabel> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var query = view.get("#dsQuery").getData();
 |
| | | view.get("#dsMain").set("parameter",query).flushAsync();</ClientEvent> |
| | | <Property name="caption">查询</Property> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="exClassName">toolbar-button-push</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton id="btnAdd"> |
| | | <ClientEvent name="onClick">view.get("#dsMain").insert();
 |
| | | view.get("#dialogMain").show();</ClientEvent> |
| | | <Property name="caption">新增</Property> |
| | | <Property name="iconClass">fa fa-plus</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | <Property name="hideMode">display</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton id="btnUpdate"> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | if(cur){
 |
| | | view.get("#dialogMain").show();
 |
| | | }</ClientEvent> |
| | | <Property name="caption">修改</Property> |
| | | <Property name="iconClass">fa fa-pencil</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="exClassName">toolbar-button-warm</Property> |
| | | <Property name="hideMode">display</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | view.get("#ajaxDelUpdate").set("parameter",cur).execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | } else{
 |
| | | cur.set("czbz","d")
 |
| | | }
 |
| | | });
 |
| | | </ClientEvent> |
| | | <Property name="caption">标记删除</Property> |
| | | <Property name="iconClass">fa fa-minus</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | <Property name="width">100</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton id="btnDel"> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | view.get("#ajaxDel").set("parameter",cur).execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | } else{
 |
| | | cur.remove();
 |
| | | }
 |
| | | });
 |
| | | </ClientEvent> |
| | | <Property name="caption">直接删除</Property> |
| | | <Property name="iconClass">fa fa-minus</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="hideMode">display</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var select = view.get("#dgMain").get("selection");
 |
| | | if(select && select.length > 0){
 |
| | | view.get("#ajaxPush").set("parameter",select).execute(function(result){
 |
| | | view.get("#dsMain").flushAsync();
 |
| | | $notify(result);
 |
| | | });
 |
| | | }else{
 |
| | | $alert("请勾选上报数据!");
 |
| | | }
 |
| | | </ClientEvent> |
| | | <Property name="caption">手动上传</Property> |
| | | <Property name="iconClass">fa fa-hand-o-up</Property> |
| | | <Property name="exClassName">toolbar-button-push</Property> |
| | | <Property name="width">100</Property> |
| | | </ToolBarButton> |
| | | <Fill/> |
| | | <ToolBarButton> |
| | | <Property name="caption">上传记录</Property> |
| | | <Property name="iconClass">fa fa-bars</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | <Property name="width">100</Property> |
| | | </ToolBarButton> |
| | | </ToolBar> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsQuery</Property> |
| | | <Property name="cols">*,*,*,*</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelWidth">90</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">kqdm</Property> |
| | | <Property name="property">kqdm</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> |
| | | <AutoFormElement> |
| | | <Property name="name">czbz</Property> |
| | | <Property name="property">czbz</Property> |
| | | <Property name="trigger">autoMappingDropDown2</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | <DataGrid id="dgMain"> |
| | | <ClientEvent name="onDataRowDoubleClick">view.get("#dialogMain").show();</ClientEvent> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="selectionMode">multiRows</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <RowNumColumn/> |
| | | <RowSelectorColumn> |
| | | <Property name="caption">上传</Property> |
| | | </RowSelectorColumn> |
| | | <DataColumn name="htbh"> |
| | | <Property name="property">htbh</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="jyzt"> |
| | | <Property name="property">jyzt</Property> |
| | | </DataColumn> |
| | | <DataColumn name="lspzmx"> |
| | | <Property name="property">lspzmx</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="scnf"> |
| | | <Property name="property">scnf</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="jyxzqh"> |
| | | <Property name="property">jyxzqh</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="czbz"> |
| | | <Property name="property">czbz</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="zhgxsj"> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <ToolBar layoutConstraint="bottom"> |
| | | <Fill/> |
| | | <DataPilot> |
| | | <Property name="itemCodes">pageSize,pages</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </DataPilot> |
| | | </ToolBar> |
| | | <Dialog id="dialogMain"> |
| | | <Property name="width">80%</Property> |
| | | <Property name="caption">交易中心合同</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Property name="closeable">false</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | view.get("#updateSave").execute(function(){
 |
| | | self.get("parent").hide();
 |
| | | });</ClientEvent> |
| | | <Property name="caption">保存修改</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | self.get("parent").hide();
 |
| | | if(cur) cur.cancel();</ClientEvent> |
| | | <Property name="caption">取消修改</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="cols">*,*,*</Property> |
| | | <Property name="labelAlign">left</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelPosition">left</Property> |
| | | <Property name="labelWidth">120</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">htbh</Property> |
| | | <Property name="property">htbh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bdh</Property> |
| | | <Property name="property">bdh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cjrq</Property> |
| | | <Property name="property">cjrq</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jyzt</Property> |
| | | <Property name="property">jyzt</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">lsxz</Property> |
| | | <Property name="property">lsxz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">lspzdl</Property> |
| | | <Property name="property">lspzdl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">lspzmx</Property> |
| | | <Property name="property">lspzmx</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">scnf</Property> |
| | | <Property name="property">scnf</Property> |
| | | <Property name="trigger">defaultYearDropDown</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">kd</Property> |
| | | <Property name="property">kd</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bmfqc</Property> |
| | | <Property name="property">bmfqc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">smfqc</Property> |
| | | <Property name="property">smfqc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cjsl</Property> |
| | | <Property name="property">cjsl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cjje</Property> |
| | | <Property name="property">cjje</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">qpj</Property> |
| | | <Property name="property">qpj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cjj</Property> |
| | | <Property name="property">cjj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">yjfd</Property> |
| | | <Property name="property">yjfd</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bmfsxf</Property> |
| | | <Property name="property">bmfsxf</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">smfsxf</Property> |
| | | <Property name="property">smfsxf</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">lx</Property> |
| | | <Property name="property">lx</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bmfxzqh</Property> |
| | | <Property name="property">bmfxzqh</Property> |
| | | <Property name="trigger">cddGbArea</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">smfxzqh</Property> |
| | | <Property name="property">smfxzqh</Property> |
| | | <Property name="trigger">cddGbArea1</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">hwmc</Property> |
| | | <Property name="property">hwmc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jyxzqh</Property> |
| | | <Property name="property">jyxzqh</Property> |
| | | <Property name="trigger">cddGbArea2</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">czbz</Property> |
| | | <Property name="property">czbz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">zhgxsj</Property> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <UpdateAction id="updateSave"> |
| | | <Property name="dataResolver">sHApi2203PR#saveData</Property> |
| | | <UpdateItem> |
| | | <Property name="dataPath">[#current]</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </UpdateItem> |
| | | </UpdateAction> |
| | | <AjaxAction id="ajaxPush"> |
| | | <Property name="service">sHApi2203PR#pushData</Property> |
| | | <Property name="confirmMessage">确定要上报么?</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDel"> |
| | | <Property name="service">sHApi2203PR#delData</Property> |
| | | <Property name="confirmMessage">当前数据删除后无法恢复,请确认要删除么?</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDelUpdate"> |
| | | <Property name="service">sHApi2203PR#delUpdate</Property> |
| | | <Property name="confirmMessage">确定要将数据标记为删除么?</Property> |
| | | </AjaxAction> |
| | | <CustomDropDown id="cddGbArea"> |
| | | <Property name="assignmentMap">bmfxzqh=code</Property> |
| | | <Property name="height">500</Property> |
| | | <Property name="minHeight">500</Property> |
| | | <Property name="maxHeight">500</Property> |
| | | <Property name="width">400</Property> |
| | | <Container layout="regionPadding:5"> |
| | | <DataSet id="dsGBArea"> |
| | | <Property name="dataProvider">gbAreaPR#findByCode</Property> |
| | | <Property name="dataType">[dtGBArea]</Property> |
| | | </DataSet> |
| | | <Container layout="hbox regionPadding:5"> |
| | | <TextEditor id="key2"> |
| | | <Property name="blankText"> -- 编码或者名称 --</Property> |
| | | <Property name="width">200</Property> |
| | | </TextEditor> |
| | | <Button> |
| | | <ClientEvent name="onClick">var key = view.get("#key2.value");
 |
| | | view.get("#dsGBArea").set("parameter",{key:key}).flushAsync();</ClientEvent> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | <Property name="caption">查询</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">var data = view.get("#dsGBArea.data:#");
 |
| | | if (data) {
 |
| | | view.get("#cddGbArea").close(data.toJSON());
 |
| | | }</ClientEvent> |
| | | <Property name="caption">确定</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | </Button> |
| | | </Container> |
| | | <DataGrid> |
| | | <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsGBArea.data:#");
 |
| | | if(data){
 |
| | | view.get("#cddGbArea").close(data.toJSON());
 |
| | | }</ClientEvent> |
| | | <Property name="dataSet">dsGBArea</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <DataColumn name="code"> |
| | | <Property name="property">code</Property> |
| | | </DataColumn> |
| | | <DataColumn name="name"> |
| | | <Property name="property">name</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | </Container> |
| | | </CustomDropDown> |
| | | <CustomDropDown id="cddGbArea1"> |
| | | <Property name="assignmentMap">smfxzqh=code</Property> |
| | | <Property name="height">500</Property> |
| | | <Property name="minHeight">500</Property> |
| | | <Property name="maxHeight">500</Property> |
| | | <Property name="width">400</Property> |
| | | <Container layout="regionPadding:5"> |
| | | <DataSet id="dsGBArea1"> |
| | | <Property name="dataProvider">gbAreaPR#findByCode</Property> |
| | | <Property name="dataType">[dtGBArea]</Property> |
| | | </DataSet> |
| | | <Container layout="hbox regionPadding:5"> |
| | | <TextEditor id="key3"> |
| | | <Property name="blankText"> -- 编码或者名称 --</Property> |
| | | <Property name="width">200</Property> |
| | | </TextEditor> |
| | | <Button> |
| | | <ClientEvent name="onClick">var key = view.get("#key3.value");
 |
| | | view.get("#dsGBArea1").set("parameter",{key:key}).flushAsync();</ClientEvent> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | <Property name="caption">查询</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">var data = view.get("#dsGBArea1.data:#");
 |
| | | if (data) {
 |
| | | view.get("#cddGbArea1").close(data.toJSON());
 |
| | | }</ClientEvent> |
| | | <Property name="caption">确定</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | </Button> |
| | | </Container> |
| | | <DataGrid> |
| | | <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsGBArea1.data:#");
 |
| | | if(data){
 |
| | | view.get("#cddGbArea1").close(data.toJSON());
 |
| | | }</ClientEvent> |
| | | <Property name="dataSet">dsGBArea1</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <DataColumn name="code"> |
| | | <Property name="property">code</Property> |
| | | </DataColumn> |
| | | <DataColumn name="name"> |
| | | <Property name="property">name</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | </Container> |
| | | </CustomDropDown> |
| | | <CustomDropDown id="cddGbArea2"> |
| | | <Property name="assignmentMap">jyxzqh=code</Property> |
| | | <Property name="height">500</Property> |
| | | <Property name="minHeight">500</Property> |
| | | <Property name="maxHeight">500</Property> |
| | | <Property name="width">400</Property> |
| | | <Container layout="regionPadding:5"> |
| | | <DataSet id="dsGBArea2"> |
| | | <Property name="dataProvider">gbAreaPR#findByCode</Property> |
| | | <Property name="dataType">[dtGBArea]</Property> |
| | | </DataSet> |
| | | <Container layout="hbox regionPadding:5"> |
| | | <TextEditor id="key4"> |
| | | <Property name="blankText"> -- 编码或者名称 --</Property> |
| | | <Property name="width">200</Property> |
| | | </TextEditor> |
| | | <Button> |
| | | <ClientEvent name="onClick">var key = view.get("#key4.value");
 |
| | | view.get("#dsGBArea2").set("parameter",{key:key}).flushAsync();</ClientEvent> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | <Property name="caption">查询</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">var data = view.get("#dsGBArea2.data:#");
 |
| | | if (data) {
 |
| | | view.get("#cddGbArea2").close(data.toJSON());
 |
| | | }</ClientEvent> |
| | | <Property name="caption">确定</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | </Button> |
| | | </Container> |
| | | <DataGrid> |
| | | <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsGBArea2.data:#");
 |
| | | if(data){
 |
| | | view.get("#cddGbArea2").close(data.toJSON());
 |
| | | }</ClientEvent> |
| | | <Property name="dataSet">dsGBArea2</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <DataColumn name="code"> |
| | | <Property name="property">code</Property> |
| | | </DataColumn> |
| | | <DataColumn name="name"> |
| | | <Property name="property">name</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | </Container> |
| | | </CustomDropDown> |
| | | </View> |
| | | </ViewConfig> |