czt
2 天以前 9f6dacf7b39e5aeba37d8faf575c9e56d8cbe51a
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1206.view.xml
@@ -28,11 +28,6 @@
      <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>
@@ -59,13 +54,12 @@
        <Property name="label">合同客户名称</Property>
      </PropertyDef>
      <PropertyDef name="htspdj">
        <Property></Property>
        <Property name="dataType">Double</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>
@@ -75,7 +69,7 @@
        <Property name="dataType">Double</Property>
        <Property name="label">总金额</Property>
      </PropertyDef>
      <PropertyDef name="htqdr">
      <PropertyDef name="hrqdr">
        <Property></Property>
        <Property name="label">合同签订人</Property>
      </PropertyDef>
@@ -89,7 +83,7 @@
      </PropertyDef>
      <PropertyDef name="htjzrq">
        <Property name="dataType">Date</Property>
        <Property name="label">合同截止时间</Property>
        <Property name="label">合同截止日期</Property>
      </PropertyDef>
      <PropertyDef name="htcjr">
        <Property></Property>
@@ -118,28 +112,26 @@
      <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="dataType">Double</Property>
        <Property name="label">已完成数量金额</Property>
      </PropertyDef>
      <PropertyDef name="htbz">
        <Property></Property>
        <Property name="label">合同备注</Property>
      </PropertyDef>
      <PropertyDef name="xh">
      <PropertyDef name="htzt">
        <Property></Property>
        <Property name="label">序号</Property>
        <Property name="label">合同状态</Property>
      </PropertyDef>
      <PropertyDef name="xh">
        <Property name="dataType">Integer</Property>
        <Property name="label">序号</Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <Property></Property>
@@ -170,11 +162,11 @@
        <Property></Property>
        <Property name="label">库区代码</Property>
      </PropertyDef>
      <Reference name="htspqd">
        <Property name="parameter">$${this.htid}</Property>
        <Property name="dataProvider">whjlApi1206PR#listItem</Property>
      <PropertyDef name="htspqd">
        <Property></Property>
        <Property name="label">合同商品清单</Property>
        <Property name="dataType">[dtItem]</Property>
      </Reference>
      </PropertyDef>
    </DataType>
    <DataType name="dtItem">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlQDItem</Property>
@@ -247,6 +239,7 @@
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1206PR#listData</Property>
      <Property name="pageSize">20</Property>
    </DataSet>
    <Container layout="regionPadding:10" layoutConstraint="top">
      <Property name="exClassName">bg-color</Property>
@@ -387,11 +380,18 @@
        </DataColumn>
      </DataGrid>
    </Container>
    <Container layoutConstraint="bottom">
      <Property name="exClassName">bg-color</Property>
      <DataPilot layoutConstraint="right">
        <Property name="dataSet">dsMain</Property>
        <Property name="itemCodes">pageSize,pages</Property>
      </DataPilot>
    </Container>
    <Dialog id="dialogMain" layout="regionPadding:10;padding:5">
      <Property name="width">85%</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">客户信息</Property>
      <Property name="caption">合同信息</Property>
      <Property name="height">85%</Property>
      <Buttons>
        <Button>
@@ -423,12 +423,6 @@
              <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/>
@@ -454,6 +448,11 @@
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htlx</Property>
                <Property name="property">htlx</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htbh</Property>
                <Property name="property">htbh</Property>
                <Editor/>
@@ -466,38 +465,22 @@
              <AutoFormElement>
                <Property name="name">jljgqybh</Property>
                <Property name="property">jljgqybh</Property>
                <Editor>
                  <TextEditor>
                    <Property name="blankText">----用于采购合同----</Property>
                  </TextEditor>
                </Editor>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jljgqymc</Property>
                <Property name="property">jljgqymc</Property>
                <Editor>
                  <TextEditor>
                    <Property name="blankText">----用于采购合同----</Property>
                  </TextEditor>
                </Editor>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htkhbh</Property>
                <Property name="property">htkhbh</Property>
                <Editor>
                  <TextEditor>
                    <Property name="blankText">----用于销售合同----</Property>
                  </TextEditor>
                </Editor>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htkhmc</Property>
                <Property name="property">htkhmc</Property>
                <Editor>
                  <TextEditor>
                    <Property name="blankText">----用于销售合同----</Property>
                  </TextEditor>
                </Editor>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htspdj</Property>
@@ -520,8 +503,8 @@
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htqdr</Property>
                <Property name="property">htqdr</Property>
                <Property name="name">hrqdr</Property>
                <Property name="property">hrqdr</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
@@ -562,7 +545,6 @@
              <AutoFormElement>
                <Property name="name">htgylx</Property>
                <Property name="property">htgylx</Property>
                <Property name="trigger">listDropLX</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
@@ -588,6 +570,11 @@
              <AutoFormElement>
                <Property name="name">htbz</Property>
                <Property name="property">htbz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">htzt</Property>
                <Property name="property">htzt</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
@@ -649,14 +636,7 @@
if(!data){&#xD;
 return;&#xD;
}&#xD;
view.get(&quot;#ajaxItem&quot;).set(&quot;parameter&quot;,data).execute(function(result){&#xD;
   if(result){&#xD;
        $alert(result);&#xD;
        return;&#xD;
    }else{&#xD;
        data.remove();&#xD;
    }&#xD;
});</ClientEvent>
data.remove();</ClientEvent>
                <Property name="caption">删除</Property>
                <Property name="exClassName">btn-warn</Property>
                <Property name="iconClass">fa fa-minus</Property>