YYC
2023-08-05 a836dc12b19f090a1f0e16504f5ea9f0c39cb96f
基础信息页面
已修改9个文件
已添加9个文件
2743 ■■■■■ 文件已修改
src/main/java/com/fzzy/whjl/dto/WhjlApi1111.java 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/dto/WhjlApi1207.java 50 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/dto/WhjlQDItem.java 37 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/WhjlApi1101.view.xml 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/WhjlApi1102.view.xml 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/WhjlApi1103.view.xml 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/WhjlApi1104.view.xml 37 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/WhjlApi1105.view.xml 43 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/WhjlApi1106.view.xml 45 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/WhjlApi1107.view.xml 384 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/WhjlApi1111.view.xml 521 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/WhjlApi1204.view.xml 554 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/WhjlApi1207.view.xml 728 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1107PR.java 64 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1111PR.java 64 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1204PR.java 64 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1207PR.java 89 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/home/home-whjl.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/whjl/dto/WhjlApi1111.java
@@ -4,6 +4,7 @@
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
/**
 * ä»“储设施设备-仓储设备信息
@@ -31,7 +32,7 @@
    private String sbzt;  //设备状态
    private String ggxh;  //规格型号
    private String zzdw;  //制造单位
    private String cgsj;  //采购时间
    private Date cgsj;  //采购时间
    private String gl;  //功率
    private String cl;  //产量
    private String wxcc;  //外形尺寸
@@ -40,7 +41,7 @@
    private String whgzrmc;  //维护负责人
    private String czfzrmc;  //操作负责人
    private String zynhyq;  //主要保管要求
    private String xgrq;  //修改日期
    private Date xgrq;  //修改日期
    private String tbrmc;  //填表人名称
    private String Sfytkk;  //是否云台可控
    private String ipdz;  //IP地址
src/main/java/com/fzzy/whjl/dto/WhjlApi1207.java
@@ -4,6 +4,8 @@
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
 * ç»è¥ç®¡ç†-合同信息
@@ -19,23 +21,41 @@
     */
    private static final long serialVersionUID = 1L;
    private String htid;  //合同ID
    private String jlqybh;  //军粮企业编号
    private String ssqymc;  //军粮企业名称
    private String jgzdbh;  //军供站点编号
    private String jgzdmc;  //军供站点名称
    private String htlx;  //合同类型
    private String htbh;  //合同编号
    private String htbt;  //合同标题
    private String jljgqybh;  //加工企业编号
    private String jljgqymc;  //加工企业名称
    private String htkhbh;  //合同客户编号
    private String htkhmc;  //合同客户名称
    private String htspdj;  //合同商品单价
    private Double htspsl;  //合同商品数量
    private String spbm;  //商品编码
    private Double zje;  //总金额
    private String htqdr;  //合同签订人
    private Date htqdsj;  //合同签订时间
    private Date htsxrq;  //合同生效日期
    private Date htjzrq;  //合同截止时间
    private String htcjr;  //合同创建人
    private Date htcjsj;  //合同创建时间
    private String htdbgjlbz;  //合同的变更记录标志
    private String htbgyy;  //合同变更原因
    private String htgylx;  //合同供应类型
    private String yhtbh;  //原合同编号
    private String zffs;  //支付方式
    private Double ywcsl;  //已完成数量
    private String ywcslje;  //已完成数量金额
    private String htbz;  //合同备注
    private String htspqd;  //商品清单
    private String xh;  //序号
    private Integer xh;  //序号
    private String sfyx;  //是否有效
    private String bz;  //备注
    private String htspid;  //合同商品ID
    private String htid;  //合同ID
    private String ddid;  //订单ID
    private String lspzbm;  //品种编号
    private String lspzmc;  //品种名称
    private String cpbh;  //产品编号
    private String cpmc;  //产品名称
    private String spsl;  //商品数量
    private String spdj;  //商品单价
    private String je;  //金额
    private String ywcsl;  //已完成数量
    private String ywcje;  //已完成金额
