jiazx0107
2026-01-17 40671eb79c1805f661fd0e12061dd1b406af9b15
fzzy-igdss-view/src/main/java/com/fzzy/work/WorkOrder.view.xml
@@ -19,11 +19,12 @@
      </PropertyDef>
      <PropertyDef name="bizType">
        <Property></Property>
        <Property name="label">业务分类</Property>
      </PropertyDef>
      <PropertyDef name="category">
        <Property></Property>
        <Property name="label">工单分类</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;workOrderPR#triggerBizType&quot;).getResult()}</Property>
          <Property name="keyProperty">dictValue</Property>
          <Property name="valueProperty">dictLabel</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="status">
        <Property></Property>
@@ -47,14 +48,14 @@
      </PropertyDef>
      <PropertyDef name="createTime">
        <Property name="dataType">DateTime</Property>
        <Property name="label">工单创建时间</Property>
        <Property name="label">创建时间</Property>
      </PropertyDef>
      <PropertyDef name="createUserId">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="createUserName">
        <Property></Property>
        <Property name="label">工单创建人</Property>
        <Property name="label">创建人</Property>
      </PropertyDef>
      <PropertyDef name="businessId">
        <Property></Property>
@@ -72,6 +73,38 @@
      <PropertyDef name="deptId">
        <Property></Property>
        <Property name="label">所属库区</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;deptPR#getDeptByUserType&quot;).getResult()}</Property>
          <Property name="keyProperty">id</Property>
          <Property name="valueProperty">kqmc</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="node">
        <Property></Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;workOrderPR#triggerNode&quot;).getResult()}</Property>
          <Property name="keyProperty">dictValue</Property>
          <Property name="valueProperty">dictLabel</Property>
        </Property>
        <Property name="label">流程环节</Property>
      </PropertyDef>
      <PropertyDef name="createById">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="bankId">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="confId">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="createBy">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="updateBy">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="updateTime">
        <Property name="dataType">Date</Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtParam">
@@ -82,6 +115,11 @@
      <PropertyDef name="deptId">
        <Property></Property>
        <Property name="label">所属库区</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;deptPR#getDeptByUserType&quot;).getResult()}</Property>
          <Property name="keyProperty">id</Property>
          <Property name="valueProperty">kqmc</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="name">
        <Property></Property>
