sgj
2026-01-17 cac7ab84d3cb339d6d4e0961f48a104e268dbee4
fzzy-igdss-view/src/main/java/com/fzzy/igds/InoutNoticeOut.view.xml
@@ -99,7 +99,6 @@
        <Property name="label">完成数量</Property>
        <Property name="displayFormat">#0.0 KG</Property>
      </PropertyDef>
<<<<<<< HEAD
      <PropertyDef name="auditStatus">
        <Property></Property>
        <Property name="label">审核状态</Property>
@@ -108,7 +107,7 @@
          <Property name="keyProperty">dictValue</Property>
          <Property name="valueProperty">dictLabel</Property>
        </Property>
=======
      </PropertyDef>
      <PropertyDef name="auditUser">
        <Property></Property>
        <Property name="label">审核人</Property>
@@ -116,7 +115,6 @@
      <PropertyDef name="auditDate">
        <Property name="dataType">DateTime</Property>
        <Property name="label">审批时间</Property>
>>>>>>> da4b59346969e1622a66ce9fde637b1fac1c501b
      </PropertyDef>
      <PropertyDef name="completeStatus">
        <Property></Property>
@@ -200,20 +198,20 @@
  </Model>
  <View layout="padding:10">
    <ClientEvent name="onReady">var deptId = window.parent.deptId;//父页面中的分库编码&#xD;
