| | |
| | | <Property name="label">截止时间</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtWordProcess"> |
| | | <Property name="creationType">com.fzzy.work.domain.WorkOrderProcess</Property> |
| | | <PropertyDef name="orderId"> |
| | | <Property/> |
| | | </PropertyDef> |
| | | <PropertyDef name="action"> |
| | | <Property/> |
| | | </PropertyDef> |
| | | <PropertyDef name="remark"> |
| | | <Property/> |
| | | </PropertyDef> |
| | | </DataType> |
| | | </Model> |
| | | <View layout="padding:10"> |
| | | <ClientEvent name="onReady">query= function(){
 |
| | |
| | | }
 |
| | | //点击详细
 |
| | | showDetail = function(){
 |
| | | var tabIndex = view.get("#tabMain.currentIndex");
 |
| | | var cur = view.get("#dsMain.data:#");
 |
| | | var dialog = view.get("#dialogMain");
 |
| | | if(1 == tabIndex){
 |
| | | cur = view.get("#dsMain2.data:#");
 |
| | | dialog = view.get("#dialogMain");
 |
| | | }
 |
| | | dialog.show();
 |
| | | 
 |
| | | var orderId = cur.get("id");
 |
| | | //赋值给审批
 |
| | | view.get("#dsWordProcess").set("data",{orderId:orderId});
 |
| | | //历史记录
 |
| | | view.get("#iFrameProcess").set("path","com.fzzy.work.WorkProcess.d?orderId="+orderId);
 |
| | | //业务信息
 |
| | | if(cur.get("businessUrl")){
 |
| | | var url = cur.get("businessUrl")+"?businessId="+cur.get("businessId")+"&orderId="+orderId;
 |
| | | view.get("#iFrameBiz").set("path",url);
 |
| | | }else{
 |
| | | view.get("#iFrameBiz").set("path","/work/no-business?orderId="+orderId);
 |
| | | }
 |
| | | }</ClientEvent> |
| | | <Property name="packages">font-awesome,css-common</Property> |
| | | <DataSet id="dsMain"> |
| | |
| | | <DataSet id="dsQuery"> |
| | | <ClientEvent name="onReady">self.insert({});</ClientEvent> |
| | | <Property name="dataType">dtParam</Property> |
| | | </DataSet> |
| | | <DataSet id="dsWordProcess"> |
| | | <ClientEvent name="onReady">self.insert();</ClientEvent> |
| | | <Property name="dataType">dtWordProcess</Property> |
| | | </DataSet> |
| | | <HtmlContainer layoutConstraint="top "> |
| | | <Property name="content"><style>
 |
| | |
| | | </Container> |
| | | <Dialog id="dialogMain" layout="regionPadding:8"> |
| | | <Property name="closeable">false</Property> |
| | | <Property name="caption">入库通知单</Property> |
| | | <Property name="width">1200</Property> |
| | | <Property name="caption">工单详细</Property> |
| | | <Property name="iconClass">fa fa-tasks</Property> |
| | | <Property name="height">95%</Property> |
| | | <Property name="width">95%</Property> |
| | | <Property name="showCaptionBar">false</Property> |
| | | <Property name="style"> |
| | | <Property name="background-color">#e6e6e6</Property> |
| | | </Property> |
| | | <Buttons> |
| | | <Button id="btnOk"> |
| | | <Button> |
| | | <ClientEvent name="onClick">view.get("#updateSave").execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | |
| | | $notify("数据执行完成!!");
 |
| | | self.get("parent").hide();
 |
| | | });</ClientEvent> |
| | | <Property name="caption">保存</Property> |
| | | <Property name="caption">处理</Property> |
| | | <Property name="iconClass">fa fa-check-circle</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | <Property name="width">120</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">view.get("#updateSave").execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | return;
 |
| | | }
 |
| | | $notify("数据执行完成!!");
 |
| | | self.get("parent").hide();
 |
| | | });</ClientEvent> |
| | | <Property name="caption">转交</Property> |
| | | <Property name="iconClass">fa fa-check-circle</Property> |
| | | <Property name="exClassName">btn2</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">view.get("#dsMain.data:#").cancel();
 |
