<?xml version="1.0" encoding="UTF-8"?>
|
<ViewConfig>
|
<Arguments/>
|
<Context/>
|
<Model>
|
<DataType name="dtMain">
|
<Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlShareApi2005</Property>
|
<PropertyDef name="jljgqybh">
|
<Property></Property>
|
<Property name="label">军粮加工企业编号</Property>
|
</PropertyDef>
|
<PropertyDef name="jljgqymc">
|
<Property></Property>
|
<Property name="label">军粮加工企业名称</Property>
|
</PropertyDef>
|
<PropertyDef name="jlqyjc">
|
<Property></Property>
|
<Property name="label">军粮企业简称</Property>
|
</PropertyDef>
|
<PropertyDef name="gyslx">
|
<Property></Property>
|
<Property name="label">供应商类型</Property>
|
</PropertyDef>
|
<PropertyDef name="zzjgdm">
|
<Property></Property>
|
<Property name="label">组织机构代码</Property>
|
</PropertyDef>
|
<PropertyDef name="jlqytyshxydm">
|
<Property></Property>
|
<Property name="label">企业统一社会信用代码</Property>
|
</PropertyDef>
|
<PropertyDef name="qyjjlx">
|
<Property></Property>
|
<Property name="label">企业经济类型</Property>
|
</PropertyDef>
|
<PropertyDef name="qyxz">
|
<Property></Property>
|
<Property name="label">企业性质</Property>
|
</PropertyDef>
|
<PropertyDef name="djzclx">
|
<Property></Property>
|
<Property name="label">登记注册类型</Property>
|
</PropertyDef>
|
<PropertyDef name="gsdjzch">
|
<Property></Property>
|
<Property name="label">工商登记注册号</Property>
|
</PropertyDef>
|
<PropertyDef name="fddbr">
|
<Property></Property>
|
<Property name="label">法定代表人</Property>
|
</PropertyDef>
|
<PropertyDef name="qydz">
|
<Property></Property>
|
<Property name="label">企业地址</Property>
|
</PropertyDef>
|
<PropertyDef name="qydh">
|
<Property></Property>
|
<Property name="label">企业电话</Property>
|
</PropertyDef>
|
<PropertyDef name="qycz">
|
<Property></Property>
|
<Property name="label">企业传真</Property>
|
</PropertyDef>
|
<PropertyDef name="qydzyx">
|
<Property></Property>
|
<Property name="label">企业电子邮箱</Property>
|
</PropertyDef>
|
<PropertyDef name="qywz">
|
<Property></Property>
|
<Property name="label">企业网址</Property>
|
</PropertyDef>
|
<PropertyDef name="qyyzbm">
|
<Property></Property>
|
<Property name="label">企业邮政编码</Property>
|
</PropertyDef>
|
<PropertyDef name="qyjd">
|
<Property></Property>
|
<Property name="label">企业经度</Property>
|
</PropertyDef>
|
<PropertyDef name="qywd">
|
<Property></Property>
|
<Property name="label">企业纬度</Property>
|
</PropertyDef>
|
<PropertyDef name="qyxzqhmc">
|
<Property></Property>
|
<Property name="label">企业行政区划名称</Property>
|
</PropertyDef>
|
<PropertyDef name="qyxzqhdm">
|
<Property></Property>
|
<Property name="label">企业行政区划代码</Property>
|
</PropertyDef>
|
<PropertyDef name="khyh">
|
<Property></Property>
|
<Property name="label">开户银行</Property>
|
</PropertyDef>
|
<PropertyDef name="yhzh">
|
<Property></Property>
|
<Property name="label">银行账号</Property>
|
</PropertyDef>
|
<PropertyDef name="yhxydj">
|
<Property></Property>
|
<Property name="label">银行信用等级</Property>
|
</PropertyDef>
|
<PropertyDef name="gdzc">
|
<Property></Property>
|
<Property name="label">固定资产</Property>
|
</PropertyDef>
|
<PropertyDef name="zczb">
|
<Property></Property>
|
<Property name="label">注册资本</Property>
|
</PropertyDef>
|
<PropertyDef name="zc">
|
<Property></Property>
|
<Property name="label">资产</Property>
|
</PropertyDef>
|
<PropertyDef name="qycyrys">
|
<Property></Property>
|
<Property name="label">企业从业人员数</Property>
|
</PropertyDef>
|
<PropertyDef name="scx">
|
<Property></Property>
|
<Property name="label">生产线</Property>
|
</PropertyDef>
|
<PropertyDef name="scsb">
|
<Property></Property>
|
<Property name="label">生产设备</Property>
|
</PropertyDef>
|
<PropertyDef name="sbmc">
|
<Property></Property>
|
<Property name="label">设备名称</Property>
|
</PropertyDef>
|
<PropertyDef name="sbcd">
|
<Property></Property>
|
<Property name="label">设备产地</Property>
|
</PropertyDef>
|
<PropertyDef name="jgnl">
|
<Property></Property>
|
<Property name="label">加工能力</Property>
|
</PropertyDef>
|
<PropertyDef name="spscxkz">
|
<Property></Property>
|
<Property name="label">食品生产许可</Property>
|
</PropertyDef>
|
<PropertyDef name="zypp">
|
<Property></Property>
|
<Property name="label">主要品牌</Property>
|
</PropertyDef>
|
<PropertyDef name="zz">
|
<Property></Property>
|
<Property name="label">资质</Property>
|
</PropertyDef>
|
<PropertyDef name="sfyx">
|
<Property></Property>
|
<Property name="label">是否有效</Property>
|
</PropertyDef>
|
<PropertyDef name="updateTime">
|
<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>
|
<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">whjlShareApi2005PR#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="jljgqymc">
|
<Property name="property">jljgqymc</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="jlqyjc">
|
<Property name="property">jlqyjc</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="gyslx">
|
<Property name="property">gyslx</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="jlqytyshxydm">
|
<Property name="property">jlqytyshxydm</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="zzjgdm">
|
<Property name="property">zzjgdm</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="fddbr">
|
<Property name="property">fddbr</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="updateTime">
|
<Property name="property">updateTime</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">jljgqybh</Property>
|
<Property name="property">jljgqybh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jljgqymc</Property>
|
<Property name="property">jljgqymc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jlqyjc</Property>
|
<Property name="property">jlqyjc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">gyslx</Property>
|
<Property name="property">gyslx</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zzjgdm</Property>
|
<Property name="property">zzjgdm</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jlqytyshxydm</Property>
|
<Property name="property">jlqytyshxydm</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">qyjjlx</Property>
|
<Property name="property">qyjjlx</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">qyxz</Property>
|
<Property name="property">qyxz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">djzclx</Property>
|
<Property name="property">djzclx</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">gsdjzch</Property>
|
<Property name="property">gsdjzch</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">fddbr</Property>
|
<Property name="property">fddbr</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">qydz</Property>
|
<Property name="property">qydz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">qydh</Property>
|
<Property name="property">qydh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">qycz</Property>
|
<Property name="property">qycz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">qydzyx</Property>
|
<Property name="property">qydzyx</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">qywz</Property>
|
<Property name="property">qywz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">qyyzbm</Property>
|
<Property name="property">qyyzbm</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">qyjd</Property>
|
<Property name="property">qyjd</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">qywd</Property>
|
<Property name="property">qywd</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">khyh</Property>
|
<Property name="property">khyh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">yhzh</Property>
|
<Property name="property">yhzh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">yhxydj</Property>
|
<Property name="property">yhxydj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">gdzc</Property>
|
<Property name="property">gdzc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zczb</Property>
|
<Property name="property">zczb</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zc</Property>
|
<Property name="property">zc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">qycyrys</Property>
|
<Property name="property">qycyrys</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">scx</Property>
|
<Property name="property">scx</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">scsb</Property>
|
<Property name="property">scsb</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sbmc</Property>
|
<Property name="property">sbmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sbcd</Property>
|
<Property name="property">sbcd</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jgnl</Property>
|
<Property name="property">jgnl</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">spscxkz</Property>
|
<Property name="property">spscxkz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zypp</Property>
|
<Property name="property">zypp</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zz</Property>
|
<Property name="property">zz</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">whjlShareApi2005PR#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">whjlShareApi2005PR#delData</Property>
|
</AjaxAction>
|
<AjaxAction id="ajaxPull">
|
<Property name="service">whjlShareApi2005PR#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>
|