<?xml version="1.0" encoding="UTF-8"?>
|
<ViewConfig>
|
<Arguments/>
|
<Context/>
|
<Model>
|
<DataType name="dtMain">
|
<Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1208</Property>
|
<PropertyDef name="kctzcppcid">
|
<Property></Property>
|
<Property name="label">库存台产品批次ID</Property>
|
</PropertyDef>
|
<PropertyDef name="kctzbh">
|
<Property></Property>
|
<Property name="label">库存台帐ID</Property>
|
</PropertyDef>
|
<PropertyDef name="jlqybh">
|
<Property></Property>
|
<Property name="label">军粮企业编号</Property>
|
</PropertyDef>
|
<PropertyDef name="ssqymc">
|
<Property></Property>
|
<Property name="label">军粮企业名称</Property>
|
</PropertyDef>
|
<PropertyDef name="jgzdbh">
|
<Property></Property>
|
<Property name="label">军供站点编号</Property>
|
</PropertyDef>
|
<PropertyDef name="jgzdmc">
|
<Property></Property>
|
<Property name="label">军供站点名称</Property>
|
</PropertyDef>
|
<PropertyDef name="cpbm">
|
<Property></Property>
|
<Property name="label">产品编号</Property>
|
</PropertyDef>
|
<PropertyDef name="cpmc">
|
<Property></Property>
|
<Property name="label">产品名称</Property>
|
</PropertyDef>
|
<PropertyDef name="cpnd">
|
<Property></Property>
|
<Property name="label">产品年度</Property>
|
</PropertyDef>
|
<PropertyDef name="cpcd">
|
<Property></Property>
|
<Property name="label">产品产地</Property>
|
</PropertyDef>
|
<PropertyDef name="yssj">
|
<Property></Property>
|
<Property name="label">验收时间</Property>
|
<Property name="dataType">DateTime</Property>
|
</PropertyDef>
|
<PropertyDef name="cppc">
|
<Property></Property>
|
<Property name="label">产品批次</Property>
|
</PropertyDef>
|
<PropertyDef name="scrq">
|
<Property name="dataType">Date</Property>
|
<Property name="label">生产日期</Property>
|
</PropertyDef>
|
<PropertyDef name="bzq">
|
<Property name="dataType">Double</Property>
|
<Property name="label">保质期</Property>
|
</PropertyDef>
|
<PropertyDef name="bzjzrq">
|
<Property name="dataType">Date</Property>
|
<Property name="label">保质截止日期</Property>
|
</PropertyDef>
|
<PropertyDef name="rksl">
|
<Property name="dataType">Double</Property>
|
<Property name="label">入库数量</Property>
|
</PropertyDef>
|
<PropertyDef name="cksl">
|
<Property name="dataType">Double</Property>
|
<Property name="label">出库数量</Property>
|
</PropertyDef>
|
<PropertyDef name="kcsl">
|
<Property name="dataType">Double</Property>
|
<Property name="label">库存数量</Property>
|
</PropertyDef>
|
<PropertyDef name="rkzl">
|
<Property name="dataType">Double</Property>
|
<Property name="label">入库重量</Property>
|
</PropertyDef>
|
<PropertyDef name="ckzl">
|
<Property name="dataType">Double</Property>
|
<Property name="label">出库重量</Property>
|
</PropertyDef>
|
<PropertyDef name="kczl">
|
<Property name="dataType">Double</Property>
|
<Property name="label">库存重量</Property>
|
</PropertyDef>
|
<PropertyDef name="dj">
|
<Property name="dataType">Double</Property>
|
<Property name="label">单价</Property>
|
</PropertyDef>
|
<PropertyDef name="je">
|
<Property name="dataType">Double</Property>
|
<Property name="label">金额</Property>
|
</PropertyDef>
|
<PropertyDef name="jldwbm">
|
<Property></Property>
|
<Property name="label">计量单位编码</Property>
|
</PropertyDef>
|
<PropertyDef name="jldwmc">
|
<Property></Property>
|
<Property name="label">计量单位名称</Property>
|
</PropertyDef>
|
<PropertyDef name="jsdwbm">
|
<Property></Property>
|
<Property name="label">计数单位编码</Property>
|
</PropertyDef>
|
<PropertyDef name="jsdwmc">
|
<Property></Property>
|
<Property name="label">计数单位名称</Property>
|
</PropertyDef>
|
<PropertyDef name="rkkssj">
|
<Property name="dataType">DateTime</Property>
|
<Property name="label">入库开始时间</Property>
|
</PropertyDef>
|
<PropertyDef name="rkjssj">
|
<Property></Property>
|
<Property name="label">入库结束时间</Property>
|
<Property name="dataType">DateTime</Property>
|
</PropertyDef>
|
<PropertyDef name="ckkssj">
|
<Property></Property>
|
<Property name="dataType">DateTime</Property>
|
<Property name="label">出库开始时间</Property>
|
</PropertyDef>
|
<PropertyDef name="ckjssj">
|
<Property></Property>
|
<Property name="label">出库结束时间</Property>
|
<Property name="dataType">DateTime</Property>
|
</PropertyDef>
|
<PropertyDef name="sjsl">
|
<Property name="dataType">Double</Property>
|
<Property name="label">实际数量</Property>
|
</PropertyDef>
|
<PropertyDef name="zlzt">
|
<Property></Property>
|
<Property name="label">质量状态</Property>
|
</PropertyDef>
|
<PropertyDef name="kczt">
|
<Property></Property>
|
<Property name="label">库存状态</Property>
|
</PropertyDef>
|
<PropertyDef name="sxh">
|
<Property name="dataType">int</Property>
|
<Property name="label">顺序号</Property>
|
</PropertyDef>
|
<PropertyDef name="bz">
|
<Property></Property>
|
<Property name="label">备注</Property>
|
</PropertyDef>
|
<PropertyDef name="bizId">
|
<Property></Property>
|
<Property name="label">业务ID</Property>
|
</PropertyDef>
|
<PropertyDef name="updateTime">
|
<Property name="dataType">DateTime</Property>
|
<Property name="label">最后更新时间</Property>
|
</PropertyDef>
|
<PropertyDef name="czbz">
|
<Property></Property>
|
<Property name="label">操作标志</Property>
|
</PropertyDef>
|
<PropertyDef name="kqdm">
|
<Property></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>
|
</Model>
|
<View layout="regionPadding:10">
|
<Property name="packages">font-awesome,css-common</Property>
|
<DataSet id="dsMain">
|
<Property name="dataType">[dtMain]</Property>
|
<Property name="dataProvider">whjlApi1208PR#listData</Property>
|
<Property name="pageSize">20</Property>
|
</DataSet>
|
<DataSet id="dsQuery">
|
<ClientEvent name="onReady">self.insert();</ClientEvent>
|
<Property name="dataType">dtParam</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");
|
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">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="kctzcppcid">
|
<Property name="property">kctzcppcid</Property>
|
</DataColumn>
|
<DataColumn name="kctzbh">
|
<Property name="property">kctzbh</Property>
|
</DataColumn>
|
<DataColumn name="jlqybh">
|
<Property name="property">jlqybh</Property>
|
</DataColumn>
|
<DataColumn name="ssqymc">
|
<Property name="property">ssqymc</Property>
|
</DataColumn>
|
<DataColumn name="jgzdbh">
|
<Property name="property">jgzdbh</Property>
|
</DataColumn>
|
<DataColumn name="jgzdmc">
|
<Property name="property">jgzdmc</Property>
|
</DataColumn>
|
<DataColumn name="czbz">
|
<Property name="property">czbz</Property>
|
</DataColumn>
|
</DataGrid>
|
</Container>
|
<Container layoutConstraint="bottom">
|
<Property name="exClassName">bg-color</Property>
|
<DataPilot layoutConstraint="right">
|
<Property name="dataSet">dsMain</Property>
|
<Property name="itemCodes">pageSize,pages</Property>
|
</DataPilot>
|
</Container>
|
<Dialog id="dialogMain">
|
<Property name="width">80%</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">top</Property>
|
<Property name="labelSeparator">:</Property>
|
<Property name="labelWidth">120</Property>
|
<AutoFormElement>
|
<Property name="name">kctzcppcid</Property>
|
<Property name="property">kctzcppcid</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">kctzbh</Property>
|
<Property name="property">kctzbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jlqybh</Property>
|
<Property name="property">jlqybh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">ssqymc</Property>
|
<Property name="property">ssqymc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jgzdbh</Property>
|
<Property name="property">jgzdbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jgzdmc</Property>
|
<Property name="property">jgzdmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">cpbm</Property>
|
<Property name="property">cpbm</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">cpmc</Property>
|
<Property name="property">cpmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">cpnd</Property>
|
<Property name="property">cpnd</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">cpcd</Property>
|
<Property name="property">cpcd</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">yssj</Property>
|
<Property name="property">yssj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">cppc</Property>
|
<Property name="property">cppc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">scrq</Property>
|
<Property name="property">scrq</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">bzq</Property>
|
<Property name="property">bzq</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">bzjzrq</Property>
|
<Property name="property">bzjzrq</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">rksl</Property>
|
<Property name="property">rksl</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">cksl</Property>
|
<Property name="property">cksl</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">kcsl</Property>
|
<Property name="property">kcsl</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">rkzl</Property>
|
<Property name="property">rkzl</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">ckzl</Property>
|
<Property name="property">ckzl</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">kczl</Property>
|
<Property name="property">kczl</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">dj</Property>
|
<Property name="property">dj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">je</Property>
|
<Property name="property">je</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jldwbm</Property>
|
<Property name="property">jldwbm</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jldwmc</Property>
|
<Property name="property">jldwmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jsdwbm</Property>
|
<Property name="property">jsdwbm</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jsdwmc</Property>
|
<Property name="property">jsdwmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">rkkssj</Property>
|
<Property name="property">rkkssj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">rkjssj</Property>
|
<Property name="property">rkjssj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">ckkssj</Property>
|
<Property name="property">ckkssj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">ckjssj</Property>
|
<Property name="property">ckjssj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sjsl</Property>
|
<Property name="property">sjsl</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zlzt</Property>
|
<Property name="property">zlzt</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">kczt</Property>
|
<Property name="property">kczt</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sxh</Property>
|
<Property name="property">sxh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">bz</Property>
|
<Property name="property">bz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">bizId</Property>
|
<Property name="property">bizId</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">whjlApi1208PR#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">whjlApi1208PR#delData</Property>
|
</AjaxAction>
|
<AjaxAction id="ajaxPush">
|
<Property name="service">whjlApi1208PR#pushData</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>
|