var TYPE = &quot;NOTICE_OUT&quot;;&#xD;
query = function(){&#xD;
   view.get(&quot;#dsQuery&quot;).set(&quot;parameter&quot;,{deptId:deptId}).flushAsync();&#xD;
};&#xD;
query();&#xD;
      &#xD;
//新增&#xD;
add = function(){&#xD;
    view.get(&quot;#ajaxInitAdd&quot;).execute(function(data){&#xD;
       view.get(&quot;#dsMain&quot;).insert(data);&#xD;
        view.get(&quot;#dialogMain&quot;).show();&#xD;
    });&#xD;
};&#xD;
&#xD;</ClientEvent>
            var TYPE = &quot;NOTICE_OUT&quot;;&#xD;
            query = function(){&#xD;
            view.get(&quot;#dsQuery&quot;).set(&quot;parameter&quot;,{deptId:deptId}).flushAsync();&#xD;
            };&#xD;
            query();&#xD;
            &#xD;
            //新增&#xD;
            add = function(){&#xD;
            view.get(&quot;#ajaxInitAdd&quot;).execute(function(data){&#xD;
            view.get(&quot;#dsMain&quot;).insert(data);&#xD;
            view.get(&quot;#dialogMain&quot;).show();&#xD;
            });&#xD;
            };&#xD;
            &#xD;</ClientEvent>
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
@@ -261,11 +259,11 @@
        </AutoFormElement>
        <Button>
          <ClientEvent name="onClick">var data = view.get(&quot;#dsQuery.data&quot;);&#xD;
            if(data){&#xD;
            view.get(&quot;#dsMain&quot;).set(&quot;parameter&quot;,data.toJSON()).flushAsync();&#xD;
            }else{&#xD;
            view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
            }</ClientEvent>
                        if(data){&#xD;
                        view.get(&quot;#dsMain&quot;).set(&quot;parameter&quot;,data.toJSON()).flushAsync();&#xD;
                        }else{&#xD;
                        view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
                        }</ClientEvent>
          <Property name="caption">搜索</Property>
          <Property name="iconClass">fa fa-search</Property>
          <Property name="exClassName">btn-q1</Property>
@@ -290,12 +288,12 @@
        </ToolBarButton>
        <ToolBarButton layoutConstraint="left">
          <ClientEvent name="onClick">&#xD;
            var select = view.get(&quot;#dataGridMain&quot;).get(&quot;selection&quot;);&#xD;
            if(select){&#xD;
            view.get(&quot;#dialogMain&quot;).show();&#xD;
            }else{&#xD;
            $notify(&quot;请选择需要修改的数据……&quot;);&#xD;
            }</ClientEvent>
                        var select = view.get(&quot;#dataGridMain&quot;).get(&quot;selection&quot;);&#xD;
                        if(select){&#xD;
                        view.get(&quot;#dialogMain&quot;).show();&#xD;
                        }else{&#xD;
                        $notify(&quot;请选择需要修改的数据……&quot;);&#xD;
                        }</ClientEvent>
          <Property name="caption">修改</Property>
          <Property name="exClassName">btn2</Property>
          <Property name="width">100</Property>
@@ -303,15 +301,15 @@
        </ToolBarButton>
        <ToolBarButton layoutConstraint="left">
          <ClientEvent name="onClick">&#xD;
            var select = view.get(&quot;#dataGridMain&quot;).get(&quot;selection&quot;);&#xD;
            if(select){&#xD;
            view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
            select.remove();&#xD;
            });&#xD;
            }else{&#xD;
            $notify(&quot;请选择需要删除的仓库……&quot;);&#xD;
            }&#xD;
          </ClientEvent>
                        var select = view.get(&quot;#dataGridMain&quot;).get(&quot;selection&quot;);&#xD;
                        if(select){&#xD;
                        view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
                        select.remove();&#xD;
                        });&#xD;
                        }else{&#xD;
                        $notify(&quot;请选择需要删除的仓库……&quot;);&#xD;
                        }&#xD;
                    </ClientEvent>
          <Property name="caption">删除</Property>
          <Property name="exClassName">btn3</Property>
          <Property name="width">100</Property>
@@ -319,15 +317,15 @@
        </ToolBarButton>
        <ToolBarButton layoutConstraint="left">
          <ClientEvent name="onClick">view.get(&quot;#recalculate&quot;).execute(function(result){&#xD;
            if(result == 'success'){&#xD;
            $notify(&quot;数据更新完成!!&quot;);&#xD;
            &#xD;
            var data = view.get(&quot;#dsQuery.data&quot;);&#xD;
            view.get(&quot;#dsMain&quot;).set(&quot;parameter&quot;,data.toJSON()).flushAsync();&#xD;
            }else{&#xD;
            $notify(&quot;数据更新失败!!&quot;);&#xD;
            }&#xD;
            });</ClientEvent>
                        if(result == 'success'){&#xD;
                        $notify(&quot;数据更新完成!!&quot;);&#xD;
                        &#xD;
                        var data = view.get(&quot;#dsQuery.data&quot;);&#xD;
                        view.get(&quot;#dsMain&quot;).set(&quot;parameter&quot;,data.toJSON()).flushAsync();&#xD;
                        }else{&#xD;
                        $notify(&quot;数据更新失败!!&quot;);&#xD;
                        }&#xD;
                        });</ClientEvent>
          <Property name="caption">实时核算</Property>
          <Property name="exClassName">btn4</Property>
          <Property name="iconClass">fa fa-refresh</Property>
@@ -337,14 +335,14 @@
        </ToolBarButton>
        <ToolBarButton layoutConstraint="left">
          <ClientEvent name="onClick">&#xD;
            var select = view.get(&quot;#dataGridMain&quot;).get(&quot;selection&quot;);&#xD;
            if(select){&#xD;
            var bizId = select.get(&quot;id&quot;);&#xD;
            var url = &quot;/export/download-word?bizId=&quot;+bizId + &quot;&amp;entityName=InoutNoticeOut&quot;;&#xD;
            window.open(url);&#xD;
            }else{&#xD;
            $notify(&quot;请选择需要导出的通知单……&quot;);&#xD;
            }</ClientEvent>
                        var select = view.get(&quot;#dataGridMain&quot;).get(&quot;selection&quot;);&#xD;
                        if(select){&#xD;
                        var bizId = select.get(&quot;id&quot;);&#xD;
                        var url = &quot;/export/download-word?bizId=&quot;+bizId + &quot;&amp;entityName=InoutNoticeOut&quot;;&#xD;
                        window.open(url);&#xD;
                        }else{&#xD;
                        $notify(&quot;请选择需要导出的通知单……&quot;);&#xD;
                        }</ClientEvent>
          <Property name="caption">导出Word</Property>
          <Property name="exClassName">btn2</Property>
          <Property name="width">120</Property>
@@ -353,12 +351,12 @@
        <Separator/>
        <ToolBarButton layoutConstraint="left">
          <ClientEvent name="onClick">var select = view.get(&quot;#dataGridMain&quot;).get(&quot;selection&quot;);&#xD;
if(select){&#xD;
   view.get(&quot;#iFrameFlowHis&quot;).set(&quot;path&quot;,&quot;/work/flow-his2?businessId=&quot;+select.get(&quot;id&quot;));&#xD;
   view.get(&quot;#dialogHis&quot;).show();&#xD;
}else{&#xD;
   $notify(&quot;请选择需要查看的数据……&quot;);&#xD;
}</ClientEvent>
                        if(select){&#xD;
                        view.get(&quot;#iFrameFlowHis&quot;).set(&quot;path&quot;,&quot;/work/flow-his2?businessId=&quot;+select.get(&quot;id&quot;));&#xD;
                        view.get(&quot;#dialogHis&quot;).show();&#xD;
                        }else{&#xD;
                        $notify(&quot;请选择需要查看的数据……&quot;);&#xD;
                        }</ClientEvent>
          <Property name="caption">审批记录</Property>
          <Property name="exClassName">btn4</Property>
          <Property name="iconClass">fa fa-th-list</Property>
@@ -447,16 +445,16 @@
      <Buttons>
        <Button id="btnOk">
          <ClientEvent name="onClick">var data = view.get(&quot;#dsMain.data:#&quot;);&#xD;
data.set('unitName',data.getText('deptId'));&#xD;
&#xD;
view.get(&quot;#updateSave&quot;).execute(function(result){&#xD;
   if(result.code != '200'){&#xD;
      $alert(result.message);&#xD;
      return;&#xD;
   }&#xD;
   $alert('数据执行成功!');&#xD;
   self.get(&quot;parent&quot;).hide();&#xD;
});</ClientEvent>
                        data.set('unitName',data.getText('deptId'));&#xD;
                        &#xD;
                        view.get(&quot;#updateSave&quot;).execute(function(result){&#xD;
                        if(result.code != '200'){&#xD;
                        $alert(result.message);&#xD;
                        return;&#xD;
                        }&#xD;
                        $alert('数据执行成功!');&#xD;
                        self.get(&quot;parent&quot;).hide();&#xD;
                        });</ClientEvent>
          <Property name="caption">保存</Property>
          <Property name="iconClass">fa fa-check-circle</Property>
          <Property name="exClassName">btn1</Property>
@@ -464,7 +462,7 @@
        </Button>
        <Button>
          <ClientEvent name="onClick">view.get(&quot;#dsMain.data:#&quot;).cancel();&#xD;
            self.get(&quot;parent&quot;).hide();</ClientEvent>
                        self.get(&quot;parent&quot;).hide();</ClientEvent>
          <Property name="caption">取消</Property>
          <Property name="exClassName">btn3</Property>
          <Property name="iconClass">fa fa-times-circle</Property>
@@ -513,10 +511,7 @@
              <Property name="property">type</Property>
              <Property name="trigger">autoMappingDropDown1</Property>
              <Property name="editorType">RadioGroup</Property>
<<<<<<< HEAD
              <Property name="showHint">false</Property>
=======
>>>>>>> da4b59346969e1622a66ce9fde637b1fac1c501b
              <Editor/>
            </AutoFormElement>
            <AutoFormElement id="formItemBank">
@@ -547,53 +542,31 @@
              <Property name="trigger">defaultYearDropDown</Property>
              <Editor/>
            </AutoFormElement>
            <AutoFormElement>
              <Property name="name">createTime</Property>
              <Property name="property">createTime</Property>
              <Property name="readOnly">true</Property>
            <AutoFormElement id="formItemCustomerName" layoutConstraint="colSpan:2">
              <Property name="name">customerName</Property>
              <Property name="property">customerName</Property>
              <Editor/>
            </AutoFormElement>
            <AutoFormElement>
<<<<<<< HEAD
              <Property name="name">customerName</Property>
              <Property name="property">customerName</Property>
=======
              <Property name="name">targetNumber</Property>
              <Property name="property">targetNumber</Property>
              <Property name="readOnly">false</Property>
              <Editor/>
            </AutoFormElement>
            <AutoFormElement>
              <Property name="name">unitName</Property>
              <Property name="property">unitName</Property>
>>>>>>> da4b59346969e1622a66ce9fde637b1fac1c501b
              <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>
              <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="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>
              <Property name="name">createBy</Property>
              <Property name="property">createBy</Property>
              <Editor/>
            </AutoFormElement>
            <AutoFormElement>
              <Property name="name">createTime</Property>
              <Property name="property">createTime</Property>
              <Editor/>
            </AutoFormElement>
            <AutoFormElement layoutConstraint="colSpan:3">
@@ -633,28 +606,13 @@
            <AutoFormElement>
              <Property name="name">auditStatus</Property>
              <Property name="property">auditStatus</Property>
<<<<<<< HEAD
=======
              <Property name="readOnly">true</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>
>>>>>>> da4b59346969e1622a66ce9fde637b1fac1c501b
              <Property name="readOnly">true</Property>
              <Editor/>
            </AutoFormElement>
            <HtmlContainer layoutConstraint="colSpan:3">
              <Property name="content">1.入库通知单作为入库作业的前置条件,必须配置,否则无法进行入库作业。&lt;br>&#xD;
2.单据类型=库区通知单,表示库区自己作业业务,不受监管管理。&lt;br>&#xD;
3.单据类型=质押监管通知单,单据必须填写监督银行。</Property>
                                2.单据类型=库区通知单,表示库区自己作业业务,不受监管管理。&lt;br>&#xD;
                                3.单据类型=质押监管通知单,单据必须填写监督银行。</Property>
              <Property name="exClassName">h-tip</Property>
              <Property name="contentOverflow">hidden</Property>
            </HtmlContainer>
@@ -665,17 +623,17 @@
    </Dialog>
    <DataSetDropDown id="dsDepotDropDown">
      <ClientEvent name="onOpen">&#xD;
var entity = view.get(&quot;#dsMain.data:#&quot;);&#xD;
if(!entity){&#xD;
    $alert(&quot;请先选择所属分库&quot;);&#xD;
}else{&#xD;
    var deptId = entity.get(&quot;deptId&quot;);&#xD;
    if(!deptId){&#xD;
        $alert(&quot;请先选择所属分库&quot;);&#xD;
    }else{&#xD;
        view.get(&quot;#dsDepotList&quot;).set(&quot;parameter&quot;,entity.get(&quot;deptId&quot;)).flushAsync();&#xD;
    }&#xD;
}</ClientEvent>
                var entity = view.get(&quot;#dsMain.data:#&quot;);&#xD;
                if(!entity){&#xD;
                $alert(&quot;请先选择所属分库&quot;);&#xD;
                }else{&#xD;
                var deptId = entity.get(&quot;deptId&quot;);&#xD;
                if(!deptId){&#xD;
                $alert(&quot;请先选择所属分库&quot;);&#xD;
                }else{&#xD;
                view.get(&quot;#dsDepotList&quot;).set(&quot;parameter&quot;,entity.get(&quot;deptId&quot;)).flushAsync();&#xD;
                }&#xD;
                }</ClientEvent>
      <Property name="dataSet">dsDepotList</Property>
      <Property name="height">450</Property>
      <Property name="autoOpen">true</Property>