| | |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <ClientEvent name="onDataChange">
 |
| | | 
 |
| | | 
 |
| | | </ClientEvent> |
| | | <Property name="creationType">com.fzzy.igds.domain.InoutNoticeIn</Property> |
| | | <PropertyDef name="id"> |
| | | <Property></Property> |
| | |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="name">库区自建通知单</Property> |
| | | <Property name="name">自用通知单</Property> |
| | | <Property name="code">10</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="name">质押监管通知单</Property> |
| | | <Property name="name">监管通知单</Property> |
| | | <Property name="code">20</Property> |
| | | </Entity> |
| | | </Collection> |
| | |
| | | <Property name="keyProperty">dictValue</Property> |
| | | <Property name="valueProperty">dictLabel</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="auditUser"> |
| | | <Property></Property> |
| | | <Property name="label">审核人</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="auditDate"> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="label">审批时间</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="completeStatus"> |
| | | <Property></Property> |
| | |
| | | <Property name="iconClass">fa fa-pencil-square-o</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton layoutConstraint="left"> |
| | | <ClientEvent name="onClick">
 |
| | | var select = view.get("#dataGridMain").get("selection");
 |
| | | if(select){
 |
| | | view.get("#ajaxDel").set("parameter",select).execute(function(result){
 |
| | | select.remove();
 |
| | | });
 |
| | | }else{
 |
| | | $notify("请选择需要删除的数据……");
 |
| | | }</ClientEvent> |
| | | <ClientEvent name="onClick">var select = view.get("#dataGridMain").get("selection");
 |
| | | if(select){
 |
| | | view.get("#ajaxDel").set("parameter",select).execute(function(result){
 |
| | | select.remove();
 |
| | | });
 |
| | | }else{
 |
| | | $notify("请选择需要删除的数据……");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">删除</Property> |
| | | <Property name="exClassName">btn3</Property> |
| | | <Property name="width">100</Property> |
| | |
| | | <Property name="iconClass">fa fa-refresh</Property> |
| | | <Property name="width">120</Property> |
| | | <Property name="tip">完成量默认统计到昨天,查看实时完成量请点击“实时核算”按钮</Property> |
| | | <Property name="ignored">true</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton layoutConstraint="left"> |
| | | <ClientEvent name="onClick">
 |
| | |
| | | <Property name="exClassName">btn2</Property> |
| | | <Property name="width">120</Property> |
| | | <Property name="iconClass">fa fa-print</Property> |
| | | </ToolBarButton> |
| | | <Separator/> |
| | | <ToolBarButton layoutConstraint="left"> |
| | | <ClientEvent name="onClick">var select = view.get("#dataGridMain").get("selection");
 |
| | | if(select){
 |
| | | view.get("#iFrameFlowHis").set("path","/work/flow-his2?businessId="+select.get("id"));
 |
| | | view.get("#dialogHis").show();
 |
| | | }else{
 |
| | | $notify("请选择需要查看的数据……");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">审批记录</Property> |
| | | <Property name="exClassName">btn4</Property> |
| | | <Property name="iconClass">fa fa-th-list</Property> |
| | | <Property name="width">120</Property> |
| | | </ToolBarButton> |
| | | <Fill/> |
| | | </ToolBar> |
| | |
| | | <Property name="align">center</Property> |
| | | <Property name="width">100</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">updateBy</Property> |
| | | <DataColumn name="auditStatus"> |
| | | <Property name="property">auditStatus</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">updateBy</Property> |
| | | <Property name="width">120</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">createTime</Property> |
| | |
| | | <Property name="closeable">false</Property> |
| | | <Property name="caption">入库通知单</Property> |
| | | <Property name="width">85%</Property> |
| | | <Property name="height">90%</Property> |
| | | <Property name="iconClass">fa fa-tasks</Property> |
| | | <Buttons> |
| | | <Button id="btnOk"> |
| | | <ClientEvent name="onClick">view.get("#updateSave").execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | <ClientEvent name="onClick">//赋值收货单位等于当前库区
 |
| | | var data = view.get("#dsMain.data:#");
 |
| | | data.set('unitName',data.getText('deptId'));
 |
| | | 
 |
| | | view.get("#updateSave").execute(function(result){
 |
| | | if(result.code != '200'){
 |
| | | $alert(result.message);
 |
| | | return;
 |
| | | }
 |
| | | $notify("数据执行完成!!");
 |
| | | $alert('数据执行成功!');
 |
| | | self.get("parent").hide();
 |
| | | });
 |
| | | 
 |
| | | 
 |
| | | </ClientEvent> |
| | | });</ClientEvent> |
| | | <Property name="caption">保存</Property> |
| | | <Property name="iconClass">fa fa-check-circle</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelWidth">120</Property> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <Property name="showHint">true</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">name</Property> |
| | | <Property name="property">name</Property> |
| | | <Editor/> |
| | |
| | | <Property name="name">type</Property> |
| | | <Property name="property">type</Property> |
| | | <Property name="trigger">autoMappingDropDown1</Property> |
| | | <Property name="editorType">RadioGroup</Property> |
| | | <Property name="showHint">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement id="formItemBank"> |
| | | <Property name="name">bankId</Property> |
| | | <Property name="property">bankId</Property> |
| | | <Property name="hideMode">visibility</Property> |
| | | <Property name="trigger">autoMappingDropDown2</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">unitName</Property> |
| | | <Property name="property">unitName</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">targetNumber</Property> |
| | | <Property name="property">targetNumber</Property> |
| | | <Property name="readOnly">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">createBy</Property> |
| | | <Property name="property">createBy</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">createTime</Property> |
| | | <Property name="property">createTime</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:3"> |
| | | <Property name="name">remark</Property> |
| | | <Property name="property">remark</Property> |
| | | <Property name="editorType">TextArea</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | |
| | | <Property name="readOnly">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">createBy</Property> |
| | | <Property name="property">createBy</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">auditStatus</Property> |
| | | <Property name="property">auditStatus</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <Property name="name">contract</Property> |
| | | <Property name="property">contract</Property> |
| | |
| | | </Property> |
| | | <Property name="text">注:监管通知单,可填写质押合同名称</Property> |
| | | </Label> |
| | | <AutoFormElement layoutConstraint="colSpan:3"> |
| | | <Property name="name">remark</Property> |
| | | <Property name="property">remark</Property> |
| | | <Property name="editorType">TextArea</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">createTime</Property> |
| | | <Property name="property">createTime</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">auditUser</Property> |
| | | <Property name="property">auditUser</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">auditDate</Property> |
| | | <Property name="property">auditDate</Property> |
| | | <Property name="name">auditStatus</Property> |
| | | <Property name="property">auditStatus</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | |
| | | <AjaxAction id="recalculate"> |
| | | <Property name="service">inoutNoticePR#updateSumNoticeIn</Property> |
| | | </AjaxAction> |
| | | <Dialog id="dialogHis"> |
| | | <Property name="width">80%</Property> |
| | | <Property name="height">80%</Property> |
| | | <Property name="iconClass">fa fa-th-list</Property> |
| | | <Property name="caption">审批记录</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <IFrame id="iFrameFlowHis"> |
| | | <Property name="path">/work/flow-his?businessId=1</Property> |
| | | </IFrame> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | </View> |
| | | </ViewConfig> |