czt
昨天 9f6dacf7b39e5aeba37d8faf575c9e56d8cbe51a
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1207.view.xml
@@ -5,9 +5,9 @@
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1207</Property>
      <PropertyDef name="htid">
      <PropertyDef name="kctzbh">
        <Property></Property>
        <Property name="label">合同ID</Property>
        <Property name="label">库存台帐ID</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property></Property>
@@ -25,125 +25,177 @@
        <Property></Property>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="htlx">
      <PropertyDef name="cfbh">
        <Property></Property>
        <Property name="label">合同类型</Property>
        <Property name="label">仓房编号</Property>
      </PropertyDef>
      <PropertyDef name="cfmc">
        <Property></Property>
        <Property name="label">仓房名称</Property>
      </PropertyDef>
      <PropertyDef name="ajbh">
        <Property></Property>
        <Property name="label">廒间编号</Property>
      </PropertyDef>
      <PropertyDef name="ajmc">
        <Property></Property>
        <Property name="label">廒间名称</Property>
      </PropertyDef>
      <PropertyDef name="hwbh">
        <Property></Property>
        <Property name="label">货位编号</Property>
      </PropertyDef>
      <PropertyDef name="hwmc">
        <Property></Property>
        <Property name="label">货位名称</Property>
      </PropertyDef>
      <PropertyDef name="lspzbm">
        <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 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">9</Property>
                <Property name="value">奶</Property>
              </Entity>
            </Collection>
          </Property>
          <Property name="keyProperty">key</Property>
          <Property name="valueProperty">value</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="htbh">
      <PropertyDef name="lspzmc">
        <Property></Property>
        <Property name="label">合同编号</Property>
        <Property name="label">品种名称</Property>
      </PropertyDef>
      <PropertyDef name="htbt">
      <PropertyDef name="cpbh">
        <Property></Property>
        <Property name="label">合同标题</Property>
        <Property name="label">产品编号</Property>
      </PropertyDef>
      <PropertyDef name="jljgqybh">
      <PropertyDef name="cpmc">
        <Property></Property>
        <Property name="label">加工企业编号</Property>
        <Property name="label">产品名称</Property>
      </PropertyDef>
      <PropertyDef name="jljgqymc">
      <PropertyDef name="lqdw">
        <Property></Property>
        <Property name="label">加工企业名称</Property>
        <Property name="label">粮权单位</Property>
      </PropertyDef>
      <PropertyDef name="htkhbh">
      <PropertyDef name="bgms">
        <Property></Property>
        <Property name="label">合同客户编号</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">
      <PropertyDef name="sjsl">
        <Property name="dataType">Double</Property>
        <Property name="label">合同商品数量</Property>
        <Property name="displayFormat">#0.00</Property>
        <Property name="label">实际数量</Property>
      </PropertyDef>
      <PropertyDef name="spbm">
      <PropertyDef name="jldwbm">
        <Property></Property>
        <Property name="label">商品编码</Property>
        <Property name="label">计量单位编码</Property>
      </PropertyDef>
      <PropertyDef name="zje">
        <Property name="dataType">Double</Property>
        <Property name="label">总金额</Property>
      </PropertyDef>
      <PropertyDef name="htqdr">
      <PropertyDef name="jldwmc">
        <Property></Property>
        <Property name="label">合同签订人</Property>
        <Property name="label">计量单位名称</Property>
      </PropertyDef>
      <PropertyDef name="htqdsj">
        <Property name="dataType">DateTime</Property>
        <Property name="label">合同签订时间</Property>
      <PropertyDef name="jsdwbm">
        <Property></Property>
        <Property name="label">计数单位编码</Property>
      </PropertyDef>
      <PropertyDef name="htsxrq">
      <PropertyDef name="jsdwmc">
        <Property></Property>
        <Property name="label">计数单位名称</Property>
      </PropertyDef>
      <PropertyDef name="clfs">
        <Property></Property>
        <Property name="label">储粮方式</Property>
      </PropertyDef>
      <PropertyDef name="kcsbm">
        <Property></Property>
        <Property name="label">库存识别码</Property>
      </PropertyDef>
      <PropertyDef name="jkrq">
        <Property name="dataType">Date</Property>
        <Property name="label">合同生效日期</Property>
        <Property name="label">建卡日期</Property>
      </PropertyDef>
      <PropertyDef name="htjzrq">
        <Property name="dataType">Date</Property>
        <Property name="label">合同截止时间</Property>
      </PropertyDef>
      <PropertyDef name="htcjr">
      <PropertyDef name="sfgd">
        <Property></Property>
        <Property name="label">合同创建人</Property>
        <Property name="label">是否归档</Property>
      </PropertyDef>
      <PropertyDef name="htcjsj">
      <PropertyDef name="gdsj">
        <Property name="dataType">DateTime</Property>
        <Property name="label">合同创建时间</Property>
        <Property name="label">归档时间</Property>
      </PropertyDef>
      <PropertyDef name="htdbgjlbz">
      <PropertyDef name="kczt">
        <Property></Property>
        <Property name="label">合同的变更记录标志</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">
      <PropertyDef name="rksl">
        <Property name="dataType">Double</Property>
        <Property name="label">已完成数量</Property>
        <Property name="label">入库数量</Property>
      </PropertyDef>
      <PropertyDef name="ywcslje">
        <Property></Property>
        <Property name="label">已完成数量金额</Property>
      <PropertyDef name="cksl">
        <Property name="dataType">Double</Property>
        <Property name="label">出库数量</Property>
      </PropertyDef>
      <PropertyDef name="htbz">
        <Property></Property>
        <Property name="label">合同备注</Property>
      <PropertyDef name="kcsl">
        <Property name="dataType">Double</Property>
        <Property name="label">库存数量</Property>
      </PropertyDef>
      <PropertyDef name="xh">
        <Property></Property>
        <Property name="label">序号</Property>
        <Property name="dataType">Integer</Property>
      <PropertyDef name="rkzl">
        <Property name="dataType">Double</Property>
        <Property name="label">入库重量</Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <Property></Property>
        <Property name="label">是否有效</Property>
      <PropertyDef name="ckzl">
        <Property name="dataType">Double</Property>
        <Property name="label">出库重量</Property>
      </PropertyDef>
      <PropertyDef name="kczl">
        <Property name="dataType">Double</Property>
        <Property name="label">库存重量</Property>
      </PropertyDef>
      <PropertyDef name="ztsl">
        <Property name="dataType">Double</Property>
        <Property name="label">在途数量</Property>
      </PropertyDef>
      <PropertyDef name="ztzl">
        <Property name="dataType">Double</Property>
        <Property name="label">在途重量</Property>
      </PropertyDef>
      <PropertyDef name="zssl">
        <Property name="dataType">Double</Property>
        <Property name="label">在售数量</Property>
      </PropertyDef>
      <PropertyDef name="zszl">
        <Property name="dataType">Double</Property>
        <Property name="label">在售重量</Property>
      </PropertyDef>
      <PropertyDef name="sxh">
        <Property name="dataType">int</Property>
        <Property name="label">顺序号</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <Property></Property>
