sgj
2026-03-23 452cf744b08f2148729427fec50b07a4cf0cad31
fzzy-igdss-view/src/main/java/com/fzzy/igds/InoutList.view.xml
@@ -4,6 +4,9 @@
  <Context/>
  <Model>
    <DataType name="dtMain">
      <ClientEvent name="onDataChange">if(arg.property ==&quot;depotId&quot;){&#xD;
    autoByDepot(arg.newValue);&#xD;
}&#xD;</ClientEvent>
      <Property name="creationType">com.fzzy.igds.domain.InoutRecord</Property>
      <PropertyDef name="id">
        <Property></Property>
@@ -123,7 +126,7 @@
      </PropertyDef>
      <PropertyDef name="settleWeight">
        <Property name="dataType">Double</Property>
        <Property name="label">结算净重</Property>
        <Property name="label">结算重量</Property>
        <Property name="required">true</Property>
        <Property name="displayFormat">0.0 KG</Property>
      </PropertyDef>
@@ -156,6 +159,10 @@
      <PropertyDef name="remarks">
        <Property></Property>
        <Property name="label">备注信息</Property>
      </PropertyDef>
      <PropertyDef name="updateLog">
        <Property></Property>
          <Property name="label">修改记录</Property>
      </PropertyDef>
      <PropertyDef name="deptId">
        <Property></Property>
@@ -418,6 +425,16 @@
   }else{&#xD;
       $notify(&quot;请选择数据……&quot;);&#xD;
   }&#xD;
};&#xD;
&#xD;
//根据仓库自动回填粮食品种,登记,产地新&#xD;
autoByDepot = function(depotId){&#xD;
    view.get(&quot;#ajaxGetDepot&quot;).set(&quot;parameter&quot;,depotId).execute(function(result){&#xD;
        if(result){&#xD;
            var data = view.get(&quot;#dataGridMain&quot;).get(&quot;selection&quot;);&#xD;
            data.set(&quot;foodVariety&quot;,result.foodVariety);&#xD;
        }&#xD;
    });&#xD;
};&#xD;
&#xD;
//异常执行&#xD;
@@ -952,6 +969,12 @@
                <Property name="property">remarks</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement layoutConstraint="colSpan:3">
                <Property name="name">updateLog</Property>
                <Property name="property">updateLog</Property>
                <Property name="readOnly">true</Property>
                <Editor/>
              </AutoFormElement>
            </AutoForm>
          </Children>
        </FieldSet>
@@ -1193,5 +1216,8 @@
      <Property name="service">inoutDataPR#analysisExcel</Property>
      <Property name="executingMessage">正在执行解析……</Property>
    </AjaxAction>
    <AjaxAction id="ajaxGetDepot">
      <Property name="service">depotPR#getDepot</Property>
    </AjaxAction>
  </View>
</ViewConfig>