<?xml version="1.0" encoding="UTF-8"?>
|
<ViewConfig>
|
<Arguments/>
|
<Context/>
|
<Model>
|
<DataType name="dtMain">
|
<Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlShareApi2008</Property>
|
<PropertyDef name="jlccjhbh">
|
<Property/>
|
<Property name="label">军粮筹措计划编号</Property>
|
</PropertyDef>
|
<PropertyDef name="gsqybh">
|
<Property/>
|
<Property name="label">企业编号</Property>
|
</PropertyDef>
|
<PropertyDef name="gskdbh">
|
<Property/>
|
<Property name="label">归属库点编号</Property>
|
</PropertyDef>
|
<PropertyDef name="gsjlgljgbh">
|
<Property/>
|
<Property name="label">归属军粮管理机构编号</Property>
|
</PropertyDef>
|
<PropertyDef name="jljgqybh">
|
<Property/>
|
<Property name="label">军粮加工企业编号</Property>
|
</PropertyDef>
|
<PropertyDef name="jljlqymc">
|
<Property/>
|
<Property name="label">军粮加工企业名称</Property>
|
</PropertyDef>
|
<PropertyDef name="pzflbh">
|
<Property/>
|
<Property name="label">品种分类编号</Property>
|
</PropertyDef>
|
<PropertyDef name="jlppmh">
|
<Property/>
|
<Property name="label">军粮品牌编号</Property>
|
</PropertyDef>
|
<PropertyDef name="jlcpbh">
|
<Property/>
|
<Property name="label">军粮产品编号</Property>
|
</PropertyDef>
|
<PropertyDef name="jldwflbh">
|
<Property/>
|
<Property name="label">计量单位分类编号</Property>
|
</PropertyDef>
|
<PropertyDef name="jhrq">
|
<Property/>
|
<Property name="label">计划日期</Property>
|
</PropertyDef>
|
<PropertyDef name="jhbh">
|
<Property/>
|
<Property name="label">计划编号</Property>
|
</PropertyDef>
|
<PropertyDef name="jhmc">
|
<Property/>
|
<Property name="label">计划名称</Property>
|
</PropertyDef>
|
<PropertyDef name="jhzt">
|
<Property/>
|
<Property name="label">计划状态</Property>
|
</PropertyDef>
|
<PropertyDef name="sjlx">
|
<Property/>
|
<Property name="label">数据类型</Property>
|
</PropertyDef>
|
<PropertyDef name="nd">
|
<Property/>
|
<Property name="label">年度</Property>
|
</PropertyDef>
|
<PropertyDef name="jd">
|
<Property/>
|
<Property name="label">季度</Property>
|
</PropertyDef>
|
<PropertyDef name="jhsl">
|
<Property/>
|
<Property name="label">计划数量</Property>
|
</PropertyDef>
|
<PropertyDef name="sxxhs1">
|
<Property/>
|
<Property name="label">上旬需求数量</Property>
|
</PropertyDef>
|
<PropertyDef name="xxxhs1">
|
<Property/>
|
<Property name="label">下旬需求数量</Property>
|
</PropertyDef>
|
<PropertyDef name="sxxhs2">
|
<Property/>
|
<Property name="label">上旬需求数量</Property>
|
</PropertyDef>
|
<PropertyDef name="xxxhs2">
|
<Property/>
|
<Property name="label">下旬需求数量</Property>
|
</PropertyDef>
|
<PropertyDef name="sxxhs3">
|
<Property/>
|
<Property name="label">上旬需求数量</Property>
|
</PropertyDef>
|
<PropertyDef name="xxxhs3">
|
<Property/>
|
<Property name="label">下旬需求数量</Property>
|
</PropertyDef>
|
<PropertyDef name="fggld">
|
<Property/>
|
<Property name="label">分管领导</Property>
|
</PropertyDef>
|
<PropertyDef name="fhr">
|
<Property/>
|
<Property name="label">复核人</Property>
|
</PropertyDef>
|
<PropertyDef name="tbdw">
|
<Property/>
|
<Property name="label">填报单位</Property>
|
</PropertyDef>
|
<PropertyDef name="tbr">
|
<Property/>
|
<Property name="label">填报人</Property>
|
</PropertyDef>
|
<PropertyDef name="tbsj">
|
<Property/>
|
<Property name="label">填报时间</Property>
|
</PropertyDef>
|
<PropertyDef name="qyxzqhmc">
|
<Property/>
|
<Property name="label">企业行政区划名称</Property>
|
</PropertyDef>
|
<PropertyDef name="qyxzqhdm">
|
<Property/>
|
<Property name="label">企业行政区划代码</Property>
|
</PropertyDef>
|
<PropertyDef name="qytbr">
|
<Property/>
|
<Property name="label">企业填报人</Property>
|
</PropertyDef>
|
<PropertyDef name="qytbrbd">
|
<Property/>
|
<Property name="label">企业填报人编号</Property>
|
</PropertyDef>
|
<PropertyDef name="qytbsj">
|
<Property/>
|
<Property name="label">企业填报时间</Property>
|
</PropertyDef>
|
<PropertyDef name="lxfs">
|
<Property/>
|
<Property name="label">联系方式</Property>
|
</PropertyDef>
|
<PropertyDef name="lxr">
|
<Property/>
|
<Property name="label">联系人</Property>
|
</PropertyDef>
|
<PropertyDef name="sfyx">
|
<Property/>
|
<Property name="label">是否有效</Property>
|
</PropertyDef>
|
<PropertyDef name="updateTime">
|
<Property name="dataType">DateTime</Property>
|
<Property name="label">最后更新时间</Property>
|
</PropertyDef>
|
<PropertyDef name="czbz">
|
<Property/>
|
<Property name="label">操作标志</Property>
|
</PropertyDef>
|
<PropertyDef name="kqdm">
|
<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">whjlShareApi2008PR#listData</Property>
|
</DataSet>
|
<Container layout="regionPadding:10" layoutConstraint="top">
|
<Property name="exClassName">bg-color</Property>
|
<Property name="height">55</Property>
|
<Property name="contentOverflow">hidden</Property>
|
<Label layoutConstraint="left">
|
<Property name="text">菜单栏:</Property>
|
</Label>
|
<Button layoutConstraint="left">
|
<ClientEvent name="onClick">view.get("#dsMain").insert();
|
view.get("#dialogMain").show();</ClientEvent>
|
<Property name="iconClass">fa fa-plus</Property>
|
<Property name="caption">新增</Property>
|
<Property name="exClassName">btn-default</Property>
|
</Button>
|
<Button layoutConstraint="left">
|
<ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
|
if(cur){
|
view.get("#dialogMain").show();
|
}else{
|
$alert("请勾选需要修改的数据!");
|
}</ClientEvent>
|
<Property name="caption">编辑</Property>
|
<Property name="iconClass">fa fa-pencil</Property>
|
<Property name="exClassName">btn-warm</Property>
|
</Button>
|
<Button layoutConstraint="left">
|
<ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
|
if(cur){
|
view.get("#ajaxDel").set("parameter",cur).execute(function(result){
|
if(result){
|
$alert(result);
|
} else{
|
cur.remove();
|
}
|
});
|
}else{
|
$alert("请勾选需要删除的数据!");
|
}</ClientEvent>
|
<Property name="caption">删除</Property>
|
<Property name="iconClass">fa fa-minus</Property>
|
<Property name="exClassName">btn-warn</Property>
|
</Button>
|
<Button layoutConstraint="left">
|
<ClientEvent name="onClick">view.get("#dsMain").flushAsync();</ClientEvent>
|
<Property name="caption">刷新</Property>
|
<Property name="iconClass">fa fa-search</Property>
|
<Property name="exClassName">btn-flush</Property>
|
</Button>
|
<Button layoutConstraint="left">
|
<ClientEvent name="onClick">var select = view.get("#dgMain").get("selection");
|
view.get("#ajaxPull").set("parameter",select).execute(function(result){
|
view.get("#dsMain").flushAsync();
|
$notify(result);
|
});
|
</ClientEvent>
|
<Property name="caption">手动更新</Property>
|
<Property name="iconClass">fa fa-hand-o-up</Property>
|
<Property name="exClassName">btn-default</Property>
|
</Button>
|
<Button layoutConstraint="right">
|
<ClientEvent name="onClick">//显示记录
|
view.get("#iFrame").reload();
|
view.get("#dialogLog").show();</ClientEvent>
|
<Property name="caption">更新记录</Property>
|
<Property name="iconClass">fa fa-bars</Property>
|
<Property name="exClassName">btn-flush</Property>
|
</Button>
|
</Container>
|
<Container layoutConstraint="center">
|
<Property name="exClassName">bg-color</Property>
|
<DataGrid id="dgMain">
|
<ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsMain.data:#");
|
if(data){
|
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="jlccjhbh">
|
<Property name="property">jlccjhbh</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="gsqybh">
|
<Property name="property">gsqybh</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="gskdbh">
|
<Property name="property">gskdbh</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="gsjlgljgbh">
|
<Property name="property">gsjlgljgbh</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="jljgqybh">
|
<Property name="property">jljgqybh</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="jljlqymc">
|
<Property name="property">jljlqymc</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="lxfs">
|
<Property name="property">lxfs</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="lxr">
|
<Property name="property">lxr</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="sfyx">
|
<Property name="property">sfyx</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="updateTime">
|
<Property name="property">updateTime</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="czbz">
|
<Property name="property">czbz</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="kqdm">
|
<Property name="property">kqdm</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
</DataGrid>
|
</Container>
|
<Dialog id="dialogMain">
|
<Property name="width">60%</Property>
|
<Property name="closeable">false</Property>
|
<Property name="iconClass">fa fa-sliders</Property>
|
<Property name="caption">军粮供应商信息</Property>
|
<Buttons>
|
<Button>
|
<ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
|
view.get("#updateSave").execute(function(){
|
self.get("parent").hide();
|
view.get("#dsMain").flushAsync();
|
});</ClientEvent>
|
<Property name="caption">确定</Property>
|
<Property name="iconClass">fa fa-check</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>
|
</Button>
|
</Buttons>
|
<Children>
|
<AutoForm>
|
<Property name="dataSet">dsMain</Property>
|
<Property name="cols">*,*</Property>
|
<Property name="labelPosition">left</Property>
|
<Property name="labelSeparator">:</Property>
|
<Property name="labelAlign">right</Property>
|
<Property name="labelWidth">120</Property>
|
<AutoFormElement>
|
<Property name="name">jlccjhbh</Property>
|
<Property name="property">jlccjhbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">gsqybh</Property>
|
<Property name="property">gsqybh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">gskdbh</Property>
|
<Property name="property">gskdbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">gsjlgljgbh</Property>
|
<Property name="property">gsjlgljgbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jljgqybh</Property>
|
<Property name="property">jljgqybh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jljlqymc</Property>
|
<Property name="property">jljlqymc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">pzflbh</Property>
|
<Property name="property">pzflbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jlppmh</Property>
|
<Property name="property">jlppmh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jlcpbh</Property>
|
<Property name="property">jlcpbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jldwflbh</Property>
|
<Property name="property">jldwflbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jhrq</Property>
|
<Property name="property">jhrq</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jhbh</Property>
|
<Property name="property">jhbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jhmc</Property>
|
<Property name="property">jhmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jhzt</Property>
|
<Property name="property">jhzt</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sjlx</Property>
|
<Property name="property">sjlx</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">nd</Property>
|
<Property name="property">nd</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jd</Property>
|
<Property name="property">jd</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jhsl</Property>
|
<Property name="property">jhsl</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sxxhs1</Property>
|
<Property name="property">sxxhs1</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">xxxhs1</Property>
|
<Property name="property">xxxhs1</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sxxhs2</Property>
|
<Property name="property">sxxhs2</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">xxxhs2</Property>
|
<Property name="property">xxxhs2</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sxxhs3</Property>
|
<Property name="property">sxxhs3</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">xxxhs3</Property>
|
<Property name="property">xxxhs3</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">fggld</Property>
|
<Property name="property">fggld</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">fhr</Property>
|
<Property name="property">fhr</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">tbdw</Property>
|
<Property name="property">tbdw</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">tbr</Property>
|
<Property name="property">tbr</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">tbsj</Property>
|
<Property name="property">tbsj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">qyxzqhmc</Property>
|
<Property name="property">qyxzqhmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">qyxzqhdm</Property>
|
<Property name="property">qyxzqhdm</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">qytbr</Property>
|
<Property name="property">qytbr</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">qytbrbd</Property>
|
<Property name="property">qytbrbd</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">qytbsj</Property>
|
<Property name="property">qytbsj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">lxfs</Property>
|
<Property name="property">lxfs</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">lxr</Property>
|
<Property name="property">lxr</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sfyx</Property>
|
<Property name="property">sfyx</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">updateTime</Property>
|
<Property name="property">updateTime</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">czbz</Property>
|
<Property name="property">czbz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">kqdm</Property>
|
<Property name="property">kqdm</Property>
|
<Editor/>
|
</AutoFormElement>
|
</AutoForm>
|
</Children>
|
<Tools/>
|
</Dialog>
|
<UpdateAction id="updateSave">
|
<Property name="dataResolver">whjlShareApi2008PR#saveData</Property>
|
<UpdateItem>
|
<Property name="dataPath">[#current]</Property>
|
<Property name="dataSet">dsMain</Property>
|
</UpdateItem>
|
</UpdateAction>
|
<AjaxAction id="ajaxDel">
|
<Property name="confirmMessage">当前数据删除后无法恢复,请确认要删除么?</Property>
|
<Property name="service">whjlShareApi2008PR#delData</Property>
|
</AjaxAction>
|
<AjaxAction id="ajaxPull">
|
<Property name="service">whjlShareApi2008PR#pullData</Property>
|
</AjaxAction>
|
<Dialog id="dialogLog">
|
<Property name="width">90%</Property>
|
<Property name="height">90%</Property>
|
<Property name="caption">更新记录</Property>
|
<Property name="iconClass">fa fa-sliders</Property>
|
<Buttons>
|
<Button>
|
<ClientEvent name="onClick">self.get("parent").hide();</ClientEvent>
|
<Property name="caption">关闭</Property>
|
<Property name="iconClass">fa fa-times</Property>
|
</Button>
|
</Buttons>
|
<Children>
|
<Container>
|
<IFrame id="iFrame">
|
<Property name="path">com.fzzy.api.view.ApiLog.d</Property>
|
<Property name="userData">
|
<Entity>
|
<Property name="deptId">deptId</Property>
|
</Entity>
|
</Property>
|
</IFrame>
|
</Container>
|
</Children>
|
<Tools/>
|
</Dialog>
|
<ListDropDown id="listDropYN">
|
<Property name="items">是,否</Property>
|
</ListDropDown>
|
</View>
|
</ViewConfig>
|