@@ -154,8 +206,8 @@
        <Property name="label">业务ID</Property>
      </PropertyDef>
      <PropertyDef name="updateTime">
        <Property name="dataType">Date</Property>
        <Property name="label">更新时间</Property>
        <Property name="dataType">DateTime</Property>
        <Property name="label">最后更新时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property></Property>
@@ -170,76 +222,6 @@
        <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.otherview.whhpjl.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">
@@ -247,6 +229,7 @@
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1207PR#listData</Property>
      <Property name="pageSize">20</Property>
    </DataSet>
    <Container layout="regionPadding:10" layoutConstraint="top">
      <Property name="exClassName">bg-color</Property>
@@ -333,66 +316,65 @@
        <RowSelectorColumn>
          <Property name="caption">上传</Property>
        </RowSelectorColumn>
        <DataColumn name="htbh">
          <Property name="property">htbh</Property>
          <Property name="align">center</Property>
        <DataColumn name="kctzbh">
          <Property name="property">kctzbh</Property>
        </DataColumn>
        <DataColumn name="jlqybh">
          <Property name="property">jlqybh</Property>
        </DataColumn>
        <DataColumn name="ssqymc">
          <Property name="property">ssqymc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jgzdbh">
          <Property name="property">jgzdbh</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 name="cfbh">
          <Property name="property">cfbh</Property>
        </DataColumn>
        <DataColumn name="htbt">
          <Property name="property">htbt</Property>
          <Property name="align">center</Property>
        <DataColumn name="jldwmc">
          <Property name="property">jldwmc</Property>
        </DataColumn>
        <DataColumn name="htkhmc">
          <Property name="property">htkhmc</Property>
          <Property name="align">center</Property>
        <DataColumn name="jsdwmc">
          <Property name="property">jsdwmc</Property>
        </DataColumn>
        <DataColumn name="zje">
          <Property name="property">zje</Property>
          <Property name="align">center</Property>
        <DataColumn name="clfs">
          <Property name="property">clfs</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 name="czbz">
          <Property name="property">czbz</Property>
        </DataColumn>
      </DataGrid>
    </Container>
    <Dialog id="dialogMain" layout="regionPadding:10;padding:5">
      <Property name="width">85%</Property>
    <Container layoutConstraint="bottom">
      <Property name="exClassName">bg-color</Property>
      <DataPilot layoutConstraint="right">
        <Property name="dataSet">dsMain</Property>
        <Property name="itemCodes">pageSize,pages</Property>
      </DataPilot>
    </Container>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">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="ajaxPush">
      <Property name="service">whjlApi1207PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogMain">
      <Property name="width">80%</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">客户信息</Property>
      <Property name="height">85%</Property>
      <Property name="caption">库存台账</Property>
      <Property name="height">80%</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