//    private String bz;  //备注
    private List<WhjlQDItem> htspqd;  //商品清单
}
src/main/java/com/fzzy/whjl/dto/WhjlQDItem.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,37 @@
package com.fzzy.whjl.dto;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
/**
 * åˆåŒå•†å“æ¸…单
 *
 * @Author:YAN
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WhjlQDItem implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
    private String htspid;  //合同商品ID
    private String htid;  //合同ID
    private String ddid;  //订单ID
    private String lspzbm;  //品种编号
    private String lspzmc;  //品种名称
    private String cpbh;  //产品编号
    private String cpmc;  //产品名称
    private Double spsl;  //商品数量
    private Double spdj;  //商品单价
    private Double je;  //金额
    private Double ywcsl;  //已完成数量
    private Double ywcje;  //已完成金额
    private String bz;  //备注
}
src/main/java/com/fzzy/whjl/view/WhjlApi1101.view.xml
@@ -499,7 +499,7 @@
        <Property name="label">备注</Property>
      </PropertyDef>
      <PropertyDef name="bizId">
        <Property/>
        <Property></Property>
        <Property name="label">业务ID</Property>
      </PropertyDef>
      <PropertyDef name="updateTime">
@@ -628,30 +628,39 @@
        </RowSelectorColumn>
        <DataColumn name="jlqybh">
          <Property name="property">jlqybh</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jlqymc">
          <Property name="property">jlqymc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jlqytyshxydm">
          <Property name="property">jlqytyshxydm</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jlqylx">
          <Property name="property">jlqylx</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="qyxz">
          <Property name="property">qyxz</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="gsdjzch">
          <Property name="property">gsdjzch</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="sfjbjlcbzg">
          <Property name="property">sfjbjlcbzg</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="fddbr">
          <Property name="property">fddbr</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="sfyx">
          <Property name="property">sfyx</Property>
          <Property name="align">center</Property>
        </DataColumn>
      </DataGrid>
    </Container>
@@ -931,7 +940,7 @@
      <Children>
        <Container>
          <IFrame id="iFrame">
            <Property name="userData"/>
            <Property name="userData"></Property>
          </IFrame>
        </Container>
      </Children>
src/main/java/com/fzzy/whjl/view/WhjlApi1102.view.xml
@@ -315,30 +315,39 @@
        </RowSelectorColumn>
        <DataColumn name="jgzdbh">
          <Property name="property">jgzdbh</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="xzqhmc">
          <Property name="property">xzqhmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jcrq">
          <Property name="property">jcrq</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="sjcr">
          <Property name="property">sjcr</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="mj">
          <Property name="property">mj</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="CYRS">
          <Property name="property">CYRS</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="cplcfmj">
          <Property name="property">cplcfmj</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="sfyx">
          <Property name="property">sfyx</Property>
          <Property name="align">center</Property>
        </DataColumn>
      </DataGrid>
    </Container>
src/main/java/com/fzzy/whjl/view/WhjlApi1103.view.xml
@@ -6,51 +6,51 @@
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1103</Property>
      <PropertyDef name="rybh">
        <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="ryxm">
        <Property/>
        <Property></Property>
        <Property name="label">人员姓名</Property>
      </PropertyDef>
      <PropertyDef name="sfzhm">
        <Property/>
        <Property></Property>
        <Property name="label">身份证编码</Property>
      </PropertyDef>
      <PropertyDef name="lxdh">
        <Property/>
        <Property></Property>
        <Property name="label">联系电话</Property>
      </PropertyDef>
      <PropertyDef name="xl">
        <Property/>
        <Property></Property>
        <Property name="label">学历</Property>
      </PropertyDef>
      <PropertyDef name="lxdz">
        <Property/>
        <Property></Property>
        <Property name="label">联系地址</Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <Property/>
        <Property></Property>
        <Property name="label">是否启用</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <Property/>
        <Property></Property>
        <Property name="label">备注</Property>
      </PropertyDef>
    </DataType>
@@ -148,27 +148,35 @@
        </RowSelectorColumn>
        <DataColumn name="ryxm">
          <Property name="property">ryxm</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jlqymc">
          <Property name="property">jlqymc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="sfzhm">
          <Property name="property">sfzhm</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="lxdh">
          <Property name="property">lxdh</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="xl">
          <Property name="property">xl</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="lxdz">
          <Property name="property">lxdz</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="sfyx">
          <Property name="property">sfyx</Property>
          <Property name="align">center</Property>
        </DataColumn>
      </DataGrid>
    </Container>
@@ -298,7 +306,7 @@
      <Children>
        <Container>
          <IFrame id="iFrame">
            <Property name="userData"/>
            <Property name="userData"></Property>
          </IFrame>
        </Container>
      </Children>
src/main/java/com/fzzy/whjl/view/WhjlApi1104.view.xml
@@ -6,43 +6,43 @@
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1104</Property>
      <PropertyDef name="lydbh">
        <Property/>
        <Property></Property>
        <Property name="label">粮油店编号</Property>
      </PropertyDef>
      <PropertyDef name="xzqhbm">
        <Property/>
        <Property></Property>
        <Property name="label">行政区划编码</Property>
      </PropertyDef>
      <PropertyDef name="xzqhmc">
        <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="lydmc">
        <Property/>
        <Property></Property>
        <Property name="label">粮油店名称</Property>
      </PropertyDef>
      <PropertyDef name="lxr">
        <Property/>
        <Property></Property>
        <Property name="label">联系人</Property>
      </PropertyDef>
      <PropertyDef name="lxrdh">
        <Property/>
        <Property></Property>
        <Property name="label">联系电话</Property>
      </PropertyDef>
      <PropertyDef name="fgfw">
@@ -66,11 +66,11 @@
        <Property name="displayFormat">#0.00吨</Property>
      </PropertyDef>
      <PropertyDef name="dz">
        <Property/>
        <Property></Property>
        <Property name="label">地址</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <Property/>
        <Property></Property>
        <Property name="label">备注</Property>
      </PropertyDef>
    </DataType>
@@ -195,30 +195,39 @@
        </RowSelectorColumn>
        <DataColumn name="lydbh">
          <Property name="property">lydbh</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="xzqhmc">
          <Property name="property">xzqhmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jlqymc">
          <Property name="property">jlqymc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="lydmc">
          <Property name="property">lydmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="lxr">
          <Property name="property">lxr</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="lxrdh">
          <Property name="property">lxrdh</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="sjcr">
          <Property name="property">sjcr</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="dz">
          <Property name="property">dz</Property>
          <Property name="align">center</Property>
        </DataColumn>
      </DataGrid>
    </Container>
@@ -226,7 +235,7 @@
      <Property name="width">60%</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;
@@ -415,7 +424,7 @@
      <Children>
        <Container>
          <IFrame id="iFrame">
            <Property name="userData"/>
            <Property name="userData"></Property>
          </IFrame>
        </Container>
      </Children>
src/main/java/com/fzzy/whjl/view/WhjlApi1105.view.xml
@@ -6,31 +6,31 @@
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1105</Property>
      <PropertyDef name="cfbh">
        <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="cfmc">
        <Property/>
        <Property></Property>
        <Property name="label">仓房名称</Property>
      </PropertyDef>
      <PropertyDef name="cflx">
        <Property/>
        <Property></Property>
        <Property name="label">仓房类型</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CFLX&quot;)}</Property>
@@ -39,11 +39,11 @@
        </Property>
      </PropertyDef>
      <PropertyDef name="cfjg">
        <Property/>
        <Property></Property>
        <Property name="label">仓房结构</Property>
      </PropertyDef>
      <PropertyDef name="jzlx">
        <Property/>
        <Property></Property>
        <Property name="label">建筑类型</Property>
      </PropertyDef>
      <PropertyDef name="cfcdzj">
@@ -72,7 +72,7 @@
        <Property name="displayFormat">#0.00吨</Property>
      </PropertyDef>
      <PropertyDef name="lxdh">
        <Property/>
        <Property></Property>
        <Property name="label">联系电话</Property>
      </PropertyDef>
      <PropertyDef name="cfjd">
@@ -86,12 +86,12 @@
        <Property name="displayFormat">#0.000000度</Property>
      </PropertyDef>
      <PropertyDef name="qyrq">
        <Property/>
        <Property></Property>
        <Property name="label">启用日期</Property>
        <Property name="dataType">Date</Property>
      </PropertyDef>
      <PropertyDef name="cfzt">
        <Property/>
        <Property></Property>
        <Property name="label">仓房状态</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CFZT&quot;)}</Property>
@@ -100,7 +100,7 @@
        </Property>
      </PropertyDef>
      <PropertyDef name="cfsyzt">
        <Property/>
        <Property></Property>
        <Property name="label">仓房使用状态</Property>
        <Property name="mapping">
          <Property name="keyProperty">code</Property>
@@ -124,11 +124,11 @@
        <Property name="displayFormat">#0.00吨</Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <Property/>
        <Property></Property>
        <Property name="label">是否有效</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <Property/>
        <Property></Property>
        <Property name="label">备注</Property>
      </PropertyDef>
    </DataType>
@@ -226,36 +226,47 @@
        </RowSelectorColumn>
        <DataColumn name="cfmc">
          <Property name="property">cfmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jlqymc">
          <Property name="property">jlqymc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="cfcdzj">
          <Property name="property">cfcdzj</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="cfkd">
          <Property name="property">cfkd</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="cfgd">
          <Property name="property">cfgd</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="cfsjcrO1">
          <Property name="property">cfsjcrO1</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="qyrq">
          <Property name="property">qyrq</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="cfzt">
          <Property name="property">cfzt</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="cfsyzt">
          <Property name="property">cfsyzt</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="sfyx">
          <Property name="property">sfyx</Property>
          <Property name="align">center</Property>
        </DataColumn>
      </DataGrid>
    </Container>
@@ -263,7 +274,7 @@
      <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>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
src/main/java/com/fzzy/whjl/view/WhjlApi1106.view.xml
@@ -6,35 +6,35 @@
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1106</Property>
      <PropertyDef name="ajbh">
        <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="sscfbh">
        <Property/>
        <Property></Property>
        <Property name="label">仓房编号</Property>
      </PropertyDef>
      <PropertyDef name="sscfmc">
        <Property/>
        <Property></Property>
        <Property name="label">仓房名称</Property>
      </PropertyDef>
      <PropertyDef name="ajmc">
        <Property/>
        <Property></Property>
        <Property name="label">廒间名称</Property>
      </PropertyDef>
      <PropertyDef name="ajcd">
@@ -48,7 +48,7 @@
        <Property name="displayFormat">#0.0ç±³</Property>
      </PropertyDef>
      <PropertyDef name="ajgd">
        <Property/>
        <Property></Property>
        <Property name="label">廒间高度</Property>
        <Property name="dataType">Double</Property>
        <Property name="displayFormat">#0.0ç±³</Property>
@@ -64,7 +64,7 @@
        <Property name="displayFormat">#0.00吨</Property>
      </PropertyDef>
      <PropertyDef name="ajlxdh">
        <Property/>
        <Property></Property>
        <Property name="label">廒间联系电话</Property>
      </PropertyDef>
      <PropertyDef name="ajjd">
@@ -82,7 +82,7 @@
        <Property name="label">廒间启用日期</Property>
      </PropertyDef>
      <PropertyDef name="ajzt">
        <Property/>
        <Property></Property>
        <Property name="label">廒间状态</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CFZT&quot;)}</Property>
@@ -91,7 +91,7 @@
        </Property>
      </PropertyDef>
      <PropertyDef name="ajsyzt">
        <Property/>
        <Property></Property>
        <Property name="label">廒间使用状态</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;HWZT&quot;)}</Property>
@@ -100,11 +100,11 @@
        </Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <Property/>
        <Property></Property>
        <Property name="label">是否有效</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <Property/>
        <Property></Property>
        <Property name="label">备注</Property>
      </PropertyDef>
    </DataType>
@@ -202,44 +202,55 @@
        </RowSelectorColumn>
        <DataColumn name="ajmc">
          <Property name="property">ajmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="sscfmc">
          <Property name="property">sscfmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="ajcd">
          <Property name="property">ajcd</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="ajkd">
          <Property name="property">ajkd</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="ajgd">
          <Property name="property">ajgd</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="ajsjcr">
          <Property name="property">ajsjcr</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="ajsjcr01">
          <Property name="property">ajsjcr01</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="ajqyrq">
          <Property name="property">ajqyrq</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="ajzt">
          <Property name="property">ajzt</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="ajsyzt">
          <Property name="property">ajsyzt</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="sfyx">
          <Property name="property">sfyx</Property>
          <Property name="align">center</Property>
        </DataColumn>
      </DataGrid>
    </Container>
    <Dialog id="dialogMain">
      <Property name="width">85%</Property>
      <Property name="width">60%</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;
@@ -261,7 +272,7 @@
      <Children>
        <AutoForm>
          <Property name="dataSet">dsMain</Property>
          <Property name="cols">*,*,*</Property>
          <Property name="cols">*,*</Property>
          <Property name="labelPosition">left</Property>
          <Property name="labelSeparator">:</Property>
          <Property name="labelWidth">120</Property>
src/main/java/com/fzzy/whjl/view/WhjlApi1107.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,384 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1107</Property>
      <PropertyDef name="hwbh">
        <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="sscfbh">
        <Property/>
        <Property name="label">仓房编号</Property>
      </PropertyDef>
      <PropertyDef name="sscfmc">
        <Property/>
        <Property name="label">仓房名称</Property>
      </PropertyDef>
      <PropertyDef name="ssajbh">
        <Property/>
        <Property name="label">廒间编号</Property>
      </PropertyDef>
      <PropertyDef name="ajmc">
        <Property/>
        <Property name="label">廒间名称</Property>
      </PropertyDef>
      <PropertyDef name="hwmc">
        <Property/>
        <Property name="label">货位名称</Property>
      </PropertyDef>
      <PropertyDef name="hwqyrq">
        <Property name="dataType">Date</Property>
        <Property name="label">货位启用日期</Property>
      </PropertyDef>
      <PropertyDef name="hwzt">
        <Property/>
        <Property name="label">货位状态</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CFZT&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="clfs">
        <Property/>
        <Property name="label">储粮方式</Property>
        <Property name="mapping">
          <Property name="keyProperty">key</Property>
          <Property name="valueProperty">value</Property>
          <Property name="mapValues">
            <Collection>
              <Entity>
                <Property name="key">1</Property>
                <Property name="value">袋装</Property>
              </Entity>
              <Entity>
                <Property name="key">2</Property>
                <Property name="value">瓶装</Property>
              </Entity>
            </Collection>
          </Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="hwrl">
        <Property name="dataType">Double</Property>
        <Property name="label">货位容量</Property>
        <Property name="displayFormat">#0.00吨</Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <Property/>
        <Property name="label">是否有效</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <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">whjlApi1107PR#listData</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="hwmc">
          <Property name="property">hwmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jlqymc">
          <Property name="property">jlqymc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="sscfmc">
          <Property name="property">sscfmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="ajmc">
          <Property name="property">ajmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="hwqyrq">
          <Property name="property">hwqyrq</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="hwzt">
          <Property name="property">hwzt</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="clfs">
          <Property name="property">clfs</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="hwrl">
          <Property name="property">hwrl</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="sfyx">
          <Property name="property">sfyx</Property>
          <Property name="align">center</Property>
        </DataColumn>
      </DataGrid>
    </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">left</Property>
          <Property name="labelSeparator">:</Property>
          <Property name="labelWidth">120</Property>
          <Property name="labelAlign">right</Property>
          <AutoFormElement>
            <Property name="name">hwbh</Property>
            <Property name="property">hwbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">hwmc</Property>
            <Property name="property">hwmc</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">sscfbh</Property>
            <Property name="property">sscfbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sscfmc</Property>
            <Property name="property">sscfmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ssajbh</Property>
            <Property name="property">ssajbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajmc</Property>
            <Property name="property">ajmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">hwqyrq</Property>
            <Property name="property">hwqyrq</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">hwzt</Property>
            <Property name="property">hwzt</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">clfs</Property>
            <Property name="property">clfs</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">hwrl</Property>
            <Property name="property">hwrl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfyx</Property>
            <Property name="property">sfyx</Property>
            <Property name="trigger">listDropYN</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bz</Property>
            <Property name="property">bz</Property>
            <Editor/>
          </AutoFormElement>
        </AutoForm>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1107PR#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">whjlApi1107PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1107PR#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="userData"></Property>
          </IFrame>
        </Container>
      </Children>
      <Tools/>
    </Dialog>
    <ListDropDown id="listDropYN">
      <Property name="items">是,否</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/whjl/view/WhjlApi1111.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,521 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1111</Property>
      <PropertyDef name="sbbh">
        <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="cfbh">
        <Property/>
        <Property name="label">仓房编号</Property>
      </PropertyDef>
      <PropertyDef name="sscfmc">
        <Property/>
        <Property name="label">仓房名称</Property>
      </PropertyDef>
      <PropertyDef name="sblxbh">
        <Property/>
        <Property name="label">设备类型编号</Property>
      </PropertyDef>
      <PropertyDef name="sbmc">
        <Property/>
        <Property name="label">设备名称</Property>
      </PropertyDef>
      <PropertyDef name="sbzt">
        <Property/>
        <Property name="label">设备状态</Property>
      </PropertyDef>
      <PropertyDef name="ggxh">
        <Property/>
        <Property name="label">规格型号</Property>
      </PropertyDef>
      <PropertyDef name="zzdw">
        <Property/>
        <Property name="label">制造单位</Property>
      </PropertyDef>
      <PropertyDef name="cgsj">
        <Property/>
        <Property name="label">采购时间</Property>
        <Property name="dataType">Date</Property>
      </PropertyDef>
      <PropertyDef name="gl">
        <Property/>
        <Property name="label">功率</Property>
      </PropertyDef>
      <PropertyDef name="cl">
        <Property/>
        <Property name="label">产量</Property>
      </PropertyDef>
      <PropertyDef name="wxcc">
        <Property/>
        <Property name="label">外形尺寸</Property>
      </PropertyDef>
      <PropertyDef name="zygn">
        <Property/>
        <Property name="label">主要功能</Property>
      </PropertyDef>
      <PropertyDef name="bgfzrmc">
        <Property/>
        <Property name="label">保管负责人</Property>
      </PropertyDef>
      <PropertyDef name="whgzrmc">
        <Property/>
        <Property name="label">维护负责人</Property>
      </PropertyDef>
      <PropertyDef name="czfzrmc">
        <Property/>
        <Property name="label">操作负责人</Property>
      </PropertyDef>
      <PropertyDef name="zynhyq">
        <Property/>
        <Property name="label">主要保管要求</Property>
      </PropertyDef>
      <PropertyDef name="xgrq">
        <Property/>
        <Property name="label">修改日期</Property>
        <Property name="dataType">Date</Property>
      </PropertyDef>
      <PropertyDef name="tbrmc">
        <Property/>
        <Property name="label">填表人名称</Property>
      </PropertyDef>
      <PropertyDef name="Sfytkk">
        <Property/>
        <Property name="label">是否云台可控</Property>
      </PropertyDef>
      <PropertyDef name="ipdz">
        <Property/>
        <Property name="label">IP地址</Property>
      </PropertyDef>
      <PropertyDef name="Gldk">
        <Property name="dataType">Integer</Property>
        <Property name="label">管理端口</Property>
      </PropertyDef>
      <PropertyDef name="sdkdk">
        <Property/>
        <Property name="label">Sdk端口</Property>
      </PropertyDef>
      <PropertyDef name="zh">
        <Property/>
        <Property name="label">帐号</Property>
      </PropertyDef>
      <PropertyDef name="mm">
        <Property/>
        <Property name="label">密码</Property>
      </PropertyDef>
      <PropertyDef name="rstpdz">
        <Property name="dataType">Integer</Property>
        <Property name="label">Rtsp地址</Property>
      </PropertyDef>
      <PropertyDef name="rtspdk">
        <Property/>
        <Property name="label">rtsp端口</Property>
      </PropertyDef>
      <PropertyDef name="sbxlh">
        <Property/>
        <Property name="label">设备序列号</Property>
      </PropertyDef>
      <PropertyDef name="Jklx">
        <Property/>
        <Property name="label">监控类型</Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <Property/>
        <Property name="label">是否有效</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <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">whjlApi1111PR#listData</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="sbmc">
          <Property name="property">sbmc</Property>
        </DataColumn>
        <DataColumn name="cfbh">
          <Property name="property">cfbh</Property>
        </DataColumn>
        <DataColumn name="sscfmc">
          <Property name="property">sscfmc</Property>
        </DataColumn>
        <DataColumn name="sbzt">
          <Property name="property">sbzt</Property>
        </DataColumn>
        <DataColumn name="cgsj">
          <Property name="property">cgsj</Property>
        </DataColumn>
        <DataColumn name="gl">
          <Property name="property">gl</Property>
        </DataColumn>
        <DataColumn name="wxcc">
          <Property name="property">wxcc</Property>
        </DataColumn>
        <DataColumn name="zygn">
          <Property name="property">zygn</Property>
        </DataColumn>
        <DataColumn name="sfyx">
          <Property name="property">sfyx</Property>
        </DataColumn>
      </DataGrid>
    </Container>
    <Dialog id="dialogMain">
      <Property name="width">85%</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">left</Property>
          <Property name="labelSeparator">:</Property>
          <Property name="labelWidth">120</Property>
          <Property name="labelAlign">right</Property>
          <AutoFormElement>
            <Property name="name">sbbh</Property>
            <Property name="property">sbbh</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">cfbh</Property>
            <Property name="property">cfbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sscfmc</Property>
            <Property name="property">sscfmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sblxbh</Property>
            <Property name="property">sblxbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sbmc</Property>
            <Property name="property">sbmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sbzt</Property>
            <Property name="property">sbzt</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ggxh</Property>
            <Property name="property">ggxh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zzdw</Property>
            <Property name="property">zzdw</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cgsj</Property>
            <Property name="property">cgsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">gl</Property>
            <Property name="property">gl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cl</Property>
            <Property name="property">cl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">wxcc</Property>
            <Property name="property">wxcc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zygn</Property>
            <Property name="property">zygn</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bgfzrmc</Property>
            <Property name="property">bgfzrmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">whgzrmc</Property>
            <Property name="property">whgzrmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">czfzrmc</Property>
            <Property name="property">czfzrmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zynhyq</Property>
            <Property name="property">zynhyq</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xgrq</Property>
            <Property name="property">xgrq</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">tbrmc</Property>
            <Property name="property">tbrmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">Sfytkk</Property>
            <Property name="property">Sfytkk</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ipdz</Property>
            <Property name="property">ipdz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">Gldk</Property>
            <Property name="property">Gldk</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sdkdk</Property>
            <Property name="property">sdkdk</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zh</Property>
            <Property name="property">zh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">mm</Property>
            <Property name="property">mm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">rstpdz</Property>
            <Property name="property">rstpdz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">rtspdk</Property>
            <Property name="property">rtspdk</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sbxlh</Property>
            <Property name="property">sbxlh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">Jklx</Property>
            <Property name="property">Jklx</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>
        </AutoForm>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1111PR#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">whjlApi1111PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1111PR#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="userData"></Property>
          </IFrame>
        </Container>
      </Children>
      <Tools/>
    </Dialog>
    <ListDropDown id="listDropYN">
      <Property name="items">是,否</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/whjl/view/WhjlApi1204.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,554 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1204</Property>
      <PropertyDef name="khbh">
        <Property></Property>
        <Property name="label">客户编号</Property>
      </PropertyDef>
      <PropertyDef name="khlx">
        <Property></Property>
        <Property name="label">客户类型</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;KHLX&quot;)}</Property>
          <Property name="valueProperty">name</Property>
          <Property name="keyProperty">code</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="glzxm">
        <Property></Property>
        <Property name="label">客户姓名</Property>
      </PropertyDef>
      <PropertyDef name="jlqytyshxydm">
        <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="fddbr">
        <Property></Property>
        <Property name="label">法定代表人</Property>
      </PropertyDef>
      <PropertyDef name="qyxz">
        <Property></Property>
        <Property name="label">企业性质</Property>
        <Property name="mapping">
          <Property name="keyProperty">key</Property>
          <Property name="valueProperty">value</Property>
          <Property name="mapValues">
            <Collection>
              <Entity>
                <Property name="key">1</Property>
                <Property name="value">行政机关</Property>
              </Entity>
              <Entity>
                <Property name="key">2</Property>
                <Property name="value">事业单位</Property>
              </Entity>
              <Entity>
                <Property name="key">3</Property>
                <Property name="value">参公管理事业单位</Property>
              </Entity>
              <Entity>
                <Property name="key">4</Property>
                <Property name="value">国有及国有控股企业</Property>
              </Entity>
              <Entity>
                <Property name="key">5</Property>
                <Property name="value">内资非国有企业</Property>
              </Entity>
              <Entity>
                <Property name="key">6</Property>
                <Property name="value">私营企业</Property>
              </Entity>
              <Entity>
                <Property name="key">7</Property>
                <Property name="value">港澳台商及外商企业</Property>
              </Entity>
              <Entity>
                <Property name="key">8</Property>
                <Property name="value">个体工商户</Property>
              </Entity>
              <Entity>
                <Property name="key">9</Property>
                <Property name="value">其他</Property>
              </Entity>
            </Collection>
          </Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="qydz">
        <Property></Property>
        <Property name="label">企业地址</Property>
      </PropertyDef>
      <PropertyDef name="qydh">
        <Property></Property>
        <Property name="label">企业电话</Property>
      </PropertyDef>
      <PropertyDef name="qycz">
        <Property></Property>
        <Property name="label">企业传真</Property>
      </PropertyDef>
      <PropertyDef name="qydzyx">
        <Property></Property>
        <Property name="label">企业电子邮箱</Property>
      </PropertyDef>
      <PropertyDef name="qywz">
        <Property></Property>
        <Property name="label">企业网址</Property>
      </PropertyDef>
      <PropertyDef name="qyyzbm">
        <Property></Property>
        <Property name="label">企业邮政编码</Property>
      </PropertyDef>
      <PropertyDef name="khyh">
        <Property></Property>
        <Property name="label">开户银行</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;BANK&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="yhzh">
        <Property></Property>
        <Property name="label">银行账号</Property>
      </PropertyDef>
      <PropertyDef name="fpxx">
        <Property></Property>
        <Property name="label">开票信息(发票抬头)</Property>
      </PropertyDef>
      <PropertyDef name="shdz">
        <Property></Property>
        <Property name="label">收货地址</Property>
      </PropertyDef>
      <PropertyDef name="lxr">
        <Property></Property>
        <Property name="label">联系人</Property>
      </PropertyDef>
      <PropertyDef name="lxdh">
        <Property></Property>
        <Property name="label">联系电话</Property>
      </PropertyDef>
      <PropertyDef name="lxrsfzhm">
        <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>
    </DataType>
    <DataType name="dtGBArea">
      <Property name="creationType">com.fzzy.api.entity.GbArea</Property>
      <PropertyDef name="code">
        <Property></Property>
        <Property name="label">接口编码</Property>
      </PropertyDef>
      <PropertyDef name="name">
        <Property></Property>
        <Property name="label">名称</Property>
      </PropertyDef>
      <PropertyDef name="parentCode">
        <Property></Property>
        <Property name="label">父编码</Property>
      </PropertyDef>
      <PropertyDef name="disabledTag">
        <Property></Property>
        <Property name="label">禁用</Property>
      </PropertyDef>
      <PropertyDef name="simple">
        <Property></Property>
        <Property name="label">是否默认</Property>
      </PropertyDef>
      <PropertyDef name="remark">
        <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">whjlApi1204PR#listData</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="glzxm">
          <Property name="property">glzxm</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jlqytyshxydm">
          <Property name="property">jlqytyshxydm</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="xzqhmc">
          <Property name="property">xzqhmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="fddbr">
          <Property name="property">fddbr</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="qyxz">
          <Property name="property">qyxz</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="qydz">
          <Property name="property">qydz</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="qydh">
          <Property name="property">qydh</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="qycz">
          <Property name="property">qycz</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="lxr">
          <Property name="property">lxr</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="sfyx">
          <Property name="property">sfyx</Property>
          <Property name="align">center</Property>
        </DataColumn>
      </DataGrid>
    </Container>
    <Dialog id="dialogMain">
      <Property name="width">85%</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="labelAlign">left</Property>
          <AutoFormElement>
            <Property name="name">khbh</Property>
            <Property name="property">khbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">khlx</Property>
            <Property name="property">khlx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">glzxm</Property>
            <Property name="property">glzxm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlqytyshxydm</Property>
            <Property name="property">jlqytyshxydm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xzqhbm</Property>
            <Property name="property">xzqhbm</Property>
            <Property name="trigger">cddGbArea</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xzqhmc</Property>
            <Property name="property">xzqhmc</Property>
            <Property name="trigger">cddGbArea</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">fddbr</Property>
            <Property name="property">fddbr</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qyxz</Property>
            <Property name="property">qyxz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qydz</Property>
            <Property name="property">qydz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qydh</Property>
            <Property name="property">qydh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qycz</Property>
            <Property name="property">qycz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qydzyx</Property>
            <Property name="property">qydzyx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qywz</Property>
            <Property name="property">qywz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qyyzbm</Property>
            <Property name="property">qyyzbm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">khyh</Property>
            <Property name="property">khyh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">yhzh</Property>
            <Property name="property">yhzh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">fpxx</Property>
            <Property name="property">fpxx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">shdz</Property>
            <Property name="property">shdz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lxr</Property>
            <Property name="property">lxr</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lxdh</Property>
            <Property name="property">lxdh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lxrsfzhm</Property>
            <Property name="property">lxrsfzhm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfyx</Property>
            <Property name="property">sfyx</Property>
            <Property name="trigger">listDropYN</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bz</Property>
            <Property name="property">bz</Property>
            <Editor/>
          </AutoFormElement>
        </AutoForm>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1204PR#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">whjlApi1204PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1204PR#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="userData"></Property>
          </IFrame>
        </Container>
      </Children>
      <Tools/>
    </Dialog>
    <CustomDropDown id="cddGbArea">
      <Property name="assignmentMap">xzqhbm=code,xzqhmc=name</Property>
      <Property name="height">500</Property>
      <Property name="minHeight">500</Property>
      <Property name="maxHeight">500</Property>
      <Property name="width">400</Property>
      <Container layout="regionPadding:5">
        <DataSet id="dsGBArea">
          <Property name="dataProvider">gbAreaPR#findByCode</Property>
          <Property name="dataType">[dtGBArea]</Property>
        </DataSet>
        <Container layout="hbox regionPadding:5">
          <TextEditor id="key2">
            <Property name="blankText"> -- ç¼–码或者名称 --</Property>
            <Property name="width">200</Property>
          </TextEditor>
          <Button>
            <ClientEvent name="onClick">var key = view.get(&quot;#key2.value&quot;);&#xD;
view.get(&quot;#dsGBArea&quot;).set(&quot;parameter&quot;,{key:key}).flushAsync();</ClientEvent>
            <Property name="iconClass">fa fa-search</Property>
            <Property name="caption">查询</Property>
          </Button>
          <Button>
            <ClientEvent name="onClick">var data = view.get(&quot;#dsGBArea.data:#&quot;);&#xD;
if (data) {&#xD;
    view.get(&quot;#cddGbArea&quot;).close(data.toJSON());&#xD;
}</ClientEvent>
            <Property name="caption">确定</Property>
            <Property name="iconClass">fa fa-check</Property>
          </Button>
        </Container>
        <DataGrid>
          <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsGBArea.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#cddGbArea&quot;).close(data.toJSON());&#xD;
}</ClientEvent>
          <Property name="dataSet">dsGBArea</Property>
          <Property name="readOnly">true</Property>
          <DataColumn name="code">
            <Property name="property">code</Property>
          </DataColumn>
          <DataColumn name="name">
            <Property name="property">name</Property>
          </DataColumn>
        </DataGrid>
      </Container>
    </CustomDropDown>
    <ListDropDown id="listDropYN">
      <Property name="items">是,否</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/whjl/view/WhjlApi1207.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,728 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1207</Property>
      <PropertyDef name="htid">
        <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="htlx">
        <Property></Property>
        <Property name="label">合同类型</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;HT_YWLX&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="htbh">
        <Property></Property>
        <Property name="label">合同编号</Property>
      </PropertyDef>
      <PropertyDef name="htbt">
        <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="htkhbh">
        <Property></Property>
        <Property name="label">合同客户编号</Property>
      </PropertyDef>
      <PropertyDef name="htkhmc">
        <Property></Property>
        <Property name="label">合同客户名称</Property>
      </PropertyDef>
      <PropertyDef name="htspdj">
        <Property></Property>
        <Property name="label">合同商品单价</Property>
      </PropertyDef>
      <PropertyDef name="htspsl">
        <Property name="dataType">Double</Property>
        <Property name="label">合同商品数量</Property>
        <Property name="displayFormat">#0.00</Property>
      </PropertyDef>
      <PropertyDef name="spbm">
        <Property></Property>
        <Property name="label">商品编码</Property>
      </PropertyDef>
      <PropertyDef name="zje">
        <Property name="dataType">Double</Property>
        <Property name="label">总金额</Property>
      </PropertyDef>
      <PropertyDef name="htqdr">
        <Property></Property>
        <Property name="label">合同签订人</Property>
      </PropertyDef>
      <PropertyDef name="htqdsj">
        <Property name="dataType">DateTime</Property>
        <Property name="label">合同签订时间</Property>
      </PropertyDef>
      <PropertyDef name="htsxrq">
        <Property name="dataType">Date</Property>
        <Property name="label">合同生效日期</Property>
      </PropertyDef>
      <PropertyDef name="htjzrq">
        <Property name="dataType">Date</Property>
        <Property name="label">合同截止时间</Property>
      </PropertyDef>
      <PropertyDef name="htcjr">
        <Property></Property>
        <Property name="label">合同创建人</Property>
      </PropertyDef>
      <PropertyDef name="htcjsj">
        <Property name="dataType">DateTime</Property>
        <Property name="label">合同创建时间</Property>
      </PropertyDef>
      <PropertyDef name="htdbgjlbz">
        <Property></Property>
        <Property name="label">合同的变更记录标志</Property>
      </PropertyDef>
      <PropertyDef name="htbgyy">
        <Property></Property>
        <Property name="label">合同变更原因</Property>
      </PropertyDef>
      <PropertyDef name="htgylx">
        <Property></Property>
        <Property name="label">合同供应类型</Property>
      </PropertyDef>
      <PropertyDef name="yhtbh">
        <Property></Property>
        <Property name="label">原合同编号</Property>
      </PropertyDef>
      <PropertyDef name="zffs">
        <Property></Property>
        <Property name="label">支付方式</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;JSFS&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="ywcsl">
        <Property name="dataType">Double</Property>
        <Property name="label">已完成数量</Property>
      </PropertyDef>
      <PropertyDef name="ywcslje">
        <Property></Property>
        <Property name="label">已完成数量金额</Property>
      </PropertyDef>
      <PropertyDef name="htbz">
        <Property></Property>
        <Property name="label">合同备注</Property>
      </PropertyDef>
      <PropertyDef name="xh">
        <Property></Property>
        <Property name="label">序号</Property>
        <Property name="dataType">Integer</Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <Property></Property>
        <Property name="label">是否有效</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <Property></Property>
        <Property name="label">备注</Property>
      </PropertyDef>
      <Reference name="htspqd">
        <Property name="parameter">$${this.htid}</Property>
        <Property name="dataProvider">whjlApi1207PR#listItem</Property>
        <Property name="dataType">[dtItem]</Property>
      </Reference>
    </DataType>
    <DataType name="dtItem">
      <Property name="creationType">com.fzzy.whjl.dto.WhjlQDItem</Property>
      <PropertyDef name="htspid">
        <Property></Property>
        <Property name="label">合同商品ID</Property>
      </PropertyDef>
      <PropertyDef name="htid">
        <Property></Property>
        <Property name="label">合同ID</Property>
      </PropertyDef>
      <PropertyDef name="ddid">
        <Property></Property>
        <Property name="label">订单ID</Property>
      </PropertyDef>
      <PropertyDef name="lspzbm">
        <Property></Property>
        <Property name="label">品种编号</Property>
      </PropertyDef>
      <PropertyDef name="lspzmc">
        <Property></Property>
        <Property name="label">品种名称</Property>
      </PropertyDef>
      <PropertyDef name="cpbh">
        <Property></Property>
        <Property name="label">产品编号</Property>
      </PropertyDef>
      <PropertyDef name="cpmc">
        <Property></Property>
        <Property name="label">产品名称</Property>
      </PropertyDef>
      <PropertyDef name="spsl">
        <Property></Property>
        <Property name="label">商品数量</Property>
        <Property name="dataType">Double</Property>
        <Property name="displayFormat">#0.00</Property>
      </PropertyDef>
      <PropertyDef name="spdj">
        <Property></Property>
        <Property name="label">商品单价</Property>
        <Property name="dataType">Double</Property>
        <Property name="displayFormat">#0.00</Property>
      </PropertyDef>
      <PropertyDef name="je">
        <Property></Property>
        <Property name="label">金额</Property>
        <Property name="dataType">Double</Property>
        <Property name="displayFormat">#0.00</Property>
      </PropertyDef>
      <PropertyDef name="ywcsl">
        <Property></Property>
        <Property name="label">已完成数量</Property>
        <Property name="dataType">Double</Property>
        <Property name="displayFormat">#0.00</Property>
      </PropertyDef>
      <PropertyDef name="ywcje">
        <Property></Property>
        <Property name="label">已完成金额</Property>
        <Property name="dataType">Double</Property>
        <Property name="displayFormat">#0.00</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <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">whjlApi1207PR#listData</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="htbh">
          <Property name="property">htbh</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="ssqymc">
          <Property name="property">ssqymc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="htlx">
          <Property name="property">htlx</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="htbt">
          <Property name="property">htbt</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="htkhmc">
          <Property name="property">htkhmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="zje">
          <Property name="property">zje</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="zffs">
          <Property name="property">zffs</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="ywcsl">
          <Property name="property">ywcsl</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="ywcslje">
          <Property name="property">ywcslje</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="htbz">
          <Property name="property">htbz</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="xh">
          <Property name="property">xh</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="sfyx">
          <Property name="property">sfyx</Property>
          <Property name="align">center</Property>
        </DataColumn>
      </DataGrid>
    </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">htlx</Property>
                <Property name="property">htlx</Property>
                <Property name="editorType">RadioGroup</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htid</Property>
                <Property name="property">htid</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">htbh</Property>
                <Property name="property">htbh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htbt</Property>
                <Property name="property">htbt</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jljgqybh</Property>
                <Property name="property">jljgqybh</Property>
                <Editor>
                  <TextEditor>
                    <Property name="blankText">----用于采购合同----</Property>
                  </TextEditor>
                </Editor>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jljgqymc</Property>
                <Property name="property">jljgqymc</Property>
                <Editor>
                  <TextEditor>
                    <Property name="blankText">----用于采购合同----</Property>
                  </TextEditor>
                </Editor>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htkhbh</Property>
                <Property name="property">htkhbh</Property>
                <Editor>
                  <TextEditor>
                    <Property name="blankText">----用于销售合同----</Property>
                  </TextEditor>
                </Editor>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htkhmc</Property>
                <Property name="property">htkhmc</Property>
                <Editor>
                  <TextEditor>
                    <Property name="blankText">----用于销售合同----</Property>
                  </TextEditor>
                </Editor>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htspdj</Property>
                <Property name="property">htspdj</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htspsl</Property>
                <Property name="property">htspsl</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">spbm</Property>
                <Property name="property">spbm</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zje</Property>
                <Property name="property">zje</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htqdr</Property>
                <Property name="property">htqdr</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htqdsj</Property>
                <Property name="property">htqdsj</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htsxrq</Property>
                <Property name="property">htsxrq</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htjzrq</Property>
                <Property name="property">htjzrq</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htcjr</Property>
                <Property name="property">htcjr</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htcjsj</Property>
                <Property name="property">htcjsj</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htdbgjlbz</Property>
                <Property name="property">htdbgjlbz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htbgyy</Property>
                <Property name="property">htbgyy</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htgylx</Property>
                <Property name="property">htgylx</Property>
                <Property name="trigger">listDropLX</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">yhtbh</Property>
                <Property name="property">yhtbh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zffs</Property>
                <Property name="property">zffs</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">ywcsl</Property>
                <Property name="property">ywcsl</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">ywcslje</Property>
                <Property name="property">ywcslje</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htbz</Property>
                <Property name="property">htbz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">xh</Property>
                <Property name="property">xh</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>
            </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;htspqd&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;
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>
                <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">#.htspqd</Property>
              <DataColumn name="htspid">
                <Property name="property">htspid</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="ddid">
                <Property name="property">ddid</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="lspzbm">
                <Property name="property">lspzbm</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="lspzmc">
                <Property name="property">lspzmc</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="cpbh">
                <Property name="property">cpbh</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="cpmc">
                <Property name="property">cpmc</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="spsl">
                <Property name="property">spsl</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="spdj">
                <Property name="property">spdj</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="je">
                <Property name="property">je</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="ywcsl">
                <Property name="property">ywcsl</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="ywcje">
                <Property name="property">ywcje</Property>
                <Property name="align">center</Property>
              </DataColumn>
              <DataColumn name="bz">
                <Property name="property">bz</Property>
                <Property name="align">center</Property>
              </DataColumn>
            </DataGrid>
          </Children>
          <Tools/>
        </Panel>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1207PR#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">whjlApi1207PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxItem">
      <Property name="confirmMessage">当前数据删除后无法恢复,请确认要删除么?</Property>
      <Property name="service">whjlApi1207PR#delItem</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1207PR#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="userData"></Property>
          </IFrame>
        </Container>
      </Children>
      <Tools/>
    </Dialog>
    <ListDropDown id="listDropYN">
      <Property name="items">是,否</Property>
    </ListDropDown>
    <ListDropDown id="listDropLX">
      <Property name="items">军粮供应合同,副食供应合同</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1107PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,64 @@
package com.fzzy.whjl.view.pr;
import com.bstek.dorado.annotation.DataProvider;
import com.bstek.dorado.annotation.DataResolver;
import com.bstek.dorado.annotation.Expose;
import com.fzzy.whjl.dto.WhjlApi1107;
import org.springframework.stereotype.Component;
import java.util.List;
/**
 * è´§ä½ä¿¡æ¯
 *
 * @Author:YAN
 */
