<?xml version="1.0" encoding="UTF-8"?>
|
<ViewConfig>
|
<Arguments/>
|
<Context/>
|
<Model>
|
<DataType name="dtMain">
|
<Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1212</Property>
|
<PropertyDef name="crkid">
|
<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="ywrq">
|
<Property></Property>
|
<Property name="label">业务日期</Property>
|
<Property name="dataType">Date</Property>
|
</PropertyDef>
|
<PropertyDef name="crklx">
|
<Property></Property>
|
<Property name="label">出入库类型</Property>
|
</PropertyDef>
|
<PropertyDef name="ywlx">
|
<Property></Property>
|
<Property name="label">业务类型</Property>
|
</PropertyDef>
|
<PropertyDef name="crkpz">
|
<Property></Property>
|
<Property name="label">出入库凭证</Property>
|
</PropertyDef>
|
<PropertyDef name="jljgqybh">
|
<Property></Property>
|
<Property name="label">加工企业编号</Property>
|
</PropertyDef>
|
<PropertyDef name="jljgqymc">
|
<Property></Property>
|
<Property name="label">加工企业名称</Property>
|
</PropertyDef>
|
<PropertyDef name="khbh">
|
<Property></Property>
|
<Property name="label">客户编号</Property>
|
</PropertyDef>
|
<PropertyDef name="glzxm">
|
<Property></Property>
|
<Property name="label">客户姓名</Property>
|
</PropertyDef>
|
<PropertyDef name="shdw">
|
<Property></Property>
|
<Property name="label">收货单位</Property>
|
</PropertyDef>
|
<PropertyDef name="shlxr">
|
<Property></Property>
|
<Property name="label">收货联系人</Property>
|
</PropertyDef>
|
<PropertyDef name="shlxrdh">
|
<Property></Property>
|
<Property name="label">收货联系电话</Property>
|
</PropertyDef>
|
<PropertyDef name="rjfaid">
|
<Property></Property>
|
<Property name="label">应急方案ID</Property>
|
</PropertyDef>
|
<PropertyDef name="jhid">
|
<Property></Property>
|
<Property name="label">筹措计划ID</Property>
|
</PropertyDef>
|
<PropertyDef name="htid">
|
<Property></Property>
|
<Property name="label">合同ID</Property>
|
</PropertyDef>
|
<PropertyDef name="psrwid">
|
<Property></Property>
|
<Property name="label">配送任务id</Property>
|
</PropertyDef>
|
<PropertyDef name="yscch">
|
<Property></Property>
|
<Property name="label">运输车船号</Property>
|
</PropertyDef>
|
<PropertyDef name="cyr">
|
<Property></Property>
|
<Property name="label">承运人</Property>
|
</PropertyDef>
|
<PropertyDef name="cyrdh">
|
<Property></Property>
|
<Property name="label">承运人电话</Property>
|
</PropertyDef>
|
<PropertyDef name="bizId">
|
<Property></Property>
|
<Property name="label">业务ID</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>
|
<PropertyDef name="bz">
|
<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">whjlApi1212PR#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");
|
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="crkid">
|
<Property name="property">crkid</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="ssqymc">
|
<Property name="property">ssqymc</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="jgzdmc">
|
<Property name="property">jgzdmc</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="ywrq">
|
<Property name="property">ywrq</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="crklx">
|
<Property name="property">crklx</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="ywlx">
|
<Property name="property">ywlx</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="crkpz">
|
<Property name="property">crkpz</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="glzxm">
|
<Property name="property">glzxm</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="cyr">
|
<Property name="property">cyr</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="cyrdh">
|
<Property name="property">cyrdh</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="yscch">
|
<Property name="property">yscch</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
</DataGrid>
|
</Container>
|
<Dialog id="dialogMain">
|
<Property name="width">85%</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">top</Property>
|
<Property name="labelSeparator">:</Property>
|
<Property name="labelAlign">left</Property>
|
<AutoFormElement>
|
<Property name="name">crkid</Property>
|
<Property name="property">crkid</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">ywrq</Property>
|
<Property name="property">ywrq</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">crklx</Property>
|
<Property name="property">crklx</Property>
|
<Property name="trigger">listDropInOut</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">ywlx</Property>
|
<Property name="property">ywlx</Property>
|
<Property name="trigger">listDropType</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">crkpz</Property>
|
<Property name="property">crkpz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jljgqybh</Property>
|
<Property name="property">jljgqybh</Property>
|
<Editor>
|
<TextEditor>
|
<Property name="blankText">-----用于入库-----</Property>
|
</TextEditor>
|
</Editor>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jljgqymc</Property>
|
<Property name="property">jljgqymc</Property>
|
<Editor>
|
<TextEditor>
|
<Property name="blankText">-----用于入库-----</Property>
|
</TextEditor>
|
</Editor>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">khbh</Property>
|
<Property name="property">khbh</Property>
|
<Editor>
|
<TextEditor>
|
<Property name="blankText">-----用于出库-----</Property>
|
</TextEditor>
|
</Editor>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">glzxm</Property>
|
<Property name="property">glzxm</Property>
|
<Editor>
|
<TextEditor>
|
<Property name="blankText">-----用于出库-----</Property>
|
</TextEditor>
|
</Editor>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">shdw</Property>
|
<Property name="property">shdw</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">shlxr</Property>
|
<Property name="property">shlxr</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">shlxrdh</Property>
|
<Property name="property">shlxrdh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">rjfaid</Property>
|
<Property name="property">rjfaid</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jhid</Property>
|
<Property name="property">jhid</Property>
|
<Editor>
|
<TextEditor>
|
<Property name="blankText">-----用于入库-----</Property>
|
</TextEditor>
|
</Editor>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">htid</Property>
|
<Property name="property">htid</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">psrwid</Property>
|
<Property name="property">psrwid</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">yscch</Property>
|
<Property name="property">yscch</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">cyr</Property>
|
<Property name="property">cyr</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">cyrdh</Property>
|
<Property name="property">cyrdh</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>
|
<AutoFormElement>
|
<Property name="name">bz</Property>
|
<Property name="property">bz</Property>
|
<Editor/>
|
</AutoFormElement>
|
</AutoForm>
|
</Children>
|
<Tools/>
|
</Dialog>
|
<UpdateAction id="updateSave">
|
<Property name="dataResolver">whjlApi1212PR#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">whjlApi1212PR#delData</Property>
|
</AjaxAction>
|
<AjaxAction id="ajaxPush">
|
<Property name="service">whjlApi1212PR#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>
|
<ListDropDown id="listDropType">
|
<Property name="items">日常出库,日常入库,应急出库,应急入库</Property>
|
</ListDropDown>
|
<ListDropDown id="listDropInOut">
|
<Property name="items">入库,出库</Property>
|
</ListDropDown>
|
</View>
|
</ViewConfig>
|