YYC
2023-10-30 4160155c7749e752ae13b935afe7a60fbbeeda6b
武汉接口
已修改20个文件
已添加6个文件
3470 ■■■■■ 文件已修改
src/main/java/com/fzzy/otherview/gd2022/pr/GDApi1023PR.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1115.view.xml 34 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1205.view.xml 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1206.view.xml 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1207.view.xml 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1208.view.xml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1209.view.xml 421 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1210.view.xml 391 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1211.view.xml 496 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1212.view.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1213.view.xml 585 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1214.view.xml 746 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1215.view.xml 466 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1206.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1210.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1211.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1212.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1213.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1214.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlJSMX.java 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1206PR.java 52 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1207PR.java 60 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1211PR.java 45 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1213PR.java 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1214PR.java 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/home/home-whjl.html 28 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/gd2022/pr/GDApi1023PR.java
@@ -150,7 +150,7 @@
            infoData.setData(JSON.toJSONString(data));
        } else {
            infoData = new ApiInfoData();
            infoData.setId(ContextUtil.getUUID());
            infoData.setId(data.getXzbm());
            infoData.setKqdm(data.getKqdm());
            infoData.setInteId(ApiCodeConstant.API_1023);
            infoData.setUpdateTime(new Date());
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1115.view.xml
@@ -6,31 +6,31 @@
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1115</Property>
      <PropertyDef name="sbbfjlbh">
        <Property/>
        <Property></Property>
        <Property name="label">设备报废记录编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property/>
        <Property></Property>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqymc">
        <Property/>
        <Property></Property>
        <Property name="label">军粮企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jgzdbh">
        <Property/>
        <Property></Property>
        <Property name="label">军供站点编号</Property>
      </PropertyDef>
      <PropertyDef name="jgzdmc">
        <Property/>
        <Property></Property>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="sbbh">
        <Property/>
        <Property></Property>
        <Property name="label">设备编号</Property>
      </PropertyDef>
      <PropertyDef name="sbmc">
        <Property/>
        <Property></Property>
        <Property name="label">设备名称</Property>
      </PropertyDef>
      <PropertyDef name="bfsqsj">
@@ -38,19 +38,19 @@
        <Property name="label">报废申请日期</Property>
      </PropertyDef>
      <PropertyDef name="sqr">
        <Property/>
        <Property></Property>
        <Property name="label">申请人</Property>
      </PropertyDef>
      <PropertyDef name="ysynx">
        <Property/>
        <Property></Property>
        <Property name="label">已使用年限</Property>
      </PropertyDef>
      <PropertyDef name="bfyy">
        <Property/>
        <Property></Property>
        <Property name="label">报废原因</Property>
      </PropertyDef>
      <PropertyDef name="pzr">
        <Property/>
        <Property></Property>
        <Property name="label">批准人</Property>
      </PropertyDef>
      <PropertyDef name="pzrq">
@@ -58,15 +58,15 @@
        <Property name="label">批准日期</Property>
      </PropertyDef>
      <PropertyDef name="sm">
        <Property/>
        <Property></Property>
        <Property name="label">说明</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <Property/>
        <Property></Property>
        <Property name="label">备注</Property>
      </PropertyDef>
      <PropertyDef name="bizId">
        <Property/>
        <Property></Property>
        <Property name="label">业务ID</Property>
      </PropertyDef>
      <PropertyDef name="updateTime">
@@ -74,11 +74,11 @@
        <Property name="label">最后更新时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property/>
        <Property></Property>
        <Property name="label">操作标志</Property>
      </PropertyDef>
      <PropertyDef name="kqdm">
        <Property/>
        <Property></Property>
        <Property name="label">库区代码</Property>
      </PropertyDef>
    </DataType>
@@ -112,7 +112,7 @@
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1115PR#listData</Property>
      <Property name="parameter">20</Property>
      <Property name="pageSize">20</Property>
    </DataSet>
    <DataSet id="dsQuery">
      <ClientEvent name="onReady">self.insert();</ClientEvent>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1205.view.xml
@@ -168,7 +168,7 @@
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1205PR#listData</Property>
      <Property name="parameter">20</Property>
      <Property name="pageSize">20</Property>
    </DataSet>
    <DataSet id="dsQuery">
      <ClientEvent name="onReady">self.insert();</ClientEvent>
@@ -296,10 +296,10 @@
      </DataPilot>
    </Container>
    <Dialog id="dialogMain">
      <Property name="width">60%</Property>
      <Property name="width">80%</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">货位信息</Property>
      <Property name="caption">订单信息</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1206.view.xml
@@ -170,8 +170,11 @@
        <Property></Property>
        <Property name="label">库区代码</Property>
      </PropertyDef>
      <PropertyDef name="htspqdList">
        <Property/>
      </PropertyDef>
      <Reference name="htspqd">
        <Property name="parameter">$${this.htid}</Property>
        <Property name="parameter">$${this.htspqdList}</Property>
        <Property name="dataProvider">whjlApi1206PR#listItem</Property>
        <Property name="dataType">[dtItem]</Property>
      </Reference>
@@ -247,6 +250,7 @@
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1206PR#listData</Property>
      <Property name="pageSize">20</Property>
    </DataSet>
    <Container layout="regionPadding:10" layoutConstraint="top">
      <Property name="exClassName">bg-color</Property>
@@ -387,11 +391,18 @@
        </DataColumn>
      </DataGrid>
    </Container>
    <Container layoutConstraint="bottom">
      <Property name="exClassName">bg-color</Property>
      <DataPilot layoutConstraint="right">
        <Property name="dataSet">dsMain</Property>
        <Property name="itemCodes">pageSize,pages</Property>
      </DataPilot>
    </Container>
    <Dialog id="dialogMain" layout="regionPadding:10;padding:5">
      <Property name="width">85%</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">客户信息</Property>
      <Property name="caption">合同信息</Property>
      <Property name="height">85%</Property>
      <Buttons>
        <Button>
@@ -649,14 +660,7 @@
if(!data){&#xD;
 return;&#xD;
}&#xD;
view.get(&quot;#ajaxItem&quot;).set(&quot;parameter&quot;,data).execute(function(result){&#xD;
    if(result){&#xD;
          $alert(result);&#xD;
          return;&#xD;
     }else{&#xD;
          data.remove();&#xD;
     }&#xD;
});</ClientEvent>
data.remove();</ClientEvent>
                <Property name="caption">删除</Property>
                <Property name="exClassName">btn-warn</Property>
                <Property name="iconClass">fa fa-minus</Property>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1207.view.xml
@@ -187,7 +187,7 @@
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1206PR#listData</Property>
      <Property name="dataProvider">whjlApi1207PR#listData</Property>
      <Property name="pageSize">20</Property>
    </DataSet>
    <Container layout="regionPadding:10" layoutConstraint="top">
@@ -329,10 +329,11 @@
      <Property name="service">whjlApi1207PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogMain">
      <Property name="width">60%</Property>
      <Property name="width">80%</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">货位信息</Property>
      <Property name="caption">库存台账</Property>
      <Property name="height">80%</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1208.view.xml
@@ -200,6 +200,7 @@
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1208PR#listData</Property>
      <Property name="pageSize">20</Property>
    </DataSet>
    <DataSet id="dsQuery">
      <ClientEvent name="onReady">self.insert();</ClientEvent>
@@ -321,10 +322,11 @@
      </DataPilot>
    </Container>
    <Dialog id="dialogMain">
      <Property name="width">60%</Property>
      <Property name="width">80%</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">货位信息</Property>
      <Property name="caption">库存台账产品批次</Property>
      <Property name="height">80%</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1209.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,421 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1209</Property>
      <PropertyDef name="kctzcpcrjlid">
        <Property/>
        <Property name="label">库存台账出入记录ID</Property>
      </PropertyDef>
      <PropertyDef name="kctzcppcid">
        <Property/>
        <Property name="label">库存台账产品批次ID</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property/>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="ssqymc">
        <Property/>
        <Property name="label">军粮企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jgzdbh">
        <Property/>
        <Property name="label">军供站点编号</Property>
      </PropertyDef>
      <PropertyDef name="jgzdmc">
        <Property/>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="crlx">
        <Property/>
        <Property name="label">出入类型</Property>
      </PropertyDef>
      <PropertyDef name="jllx">
        <Property/>
        <Property name="label">记录类型</Property>
      </PropertyDef>
      <PropertyDef name="jlsj">
        <Property/>
        <Property name="label">记录时间</Property>
      </PropertyDef>
      <PropertyDef name="crqsl">
        <Property name="dataType">Double</Property>
        <Property name="label">出入库前数量</Property>
      </PropertyDef>
      <PropertyDef name="crqzl">
        <Property name="dataType">Double</Property>
        <Property name="label">出入库前重量</Property>
      </PropertyDef>
      <PropertyDef name="crsl">
        <Property name="dataType">Double</Property>
        <Property name="label">出入数量</Property>
      </PropertyDef>
      <PropertyDef name="crzl">
        <Property name="dataType">Double</Property>
        <Property name="label">出入重量</Property>
      </PropertyDef>
      <PropertyDef name="crhsl">
        <Property name="dataType">Double</Property>
        <Property name="label">出入库后数量</Property>
      </PropertyDef>
      <PropertyDef name="crhzl">
        <Property name="dataType">Double</Property>
        <Property name="label">出入库后重量</Property>
      </PropertyDef>
      <PropertyDef name="bizId">
        <Property></Property>
        <Property name="label">业务ID</Property>
      </PropertyDef>
      <PropertyDef name="updateTime">
        <Property name="dataType">DateTime</Property>
        <Property name="label">最后更新时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
      </PropertyDef>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">库区代码</Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtParam">
      <Property name="creationType">com.fzzy.api.data.ApiParam</Property>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">所属库区</Property>
      </PropertyDef>
      <PropertyDef name="start">
        <Property name="dataType">Date</Property>
        <Property name="label">开始时间</Property>
      </PropertyDef>
      <PropertyDef name="end">
        <Property name="dataType">Date</Property>
        <Property name="label">截止时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CZBZ&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
    </DataType>
  </Model>
  <View layout="regionPadding:10">
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1209PR#listData</Property>
      <Property name="pageSize">20</Property>
    </DataSet>
    <DataSet id="dsQuery">
      <ClientEvent name="onReady">self.insert();</ClientEvent>
      <Property name="dataType">dtParam</Property>
    </DataSet>
    <Container layout="regionPadding:10" layoutConstraint="top">
      <Property name="exClassName">bg-color</Property>
      <Property name="height">55</Property>
      <Property name="contentOverflow">hidden</Property>
      <Label layoutConstraint="left">
        <Property name="text">菜单栏:</Property>
      </Label>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).insert();&#xD;
view.get(&quot;#dialogMain&quot;).show();</ClientEvent>
        <Property name="iconClass">fa fa-plus</Property>
        <Property name="caption">新增</Property>
        <Property name="exClassName">btn-default</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要修改的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">编辑</Property>
        <Property name="iconClass">fa fa-pencil</Property>
        <Property name="exClassName">btn-warm</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
        if(result){&#xD;
            $alert(result);&#xD;
        } else{&#xD;
            cur.remove();&#xD;
        }&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要删除的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">删除</Property>
        <Property name="iconClass">fa fa-minus</Property>
        <Property name="exClassName">btn-warn</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).flushAsync();</ClientEvent>
        <Property name="caption">刷新</Property>
        <Property name="iconClass">fa fa-search</Property>
        <Property name="exClassName">btn-flush</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var select = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
if(select &amp;&amp; select.length > 0){&#xD;
    view.get(&quot;#ajaxPush&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
        view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
        $notify(result);&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要上报的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">手动上传</Property>
        <Property name="iconClass">fa fa-hand-o-up</Property>
        <Property name="exClassName">btn-default</Property>
      </Button>
      <Button layoutConstraint="right">
        <ClientEvent name="onClick">//显示记录&#xD;
view.get(&quot;#iFrame&quot;).reload();&#xD;
view.get(&quot;#dialogLog&quot;).show();</ClientEvent>
        <Property name="caption">上传记录</Property>
        <Property name="iconClass">fa fa-bars</Property>
        <Property name="exClassName">btn-flush</Property>
      </Button>
    </Container>
    <Container layoutConstraint="center">
      <Property name="exClassName">bg-color</Property>
      <DataGrid id="dgMain">
        <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsMain.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}</ClientEvent>
        <Property name="dataSet">dsMain</Property>
        <Property name="selectionMode">multiRows</Property>
        <Property name="readOnly">true</Property>
        <RowNumColumn/>
        <RowSelectorColumn>
          <Property name="caption">上传</Property>
        </RowSelectorColumn>
        <DataColumn name="kctzcpcrjlid">
          <Property name="property">kctzcpcrjlid</Property>
        </DataColumn>
        <DataColumn name="kctzcppcid">
          <Property name="property">kctzcppcid</Property>
        </DataColumn>
        <DataColumn name="jlqybh">
          <Property name="property">jlqybh</Property>
        </DataColumn>
        <DataColumn name="ssqymc">
          <Property name="property">ssqymc</Property>
        </DataColumn>
        <DataColumn name="jgzdbh">
          <Property name="property">jgzdbh</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
        </DataColumn>
        <DataColumn name="crlx">
          <Property name="property">crlx</Property>
        </DataColumn>
        <DataColumn name="jllx">
          <Property name="property">jllx</Property>
        </DataColumn>
        <DataColumn name="jlsj">
          <Property name="property">jlsj</Property>
        </DataColumn>
        <DataColumn name="crqsl">
          <Property name="property">crqsl</Property>
        </DataColumn>
        <DataColumn name="czbz">
          <Property name="property">czbz</Property>
        </DataColumn>
      </DataGrid>
    </Container>
    <Container layoutConstraint="bottom">
      <Property name="exClassName">bg-color</Property>
      <DataPilot layoutConstraint="right">
        <Property name="dataSet">dsMain</Property>
        <Property name="itemCodes">pageSize,pages</Property>
      </DataPilot>
    </Container>
    <Dialog id="dialogMain">
      <Property name="width">60%</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">货位信息</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
view.get(&quot;#updateSave&quot;).execute(function(){&#xD;
    self.get(&quot;parent&quot;).hide();&#xD;
    view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
});</ClientEvent>
          <Property name="caption">确定</Property>
          <Property name="iconClass">fa fa-check</Property>
        </Button>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
self.get(&quot;parent&quot;).hide();&#xD;
if(cur) cur.cancel();</ClientEvent>
          <Property name="caption">取消</Property>
          <Property name="iconClass">fa fa-times</Property>
        </Button>
      </Buttons>
      <Children>
        <AutoForm>
          <Property name="dataSet">dsMain</Property>
          <Property name="cols">*,*,*</Property>
          <Property name="labelPosition">top</Property>
          <Property name="labelSeparator">:</Property>
          <Property name="labelWidth">120</Property>
          <AutoFormElement>
            <Property name="name">kctzcpcrjlid</Property>
            <Property name="property">kctzcpcrjlid</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">kctzcppcid</Property>
            <Property name="property">kctzcppcid</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlqybh</Property>
            <Property name="property">jlqybh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ssqymc</Property>
            <Property name="property">ssqymc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jgzdbh</Property>
            <Property name="property">jgzdbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jgzdmc</Property>
            <Property name="property">jgzdmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">crlx</Property>
            <Property name="property">crlx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jllx</Property>
            <Property name="property">jllx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlsj</Property>
            <Property name="property">jlsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">crqsl</Property>
            <Property name="property">crqsl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">crqzl</Property>
            <Property name="property">crqzl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">crsl</Property>
            <Property name="property">crsl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">crzl</Property>
            <Property name="property">crzl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">crhsl</Property>
            <Property name="property">crhsl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">crhzl</Property>
            <Property name="property">crhzl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bizId</Property>
            <Property name="property">bizId</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">updateTime</Property>
            <Property name="property">updateTime</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">czbz</Property>
            <Property name="property">czbz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">kqdm</Property>
            <Property name="property">kqdm</Property>
            <Editor/>
          </AutoFormElement>
        </AutoForm>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1209PR#saveData</Property>
      <UpdateItem>
        <Property name="dataPath">[#current]</Property>
        <Property name="dataSet">dsMain</Property>
      </UpdateItem>
    </UpdateAction>
    <AjaxAction id="ajaxDel">
      <Property name="confirmMessage">当前数据删除后无法恢复,请确认要删除么?</Property>
      <Property name="service">whjlApi1209PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1209PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogLog">
      <Property name="width">90%</Property>
      <Property name="height">90%</Property>
      <Property name="caption">上传记录</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">self.get(&quot;parent&quot;).hide();</ClientEvent>
          <Property name="caption">关闭</Property>
          <Property name="iconClass">fa fa-times</Property>
        </Button>
      </Buttons>
      <Children>
        <Container>
          <IFrame id="iFrame">
            <Property name="path">com.fzzy.api.view.ApiLog.d</Property>
            <Property name="userData">
              <Entity>
                <Property name="deptId">deptId</Property>
              </Entity>
            </Property>
          </IFrame>
        </Container>
      </Children>
      <Tools/>
    </Dialog>
    <ListDropDown id="listDropYN">
      <Property name="items">是,否</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1210.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,391 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1210</Property>
      <PropertyDef name="kcpdjlid">
        <Property/>
        <Property name="label">库存盘点记录ID</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property/>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqymc">
        <Property/>
        <Property name="label">军粮企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jgzdbh">
        <Property/>
        <Property name="label">军供站点编号</Property>
      </PropertyDef>
      <PropertyDef name="jgzdmc">
        <Property/>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="ajbh">
        <Property/>
        <Property name="label">廒间编号</Property>
      </PropertyDef>
      <PropertyDef name="ajmc">
        <Property/>
        <Property name="label">廒间名称</Property>
      </PropertyDef>
      <PropertyDef name="pdrq">
        <Property name="dataType">Date</Property>
        <Property name="label">盘点日期</Property>
      </PropertyDef>
      <PropertyDef name="pdkj">
        <Property/>
        <Property name="label">盘点会计</Property>
      </PropertyDef>
      <PropertyDef name="bgy">
        <Property/>
        <Property name="label">保管员</Property>
      </PropertyDef>
      <PropertyDef name="fzr">
        <Property/>
        <Property name="label">负责人</Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <Property/>
        <Property name="label">是否有效</Property>
      </PropertyDef>
      <PropertyDef name="bizId">
        <Property/>
        <Property name="label">业务ID</Property>
      </PropertyDef>
      <PropertyDef name="updateTime">
        <Property name="dataType">DateTime</Property>
        <Property name="label">最后更新时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property/>
        <Property name="label">操作标志</Property>
      </PropertyDef>
      <PropertyDef name="kqdm">
        <Property/>
        <Property name="label">库区代码</Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtParam">
      <Property name="creationType">com.fzzy.api.data.ApiParam</Property>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">所属库区</Property>
      </PropertyDef>
      <PropertyDef name="start">
        <Property name="dataType">Date</Property>
        <Property name="label">开始时间</Property>
      </PropertyDef>
      <PropertyDef name="end">
        <Property name="dataType">Date</Property>
        <Property name="label">截止时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CZBZ&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
    </DataType>
  </Model>
  <View layout="regionPadding:10">
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1210PR#listData</Property>
      <Property name="pageSize">20</Property>
    </DataSet>
    <DataSet id="dsQuery">
      <ClientEvent name="onReady">self.insert();</ClientEvent>
      <Property name="dataType">dtParam</Property>
    </DataSet>
    <Container layout="regionPadding:10" layoutConstraint="top">
      <Property name="exClassName">bg-color</Property>
      <Property name="height">55</Property>
      <Property name="contentOverflow">hidden</Property>
      <Label layoutConstraint="left">
        <Property name="text">菜单栏:</Property>
      </Label>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).insert();&#xD;
view.get(&quot;#dialogMain&quot;).show();</ClientEvent>
        <Property name="iconClass">fa fa-plus</Property>
        <Property name="caption">新增</Property>
        <Property name="exClassName">btn-default</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要修改的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">编辑</Property>
        <Property name="iconClass">fa fa-pencil</Property>
        <Property name="exClassName">btn-warm</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
        if(result){&#xD;
            $alert(result);&#xD;
        } else{&#xD;
            cur.remove();&#xD;
        }&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要删除的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">删除</Property>
        <Property name="iconClass">fa fa-minus</Property>
        <Property name="exClassName">btn-warn</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).flushAsync();</ClientEvent>
        <Property name="caption">刷新</Property>
        <Property name="iconClass">fa fa-search</Property>
        <Property name="exClassName">btn-flush</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var select = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
if(select &amp;&amp; select.length > 0){&#xD;
    view.get(&quot;#ajaxPush&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
        view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
        $notify(result);&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要上报的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">手动上传</Property>
        <Property name="iconClass">fa fa-hand-o-up</Property>
        <Property name="exClassName">btn-default</Property>
      </Button>
      <Button layoutConstraint="right">
        <ClientEvent name="onClick">//显示记录&#xD;
view.get(&quot;#iFrame&quot;).reload();&#xD;
view.get(&quot;#dialogLog&quot;).show();</ClientEvent>
        <Property name="caption">上传记录</Property>
        <Property name="iconClass">fa fa-bars</Property>
        <Property name="exClassName">btn-flush</Property>
      </Button>
    </Container>
    <Container layoutConstraint="center">
      <Property name="exClassName">bg-color</Property>
      <DataGrid id="dgMain">
        <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsMain.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}</ClientEvent>
        <Property name="dataSet">dsMain</Property>
        <Property name="selectionMode">multiRows</Property>
        <Property name="readOnly">true</Property>
        <RowNumColumn/>
        <RowSelectorColumn>
          <Property name="caption">上传</Property>
        </RowSelectorColumn>
        <DataColumn name="kcpdjlid">
          <Property name="property">kcpdjlid</Property>
        </DataColumn>
        <DataColumn name="jlqybh">
          <Property name="property">jlqybh</Property>
        </DataColumn>
        <DataColumn name="jlqymc">
          <Property name="property">jlqymc</Property>
        </DataColumn>
        <DataColumn name="jgzdbh">
          <Property name="property">jgzdbh</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
        </DataColumn>
        <DataColumn name="ajbh">
          <Property name="property">ajbh</Property>
        </DataColumn>
        <DataColumn name="ajmc">
          <Property name="property">ajmc</Property>
        </DataColumn>
        <DataColumn name="pdrq">
          <Property name="property">pdrq</Property>
        </DataColumn>
        <DataColumn name="pdkj">
          <Property name="property">pdkj</Property>
        </DataColumn>
        <DataColumn name="czbz">
          <Property name="property">czbz</Property>
        </DataColumn>
      </DataGrid>
    </Container>
    <Container layoutConstraint="bottom">
      <Property name="exClassName">bg-color</Property>
      <DataPilot layoutConstraint="right">
        <Property name="dataSet">dsMain</Property>
        <Property name="itemCodes">pageSize,pages</Property>
      </DataPilot>
    </Container>
    <Dialog id="dialogMain">
      <Property name="width">60%</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">货位信息</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
view.get(&quot;#updateSave&quot;).execute(function(){&#xD;
    self.get(&quot;parent&quot;).hide();&#xD;
    view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
});</ClientEvent>
          <Property name="caption">确定</Property>
          <Property name="iconClass">fa fa-check</Property>
        </Button>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
self.get(&quot;parent&quot;).hide();&#xD;
if(cur) cur.cancel();</ClientEvent>
          <Property name="caption">取消</Property>
          <Property name="iconClass">fa fa-times</Property>
        </Button>
      </Buttons>
      <Children>
        <AutoForm>
          <Property name="dataSet">dsMain</Property>
          <Property name="cols">*,*,*</Property>
          <Property name="labelPosition">top</Property>
          <Property name="labelSeparator">:</Property>
          <Property name="labelWidth">120</Property>
          <AutoFormElement>
            <Property name="name">kcpdjlid</Property>
            <Property name="property">kcpdjlid</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlqybh</Property>
            <Property name="property">jlqybh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlqymc</Property>
            <Property name="property">jlqymc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jgzdbh</Property>
            <Property name="property">jgzdbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jgzdmc</Property>
            <Property name="property">jgzdmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajbh</Property>
            <Property name="property">ajbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajmc</Property>
            <Property name="property">ajmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">pdrq</Property>
            <Property name="property">pdrq</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">pdkj</Property>
            <Property name="property">pdkj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bgy</Property>
            <Property name="property">bgy</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">fzr</Property>
            <Property name="property">fzr</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfyx</Property>
            <Property name="property">sfyx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bizId</Property>
            <Property name="property">bizId</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">updateTime</Property>
            <Property name="property">updateTime</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">czbz</Property>
            <Property name="property">czbz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">kqdm</Property>
            <Property name="property">kqdm</Property>
            <Editor/>
          </AutoFormElement>
        </AutoForm>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1210PR#saveData</Property>
      <UpdateItem>
        <Property name="dataPath">[#current]</Property>
        <Property name="dataSet">dsMain</Property>
      </UpdateItem>
    </UpdateAction>
    <AjaxAction id="ajaxDel">
      <Property name="confirmMessage">当前数据删除后无法恢复,请确认要删除么?</Property>
      <Property name="service">whjlApi1210PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1210PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogLog">
      <Property name="width">90%</Property>
      <Property name="height">90%</Property>
      <Property name="caption">上传记录</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">self.get(&quot;parent&quot;).hide();</ClientEvent>
          <Property name="caption">关闭</Property>
          <Property name="iconClass">fa fa-times</Property>
        </Button>
      </Buttons>
      <Children>
        <Container>
          <IFrame id="iFrame">
            <Property name="path">com.fzzy.api.view.ApiLog.d</Property>
            <Property name="userData">
              <Entity>
                <Property name="deptId">deptId</Property>
              </Entity>
            </Property>
          </IFrame>
        </Container>
      </Children>
      <Tools/>
    </Dialog>
    <ListDropDown id="listDropYN">
      <Property name="items">是,否</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1211.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,496 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1211</Property>
      <PropertyDef name="kcpdjlid">
        <Property></Property>
        <Property name="label">库存转仓记录ID</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property></Property>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="ssqymc">
        <Property></Property>
        <Property name="label">军粮企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jgzdbh">
        <Property></Property>
        <Property name="label">军供站点编号</Property>
      </PropertyDef>
      <PropertyDef name="jgzdmc">
        <Property></Property>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="zcsj">
        <Property name="dataType">Date</Property>
        <Property name="label">转仓时间</Property>
      </PropertyDef>
      <PropertyDef name="zcajbh">
        <Property></Property>
        <Property name="label">转出廒间编号</Property>
      </PropertyDef>
      <PropertyDef name="zccfmc">
        <Property></Property>
        <Property name="label">转出廒间名称</Property>
      </PropertyDef>
      <PropertyDef name="zrajbh">
        <Property></Property>
        <Property name="label">转入廒间编号</Property>
      </PropertyDef>
      <PropertyDef name="zrajmc">
        <Property></Property>
        <Property name="label">转入廒间名称</Property>
      </PropertyDef>
      <PropertyDef name="zckctzbh">
        <Property></Property>
        <Property name="label">转出库存台帐编号</Property>
      </PropertyDef>
      <PropertyDef name="zrkctzbh">
        <Property></Property>
        <Property name="label">转入库存台帐编号</Property>
      </PropertyDef>
      <PropertyDef name="zczsl">
        <Property name="dataType">Double</Property>
        <Property name="label">转仓总数量</Property>
      </PropertyDef>
      <PropertyDef name="zczzl">
        <Property name="dataType">Double</Property>
        <Property name="label">转仓总重量</Property>
      </PropertyDef>
      <PropertyDef name="bizId">
        <Property></Property>
        <Property name="label">业务ID</Property>
      </PropertyDef>
      <PropertyDef name="updateTime">
        <Property name="dataType">Date</Property>
        <Property name="label">最后更新时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
      </PropertyDef>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">库区代码</Property>
      </PropertyDef>
      <PropertyDef name="zcmxList">
        <Property/>
      </PropertyDef>
      <Reference name="zcmx">
        <Property name="parameter">$${this.zcmxList}</Property>
        <Property name="dataProvider">whjlApi1211PR#listItem</Property>
        <Property name="dataType">[dtItem]</Property>
      </Reference>
    </DataType>
    <DataType name="dtParam">
      <Property name="creationType">com.fzzy.api.data.ApiParam</Property>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">所属库区</Property>
      </PropertyDef>
      <PropertyDef name="start">
        <Property name="dataType">Date</Property>
        <Property name="label">开始时间</Property>
      </PropertyDef>
      <PropertyDef name="end">
        <Property name="dataType">Date</Property>
        <Property name="label">截止时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CZBZ&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtItem">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlZCMX</Property>
      <PropertyDef name="zcmxid">
        <Property></Property>
        <Property name="label">转仓明细ID</Property>
      </PropertyDef>
      <PropertyDef name="zckctzcppcid">
        <Property></Property>
        <Property name="label">转出库存台产品批次ID</Property>
      </PropertyDef>
      <PropertyDef name="zrkctzcppcid">
        <Property></Property>
        <Property name="label">转入库存台产品批次ID</Property>
      </PropertyDef>
      <PropertyDef name="zcsl">
        <Property></Property>
        <Property name="label">转仓数量</Property>
      </PropertyDef>
      <PropertyDef name="zczl">
        <Property></Property>
        <Property name="label">转仓重量</Property>
      </PropertyDef>
    </DataType>
  </Model>
  <View layout="regionPadding:10">
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1211PR#listData</Property>
      <Property name="pageSize">20</Property>
    </DataSet>
    <DataSet id="dsQuery">
      <ClientEvent name="onReady">self.insert();</ClientEvent>
      <Property name="dataType">dtParam</Property>
    </DataSet>
    <Container layout="regionPadding:10" layoutConstraint="top">
      <Property name="exClassName">bg-color</Property>
      <Property name="height">55</Property>
      <Property name="contentOverflow">hidden</Property>
      <Label layoutConstraint="left">
        <Property name="text">菜单栏:</Property>
      </Label>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).insert();&#xD;
view.get(&quot;#dialogMain&quot;).show();</ClientEvent>
        <Property name="iconClass">fa fa-plus</Property>
        <Property name="caption">新增</Property>
        <Property name="exClassName">btn-default</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要修改的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">编辑</Property>
        <Property name="iconClass">fa fa-pencil</Property>
        <Property name="exClassName">btn-warm</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
        if(result){&#xD;
            $alert(result);&#xD;
        } else{&#xD;
            cur.remove();&#xD;
        }&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要删除的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">删除</Property>
        <Property name="iconClass">fa fa-minus</Property>
        <Property name="exClassName">btn-warn</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).flushAsync();</ClientEvent>
        <Property name="caption">刷新</Property>
        <Property name="iconClass">fa fa-search</Property>
        <Property name="exClassName">btn-flush</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var select = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
if(select &amp;&amp; select.length > 0){&#xD;
    view.get(&quot;#ajaxPush&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
        view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
        $notify(result);&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要上报的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">手动上传</Property>
        <Property name="iconClass">fa fa-hand-o-up</Property>
        <Property name="exClassName">btn-default</Property>
      </Button>
      <Button layoutConstraint="right">
        <ClientEvent name="onClick">//显示记录&#xD;
view.get(&quot;#iFrame&quot;).reload();&#xD;
view.get(&quot;#dialogLog&quot;).show();</ClientEvent>
        <Property name="caption">上传记录</Property>
        <Property name="iconClass">fa fa-bars</Property>
        <Property name="exClassName">btn-flush</Property>
      </Button>
    </Container>
    <Container layoutConstraint="center">
      <Property name="exClassName">bg-color</Property>
      <DataGrid id="dgMain">
        <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsMain.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}</ClientEvent>
        <Property name="dataSet">dsMain</Property>
        <Property name="selectionMode">multiRows</Property>
        <Property name="readOnly">true</Property>
        <RowNumColumn/>
        <RowSelectorColumn>
          <Property name="caption">上传</Property>
        </RowSelectorColumn>
        <DataColumn name="kcpdjlid">
          <Property name="property">kcpdjlid</Property>
        </DataColumn>
        <DataColumn name="jlqybh">
          <Property name="property">jlqybh</Property>
        </DataColumn>
        <DataColumn name="ssqymc">
          <Property name="property">ssqymc</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
        </DataColumn>
        <DataColumn name="zcsj">
          <Property name="property">zcsj</Property>
        </DataColumn>
        <DataColumn name="zcajbh">
          <Property name="property">zcajbh</Property>
        </DataColumn>
        <DataColumn name="zccfmc">
          <Property name="property">zccfmc</Property>
        </DataColumn>
        <DataColumn name="zrajbh">
          <Property name="property">zrajbh</Property>
        </DataColumn>
        <DataColumn name="zrajmc">
          <Property name="property">zrajmc</Property>
        </DataColumn>
        <DataColumn name="czbz">
          <Property name="property">czbz</Property>
        </DataColumn>
      </DataGrid>
    </Container>
    <Container layoutConstraint="bottom">
      <Property name="exClassName">bg-color</Property>
      <DataPilot layoutConstraint="right">
        <Property name="dataSet">dsMain</Property>
        <Property name="itemCodes">pageSize,pages</Property>
      </DataPilot>
    </Container>
    <Dialog id="dialogMain" layout="regionPadding:10;padding:5">
      <Property name="width">85%</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">合同信息</Property>
      <Property name="height">85%</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
view.get(&quot;#updateSave&quot;).execute(function(){&#xD;
    self.get(&quot;parent&quot;).hide();&#xD;
    view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
});</ClientEvent>
          <Property name="caption">确定</Property>
          <Property name="iconClass">fa fa-check</Property>
        </Button>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
self.get(&quot;parent&quot;).hide();&#xD;
if(cur) cur.cancel();</ClientEvent>
          <Property name="caption">取消</Property>
          <Property name="iconClass">fa fa-times</Property>
        </Button>
      </Buttons>
      <Children>
        <FieldSet>
          <Property name="caption">库内转仓记录</Property>
          <Buttons/>
          <Children>
            <AutoForm>
              <Property name="dataSet">dsMain</Property>
              <Property name="cols">*,*,*,*</Property>
              <Property name="labelPosition">top</Property>
              <Property name="labelSeparator">:</Property>
              <Property name="labelAlign">left</Property>
              <AutoFormElement>
                <Property name="name">kcpdjlid</Property>
                <Property name="property">kcpdjlid</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jlqybh</Property>
                <Property name="property">jlqybh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">ssqymc</Property>
                <Property name="property">ssqymc</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jgzdbh</Property>
                <Property name="property">jgzdbh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jgzdmc</Property>
                <Property name="property">jgzdmc</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zcsj</Property>
                <Property name="property">zcsj</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zcajbh</Property>
                <Property name="property">zcajbh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zccfmc</Property>
                <Property name="property">zccfmc</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zrajbh</Property>
                <Property name="property">zrajbh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zrajmc</Property>
                <Property name="property">zrajmc</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zckctzbh</Property>
                <Property name="property">zckctzbh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zrkctzbh</Property>
                <Property name="property">zrkctzbh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zczsl</Property>
                <Property name="property">zczsl</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zczzl</Property>
                <Property name="property">zczzl</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">bizId</Property>
                <Property name="property">bizId</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">updateTime</Property>
                <Property name="property">updateTime</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">czbz</Property>
                <Property name="property">czbz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">kqdm</Property>
                <Property name="property">kqdm</Property>
                <Editor/>
              </AutoFormElement>
            </AutoForm>
          </Children>
        </FieldSet>
        <Panel layout="regionPadding:5">
          <Property name="caption">转仓明细</Property>
          <Property name="height">400</Property>
          <Buttons/>
          <Children>
            <Container layout="regionPadding:10">
              <Label layoutConstraint="left">
                <Property name="text">菜单栏:</Property>
              </Label>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var list = view.get(&quot;#dsMain.data:#&quot;).get(&quot;zcmx&quot;);&#xD;
list.insert({});</ClientEvent>
                <Property name="caption">新增</Property>
                <Property name="exClassName">btn-default</Property>
                <Property name="iconClass">fa fa-plus</Property>
              </Button>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var data = view.get(&quot;#dataGridDetail.currentEntity&quot;);&#xD;
if(!data){&#xD;
 return;&#xD;
}&#xD;
data.remove();</ClientEvent>
                <Property name="caption">删除</Property>
                <Property name="exClassName">btn-warn</Property>
                <Property name="iconClass">fa fa-minus</Property>
              </Button>
            </Container>
            <DataGrid id="dataGridDetail">
              <Property name="dataSet">dsMain</Property>
              <Property name="dataPath">#.zcmx</Property>
              <DataColumn name="zcmxid">
                <Property name="property">zcmxid</Property>
              </DataColumn>
              <DataColumn name="zckctzcppcid">
                <Property name="property">zckctzcppcid</Property>
              </DataColumn>
              <DataColumn name="zrkctzcppcid">
                <Property name="property">zrkctzcppcid</Property>
              </DataColumn>
              <DataColumn name="zcsl">
                <Property name="property">zcsl</Property>
              </DataColumn>
              <DataColumn name="zczl">
                <Property name="property">zczl</Property>
              </DataColumn>
            </DataGrid>
          </Children>
          <Tools/>
        </Panel>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1211PR#saveData</Property>
      <UpdateItem>
        <Property name="dataPath">[#current]</Property>
        <Property name="dataSet">dsMain</Property>
      </UpdateItem>
    </UpdateAction>
    <AjaxAction id="ajaxDel">
      <Property name="confirmMessage">当前数据删除后无法恢复,请确认要删除么?</Property>
      <Property name="service">whjlApi1211PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1211PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogLog">
      <Property name="width">90%</Property>
      <Property name="height">90%</Property>
      <Property name="caption">上传记录</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">self.get(&quot;parent&quot;).hide();</ClientEvent>
          <Property name="caption">关闭</Property>
          <Property name="iconClass">fa fa-times</Property>
        </Button>
      </Buttons>
      <Children>
        <Container>
          <IFrame id="iFrame">
            <Property name="path">com.fzzy.api.view.ApiLog.d</Property>
            <Property name="userData">
              <Entity>
                <Property name="deptId">deptId</Property>
              </Entity>
            </Property>
          </IFrame>
        </Container>
      </Children>
      <Tools/>
    </Dialog>
    <ListDropDown id="listDropYN">
      <Property name="items">是,否</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1212.view.xml
@@ -502,7 +502,7 @@
      <Property name="items">是,否</Property>
    </ListDropDown>
    <ListDropDown id="listDropType">
      <Property name="items">日常出库,日常入库,应急出库,应急入库</Property>
      <Property name="items">日常出库,日常入库,应急出库,应急入库,盘点入库,盘点出库,转仓入库,转仓出库</Property>
    </ListDropDown>
    <ListDropDown id="listDropInOut">
      <Property name="items">入库,出库</Property>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1213.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,585 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1213</Property>
      <PropertyDef name="rkfkjlid">
        <Property></Property>
        <Property name="label">入库结算记录ID</Property>
      </PropertyDef>
      <PropertyDef name="crkid">
        <Property></Property>
        <Property name="label">出入库记录id</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property></Property>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqymc">
        <Property></Property>
        <Property name="label">军粮企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jgzdbh">
        <Property></Property>
        <Property name="label">军供站点编号</Property>
      </PropertyDef>
      <PropertyDef name="jgzdmc">
        <Property></Property>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="jljgqybh">
        <Property></Property>
        <Property name="label">加工企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jljgqymc">
        <Property></Property>
        <Property name="label">加工企业名称</Property>
      </PropertyDef>
      <PropertyDef name="khbh">
        <Property></Property>
        <Property name="label">客户编号</Property>
      </PropertyDef>
      <PropertyDef name="glzxm">
        <Property></Property>
        <Property name="label">客户姓名</Property>
      </PropertyDef>
      <PropertyDef name="crklx">
        <Property></Property>
        <Property name="label">出入库类型</Property>
      </PropertyDef>
      <PropertyDef name="jslx">
        <Property></Property>
        <Property name="label">结算类型</Property>
      </PropertyDef>
      <PropertyDef name="jsrq">
        <Property name="dataType">Date</Property>
        <Property name="label">结算日期</Property>
      </PropertyDef>
      <PropertyDef name="jszt">
        <Property></Property>
        <Property name="label">结算状态</Property>
      </PropertyDef>
      <PropertyDef name="je">
        <Property name="dataType">Double</Property>
        <Property name="label">金额</Property>
      </PropertyDef>
      <PropertyDef name="skr">
        <Property></Property>
        <Property name="label">收款人</Property>
      </PropertyDef>
      <PropertyDef name="skrsfzh">
        <Property></Property>
        <Property name="label">收款人身份证号</Property>
      </PropertyDef>
      <PropertyDef name="skrdh">
        <Property></Property>
        <Property name="label">收款人电话</Property>
      </PropertyDef>
      <PropertyDef name="khh">
        <Property></Property>
        <Property name="label">开户行</Property>
      </PropertyDef>
      <PropertyDef name="yhkh">
        <Property></Property>
        <Property name="label">银行卡号</Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <Property></Property>
        <Property name="label">是否有效</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <Property></Property>
        <Property name="label">备注</Property>
      </PropertyDef>
      <PropertyDef name="bizId">
        <Property></Property>
        <Property name="label">业务ID</Property>
      </PropertyDef>
      <PropertyDef name="updateTime">
        <Property name="dataType">DateTime</Property>
        <Property name="label">最后更新时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
      </PropertyDef>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">库区代码</Property>
      </PropertyDef>
      <Reference name="jsmx">
        <Property name="parameter">$${this.jsmxList}</Property>
        <Property name="dataProvider">whjlApi1213PR#listItem</Property>
        <Property name="dataType">[dtItem]</Property>
      </Reference>
      <PropertyDef name="jsmxList">
        <Property/>
      </PropertyDef>
    </DataType>
    <DataType name="dtParam">
      <Property name="creationType">com.fzzy.api.data.ApiParam</Property>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">所属库区</Property>
      </PropertyDef>
      <PropertyDef name="start">
        <Property name="dataType">Date</Property>
        <Property name="label">开始时间</Property>
      </PropertyDef>
      <PropertyDef name="end">
        <Property name="dataType">Date</Property>
        <Property name="label">截止时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CZBZ&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtItem">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlJSMX</Property>
      <PropertyDef name="rkfkjlmxid">
        <Property></Property>
        <Property name="label">结算记录明细ID</Property>
      </PropertyDef>
      <PropertyDef name="crkmxid">
        <Property></Property>
        <Property name="label">出入库明细ID</Property>
      </PropertyDef>
      <PropertyDef name="fkpzh">
        <Property></Property>
        <Property name="label">付款凭证号</Property>
      </PropertyDef>
      <PropertyDef name="sl">
        <Property name="dataType">Double</Property>
        <Property name="label">数量</Property>
      </PropertyDef>
      <PropertyDef name="dj">
        <Property name="dataType">Double</Property>
        <Property name="label">单价</Property>
      </PropertyDef>
      <PropertyDef name="je">
        <Property name="dataType">Double</Property>
        <Property name="label">金额</Property>
      </PropertyDef>
    </DataType>
  </Model>
  <View layout="regionPadding:10">
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1213PR#listData</Property>
      <Property name="pageSize">20</Property>
    </DataSet>
    <DataSet id="dsQuery">
      <ClientEvent name="onReady">self.insert();</ClientEvent>
      <Property name="dataType">dtParam</Property>
    </DataSet>
    <Container layout="regionPadding:10" layoutConstraint="top">
      <Property name="exClassName">bg-color</Property>
      <Property name="height">55</Property>
      <Property name="contentOverflow">hidden</Property>
      <Label layoutConstraint="left">
        <Property name="text">菜单栏:</Property>
      </Label>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).insert();&#xD;
view.get(&quot;#dialogMain&quot;).show();</ClientEvent>
        <Property name="iconClass">fa fa-plus</Property>
        <Property name="caption">新增</Property>
        <Property name="exClassName">btn-default</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要修改的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">编辑</Property>
        <Property name="iconClass">fa fa-pencil</Property>
        <Property name="exClassName">btn-warm</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
        if(result){&#xD;
            $alert(result);&#xD;
        } else{&#xD;
            cur.remove();&#xD;
        }&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要删除的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">删除</Property>
        <Property name="iconClass">fa fa-minus</Property>
        <Property name="exClassName">btn-warn</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).flushAsync();</ClientEvent>
        <Property name="caption">刷新</Property>
        <Property name="iconClass">fa fa-search</Property>
        <Property name="exClassName">btn-flush</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var select = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
if(select &amp;&amp; select.length > 0){&#xD;
    view.get(&quot;#ajaxPush&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
        view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
        $notify(result);&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要上报的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">手动上传</Property>
        <Property name="iconClass">fa fa-hand-o-up</Property>
        <Property name="exClassName">btn-default</Property>
      </Button>
      <Button layoutConstraint="right">
        <ClientEvent name="onClick">//显示记录&#xD;
view.get(&quot;#iFrame&quot;).reload();&#xD;
view.get(&quot;#dialogLog&quot;).show();</ClientEvent>
        <Property name="caption">上传记录</Property>
        <Property name="iconClass">fa fa-bars</Property>
        <Property name="exClassName">btn-flush</Property>
      </Button>
    </Container>
    <Container layoutConstraint="center">
      <Property name="exClassName">bg-color</Property>
      <DataGrid id="dgMain">
        <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsMain.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}</ClientEvent>
        <Property name="dataSet">dsMain</Property>
        <Property name="selectionMode">multiRows</Property>
        <Property name="readOnly">true</Property>
        <RowNumColumn/>
        <RowSelectorColumn>
          <Property name="caption">上传</Property>
        </RowSelectorColumn>
        <DataColumn name="kcpdjlid">
          <Property name="property">kcpdjlid</Property>
        </DataColumn>
        <DataColumn name="jlqybh">
          <Property name="property">jlqybh</Property>
        </DataColumn>
        <DataColumn name="ssqymc">
          <Property name="property">ssqymc</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
        </DataColumn>
        <DataColumn name="zcsj">
          <Property name="property">zcsj</Property>
        </DataColumn>
        <DataColumn name="zcajbh">
          <Property name="property">zcajbh</Property>
        </DataColumn>
        <DataColumn name="zccfmc">
          <Property name="property">zccfmc</Property>
        </DataColumn>
        <DataColumn name="zrajbh">
          <Property name="property">zrajbh</Property>
        </DataColumn>
        <DataColumn name="zrajmc">
          <Property name="property">zrajmc</Property>
        </DataColumn>
        <DataColumn name="czbz">
          <Property name="property">czbz</Property>
        </DataColumn>
      </DataGrid>
    </Container>
    <Container layoutConstraint="bottom">
      <Property name="exClassName">bg-color</Property>
      <DataPilot layoutConstraint="right">
        <Property name="dataSet">dsMain</Property>
        <Property name="itemCodes">pageSize,pages</Property>
      </DataPilot>
    </Container>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1213PR#saveData</Property>
      <UpdateItem>
        <Property name="dataPath">[#current]</Property>
        <Property name="dataSet">dsMain</Property>
      </UpdateItem>
    </UpdateAction>
    <AjaxAction id="ajaxDel">
      <Property name="confirmMessage">当前数据删除后无法恢复,请确认要删除么?</Property>
      <Property name="service">whjlApi1213PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1213PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogLog">
      <Property name="width">90%</Property>
      <Property name="height">90%</Property>
      <Property name="caption">上传记录</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">self.get(&quot;parent&quot;).hide();</ClientEvent>
          <Property name="caption">关闭</Property>
          <Property name="iconClass">fa fa-times</Property>
        </Button>
      </Buttons>
      <Children>
        <Container>
          <IFrame id="iFrame">
            <Property name="path">com.fzzy.api.view.ApiLog.d</Property>
            <Property name="userData">
              <Entity>
                <Property name="deptId">deptId</Property>
              </Entity>
            </Property>
          </IFrame>
        </Container>
      </Children>
      <Tools/>
    </Dialog>
    <ListDropDown id="listDropYN">
      <Property name="items">是,否</Property>
    </ListDropDown>
    <Dialog id="dialogMain" layout="regionPadding:10;padding:5">
      <Property name="width">85%</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">合同信息</Property>
      <Property name="height">85%</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
view.get(&quot;#updateSave&quot;).execute(function(){&#xD;
    self.get(&quot;parent&quot;).hide();&#xD;
    view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
});</ClientEvent>
          <Property name="caption">确定</Property>
          <Property name="iconClass">fa fa-check</Property>
        </Button>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
self.get(&quot;parent&quot;).hide();&#xD;
if(cur) cur.cancel();</ClientEvent>
          <Property name="caption">取消</Property>
          <Property name="iconClass">fa fa-times</Property>
        </Button>
      </Buttons>
      <Children>
        <FieldSet>
          <Property name="caption">出入库结算记录</Property>
          <Buttons/>
          <Children>
            <AutoForm>
              <Property name="dataSet">dsMain</Property>
              <Property name="cols">*,*,*,*</Property>
              <Property name="labelPosition">top</Property>
              <Property name="labelSeparator">:</Property>
              <Property name="labelAlign">left</Property>
              <AutoFormElement>
                <Property name="name">rkfkjlid</Property>
                <Property name="property">rkfkjlid</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">crkid</Property>
                <Property name="property">crkid</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jlqybh</Property>
                <Property name="property">jlqybh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jlqymc</Property>
                <Property name="property">jlqymc</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jgzdbh</Property>
                <Property name="property">jgzdbh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jgzdmc</Property>
                <Property name="property">jgzdmc</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jljgqybh</Property>
                <Property name="property">jljgqybh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jljgqymc</Property>
                <Property name="property">jljgqymc</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">khbh</Property>
                <Property name="property">khbh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">glzxm</Property>
                <Property name="property">glzxm</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">crklx</Property>
                <Property name="property">crklx</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jslx</Property>
                <Property name="property">jslx</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jsrq</Property>
                <Property name="property">jsrq</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jszt</Property>
                <Property name="property">jszt</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">je</Property>
                <Property name="property">je</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">skr</Property>
                <Property name="property">skr</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">skrsfzh</Property>
                <Property name="property">skrsfzh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">skrdh</Property>
                <Property name="property">skrdh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">khh</Property>
                <Property name="property">khh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">yhkh</Property>
                <Property name="property">yhkh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">sfyx</Property>
                <Property name="property">sfyx</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">bz</Property>
                <Property name="property">bz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">bizId</Property>
                <Property name="property">bizId</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">updateTime</Property>
                <Property name="property">updateTime</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">czbz</Property>
                <Property name="property">czbz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">kqdm</Property>
                <Property name="property">kqdm</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jsmx</Property>
                <Property name="property">jsmx</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jsmxList</Property>
                <Property name="property">jsmxList</Property>
                <Editor/>
              </AutoFormElement>
            </AutoForm>
          </Children>
        </FieldSet>
        <Panel layout="regionPadding:5">
          <Property name="caption">结算明细记录</Property>
          <Property name="height">400</Property>
          <Buttons/>
          <Children>
            <Container layout="regionPadding:10">
              <Label layoutConstraint="left">
                <Property name="text">菜单栏:</Property>
              </Label>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var list = view.get(&quot;#dsMain.data:#&quot;).get(&quot;jsmx&quot;);&#xD;
list.insert({});</ClientEvent>
                <Property name="caption">新增</Property>
                <Property name="exClassName">btn-default</Property>
                <Property name="iconClass">fa fa-plus</Property>
              </Button>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var data = view.get(&quot;#dataGridDetail.currentEntity&quot;);&#xD;
if(!data){&#xD;
 return;&#xD;
}&#xD;
data.remove();</ClientEvent>
                <Property name="caption">删除</Property>
                <Property name="exClassName">btn-warn</Property>
                <Property name="iconClass">fa fa-minus</Property>
              </Button>
            </Container>
            <DataGrid id="dataGridDetail">
              <Property name="dataSet">dsMain</Property>
              <Property name="dataPath">#.jsmx</Property>
              <DataColumn name="rkfkjlmxid">
                <Property name="property">rkfkjlmxid</Property>
              </DataColumn>
              <DataColumn name="crkmxid">
                <Property name="property">crkmxid</Property>
              </DataColumn>
              <DataColumn name="fkpzh">
                <Property name="property">fkpzh</Property>
              </DataColumn>
              <DataColumn name="sl">
                <Property name="property">sl</Property>
              </DataColumn>
              <DataColumn name="dj">
                <Property name="property">dj</Property>
              </DataColumn>
              <DataColumn name="je">
                <Property name="property">je</Property>
              </DataColumn>
            </DataGrid>
          </Children>
          <Tools/>
        </Panel>
      </Children>
      <Tools/>
    </Dialog>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1214.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,746 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1214</Property>
      <PropertyDef name="zjjgbm">
        <Property></Property>
        <Property name="label">质检机构编号</Property>
      </PropertyDef>
      <PropertyDef name="zjjgmc">
        <Property></Property>
        <Property name="label">质检机构名称</Property>
      </PropertyDef>
      <PropertyDef name="zjjgjc">
        <Property></Property>
        <Property name="label">质检机构简称</Property>
      </PropertyDef>
      <PropertyDef name="zjjgssly">
        <Property></Property>
        <Property name="label">质检机构所属领域</Property>
      </PropertyDef>
      <PropertyDef name="zjjgssdq">
        <Property></Property>
        <Property name="label">质检机构所属地区</Property>
      </PropertyDef>
      <PropertyDef name="xzqhbm">
        <Property></Property>
        <Property name="label">行政区划编码</Property>
      </PropertyDef>
      <PropertyDef name="xzqhmc">
        <Property></Property>
        <Property name="label">行政区划名称</Property>
      </PropertyDef>
      <PropertyDef name="sysfr">
        <Property></Property>
        <Property name="label">质检机构法人</Property>
      </PropertyDef>
      <PropertyDef name="dh">
        <Property></Property>
        <Property name="label">联系电话</Property>
      </PropertyDef>
      <PropertyDef name="cz">
        <Property></Property>
        <Property name="label">传真</Property>
      </PropertyDef>
      <PropertyDef name="dzyx">
        <Property></Property>
        <Property name="label">电子邮箱</Property>
      </PropertyDef>
      <PropertyDef name="dz">
        <Property></Property>
        <Property name="label">地址</Property>
      </PropertyDef>
      <PropertyDef name="yb">
        <Property></Property>
        <Property name="label">邮编</Property>
      </PropertyDef>
      <PropertyDef name="lxr">
        <Property></Property>
        <Property name="label">联系人</Property>
      </PropertyDef>
      <PropertyDef name="zgbm">
        <Property></Property>
        <Property name="label">主管部门</Property>
      </PropertyDef>
      <PropertyDef name="zjjgjb">
        <Property></Property>
        <Property name="label">质检机构级别</Property>
      </PropertyDef>
      <PropertyDef name="zcygs">
        <Property name="dataType">int</Property>
        <Property name="label">在册员工数</Property>
      </PropertyDef>
      <PropertyDef name="gjzcrs">
        <Property name="dataType">int</Property>
        <Property name="label">高级职称人数</Property>
      </PropertyDef>
      <PropertyDef name="zjzcrs">
        <Property name="dataType">int</Property>
        <Property name="label">中级职称人数</Property>
      </PropertyDef>
      <PropertyDef name="cjzcrs">
        <Property name="dataType">int</Property>
        <Property name="label">初级职称人数</Property>
      </PropertyDef>
      <PropertyDef name="bs">
        <Property name="dataType">int</Property>
        <Property name="label">博士人数</Property>
      </PropertyDef>
      <PropertyDef name="ss">
        <Property name="dataType">int</Property>
        <Property name="label">硕士人数</Property>
      </PropertyDef>
      <PropertyDef name="xs">
        <Property name="dataType">int</Property>
        <Property name="label">学士人数</Property>
      </PropertyDef>
      <PropertyDef name="dzsyx">
        <Property name="dataType">int</Property>
        <Property name="label">大专生以下</Property>
      </PropertyDef>
      <PropertyDef name="zgdzc">
        <Property name="dataType">Double</Property>
        <Property name="label">总固定资产</Property>
      </PropertyDef>
      <PropertyDef name="mj">
        <Property name="dataType">Double</Property>
        <Property name="label">面积</Property>
      </PropertyDef>
      <PropertyDef name="zcxz">
        <Property></Property>
        <Property name="label">资产性质</Property>
      </PropertyDef>
      <PropertyDef name="csspjcdrs">
        <Property name="dataType">int</Property>
        <Property name="label">从事食品检测的人数</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <Property></Property>
        <Property name="label">备注</Property>
      </PropertyDef>
      <PropertyDef name="bizId">
        <Property></Property>
        <Property name="label">业务ID</Property>
      </PropertyDef>
      <PropertyDef name="updateTime">
        <Property name="dataType">DateTime</Property>
        <Property name="label">最后更新时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
      </PropertyDef>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">库区代码</Property>
      </PropertyDef>
      <Reference name="jcnl">
        <Property name="parameter">$${this.jcnlList}</Property>
        <Property name="dataProvider">whjlApi1214PR#listJCNL</Property>
        <Property name="dataType">[dtJCNL]</Property>
      </Reference>
      <Reference name="yqsb">
        <Property name="parameter">$${this.yqsbList}</Property>
        <Property name="dataProvider">whjlApi1214PR#listYQSB</Property>
        <Property name="dataType">[dtYQSB]</Property>
      </Reference>
      <PropertyDef name="jcnlList">
        <Property/>
      </PropertyDef>
      <PropertyDef name="yqsbList">
        <Property/>
      </PropertyDef>
    </DataType>
    <DataType name="dtParam">
      <Property name="creationType">com.fzzy.api.data.ApiParam</Property>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">所属库区</Property>
      </PropertyDef>
      <PropertyDef name="start">
        <Property name="dataType">Date</Property>
        <Property name="label">开始时间</Property>
      </PropertyDef>
      <PropertyDef name="end">
        <Property name="dataType">Date</Property>
        <Property name="label">截止时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CZBZ&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtJCNL">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlJCNL</Property>
      <PropertyDef name="bzbm">
        <Property></Property>
        <Property name="label">质检标准编码</Property>
      </PropertyDef>
      <PropertyDef name="bzmxbm">
        <Property></Property>
        <Property name="label">标准明细编码</Property>
      </PropertyDef>
      <PropertyDef name="jcxmdjbm">
        <Property></Property>
        <Property name="label">检测项目等级编码</Property>
      </PropertyDef>
      <PropertyDef name="jcly">
        <Property></Property>
        <Property name="label">检测领域</Property>
      </PropertyDef>
      <PropertyDef name="xzfw">
        <Property></Property>
        <Property name="label">限制范围</Property>
      </PropertyDef>
      <PropertyDef name="zzzmdm">
        <Property></Property>
        <Property name="label">资质证明代码</Property>
      </PropertyDef>
      <PropertyDef name="xh">
        <Property name="dataType">int</Property>
        <Property name="label">序号</Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtYQSB">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlYQSB</Property>
      <PropertyDef name="yqsbbm">
        <Property/>
        <Property name="label">仪器设备编码</Property>
      </PropertyDef>
      <PropertyDef name="yqsbmc">
        <Property/>
        <Property name="label">仪器设备名称</Property>
      </PropertyDef>
      <PropertyDef name="ggxh">
        <Property/>
        <Property name="label">规格型号</Property>
      </PropertyDef>
      <PropertyDef name="zzgb">
        <Property/>
        <Property name="label">制造国别</Property>
      </PropertyDef>
      <PropertyDef name="jg">
        <Property name="dataType">Double</Property>
        <Property name="label">ä»·æ ¼</Property>
      </PropertyDef>
      <PropertyDef name="gznf">
        <Property/>
        <Property name="label">购置年份</Property>
      </PropertyDef>
      <PropertyDef name="syl">
        <Property name="dataType">Double</Property>
        <Property name="label">使用率</Property>
      </PropertyDef>
      <PropertyDef name="xh">
        <Property name="dataType">int</Property>
        <Property name="label">序号</Property>
      </PropertyDef>
    </DataType>
  </Model>
  <View layout="regionPadding:10">
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1214PR#listData</Property>
      <Property name="pageSize">20</Property>
    </DataSet>
    <DataSet id="dsQuery">
      <ClientEvent name="onReady">self.insert();</ClientEvent>
      <Property name="dataType">dtParam</Property>
    </DataSet>
    <Container layout="regionPadding:10" layoutConstraint="top">
      <Property name="exClassName">bg-color</Property>
      <Property name="height">55</Property>
      <Property name="contentOverflow">hidden</Property>
      <Label layoutConstraint="left">
        <Property name="text">菜单栏:</Property>
      </Label>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).insert();&#xD;
view.get(&quot;#dialogMain&quot;).show();</ClientEvent>
        <Property name="iconClass">fa fa-plus</Property>
        <Property name="caption">新增</Property>
        <Property name="exClassName">btn-default</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要修改的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">编辑</Property>
        <Property name="iconClass">fa fa-pencil</Property>
        <Property name="exClassName">btn-warm</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
        if(result){&#xD;
            $alert(result);&#xD;
        } else{&#xD;
            cur.remove();&#xD;
        }&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要删除的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">删除</Property>
        <Property name="iconClass">fa fa-minus</Property>
        <Property name="exClassName">btn-warn</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).flushAsync();</ClientEvent>
        <Property name="caption">刷新</Property>
        <Property name="iconClass">fa fa-search</Property>
        <Property name="exClassName">btn-flush</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var select = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
if(select &amp;&amp; select.length > 0){&#xD;
    view.get(&quot;#ajaxPush&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
        view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
        $notify(result);&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要上报的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">手动上传</Property>
        <Property name="iconClass">fa fa-hand-o-up</Property>
        <Property name="exClassName">btn-default</Property>
      </Button>
      <Button layoutConstraint="right">
        <ClientEvent name="onClick">//显示记录&#xD;
view.get(&quot;#iFrame&quot;).reload();&#xD;
view.get(&quot;#dialogLog&quot;).show();</ClientEvent>
        <Property name="caption">上传记录</Property>
        <Property name="iconClass">fa fa-bars</Property>
        <Property name="exClassName">btn-flush</Property>
      </Button>
    </Container>
    <Container layoutConstraint="center">
      <Property name="exClassName">bg-color</Property>
      <DataGrid id="dgMain">
        <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsMain.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}</ClientEvent>
        <Property name="dataSet">dsMain</Property>
        <Property name="selectionMode">multiRows</Property>
        <Property name="readOnly">true</Property>
        <RowNumColumn/>
        <RowSelectorColumn>
          <Property name="caption">上传</Property>
        </RowSelectorColumn>
        <DataColumn name="zjjgbm">
          <Property name="property">zjjgbm</Property>
        </DataColumn>
        <DataColumn name="zjjgmc">
          <Property name="property">zjjgmc</Property>
        </DataColumn>
        <DataColumn name="zjjgjc">
          <Property name="property">zjjgjc</Property>
        </DataColumn>
        <DataColumn name="zjjgssly">
          <Property name="property">zjjgssly</Property>
        </DataColumn>
        <DataColumn name="zjjgssdq">
          <Property name="property">zjjgssdq</Property>
        </DataColumn>
        <DataColumn name="xzqhbm">
          <Property name="property">xzqhbm</Property>
        </DataColumn>
        <DataColumn name="zjjgjb">
          <Property name="property">zjjgjb</Property>
        </DataColumn>
        <DataColumn name="zcygs">
          <Property name="property">zcygs</Property>
        </DataColumn>
        <DataColumn name="gjzcrs">
          <Property name="property">gjzcrs</Property>
        </DataColumn>
        <DataColumn name="czbz">
          <Property name="property">czbz</Property>
        </DataColumn>
      </DataGrid>
    </Container>
    <Container layoutConstraint="bottom">
      <Property name="exClassName">bg-color</Property>
      <DataPilot layoutConstraint="right">
        <Property name="dataSet">dsMain</Property>
        <Property name="itemCodes">pageSize,pages</Property>
      </DataPilot>
    </Container>
    <Dialog id="dialogMain" layout="regionPadding:10;padding:5">
      <Property name="width">85%</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">合同信息</Property>
      <Property name="height">85%</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
view.get(&quot;#updateSave&quot;).execute(function(){&#xD;
    self.get(&quot;parent&quot;).hide();&#xD;
    view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
});</ClientEvent>
          <Property name="caption">确定</Property>
          <Property name="iconClass">fa fa-check</Property>
        </Button>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
self.get(&quot;parent&quot;).hide();&#xD;
if(cur) cur.cancel();</ClientEvent>
          <Property name="caption">取消</Property>
          <Property name="iconClass">fa fa-times</Property>
        </Button>
      </Buttons>
      <Children>
        <FieldSet>
          <Property name="caption">质检机构</Property>
          <Buttons/>
          <Children>
            <AutoForm>
              <Property name="dataSet">dsMain</Property>
              <Property name="cols">*,*,*,*</Property>
              <Property name="labelPosition">top</Property>
              <Property name="labelSeparator">:</Property>
              <Property name="labelWidth">120</Property>
              <AutoFormElement>
                <Property name="name">zjjgbm</Property>
                <Property name="property">zjjgbm</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zjjgmc</Property>
                <Property name="property">zjjgmc</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zjjgjc</Property>
                <Property name="property">zjjgjc</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zjjgssly</Property>
                <Property name="property">zjjgssly</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zjjgssdq</Property>
                <Property name="property">zjjgssdq</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">xzqhbm</Property>
                <Property name="property">xzqhbm</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">xzqhmc</Property>
                <Property name="property">xzqhmc</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">sysfr</Property>
                <Property name="property">sysfr</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">dh</Property>
                <Property name="property">dh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">cz</Property>
                <Property name="property">cz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">dzyx</Property>
                <Property name="property">dzyx</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">dz</Property>
                <Property name="property">dz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">yb</Property>
                <Property name="property">yb</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">lxr</Property>
                <Property name="property">lxr</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zgbm</Property>
                <Property name="property">zgbm</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zjjgjb</Property>
                <Property name="property">zjjgjb</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zcygs</Property>
                <Property name="property">zcygs</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">gjzcrs</Property>
                <Property name="property">gjzcrs</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zjzcrs</Property>
                <Property name="property">zjzcrs</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">cjzcrs</Property>
                <Property name="property">cjzcrs</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">bs</Property>
                <Property name="property">bs</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">ss</Property>
                <Property name="property">ss</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">xs</Property>
                <Property name="property">xs</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">dzsyx</Property>
                <Property name="property">dzsyx</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zgdzc</Property>
                <Property name="property">zgdzc</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">mj</Property>
                <Property name="property">mj</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zcxz</Property>
                <Property name="property">zcxz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">csspjcdrs</Property>
                <Property name="property">csspjcdrs</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">bz</Property>
                <Property name="property">bz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">bizId</Property>
                <Property name="property">bizId</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">updateTime</Property>
                <Property name="property">updateTime</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">czbz</Property>
                <Property name="property">czbz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">kqdm</Property>
                <Property name="property">kqdm</Property>
                <Editor/>
              </AutoFormElement>
            </AutoForm>
          </Children>
        </FieldSet>
        <Panel layout="regionPadding:5">
          <Property name="caption">检测能力</Property>
          <Property name="height">400</Property>
          <Buttons/>
          <Children>
            <Container layout="regionPadding:10">
              <Label layoutConstraint="left">
                <Property name="text">菜单栏:</Property>
              </Label>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var list = view.get(&quot;#dsMain.data:#&quot;).get(&quot;jcnl&quot;);&#xD;
list.insert({});</ClientEvent>
                <Property name="caption">新增</Property>
                <Property name="exClassName">btn-default</Property>
                <Property name="iconClass">fa fa-plus</Property>
              </Button>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var data = view.get(&quot;#dataGridJCNL.currentEntity&quot;);&#xD;
if(!data){&#xD;
 return;&#xD;
}&#xD;
data.remove();</ClientEvent>
                <Property name="caption">删除</Property>
                <Property name="exClassName">btn-warn</Property>
                <Property name="iconClass">fa fa-minus</Property>
              </Button>
            </Container>
            <DataGrid id="dataGridJCNL">
              <Property name="dataSet">dsMain</Property>
              <Property name="dataPath">#.jcnl</Property>
              <DataColumn name="bzbm">
                <Property name="property">bzbm</Property>
              </DataColumn>
              <DataColumn name="bzmxbm">
                <Property name="property">bzmxbm</Property>
              </DataColumn>
              <DataColumn name="jcxmdjbm">
                <Property name="property">jcxmdjbm</Property>
              </DataColumn>
              <DataColumn name="jcly">
                <Property name="property">jcly</Property>
              </DataColumn>
              <DataColumn name="xzfw">
                <Property name="property">xzfw</Property>
              </DataColumn>
              <DataColumn name="zzzmdm">
                <Property name="property">zzzmdm</Property>
              </DataColumn>
              <DataColumn name="xh">
                <Property name="property">xh</Property>
              </DataColumn>
            </DataGrid>
          </Children>
          <Tools/>
        </Panel>
        <Panel layout="regionPadding:5">
          <Property name="caption">仪器设备</Property>
          <Property name="height">400</Property>
          <Buttons/>
          <Children>
            <Container layout="regionPadding:10">
              <Label layoutConstraint="left">
                <Property name="text">菜单栏:</Property>
              </Label>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var list = view.get(&quot;#dsMain.data:#&quot;).get(&quot;yqsb&quot;);&#xD;
list.insert({});</ClientEvent>
                <Property name="caption">新增</Property>
                <Property name="exClassName">btn-default</Property>
                <Property name="iconClass">fa fa-plus</Property>
              </Button>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var data = view.get(&quot;#dataGridYQSB.currentEntity&quot;);&#xD;
if(!data){&#xD;
 return;&#xD;
}&#xD;
data.remove();</ClientEvent>
                <Property name="caption">删除</Property>
                <Property name="exClassName">btn-warn</Property>
                <Property name="iconClass">fa fa-minus</Property>
              </Button>
            </Container>
            <DataGrid id="dataGridYQSB">
              <Property name="dataSet">dsMain</Property>
              <Property name="dataPath">#.yqsb</Property>
              <DataColumn name="yqsbbm">
                <Property name="property">yqsbbm</Property>
              </DataColumn>
              <DataColumn name="yqsbmc">
                <Property name="property">yqsbmc</Property>
              </DataColumn>
              <DataColumn name="ggxh">
                <Property name="property">ggxh</Property>
              </DataColumn>
              <DataColumn name="zzgb">
                <Property name="property">zzgb</Property>
              </DataColumn>
              <DataColumn name="jg">
                <Property name="property">jg</Property>
              </DataColumn>
              <DataColumn name="gznf">
                <Property name="property">gznf</Property>
              </DataColumn>
              <DataColumn name="syl">
                <Property name="property">syl</Property>
              </DataColumn>
              <DataColumn name="xh">
                <Property name="property">xh</Property>
              </DataColumn>
            </DataGrid>
          </Children>
          <Tools/>
        </Panel>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1214PR#saveData</Property>
      <UpdateItem>
        <Property name="dataPath">[#current]</Property>
        <Property name="dataSet">dsMain</Property>
      </UpdateItem>
    </UpdateAction>
    <AjaxAction id="ajaxDel">
      <Property name="confirmMessage">当前数据删除后无法恢复,请确认要删除么?</Property>
      <Property name="service">whjlApi1214PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1214PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogLog">
      <Property name="width">90%</Property>
      <Property name="height">90%</Property>
      <Property name="caption">上传记录</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">self.get(&quot;parent&quot;).hide();</ClientEvent>
          <Property name="caption">关闭</Property>
          <Property name="iconClass">fa fa-times</Property>
        </Button>
      </Buttons>
      <Children>
        <Container>
          <IFrame id="iFrame">
            <Property name="path">com.fzzy.api.view.ApiLog.d</Property>
            <Property name="userData">
              <Entity>
                <Property name="deptId">deptId</Property>
              </Entity>
            </Property>
          </IFrame>
        </Container>
      </Children>
      <Tools/>
    </Dialog>
    <ListDropDown id="listDropYN">
      <Property name="items">是,否</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1215.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,466 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1215</Property>
      <PropertyDef name="cybh">
        <Property/>
        <Property name="label">样品编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property/>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqymc">
        <Property/>
        <Property name="label">军粮企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jgzdbh">
        <Property/>
        <Property name="label">军供站点编号</Property>
      </PropertyDef>
      <PropertyDef name="jgzdmc">
        <Property/>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="zjjgbm">
        <Property/>
        <Property name="label">质检机构编号</Property>
      </PropertyDef>
      <PropertyDef name="zjjgmc">
        <Property/>
        <Property name="label">质检机构名称</Property>
      </PropertyDef>
      <PropertyDef name="jljgqybh">
        <Property/>
        <Property name="label">加工企业编号</Property>
      </PropertyDef>
      <PropertyDef name="cpmc">
        <Property/>
        <Property name="label">产品名称</Property>
      </PropertyDef>
      <PropertyDef name="cppc">
        <Property/>
        <Property name="label">产品批次</Property>
      </PropertyDef>
      <PropertyDef name="scrq">
        <Property name="dataType">Date</Property>
        <Property name="label">生产日期</Property>
      </PropertyDef>
      <PropertyDef name="cysm">
        <Property/>
        <Property name="label">抽样说明</Property>
      </PropertyDef>
      <PropertyDef name="cysj">
        <Property name="dataType">DateTime</Property>
        <Property name="label">抽样时间</Property>
      </PropertyDef>
      <PropertyDef name="cyr">
        <Property/>
        <Property name="label">抽样人</Property>
      </PropertyDef>
      <PropertyDef name="cydd">
        <Property/>
        <Property name="label">抽样地点</Property>
      </PropertyDef>
      <PropertyDef name="djsj">
        <Property name="dataType">DateTime</Property>
        <Property name="label">登记时间</Property>
      </PropertyDef>
      <PropertyDef name="cyjs">
        <Property name="dataType">Double</Property>
        <Property name="label">抽样基数</Property>
      </PropertyDef>
      <PropertyDef name="cysl">
        <Property name="dataType">Double</Property>
        <Property name="label">抽样数量</Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <Property/>
        <Property name="label">是否有效</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <Property/>
        <Property name="label">备注</Property>
      </PropertyDef>
      <PropertyDef name="bizId">
        <Property></Property>
        <Property name="label">业务ID</Property>
      </PropertyDef>
      <PropertyDef name="updateTime">
        <Property name="dataType">DateTime</Property>
        <Property name="label">最后更新时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
      </PropertyDef>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">库区代码</Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtParam">
      <Property name="creationType">com.fzzy.api.data.ApiParam</Property>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">所属库区</Property>
      </PropertyDef>
      <PropertyDef name="start">
        <Property name="dataType">Date</Property>
        <Property name="label">开始时间</Property>
      </PropertyDef>
      <PropertyDef name="end">
        <Property name="dataType">Date</Property>
        <Property name="label">截止时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CZBZ&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
    </DataType>
  </Model>
  <View layout="regionPadding:10">
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1215PR#listData</Property>
      <Property name="pageSize">20</Property>
    </DataSet>
    <DataSet id="dsQuery">
      <ClientEvent name="onReady">self.insert();</ClientEvent>
      <Property name="dataType">dtParam</Property>
    </DataSet>
    <Container layout="regionPadding:10" layoutConstraint="top">
      <Property name="exClassName">bg-color</Property>
      <Property name="height">55</Property>
      <Property name="contentOverflow">hidden</Property>
      <Label layoutConstraint="left">
        <Property name="text">菜单栏:</Property>
      </Label>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).insert();&#xD;
view.get(&quot;#dialogMain&quot;).show();</ClientEvent>
        <Property name="iconClass">fa fa-plus</Property>
        <Property name="caption">新增</Property>
        <Property name="exClassName">btn-default</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要修改的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">编辑</Property>
        <Property name="iconClass">fa fa-pencil</Property>
        <Property name="exClassName">btn-warm</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
        if(result){&#xD;
            $alert(result);&#xD;
        } else{&#xD;
            cur.remove();&#xD;
        }&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要删除的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">删除</Property>
        <Property name="iconClass">fa fa-minus</Property>
        <Property name="exClassName">btn-warn</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).flushAsync();</ClientEvent>
        <Property name="caption">刷新</Property>
        <Property name="iconClass">fa fa-search</Property>
        <Property name="exClassName">btn-flush</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var select = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
if(select &amp;&amp; select.length > 0){&#xD;
    view.get(&quot;#ajaxPush&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
        view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
        $notify(result);&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要上报的数据!&quot;);&#xD;
}</ClientEvent>
        <Property name="caption">手动上传</Property>
        <Property name="iconClass">fa fa-hand-o-up</Property>
        <Property name="exClassName">btn-default</Property>
      </Button>
      <Button layoutConstraint="right">
        <ClientEvent name="onClick">//显示记录&#xD;
view.get(&quot;#iFrame&quot;).reload();&#xD;
view.get(&quot;#dialogLog&quot;).show();</ClientEvent>
        <Property name="caption">上传记录</Property>
        <Property name="iconClass">fa fa-bars</Property>
        <Property name="exClassName">btn-flush</Property>
      </Button>
    </Container>
    <Container layoutConstraint="center">
      <Property name="exClassName">bg-color</Property>
      <DataGrid id="dgMain">
        <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsMain.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}</ClientEvent>
        <Property name="dataSet">dsMain</Property>
        <Property name="selectionMode">multiRows</Property>
        <Property name="readOnly">true</Property>
        <RowNumColumn/>
        <RowSelectorColumn>
          <Property name="caption">上传</Property>
        </RowSelectorColumn>
        <DataColumn name="cybh">
          <Property name="property">cybh</Property>
        </DataColumn>
        <DataColumn name="jlqybh">
          <Property name="property">jlqybh</Property>
        </DataColumn>
        <DataColumn name="jlqymc">
          <Property name="property">jlqymc</Property>
        </DataColumn>
        <DataColumn name="jgzdbh">
          <Property name="property">jgzdbh</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
        </DataColumn>
        <DataColumn name="zjjgbm">
          <Property name="property">zjjgbm</Property>
        </DataColumn>
        <DataColumn name="zjjgmc">
          <Property name="property">zjjgmc</Property>
        </DataColumn>
        <DataColumn name="jljgqybh">
          <Property name="property">jljgqybh</Property>
        </DataColumn>
        <DataColumn name="cpmc">
          <Property name="property">cpmc</Property>
        </DataColumn>
        <DataColumn name="cppc">
          <Property name="property">cppc</Property>
        </DataColumn>
        <DataColumn name="czbz">
          <Property name="property">czbz</Property>
        </DataColumn>
      </DataGrid>
    </Container>
    <Container layoutConstraint="bottom">
      <Property name="exClassName">bg-color</Property>
      <DataPilot layoutConstraint="right">
        <Property name="dataSet">dsMain</Property>
        <Property name="itemCodes">pageSize,pages</Property>
      </DataPilot>
    </Container>
    <Dialog id="dialogMain">
      <Property name="width">60%</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">货位信息</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
view.get(&quot;#updateSave&quot;).execute(function(){&#xD;
    self.get(&quot;parent&quot;).hide();&#xD;
    view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
});</ClientEvent>
          <Property name="caption">确定</Property>
          <Property name="iconClass">fa fa-check</Property>
        </Button>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
self.get(&quot;parent&quot;).hide();&#xD;
if(cur) cur.cancel();</ClientEvent>
          <Property name="caption">取消</Property>
          <Property name="iconClass">fa fa-times</Property>
        </Button>
      </Buttons>
      <Children>
        <AutoForm>
          <Property name="dataSet">dsMain</Property>
          <Property name="cols">*,*,*</Property>
          <Property name="labelPosition">top</Property>
          <Property name="labelSeparator">:</Property>
          <Property name="labelWidth">120</Property>
          <AutoFormElement>
            <Property name="name">cybh</Property>
            <Property name="property">cybh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlqybh</Property>
            <Property name="property">jlqybh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlqymc</Property>
            <Property name="property">jlqymc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jgzdbh</Property>
            <Property name="property">jgzdbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jgzdmc</Property>
            <Property name="property">jgzdmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zjjgbm</Property>
            <Property name="property">zjjgbm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zjjgmc</Property>
            <Property name="property">zjjgmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jljgqybh</Property>
            <Property name="property">jljgqybh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cpmc</Property>
            <Property name="property">cpmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cppc</Property>
            <Property name="property">cppc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">scrq</Property>
            <Property name="property">scrq</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cysm</Property>
            <Property name="property">cysm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cysj</Property>
            <Property name="property">cysj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cyr</Property>
            <Property name="property">cyr</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cydd</Property>
            <Property name="property">cydd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">djsj</Property>
            <Property name="property">djsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cyjs</Property>
            <Property name="property">cyjs</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cysl</Property>
            <Property name="property">cysl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfyx</Property>
            <Property name="property">sfyx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bz</Property>
            <Property name="property">bz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bizId</Property>
            <Property name="property">bizId</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">updateTime</Property>
            <Property name="property">updateTime</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">czbz</Property>
            <Property name="property">czbz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">kqdm</Property>
            <Property name="property">kqdm</Property>
            <Editor/>
          </AutoFormElement>
        </AutoForm>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1215PR#saveData</Property>
      <UpdateItem>
        <Property name="dataPath">[#current]</Property>
        <Property name="dataSet">dsMain</Property>
      </UpdateItem>
    </UpdateAction>
    <AjaxAction id="ajaxDel">
      <Property name="confirmMessage">当前数据删除后无法恢复,请确认要删除么?</Property>
      <Property name="service">whjlApi1215PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1215PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogLog">
      <Property name="width">90%</Property>
      <Property name="height">90%</Property>
      <Property name="caption">上传记录</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">self.get(&quot;parent&quot;).hide();</ClientEvent>
          <Property name="caption">关闭</Property>
          <Property name="iconClass">fa fa-times</Property>
        </Button>
      </Buttons>
      <Children>
        <Container>
          <IFrame id="iFrame">
            <Property name="path">com.fzzy.api.view.ApiLog.d</Property>
            <Property name="userData">
              <Entity>
                <Property name="deptId">deptId</Property>
              </Entity>
            </Property>
          </IFrame>
        </Container>
      </Children>
      <Tools/>
    </Dialog>
    <ListDropDown id="listDropYN">
      <Property name="items">是,否</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1206.java
@@ -58,6 +58,7 @@
    private String bz;  //备注
    private List<WhjlQDItem> htspqd;  //商品清单
    private String htspqdList;
    //单独增加,不进行上传
    @JSONField(serialize = false)
    private String bizId;  //业务ID
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1210.java
@@ -36,6 +36,8 @@
    private String fzr; //负责人
    private String sfyx; //是否有效
    //***************注:接口中不需要盘点清单,盘点清单只是为了提交时更新库存到库存批次台帐,上报过来的库存批次台账已经更新过了********************//
    //单独增加,不进行上传
    @JSONField(serialize = false)
    private String bizId;  //业务ID
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1211.java
@@ -39,6 +39,7 @@
    private Double zczzl;//转仓总重量
    private List<WhjlZCMX> zcmx;//转仓明细
    private String zcmxList;
    //单独增加,不进行上传
    @JSONField(serialize = false)
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1212.java
@@ -50,6 +50,9 @@
    private List<WhjlInoutDel> crkmx;  //出入库明细
    private List<WhjlCheck> zjbgwj;  //质检报告文件
    private String crkmxList;
    private String zjbgwjList;
    //单独增加,不进行上传
    @JSONField(serialize = false)
    private String bizId;  //业务ID
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1213.java
@@ -46,6 +46,9 @@
    private String bz;//备注
    private List<WhjlJSMX> jsmx;//结算明细记录
    private String jsmxList;
    //单独增加,不进行上传
    @JSONField(serialize = false)
    private String bizId;  //业务ID
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1214.java
@@ -55,6 +55,9 @@
    private List<WhjlJCNL> jcnl;//检测能力
    private List<WhjlYQSB> yqsb;//仪器设备
    private String jcnlList;
    private String yqsbList;
    //单独增加,不进行上传
    @JSONField(serialize = false)
    private String bizId;  //业务ID
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlJSMX.java
@@ -19,10 +19,10 @@
     */
    private static final long serialVersionUID = 1L;
    private String rkfkjlmxid;
    private String crkmxid;
    private String fkpzh;
    private Double sl;
    private Double dj;
    private Double je;
    private String rkfkjlmxid; //结算记录明细ID
    private String crkmxid;//出入库明细ID
    private String fkpzh; //付款凭证号
    private Double sl; //数量
    private Double dj; //单价
    private Double je; //金额
}
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1206PR.java
@@ -16,10 +16,13 @@
import com.fzzy.api.service.ApiRemoteService;
import com.fzzy.api.utils.ContextUtil;
import com.fzzy.api.view.repository.ApiInfoDataRep;
import com.fzzy.otherview.gd2022.dto.GdApi1023;
import com.fzzy.otherview.gd2022.dto.GdApi1023Way;
import com.fzzy.otherview.whhpjl.WhjlConstant;
import com.fzzy.otherview.whhpjl.dto.WhjlApi1206;
import com.fzzy.otherview.whhpjl.dto.WhjlApi1206;
import com.fzzy.otherview.whhpjl.dto.WhjlQDItem;
import com.fzzy.push.gd2022.ApiCodeConstant;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.PageRequest;
@@ -52,7 +55,7 @@
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1207PR#listData
     * whjlApi1206PR#listData
     *
     * @return
     */
@@ -110,42 +113,47 @@
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1207PR#listItem
     * whjlApi1206PR#listItem
     *
     * @return
     */
    @DataProvider
    public List<WhjlQDItem> listItem(String id) {
        return null;
    public List<WhjlQDItem> listItem(String code) {
        return JSON.parseArray(code, WhjlQDItem.class);
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1207PR#saveData
     * whjlApi1206PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public void saveData(WhjlApi1206 data) {
        ApiInfoData infoData = new ApiInfoData();
        infoData.setId(data.getBizId());
        infoData.setKqdm(data.getKqdm());
        infoData.setInteType(WhjlConstant.API_CATEGORY_12);
        infoData.setInteId(WhjlConstant.API_CODE_1207);
        infoData.setUpdateTime(new Date());
        infoData.setDataId(data.getBizId());
        infoData.setData(JSON.toJSONString(data));
        infoData.setCzbz(data.getCzbz());
        infoData.setRemarks("备注信息");
        data.setHtspqdList(JSON.toJSONString(data.getHtspqd()));
        ApiInfoData infoData;
        List<ApiInfoData> apiInfoList = apiInfoDataRep.getDataByInteAndData(WhjlConstant.API_CODE_1206, data.getBizId(), data.getKqdm());
        if (apiInfoList.size() != 0) {
            infoData = apiInfoList.get(0);
            infoData.setData(JSON.toJSONString(data));
        } else {
            infoData = new ApiInfoData();
            infoData.setId(data.getBizId());
            infoData.setKqdm(data.getKqdm());
            infoData.setInteId(WhjlConstant.API_CODE_1206);
            infoData.setUpdateTime(new Date());
            infoData.setDataId(data.getBizId());
            infoData.setData(JSON.toJSONString(data));
            infoData.setCzbz(Constant.CZBZ_I);
            infoData.setRemarks("备注信息");
        }
        apiInfoDataRep.save(infoData);
    }
    /**
     * åˆ é™¤
     * whjlApi1207PR#delData
     * whjlApi1206PR#delData
     *
     * @param data
     * @return
@@ -158,7 +166,7 @@
    /**
     * åˆ é™¤åˆåŒå•†å“æ¸…单
     * whjlApi1207PR#delItem
     * whjlApi1206PR#delItem
     *
     * @param data
     * @return
@@ -170,7 +178,7 @@
    /**
     * ä¸Šä¼ 
     * whjlApi1207PR#pushData
     * whjlApi1206PR#pushData
     *
     * @param items
     * @return
@@ -188,7 +196,7 @@
        }
        //封装参数
        ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1207);
        ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1206);
        //获取实现接口
        ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
@@ -207,7 +215,7 @@
                    infoData.setId(data.getBizId());
                    infoData.setKqdm(data.getKqdm());
                    infoData.setInteType(WhjlConstant.API_CATEGORY_12);
                    infoData.setInteId(WhjlConstant.API_CODE_1207);
                    infoData.setInteId(WhjlConstant.API_CODE_1206);
                    infoData.setUpdateTime(new Date());
                    infoData.setDataId(data.getBizId());
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1207PR.java
@@ -5,6 +5,7 @@
import com.bstek.dorado.annotation.DataProvider;
import com.bstek.dorado.annotation.DataResolver;
import com.bstek.dorado.annotation.Expose;
import com.bstek.dorado.data.provider.Page;
import com.fzzy.api.Constant;
import com.fzzy.api.data.ApiParam;
import com.fzzy.api.dto.ResponseDto;
@@ -13,13 +14,24 @@
import com.fzzy.api.service.ApiCommonService;
import com.fzzy.api.service.ApiPushManager;
import com.fzzy.api.service.ApiRemoteService;
import com.fzzy.api.utils.ContextUtil;
import com.fzzy.api.view.repository.ApiInfoDataRep;
import com.fzzy.otherview.whhpjl.WhjlConstant;
import com.fzzy.otherview.whhpjl.dto.WhjlApi1207;
import com.fzzy.otherview.whhpjl.dto.WhjlApi1207;
import com.fzzy.otherview.whhpjl.dto.WhjlQDItem;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.stereotype.Component;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Predicate;
import javax.persistence.criteria.Root;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
@@ -45,14 +57,46 @@
     * @return
     */
    @DataProvider
    public List<WhjlApi1207> listData() {
        List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1207);
        if (null == result || result.isEmpty()) {
            return null;
        }
    public void listData(Page<WhjlApi1207> page, ApiParam param) {
        Pageable pageable = PageRequest.of(page.getPageNo() - 1, page.getPageSize(), Sort.Direction.DESC, "updateTime");
        Specification specification = new Specification<ApiInfoData>() {
            private static final long serialVersionUID = 1L;
            @Override
            public Predicate toPredicate(Root<ApiInfoData> root, CriteriaQuery<?> criteriaQuery, CriteriaBuilder criteriaBuilder) {
                List<Predicate> predicates = new ArrayList<>(); //所有的断言
                Predicate predicate = criteriaBuilder.equal(root.get("inteId"), WhjlConstant.API_CODE_1207);
                predicates.add(predicate);
                if (null != param) {
                    if (StringUtils.isNotBlank(param.getKqdm())) {
                        Predicate predicate1 = criteriaBuilder.equal(root.get("kqdm"), param.getKqdm());
                        predicates.add(predicate1);
                    }
                    if (StringUtils.isNotBlank(param.getCzbz())) {
                        Predicate predicate2 = criteriaBuilder.equal(root.get("czbz"), param.getCzbz());
                        predicates.add(predicate2);
                    }
                    if (null != param.getStart()) {
                        Predicate predicate3 = criteriaBuilder.greaterThan(root.get("updateTime"), ContextUtil.getCurZero(param.getStart()));
                        predicates.add(predicate3);
                    }
                    if (null != param.getEnd()) {
                        Predicate predicate4 = criteriaBuilder.lessThan(root.get("updateTime"), ContextUtil.getNextZero(param.getEnd()));
                        predicates.add(predicate4);
                    }
                }
                return criteriaBuilder.and(predicates.toArray(new Predicate[0]));
            }
        };
        org.springframework.data.domain.Page<ApiInfoData> japPage = apiInfoDataRep.findAll(specification, pageable);
        page.setEntityCount((int) japPage.getTotalElements());
        List<WhjlApi1207> list = new ArrayList<>();
        WhjlApi1207 whjlApi1207;
        for (ApiInfoData infoData : result) {
        for (ApiInfoData infoData : japPage.getContent()) {
            whjlApi1207 = JSONObject.parseObject(infoData.getData(), WhjlApi1207.class);
            whjlApi1207.setKqdm(infoData.getKqdm());
            whjlApi1207.setCzbz(infoData.getCzbz());
@@ -60,9 +104,11 @@
            whjlApi1207.setBizId(infoData.getDataId());
            list.add(whjlApi1207);
        }
        return list;
        page.setEntities(list);
    }
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1207PR#listItem
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1211PR.java
@@ -18,7 +18,9 @@
import com.fzzy.api.view.repository.ApiInfoDataRep;
import com.fzzy.otherview.whhpjl.WhjlConstant;
import com.fzzy.otherview.whhpjl.dto.WhjlApi1211;
import com.fzzy.otherview.whhpjl.dto.WhjlApi1211;
import com.fzzy.otherview.whhpjl.dto.WhjlQDItem;
import com.fzzy.otherview.whhpjl.dto.WhjlZCMX;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.PageRequest;
@@ -113,8 +115,8 @@
     * @return
     */
    @DataProvider
    public List<WhjlQDItem> listItem(String id) {
        return null;
    public List<WhjlZCMX> listItem(String code) {
        return JSON.parseArray(code, WhjlZCMX.class);
    }
    /**
@@ -126,17 +128,23 @@
     */
    @DataResolver
    public void saveData(WhjlApi1211 data) {
        ApiInfoData infoData = new ApiInfoData();
        infoData.setId(data.getBizId());
        infoData.setKqdm(data.getKqdm());
        infoData.setInteType(WhjlConstant.API_CATEGORY_12);
        infoData.setInteId(WhjlConstant.API_CODE_1211);
        infoData.setUpdateTime(new Date());
        infoData.setDataId(data.getBizId());
        infoData.setData(JSON.toJSONString(data));
        infoData.setCzbz(data.getCzbz());
        infoData.setRemarks("备注信息");
        data.setZcmxList(JSON.toJSONString(data.getZcmx()));
        ApiInfoData infoData;
        List<ApiInfoData> apiInfoList = apiInfoDataRep.getDataByInteAndData(WhjlConstant.API_CODE_1211, data.getBizId(), data.getKqdm());
        if (apiInfoList.size() != 0) {
            infoData = apiInfoList.get(0);
            infoData.setData(JSON.toJSONString(data));
        } else {
            infoData = new ApiInfoData();
            infoData.setId(data.getBizId());
            infoData.setKqdm(data.getKqdm());
            infoData.setInteId(WhjlConstant.API_CODE_1211);
            infoData.setUpdateTime(new Date());
            infoData.setDataId(data.getBizId());
            infoData.setData(JSON.toJSONString(data));
            infoData.setCzbz(Constant.CZBZ_I);
            infoData.setRemarks("备注信息");
        }
        apiInfoDataRep.save(infoData);
    }
@@ -154,17 +162,6 @@
        return null;
    }
    /**
     * åˆ é™¤åˆåŒå•†å“æ¸…单
     * whjlApi1211PR#delItem
     *
     * @param data
     * @return
     */
    @Expose
    public String delItem(WhjlQDItem data) {
        return null;
    }
    /**
     * ä¸Šä¼ 
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1213PR.java
@@ -19,6 +19,7 @@
import com.fzzy.otherview.whhpjl.WhjlConstant;
import com.fzzy.otherview.whhpjl.dto.WhjlApi1213;
import com.fzzy.otherview.whhpjl.dto.WhjlQDItem;
import com.fzzy.otherview.whhpjl.dto.WhjlZCMX;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.PageRequest;
@@ -113,8 +114,8 @@
     * @return
     */
    @DataProvider
    public List<WhjlQDItem> listItem(String id) {
        return null;
    public List<WhjlZCMX> listItem(String code) {
        return JSON.parseArray(code, WhjlZCMX.class);
    }
    /**
@@ -126,17 +127,23 @@
     */
    @DataResolver
    public void saveData(WhjlApi1213 data) {
        ApiInfoData infoData = new ApiInfoData();
        infoData.setId(data.getBizId());
        infoData.setKqdm(data.getKqdm());
        infoData.setInteType(WhjlConstant.API_CATEGORY_12);
        infoData.setInteId(WhjlConstant.API_CODE_1213);
        infoData.setUpdateTime(new Date());
        infoData.setDataId(data.getBizId());
        infoData.setData(JSON.toJSONString(data));
        infoData.setCzbz(data.getCzbz());
        infoData.setRemarks("备注信息");
        data.setJsmxList(JSON.toJSONString(data.getJsmx()));
        ApiInfoData infoData;
        List<ApiInfoData> apiInfoList = apiInfoDataRep.getDataByInteAndData(WhjlConstant.API_CODE_1213, data.getBizId(), data.getKqdm());
        if (apiInfoList.size() != 0) {
            infoData = apiInfoList.get(0);
            infoData.setData(JSON.toJSONString(data));
        } else {
            infoData = new ApiInfoData();
            infoData.setId(data.getBizId());
            infoData.setKqdm(data.getKqdm());
            infoData.setInteId(WhjlConstant.API_CODE_1213);
            infoData.setUpdateTime(new Date());
            infoData.setDataId(data.getBizId());
            infoData.setData(JSON.toJSONString(data));
            infoData.setCzbz(Constant.CZBZ_I);
            infoData.setRemarks("备注信息");
        }
        apiInfoDataRep.save(infoData);
    }
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1214PR.java
@@ -17,8 +17,7 @@
import com.fzzy.api.utils.ContextUtil;
import com.fzzy.api.view.repository.ApiInfoDataRep;
import com.fzzy.otherview.whhpjl.WhjlConstant;
import com.fzzy.otherview.whhpjl.dto.WhjlApi1214;
import com.fzzy.otherview.whhpjl.dto.WhjlQDItem;
import com.fzzy.otherview.whhpjl.dto.*;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.PageRequest;
@@ -113,8 +112,13 @@
     * @return
     */
    @DataProvider
    public List<WhjlQDItem> listItem(String id) {
        return null;
    public List<WhjlJCNL> listJCNL(String code) {
        return JSON.parseArray(code, WhjlJCNL.class);
    }
    @DataProvider
    public List<WhjlYQSB> listYQSB(String code) {
        return JSON.parseArray(code, WhjlYQSB.class);
    }
    /**
@@ -126,17 +130,24 @@
     */
    @DataResolver
    public void saveData(WhjlApi1214 data) {
        ApiInfoData infoData = new ApiInfoData();
        infoData.setId(data.getBizId());
        infoData.setKqdm(data.getKqdm());
        infoData.setInteType(WhjlConstant.API_CATEGORY_12);
        infoData.setInteId(WhjlConstant.API_CODE_1214);
        infoData.setUpdateTime(new Date());
        infoData.setDataId(data.getBizId());
        infoData.setData(JSON.toJSONString(data));
        infoData.setCzbz(data.getCzbz());
        infoData.setRemarks("备注信息");
        data.setJcnlList(JSON.toJSONString(data.getJcnl()));
        data.setYqsbList(JSON.toJSONString(data.getYqsb()));
        ApiInfoData infoData;
        List<ApiInfoData> apiInfoList = apiInfoDataRep.getDataByInteAndData(WhjlConstant.API_CODE_1214, data.getBizId(), data.getKqdm());
        if (apiInfoList.size() != 0) {
            infoData = apiInfoList.get(0);
            infoData.setData(JSON.toJSONString(data));
        } else {
            infoData = new ApiInfoData();
            infoData.setId(data.getBizId());
            infoData.setKqdm(data.getKqdm());
            infoData.setInteId(WhjlConstant.API_CODE_1214);
            infoData.setUpdateTime(new Date());
            infoData.setDataId(data.getBizId());
            infoData.setData(JSON.toJSONString(data));
            infoData.setCzbz(Constant.CZBZ_I);
            infoData.setRemarks("备注信息");
        }
        apiInfoDataRep.save(infoData);
    }
src/main/resources/templates/home/home-whjl.html
@@ -178,19 +178,37 @@
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1204.d">客户信息</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1207.d">合同信息</a>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1205.d">订单信息</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1208.d">库存台账</a>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1206.d">合同信息</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1209.d">库存台账产品批次</a>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1207.d">库存台账</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1210.d">库存台账出入记录</a>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1208.d">库存台账产品批次</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1214.d">出入库记录</a>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1209.d">库存台账出入记录</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1210.d">库存盘点记录</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1211.d">库内转仓记录</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1212.d">出入库记录</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1213.d">出入库结算记录</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1214.d">质检机构</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1215.d">样品登记信息</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1216.d">质检报告</a>