| | | self.get("parent").hide();</ClientEvent> |
| | | <Property name="caption">取消</Property> |
| | | <Property name="caption">关闭</Property> |
| | | <Property name="exClassName">btn3</Property> |
| | | <Property name="iconClass">fa fa-times-circle</Property> |
| | | <Property name="width">120</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <TabControl> |
| | | <ControlTab> |
| | | <Property name="caption">工单信息</Property> |
| | | <Property name="iconClass">fa fa-edit</Property> |
| | | <Container> |
| | | <AutoForm layoutConstraint="top "> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="showHint">false</Property> |
| | | <Property name="cols">210,*,210</Property> |
| | | <Control/> |
| | | <AutoFormElement> |
| | | <Property name="name">name</Property> |
| | | <Property name="property">name</Property> |
| | | <Property name="editorType">Label</Property> |
| | | <Property name="showLabel">false</Property> |
| | | <Property name="showHint">false</Property> |
| | | <Property name="className">f-title</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">id</Property> |
| | | <Property name="property">id</Property> |
| | | <Property name="editorType">Label</Property> |
| | | <Property name="showHint">false</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="showLabel">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="cols">*,*,*</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelWidth">120</Property> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <Property name="name">name</Property> |
| | | <Property name="property">name</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">type</Property> |
| | | <Property name="property">type</Property> |
| | | <Property name="editorType">RadioGroup</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">depotId</Property> |
| | | <Property name="property">depotId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">foodVariety</Property> |
| | | <Property name="property">foodVariety</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">year</Property> |
| | | <Property name="property">year</Property> |
| | | <Property name="trigger">defaultYearDropDown</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <Property name="name">customerName</Property> |
| | | <Property name="property">customerName</Property> |
| | | <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">completeNumber</Property> |
| | | <Property name="property">completeNumber</Property> |
| | | <Property name="readOnly">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">completeStatus</Property> |
| | | <Property name="property">completeStatus</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">completeTime</Property> |
| | | <Property name="property">completeTime</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">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 name="name">title</Property> |
| | | <Property name="property">title</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <Label> |
| | | <Property name="style"> |
| | | <Property name="color">blue</Property> |
| | | </Property> |
| | | <Property name="text">注:监管通知单,可填写质押合同名称</Property> |
| | | </Label> |
| | | <AutoFormElement> |
| | | <Property name="name">deptId</Property> |
| | | <Property name="property">deptId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:3"> |
| | | <Property name="name">remark</Property> |
| | | <Property name="property">remark</Property> |
| | | <Property name="name">description</Property> |
| | | <Property name="property">description</Property> |
| | | <Property name="editorType">TextArea</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bizType</Property> |
| | | <Property name="property">bizType</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">status</Property> |
| | | <Property name="property">status</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">assigneeName</Property> |
| | | <Property name="property">assigneeName</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">auditUser</Property> |
| | | <Property name="property">auditUser</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Property name="name">createUserName</Property> |
| | | <Property name="property">createUserName</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">auditDate</Property> |
| | | <Property name="property">auditDate</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Property name="name">receiveTime</Property> |
| | | <Property name="property">receiveTime</Property> |
| | | <Property name="labelWidth">140</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:3"> |
| | | <Property name="name">remark</Property> |
| | | <Property name="property">remark</Property> |
| | | <Property name="editorType">TextArea</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | <GroupBox> |
| | | <Property name="caption">工单审批/处理</Property> |
| | | <Property name="collapseable">false</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsWordProcess</Property> |
| | | <Property name="cols">*,*,*</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelWidth">120</Property> |
| | | <Property name="showLabel">false</Property> |
| | | <AutoFormElement layoutConstraint="colSpan:3"> |
| | | <Property name="name">remark</Property> |
| | | <Property name="property">remark</Property> |
| | | <Editor> |
| | | <TextArea> |
| | | <Property name="blankText">-- 审批/处理说明 --</Property> |
| | | </TextArea> |
| | | </Editor> |
| | | </AutoFormElement> |
| | | <HtmlContainer layoutConstraint="colSpan:3"> |
| | | <Property name="content">1.入库通知单作为入库作业的前置条件,必须配置,否则无法进行入库作业。<br>
 |
| | | 2.单据类型=库区通知单,表示库区自己作业业务,不受监管管理。</Property> |
| | | <Property name="content">1.工单详细业务见【业务信息】查看。<br></Property> |
| | | <Property name="exClassName">h-tip</Property> |
| | | <Property name="contentOverflow">hidden</Property> |
| | | </HtmlContainer> |
| | | </AutoForm> |
| | | </Children> |
| | | </GroupBox> |
| | | </Container> |
| | | </ControlTab> |
| | | <ControlTab> |
| | | <Property name="caption">业务信息</Property> |
| | | <Property name="iconClass">fa fa-file-o</Property> |
| | | <IFrame id="iFrameBiz"/> |
| | | </ControlTab> |
| | | <ControlTab> |
| | | <Property name="caption">审批记录</Property> |
| | | <Property name="iconClass">fa fa-history</Property> |
| | | <IFrame id="iFrameProcess"> |
| | | <Property name="path">com.fzzy.work.WorkProcess.d</Property> |
| | | </IFrame> |
| | | </ControlTab> |
| | | </TabControl> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |