<?xml version="1.0" encoding="UTF-8"?>
|
<ViewConfig>
|
<Arguments/>
|
<Context/>
|
<Model>
|
<DataType name="dtMain">
|
<Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlShareApi2007</Property>
|
<PropertyDef name="jlcpbh">
|
<Property/>
|
<Property name="label">军粮产品编号</Property>
|
</PropertyDef>
|
<PropertyDef name="jlppbh">
|
<Property/>
|
<Property name="label">军粮品牌编号</Property>
|
</PropertyDef>
|
<PropertyDef name="jsdwflbh">
|
<Property/>
|
<Property name="label">计数单位分类编号</Property>
|
</PropertyDef>
|
<PropertyDef name="jlcpmc">
|
<Property/>
|
<Property name="label">军粮产品名称</Property>
|
</PropertyDef>
|
<PropertyDef name="jlcpjc">
|
<Property/>
|
<Property name="label">军粮产品简称</Property>
|
</PropertyDef>
|
<PropertyDef name="jllspzmc">
|
<Property/>
|
<Property name="label">军粮粮食品种名称</Property>
|
</PropertyDef>
|
<PropertyDef name="jllspzbh">
|
<Property/>
|
<Property name="label">军粮粮食品种编号</Property>
|
</PropertyDef>
|
<PropertyDef name="jldwflbh">
|
<Property/>
|
<Property name="label">计量单位分类编号</Property>
|
</PropertyDef>
|
<PropertyDef name="cpdj">
|
<Property/>
|
<Property name="label">产品等级</Property>
|
</PropertyDef>
|
<PropertyDef name="bzfsmc">
|
<Property/>
|
<Property name="label">包装方式名称</Property>
|
</PropertyDef>
|
<PropertyDef name="bzfsbh">
|
<Property/>
|
<Property name="label">包装方式编号</Property>
|
</PropertyDef>
|
<PropertyDef name="bzgg">
|
<Property/>
|
<Property name="label">包装规格</Property>
|
</PropertyDef>
|
<PropertyDef name="jsgg">
|
<Property/>
|
<Property name="label">计数规格</Property>
|
</PropertyDef>
|
<PropertyDef name="sccj">
|
<Property/>
|
<Property name="label">生产厂家</Property>
|
</PropertyDef>
|
<PropertyDef name="bzq">
|
<Property/>
|
<Property name="label">保质期</Property>
|
</PropertyDef>
|
<PropertyDef name="cd">
|
<Property/>
|
<Property name="label">产地</Property>
|
</PropertyDef>
|
<PropertyDef name="scrq">
|
<Property/>
|
<Property name="label">生产日期</Property>
|
</PropertyDef>
|
<PropertyDef name="lxr">
|
<Property/>
|
<Property name="label">联系人</Property>
|
</PropertyDef>
|
<PropertyDef name="dh">
|
<Property/>
|
<Property name="label">电话</Property>
|
</PropertyDef>
|
<PropertyDef name="cz">
|
<Property/>
|
<Property name="label">传真</Property>
|
</PropertyDef>
|
<PropertyDef name="dzyj">
|
<Property/>
|
<Property name="label">电子邮件</Property>
|
</PropertyDef>
|
<PropertyDef name="qygk">
|
<Property/>
|
<Property name="label">企业概况</Property>
|
</PropertyDef>
|
<PropertyDef name="cpjs">
|
<Property/>
|
<Property name="label">产品介绍</Property>
|
</PropertyDef>
|
<PropertyDef name="yyzz">
|
<Property/>
|
<Property name="label">营业执照</Property>
|
</PropertyDef>
|
<PropertyDef name="zzjgz">
|
<Property/>
|
<Property name="label">组织机构代码证</Property>
|
</PropertyDef>
|
<PropertyDef name="swdjz">
|
<Property/>
|
<Property name="label">税务登记证</Property>
|
</PropertyDef>
|
<PropertyDef name="spltxkz">
|
<Property/>
|
<Property name="label">食品流通许可证</Property>
|
</PropertyDef>
|
<PropertyDef name="ybnsrzgzm">
|
<Property/>
|
<Property name="label">一般纳税人资格证明</Property>
|
</PropertyDef>
|
<PropertyDef name="sjgzxshyj">
|
<Property/>
|
<Property name="label">市军供中心审核意见</Property>
|
</PropertyDef>
|
<PropertyDef name="jlfwshyj">
|
<Property/>
|
<Property name="label">军粮服务有限公司审核意见</Property>
|
</PropertyDef>
|
<PropertyDef name="sjgzxyj">
|
<Property/>
|
<Property name="label">省军供中心意见</Property>
|
</PropertyDef>
|
<PropertyDef name="yjcd">
|
<Property/>
|
<Property name="label">原件存档</Property>
|
</PropertyDef>
|
<PropertyDef name="dj">
|
<Property/>
|
<Property name="label">单价</Property>
|
</PropertyDef>
|
<PropertyDef name="scxkzh">
|
<Property/>
|
<Property name="label">生产许可证号</Property>
|
</PropertyDef>
|
<PropertyDef name="jggy">
|
<Property/>
|
<Property name="label">加工工艺</Property>
|
</PropertyDef>
|
<PropertyDef name="zlxx">
|
<Property/>
|
<Property name="label">质量信息</Property>
|
</PropertyDef>
|
<PropertyDef name="yynxx">
|
<Property/>
|
<Property name="label">营养信息</Property>
|
</PropertyDef>
|
<PropertyDef name="lsyjrz">
|
<Property/>
|
<Property name="label">绿色有机认证</Property>
|
</PropertyDef>
|
<PropertyDef name="nscl">
|
<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>
|
<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="kqdm">
|
<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">whjlShareApi2007PR#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="jlcpbh">
|
<Property name="property">jlcpbh</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="jlppbh">
|
<Property name="property">jlppbh</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="jsdwflbh">
|
<Property name="property">jsdwflbh</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="jlcpmc">
|
<Property name="property">jlcpmc</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="jlcpjc">
|
<Property name="property">jlcpjc</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="jllspzmc">
|
<Property name="property">jllspzmc</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="jllspzbh">
|
<Property name="property">jllspzbh</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>
|
<Property name="height">80%</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">jlcpbh</Property>
|
<Property name="property">jlcpbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jlppbh</Property>
|
<Property name="property">jlppbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jsdwflbh</Property>
|
<Property name="property">jsdwflbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jlcpmc</Property>
|
<Property name="property">jlcpmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jlcpjc</Property>
|
<Property name="property">jlcpjc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jllspzmc</Property>
|
<Property name="property">jllspzmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jllspzbh</Property>
|
<Property name="property">jllspzbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jldwflbh</Property>
|
<Property name="property">jldwflbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">cpdj</Property>
|
<Property name="property">cpdj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">bzfsmc</Property>
|
<Property name="property">bzfsmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">bzfsbh</Property>
|
<Property name="property">bzfsbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">bzgg</Property>
|
<Property name="property">bzgg</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jsgg</Property>
|
<Property name="property">jsgg</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sccj</Property>
|
<Property name="property">sccj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">bzq</Property>
|
<Property name="property">bzq</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">cd</Property>
|
<Property name="property">cd</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">scrq</Property>
|
<Property name="property">scrq</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">lxr</Property>
|
<Property name="property">lxr</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">dh</Property>
|
<Property name="property">dh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">cz</Property>
|
<Property name="property">cz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">dzyj</Property>
|
<Property name="property">dzyj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">qygk</Property>
|
<Property name="property">qygk</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">cpjs</Property>
|
<Property name="property">cpjs</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">yyzz</Property>
|
<Property name="property">yyzz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zzjgz</Property>
|
<Property name="property">zzjgz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">swdjz</Property>
|
<Property name="property">swdjz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">spltxkz</Property>
|
<Property name="property">spltxkz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">ybnsrzgzm</Property>
|
<Property name="property">ybnsrzgzm</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sjgzxshyj</Property>
|
<Property name="property">sjgzxshyj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jlfwshyj</Property>
|
<Property name="property">jlfwshyj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sjgzxyj</Property>
|
<Property name="property">sjgzxyj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">yjcd</Property>
|
<Property name="property">yjcd</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">dj</Property>
|
<Property name="property">dj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">scxkzh</Property>
|
<Property name="property">scxkzh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jggy</Property>
|
<Property name="property">jggy</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zlxx</Property>
|
<Property name="property">zlxx</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">yynxx</Property>
|
<Property name="property">yynxx</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">lsyjrz</Property>
|
<Property name="property">lsyjrz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">nscl</Property>
|
<Property name="property">nscl</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">whjlShareApi2007PR#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">whjlShareApi2007PR#delData</Property>
|
</AjaxAction>
|
<AjaxAction id="ajaxPull">
|
<Property name="service">whjlShareApi2007PR#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>
|