@@ -99,23 +137,61 @@
        <Property name="dataType">Date</Property>
        <Property name="label">截止时间</Property>
      </PropertyDef>
      <PropertyDef name="scope">
        <Property></Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtWordProcess">
      <Property name="creationType">com.fzzy.work.domain.WorkOrderProcess</Property>
      <PropertyDef name="orderId">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="action">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="remark">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="id">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="assigneeId">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="assigneeName">
        <Property></Property>
        <Property name="label">处理人</Property>
      </PropertyDef>
      <PropertyDef name="node">
        <Property></Property>
        <Property name="label">当前节点</Property>
      </PropertyDef>
      <PropertyDef name="createTime">
        <Property name="dataType">Date</Property>
      </PropertyDef>
    </DataType>
  </Model>
  <View layout="padding:10">
    <ClientEvent name="onReady">query= function(){&#xD;
    <ClientEvent name="onReady">view.TAG = 1;&#xD;
query= function(){&#xD;
   var param = view.get(&quot;#dsQuery.data&quot;);&#xD;
   var tabIndex = view.get(&quot;#tabMain.currentIndex&quot;);&#xD;
   param.set(&quot;scope&quot;,&quot;all&quot;);&#xD;
   if(0 == tabIndex){&#xD;
      view.get(&quot;#dsMain&quot;).set(&quot;parameter&quot;,param).flushAsync();&#xD;
   }else{&#xD;
      view.get(&quot;#dsMain2&quot;).set(&quot;parameter&quot;,param).flushAsync();&#xD;
      param.set(&quot;scope&quot;,&quot;self&quot;);&#xD;
   }&#xD;
   view.get(&quot;#dsMain&quot;).set(&quot;parameter&quot;,param).flushAsync();&#xD;
}&#xD;
query();&#xD;
      &#xD;
//宣传操作&#xD;
renderCell1 = function(arg,self){&#xD;
   var tabIndex = view.get(&quot;#tabMain.currentIndex&quot;);&#xD;
   var data = arg.data;&#xD;
   var htm = &quot;&lt;a onClick='audit()' class='a-btn1'>指派&lt;/a>&amp;nbsp;|&amp;nbsp;&lt;a onClick='showDetail()' class='a-btn2'>详细&lt;/a>&quot;;&#xD;
   if(1 == tabIndex){&#xD;
         htm = &quot;&lt;a onClick='showDetail()' class='a-btn2'>详细&lt;/a>&quot;;&#xD;
   }&#xD;
   arg.dom.innerHTML = htm;&#xD;
};&#xD;
&#xD;
@@ -148,27 +224,69 @@
}&#xD;
//点击详细&#xD;
showDetail = function(){&#xD;
   var tabIndex = view.get(&quot;#tabMain.currentIndex&quot;);&#xD;
   var cur = view.get(&quot;#dsMain.data:#&quot;);&#xD;
   var dialog = view.get(&quot;#dialogMain&quot;);&#xD;
   view.get('^btnTag').set('visible',true);&#xD;
   if(1 == tabIndex){&#xD;
      view.get('^btnTag').set('visible',false);&#xD;
   }&#xD;
   dialog.show();&#xD;
   &#xD;
}</ClientEvent>
   var orderId = cur.get(&quot;id&quot;);&#xD;
   //历史数据&#xD;
   view.get('#iFrameFlowHis').set('path','/work/flow-his?orderId='+orderId);&#xD;
   //业务信息&#xD;
   if(cur.get(&quot;businessUrl&quot;)){&#xD;
      var url = cur.get(&quot;businessUrl&quot;)+&quot;?businessId=&quot;+cur.get(&quot;businessId&quot;)+&quot;&amp;orderId=&quot;+orderId;&#xD;
      view.get(&quot;#iFrameBiz&quot;).set(&quot;path&quot;,url);&#xD;
   }else{&#xD;
      view.get(&quot;#iFrameBiz&quot;).set(&quot;path&quot;,&quot;/work/no-business?orderId=&quot;+orderId);&#xD;
   }&#xD;
}&#xD;
//执行审批&#xD;
todo = function(){&#xD;
   var cur = view.get(&quot;#dsMain.data:#&quot;);&#xD;
   var process = view.get(&quot;#dsProcess.data&quot;);&#xD;
   process.set(&quot;orderId&quot;, cur.get(&quot;id&quot;));&#xD;
   process.set(&quot;node&quot;, cur.get(&quot;node&quot;));&#xD;
   var remark = process.get('remark');&#xD;
   if(!remark){&#xD;
      $notify(&quot;请填写审批意见……&quot;);&#xD;
      return;&#xD;
   }&#xD;
   view.get(&quot;#ajaxTodo&quot;).set('parameter',process).execute(function(result){&#xD;
      if('200' != result.code){&#xD;
         $alert(result.message);&#xD;
      }else{&#xD;
         $alert(&quot;执行成功!&quot;);&#xD;
         view.get('#dialogTodo').hide();&#xD;
         query();&#xD;
      }&#xD;
   });&#xD;
}&#xD;
cancelTodo = function(){&#xD;
   var process = view.get(&quot;#dsProcess.data&quot;);&#xD;
   process.set(&quot;action&quot;,null);&#xD;
   process.set('remark',null);&#xD;
   view.get('#dialogTodo').hide();&#xD;
}&#xD;
</ClientEvent>
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <ClientEvent name="onLoadData">$notify(&quot;数据加载完成……&quot;);</ClientEvent>
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">workOrderPR#pageQuery</Property>
      <Property name="dataProvider">workOrderPR#pageQueryByUserType</Property>
      <Property name="pageSize">10</Property>
      <Property name="loadMode">lazy</Property>
    </DataSet>
    <DataSet id="dsMain2">
      <ClientEvent name="onLoadData">$notify(&quot;数据加载完成……&quot;);&#xD;
</ClientEvent>
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">workOrderPR#pageQuery2</Property>
      <Property name="pageSize">10</Property>
      <Property name="loadMode">lazy</Property>
      <Property name="loadMode">manual</Property>
    </DataSet>
    <DataSet id="dsQuery">
      <ClientEvent name="onReady">self.insert({});</ClientEvent>
      <Property name="dataType">dtParam</Property>
    </DataSet>
    <DataSet id="dsProcess">
      <ClientEvent name="onReady">self.insert();</ClientEvent>
      <Property name="dataType">dtWordProcess</Property>
    </DataSet>
    <HtmlContainer layoutConstraint="top ">
      <Property name="content">&lt;style>&#xD;
@@ -310,6 +428,7 @@
        <AutoFormElement>
          <Property name="name">deptId</Property>
          <Property name="property">deptId</Property>
          <Property name="trigger">autoMappingDropDown2</Property>
          <Editor/>
        </AutoFormElement>
        <AutoFormElement>
@@ -344,9 +463,93 @@
    <Container>
      <Property name="className">c-data</Property>
      <TabControl id="tabMain">
        <ClientEvent name="onTabChange">if(view.TAG) query();</ClientEvent>
        <ControlTab>
          <Property name="caption">全部</Property>
          <Property name="caption">我的工单</Property>
          <Property name="iconClass">fa fa-th-large</Property>
          <Property name="width">150</Property>
          <Container>
            <DataGrid layoutConstraint="padding:8">
              <ClientEvent name="onDataRowClick">self.set(&quot;selection&quot;,arg.data);</ClientEvent>
              <Property name="dataSet">dsMain</Property>
              <Property name="readOnly">true</Property>
              <Property name="selectionMode">singleRow</Property>
              <Property name="readOnly">true</Property>
              <Property name="fixedColumnCount">3</Property>
              <RowSelectorColumn/>
              <RowNumColumn>
                <Property name="width">50</Property>
                <Property name="caption">序号</Property>
              </RowNumColumn>
              <DataColumn>
                <ClientEvent name="onRenderCell">renderCell1(arg,self);</ClientEvent>
                <Property name="caption">操作</Property>
                <Property name="width">160</Property>
                <Property name="align">center</Property>
                <Editor/>
              </DataColumn>
              <DataColumn name="id">
                <Property name="property">id</Property>
                <Property name="width">180</Property>
              </DataColumn>
              <DataColumn name="deptId">
                <Property name="property">deptId</Property>
                <Property name="width">250</Property>
              </DataColumn>
              <DataColumn name="title">
                <Property name="property">title</Property>
                <Property name="width">300</Property>
              </DataColumn>
              <DataColumn>
                <ClientEvent name="onRenderCell">renderStatus(arg);</ClientEvent>
                <Property name="property">status</Property>
                <Property name="width">120</Property>
                <Property name="align">center</Property>
                <Property name="name">status</Property>
              </DataColumn>
              <DataColumn name="node">
                <Property name="property">node</Property>
                <Property name="width">120</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="bizType">
                <Property name="property">bizType</Property>
                <Property name="width">120</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="assigneeName">
                <Property name="property">assigneeName</Property>
                <Property name="align">center</Property>
                <Property name="width">150</Property>
              </DataColumn>
              <DataColumn name="receiveTime">
                <Property name="property">receiveTime</Property>
                <Property name="width">150</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="createUserName">
                <Property name="property">createUserName</Property>
                <Property name="align">center</Property>
                <Property name="width">150</Property>
              </DataColumn>
              <DataColumn name="createTime">
                <Property name="property">createTime</Property>
                <Property name="align">center</Property>
                <Property name="width">150</Property>
              </DataColumn>
            </DataGrid>
            <ToolBar layoutConstraint="bottom">
              <Fill/>
              <DataPilot layoutConstraint="right">
                <Property name="itemCodes">pageSize,pages</Property>
                <Property name="dataSet">dsMain</Property>
              </DataPilot>
            </ToolBar>
          </Container>
        </ControlTab>
        <ControlTab>
          <Property name="caption">全部工单</Property>
          <Property name="iconClass">fa fa-history</Property>
          <Property name="width">150</Property>
          <Container>
            <DataGrid layoutConstraint="padding:8">
@@ -387,6 +590,11 @@
                <Property name="align">center</Property>
                <Property name="name">status</Property>
              </DataColumn>
              <DataColumn name="node">
                <Property name="property">node</Property>
                <Property name="width">120</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="bizType">
                <Property name="property">bizType</Property>
                <Property name="width">120</Property>
@@ -422,271 +630,185 @@
            </ToolBar>
          </Container>
        </ControlTab>
        <ControlTab>
          <Property name="caption">已结束</Property>
          <Property name="iconClass">fa fa-history</Property>
          <Property name="width">150</Property>
          <Container>
            <DataGrid layoutConstraint="padding:8">
              <ClientEvent name="onDataRowClick">self.set(&quot;selection&quot;,arg.data);</ClientEvent>
              <Property name="dataSet">dsMain2</Property>
              <Property name="readOnly">true</Property>
              <Property name="selectionMode">singleRow</Property>
              <Property name="readOnly">true</Property>
              <Property name="fixedColumnCount">3</Property>
              <RowSelectorColumn/>
              <RowNumColumn>
                <Property name="width">50</Property>
                <Property name="caption">序号</Property>
              </RowNumColumn>
              <DataColumn>
                <ClientEvent name="onRenderCell">renderCell1(arg,self);</ClientEvent>
                <Property name="caption">操作</Property>
                <Property name="width">150</Property>
                <Property name="align">center</Property>
                <Editor/>
              </DataColumn>
              <DataColumn name="id">
                <Property name="property">id</Property>
                <Property name="width">180</Property>
              </DataColumn>
              <DataColumn name="deptId">
                <Property name="property">deptId</Property>
                <Property name="width">250</Property>
              </DataColumn>
              <DataColumn name="title">
                <Property name="property">title</Property>
                <Property name="width">300</Property>
              </DataColumn>
              <DataColumn>
                <ClientEvent name="onRenderCell">renderStatus(arg);</ClientEvent>
                <Property name="property">status</Property>
                <Property name="width">120</Property>
                <Property name="align">center</Property>
                <Property name="name">status</Property>
              </DataColumn>
              <DataColumn name="bizType">
                <Property name="property">bizType</Property>
                <Property name="width">120</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="assigneeName">
                <Property name="property">assigneeName</Property>
                <Property name="align">center</Property>
                <Property name="width">150</Property>
              </DataColumn>
              <DataColumn name="receiveTime">
                <Property name="property">receiveTime</Property>
                <Property name="width">150</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="createUserName">
                <Property name="property">createUserName</Property>
                <Property name="align">center</Property>
                <Property name="width">150</Property>
              </DataColumn>
              <DataColumn name="createTime">
                <Property name="property">createTime</Property>
                <Property name="align">center</Property>
                <Property name="width">150</Property>
              </DataColumn>
            </DataGrid>
            <ToolBar layoutConstraint="bottom">
              <Fill/>
              <DataPilot layoutConstraint="right">
                <Property name="itemCodes">pageSize,pages</Property>
                <Property name="dataSet">dsMain2</Property>
              </DataPilot>
            </ToolBar>
          </Container>
        </ControlTab>
      </TabControl>
    </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="width">90%</Property>
      <Property name="showCaptionBar">false</Property>
      <Property name="style">
        <Property name="background-color">#e6e6e6</Property>
      </Property>
      <Property name="height">95%</Property>
      <Buttons/>
      <Children>
        <TabControl>
          <ControlTab>
            <Property name="caption">工单信息</Property>
            <Property name="iconClass">fa fa-edit</Property>
            <Property name="width">120</Property>
            <Container>
              <Container>
                <Property name="exClassName">c-data</Property>
                <AutoForm>
                  <Property name="dataSet">dsMain</Property>
                  <Property name="cols">*,*,*</Property>
                  <Property name="labelAlign">right</Property>
                  <Property name="labelSeparator">:</Property>
                  <Property name="labelWidth">100</Property>
                  <Property name="readOnly">true</Property>
                  <AutoFormElement layoutConstraint="colSpan:2">
                    <Property name="name">title</Property>
                    <Property name="property">title</Property>
                    <Editor/>
                  </AutoFormElement>
                  <AutoFormElement>
                    <Property name="name">deptId</Property>
                    <Property name="property">deptId</Property>
                    <Editor/>
                  </AutoFormElement>
                  <AutoFormElement layoutConstraint="colSpan:3">
                    <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>
                    <Property name="name">createTime</Property>
                    <Property name="property">createTime</Property>
                    <Editor/>
                  </AutoFormElement>
                  <AutoFormElement>
                    <Property name="name">createUserName</Property>
                    <Property name="property">createUserName</Property>
                    <Editor/>
                  </AutoFormElement>
                  <AutoFormElement>
                    <Property name="name">receiveTime</Property>
                    <Property name="property">receiveTime</Property>
                    <Property name="labelWidth">140</Property>
                    <Editor/>
                  </AutoFormElement>
                </AutoForm>
                <ToolBar>
                  <Fill/>
                  <ToolBarButton>
                    <ClientEvent name="onClick">var process = view.get(&quot;#dsProcess.data&quot;);&#xD;
process.set('action','pass')&#xD;
view.get(&quot;#dialogTodo&quot;).show();</ClientEvent>
                    <Property name="caption">通过</Property>
                    <Property name="width">80</Property>
                    <Property name="exClassName">btn1</Property>
                    <Property name="iconClass">fa fa-check-circle</Property>
                    <Property name="tags">btnTag</Property>
                  </ToolBarButton>
                  <ToolBarButton>
                    <Property name="caption">转交</Property>
                    <Property name="width">80</Property>
                    <Property name="exClassName">btn2</Property>
                    <Property name="iconClass">fa fa-check-circle</Property>
                    <Property name="tags">btnTag</Property>
                  </ToolBarButton>
                  <ToolBarButton>
                    <ClientEvent name="onClick">var process = view.get(&quot;#dsProcess.data&quot;);&#xD;
process.set('action','refuse')&#xD;
view.get(&quot;#dialogTodo&quot;).show();</ClientEvent>
                    <Property name="caption">拒绝</Property>
                    <Property name="width">80</Property>
                    <Property name="exClassName">btn5</Property>
                    <Property name="iconClass">fa fa-check-circle</Property>
                    <Property name="tags">btnTag</Property>
                  </ToolBarButton>
                  <ToolBarButton>
                    <ClientEvent name="onClick">view.get(&quot;#dialogMain&quot;).hide();</ClientEvent>
                    <Property name="caption">关闭</Property>
                    <Property name="width">80</Property>
                    <Property name="exClassName">btn3</Property>
                    <Property name="iconClass">fa fa-times-circle</Property>
                  </ToolBarButton>
                  <Separator>
                    <Property name="width">30</Property>
                  </Separator>
                </ToolBar>
              </Container>
              <IFrame id="iFrameFlowHis">
                <Property name="path">/work/flow-his?orderId=1</Property>
              </IFrame>
            </Container>
          </ControlTab>
          <ControlTab>
            <Property name="caption">业务信息</Property>
            <Property name="iconClass">fa fa-file-o</Property>
            <Property name="width">120</Property>
            <IFrame id="iFrameBiz"/>
          </ControlTab>
        </TabControl>
      </Children>
      <Tools/>
    </Dialog>
    <Dialog id="dialogTodo">
      <Property name="width">600</Property>
      <Property name="caption">审批处理</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-bookmark</Property>
      <Buttons>
        <Button id="btnOk">
          <ClientEvent name="onClick">view.get(&quot;#updateSave&quot;).execute(function(result){&#xD;
   if(result){&#xD;
      $alert(result);&#xD;
      return;&#xD;
   }&#xD;
   $notify(&quot;数据执行完成!!&quot;);&#xD;
   self.get(&quot;parent&quot;).hide();&#xD;
});</ClientEvent>
          <Property name="caption">保存</Property>
          <Property name="iconClass">fa fa-check-circle</Property>
        <Button>
          <ClientEvent name="onClick">todo();</ClientEvent>
          <Property name="caption">确定</Property>
          <Property name="iconClass">fa fa-check</Property>
          <Property name="exClassName">btn1</Property>
          <Property name="width">120</Property>
          <Property name="width">90</Property>
        </Button>
        <Button>
          <ClientEvent name="onClick">view.get(&quot;#dsMain.data:#&quot;).cancel();&#xD;
            self.get(&quot;parent&quot;).hide();</ClientEvent>
          <ClientEvent name="onClick">cancelTodo();</ClientEvent>
          <Property name="caption">取消</Property>
          <Property name="iconClass">fa fa-times</Property>
          <Property name="exClassName">btn3</Property>
          <Property name="iconClass">fa fa-times-circle</Property>
          <Property name="width">120</Property>
          <Property name="width">90</Property>
        </Button>
      </Buttons>
      <Children>
        <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>
            <Property name="cols">*</Property>
            <Property name="dataSet">dsProcess</Property>
            <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>
              <Editor/>
            </AutoFormElement>
            <Label>
              <Property name="style">
                <Property name="color">blue</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/>
              <Property name="showHint">false</Property>
              <Property name="showLabel">false</Property>
              <Editor>
                <TextArea>
                  <Property name="blankText">-- 填写审批建议 --</Property>
                  <Property name="height">100</Property>
                </TextArea>
              </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="readOnly">true</Property>
              <Editor/>
            </AutoFormElement>
            <HtmlContainer layoutConstraint="colSpan:3">
              <Property name="content">1.入库通知单作为入库作业的前置条件,必须配置,否则无法进行入库作业。&lt;br>&#xD;
2.单据类型=库区通知单,表示库区自己作业业务,不受监管管理。</Property>
              <Property name="exClassName">h-tip</Property>
              <Property name="contentOverflow">hidden</Property>
            </HtmlContainer>
          </AutoForm>
        </Container>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <UpdateItem>
        <Property name="dataPath">[#current]</Property>
        <Property name="dataSet">dsMain</Property>
      </UpdateItem>
    </UpdateAction>
    <AjaxAction id="ajaxDel">
      <Property name="confirmMessage">确定要执行删除么?</Property>
    <AjaxAction id="ajaxTodo">
      <Property name="service">workOrderPR#todo</Property>
      <Property name="executingMessage">处理中……</Property>
    </AjaxAction>
  </View>
</ViewConfig>