@Component
public class WhjlApi1107PR {
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1107PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1107> listData() {
        return null;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1107PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public String saveData(WhjlApi1107 data) {
        return null;
    }
    /**
     * åˆ é™¤
     * whjlApi1107PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1107 data) {
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1107PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1107> items) {
        return null;
    }
}
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1111PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,64 @@
package com.fzzy.whjl.view.pr;
import com.bstek.dorado.annotation.DataProvider;
import com.bstek.dorado.annotation.DataResolver;
import com.bstek.dorado.annotation.Expose;
import com.fzzy.whjl.dto.WhjlApi1111;
import org.springframework.stereotype.Component;
import java.util.List;
/**
 * ä»“储设备信息
 *
 * @Author:YAN
 */
@Component
public class WhjlApi1111PR {
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1111PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1111> listData() {
        return null;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1111PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public String saveData(WhjlApi1111 data) {
        return null;
    }
    /**
     * åˆ é™¤
     * whjlApi1111PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1111 data) {
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1111PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1111> items) {
        return null;
    }
}
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1204PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,64 @@
package com.fzzy.whjl.view.pr;
import com.bstek.dorado.annotation.DataProvider;
import com.bstek.dorado.annotation.DataResolver;
import com.bstek.dorado.annotation.Expose;
import com.fzzy.whjl.dto.WhjlApi1204;
import org.springframework.stereotype.Component;
import java.util.List;
/**
 * å®¢æˆ·ä¿¡æ¯
 *
 * @Author:YAN
 */
@Component
public class WhjlApi1204PR {
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1204PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1204> listData() {
        return null;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1204PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public String saveData(WhjlApi1204 data) {
        return null;
    }
    /**
     * åˆ é™¤
     * whjlApi1204PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1204 data) {
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1204PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1204> items) {
        return null;
    }
}
src/main/java/com/fzzy/whjl/view/pr/WhjlApi1207PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,89 @@
package com.fzzy.whjl.view.pr;
import com.bstek.dorado.annotation.DataProvider;
import com.bstek.dorado.annotation.DataResolver;
import com.bstek.dorado.annotation.Expose;
import com.fzzy.whjl.dto.WhjlApi1207;
import com.fzzy.whjl.dto.WhjlQDItem;
import org.springframework.stereotype.Component;
import java.util.List;
/**
 * åˆåŒä¿¡æ¯
 *
 * @Author:YAN
 */
@Component
public class WhjlApi1207PR {
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1207PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1207> listData() {
        return null;
    }
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1207PR#listItem
     *
     * @return
     */
    @DataProvider
    public List<WhjlQDItem> listItem(String id) {
        return null;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1207PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public String saveData(WhjlApi1207 data) {
        return null;
    }
    /**
     * åˆ é™¤
     * whjlApi1207PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1207 data) {
        return null;
    }
    /**
     * åˆ é™¤åˆåŒå•†å“æ¸…单
     * whjlApi1207PR#delItem
     *
     * @param data
     * @return
     */
    @Expose
    public String delItem(WhjlQDItem data) {
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1207PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1207> items) {
        return null;
    }
}
src/main/resources/templates/home/home-whjl.html
@@ -163,7 +163,7 @@
                    </a>
                        <dl class="layui-nav-child">
                            <dd>
                                <a lay-href="com.fzzy.whjl.view.WhjlApi120.d">客户信息</a>
                                <a lay-href="com.fzzy.whjl.view.WhjlApi1204.d">客户信息</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.whjl.view.WhjlApi1207.d">合同信息</a>