@@ -412,332 +394,236 @@
        </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>
              <AutoFormElement>
                <Property name="name">bizId</Property>
                <Property name="property">bizId</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">updateTime</Property>
                <Property name="property">updateTime</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">czbz</Property>
                <Property name="property">czbz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">kqdm</Property>
                <Property name="property">kqdm</Property>
                <Editor/>
              </AutoFormElement>
            </AutoForm>
          </Children>
        </FieldSet>
        <Panel layout="regionPadding:5">
          <Property name="caption">合同商品清单</Property>
          <Property name="height">400</Property>
          <Buttons/>
          <Children>
            <Container layout="regionPadding:10">
              <Label layoutConstraint="left">
                <Property name="text">菜单栏:</Property>
              </Label>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var list = view.get(&quot;#dsMain.data:#&quot;).get(&quot;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>
        <AutoForm>
          <Property name="dataSet">dsMain</Property>
          <Property name="cols">*,*,*,*</Property>
          <Property name="labelPosition">top</Property>
          <Property name="labelSeparator">:</Property>
          <Property name="labelWidth">120</Property>
          <AutoFormElement>
            <Property name="name">kctzbh</Property>
            <Property name="property">kctzbh</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">cfbh</Property>
            <Property name="property">cfbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cfmc</Property>
            <Property name="property">cfmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajbh</Property>
            <Property name="property">ajbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajmc</Property>
            <Property name="property">ajmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">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">lspzbm</Property>
            <Property name="property">lspzbm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lspzmc</Property>
            <Property name="property">lspzmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cpbh</Property>
            <Property name="property">cpbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cpmc</Property>
            <Property name="property">cpmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lqdw</Property>
            <Property name="property">lqdw</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bgms</Property>
            <Property name="property">bgms</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sjsl</Property>
            <Property name="property">sjsl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jldwbm</Property>
            <Property name="property">jldwbm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jldwmc</Property>
            <Property name="property">jldwmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jsdwbm</Property>
            <Property name="property">jsdwbm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jsdwmc</Property>
            <Property name="property">jsdwmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">clfs</Property>
            <Property name="property">clfs</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">kcsbm</Property>
            <Property name="property">kcsbm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jkrq</Property>
            <Property name="property">jkrq</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfgd</Property>
            <Property name="property">sfgd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">gdsj</Property>
            <Property name="property">gdsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">kczt</Property>
            <Property name="property">kczt</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">rksl</Property>
            <Property name="property">rksl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cksl</Property>
            <Property name="property">cksl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">kcsl</Property>
            <Property name="property">kcsl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">rkzl</Property>
            <Property name="property">rkzl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ckzl</Property>
            <Property name="property">ckzl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">kczl</Property>
            <Property name="property">kczl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ztsl</Property>
            <Property name="property">ztsl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ztzl</Property>
            <Property name="property">ztzl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zssl</Property>
            <Property name="property">zssl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zszl</Property>
            <Property name="property">zszl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sxh</Property>
            <Property name="property">sxh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bz</Property>
            <Property name="property">bz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bizId</Property>
            <Property name="property">bizId</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">updateTime</Property>
            <Property name="property">updateTime</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">czbz</Property>
            <Property name="property">czbz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">kqdm</Property>
            <Property name="property">kqdm</Property>
            <Editor/>
          </AutoFormElement>
        </AutoForm>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">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>
@@ -770,5 +656,11 @@
    <ListDropDown id="listDropLX">
      <Property name="items">军粮供应合同,副食供应合同</Property>
    </ListDropDown>
    <ListDropDown id="listDropFS">
      <Property name="items">直储,代储</Property>
    </ListDropDown>
    <ListDropDown id="listDropZT">
      <Property name="items">启用,停用</Property>
    </ListDropDown>
  </View>
</ViewConfig>