czt
2025-08-01 8bbd45de678ccfd45b6d210320e80b59027ea773
src/main/java/com/fzzy/api/view/Api1403.view.xml
@@ -31,6 +31,12 @@
      <PropertyDef name="jhxddw">
        <Property name="label">计划下达单位</Property>
      </PropertyDef>
      <PropertyDef name="jhxddwtybm">
        <Property name="label">国家统一单位编码</Property>
      </PropertyDef>
      <PropertyDef name="jhxddwmc">
        <Property name="label">计划下达单位名称</Property>
      </PropertyDef>
      <PropertyDef name="jhxdsj">
        <Property name="label">计划下达时间</Property>
        <Property name="dataType">Date</Property>
@@ -60,6 +66,75 @@
      <PropertyDef name="syncTime">
        <Property name="dataType">Date</Property>
        <Property name="label">同步时间</Property>
      </PropertyDef>
      <PropertyDef name="manageWay">
        <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">1-直储</Property>
              </Entity>
              <Entity>
                <Property name="key">2</Property>
                <Property name="value">2-代储</Property>
              </Entity>
              <Entity>
                <Property name="key">3</Property>
                <Property name="value">3-租仓</Property>
              </Entity>
              <Entity>
                <Property name="key">4</Property>
                <Property name="value">4-委托</Property>
              </Entity>
            </Collection>
          </Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="rotationType">
        <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">1-静态轮换</Property>
              </Entity>
              <Entity>
                <Property name="key">2</Property>
                <Property name="value">2-动态轮换</Property>
              </Entity>
            </Collection>
          </Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="fileStorageId">
        <Property></Property>
        <Property name="label">文件存储ID</Property>
      </PropertyDef>
      <PropertyDef name="wjdz">
        <Property name="label">文件地址</Property>
      </PropertyDef>
      <PropertyDef name="fileName">
        <Property></Property>
        <Property name="label">文件名称</Property>
      </PropertyDef>
      <PropertyDef name="rotationInQty">
        <Property></Property>
        <Property name="dataType">Double</Property>
        <Property name="label">轮入数量</Property>
      </PropertyDef>
      <PropertyDef name="rotationOutQty">
        <Property></Property>
        <Property name="dataType">Double</Property>
        <Property name="label">轮出数量</Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtParam">
@@ -227,36 +302,46 @@
      <DataColumn>
        <Property name="property">jhmc</Property>
        <Property name="name">jhmc</Property>
        <Property name="align">center</Property>
        <Property name="width">500</Property>
      </DataColumn>
      <DataColumn>
        <Property name="property">jhwh</Property>
        <Property name="name">jhwh</Property>
        <Property name="align">center</Property>
      </DataColumn>
      <DataColumn>
        <Property name="property">jhnd</Property>
        <Property name="name">jhnd</Property>
        <Property name="align">center</Property>
      </DataColumn>
      <DataColumn>
        <Property name="property">kszxrq</Property>
        <Property name="name">kszxrq</Property>
        <Property name="align">center</Property>
      </DataColumn>
      <DataColumn>
        <Property name="property">jzzxrq</Property>
        <Property name="name">jzzxrq</Property>
        <Property name="align">center</Property>
      </DataColumn>
      <DataColumn>
        <Property name="property">jhxddw</Property>
        <Property name="name">jhxddw</Property>
        <Property name="align">center</Property>
      </DataColumn>
      <DataColumn>
        <Property name="property">jhxdsj</Property>
        <Property name="name">jhxdsj</Property>
        <Property name="align">center</Property>
      </DataColumn>
      <DataColumn name="czbz">
        <Property name="property">czbz</Property>
        <Property name="align">center</Property>
      </DataColumn>
      <DataColumn name="zhgxsj">
        <Property name="property">zhgxsj</Property>
        <Property name="align">center</Property>
      </DataColumn>
    </DataGrid>
    <ToolBar layoutConstraint="bottom">
@@ -282,6 +367,12 @@
          <Property name="exClassName">toolbar-button</Property>
        </Button>
        <Button>
          <Property name="caption">上传文件</Property>
          <Property name="iconClass">fa fa-upload</Property>
          <Property name="exClassName">toolbar-button-warm</Property>
          <Property name="action">uploadAction</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>
@@ -291,74 +382,139 @@
        </Button>
      </Buttons>
      <Children>
        <AutoForm>
          <Property name="dataSet">dsMain</Property>
          <Property name="cols">*,*,*</Property>
          <Property name="labelWidth">100</Property>
          <Property name="labelAlign">left</Property>
          <Property name="labelSeparator">:</Property>
          <Property name="labelPosition">top</Property>
          <AutoFormElement>
            <Property name="name">lhjhdh</Property>
            <Property name="property">lhjhdh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jhwh</Property>
            <Property name="property">jhwh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jhmc</Property>
            <Property name="property">jhmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jhnd</Property>
            <Property name="property">jhnd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">kszxrq</Property>
            <Property name="property">kszxrq</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jzzxrq</Property>
            <Property name="property">jzzxrq</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jhxddw</Property>
            <Property name="property">jhxddw</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jhxdsj</Property>
            <Property name="property">jhxdsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">czbz</Property>
            <Property name="property">czbz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zhgxsj</Property>
            <Property name="property">zhgxsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bizId</Property>
            <Property name="property">bizId</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">kqdm</Property>
            <Property name="property">kqdm</Property>
            <Editor/>
          </AutoFormElement>
        </AutoForm>
        <GroupBox>
          <Property name="caption">基础信息</Property>
          <Buttons/>
          <Children>
            <AutoForm>
              <Property name="dataSet">dsMain</Property>
              <Property name="cols">*,*,*</Property>
              <Property name="labelWidth">100</Property>
              <Property name="labelAlign">left</Property>
              <Property name="labelSeparator">:</Property>
              <Property name="labelPosition">top</Property>
              <AutoFormElement>
                <Property name="name">lhjhdh</Property>
                <Property name="property">lhjhdh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jhwh</Property>
                <Property name="property">jhwh</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jhmc</Property>
                <Property name="property">jhmc</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jhnd</Property>
                <Property name="property">jhnd</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">kszxrq</Property>
                <Property name="property">kszxrq</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jzzxrq</Property>
                <Property name="property">jzzxrq</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jhxddw</Property>
                <Property name="property">jhxddw</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jhxddwtybm</Property>
                <Property name="property">jhxddwtybm</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jhxddwmc</Property>
                <Property name="property">jhxddwmc</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">jhxdsj</Property>
                <Property name="property">jhxdsj</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">czbz</Property>
                <Property name="property">czbz</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">zhgxsj</Property>
                <Property name="property">zhgxsj</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">bizId</Property>
                <Property name="property">bizId</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">kqdm</Property>
                <Property name="property">kqdm</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">wjdz</Property>
                <Property name="property">wjdz</Property>
                <Editor/>
              </AutoFormElement>
            </AutoForm>
          </Children>
        </GroupBox>
        <GroupBox>
          <Property name="caption">广东省平台</Property>
          <Buttons/>
          <Children>
            <AutoForm>
              <Property name="dataSet">dsMain</Property>
              <Property name="cols">*,*,*</Property>
              <Property name="labelWidth">100</Property>
              <Property name="labelAlign">left</Property>
              <Property name="labelSeparator">:</Property>
              <Property name="labelPosition">top</Property>
              <AutoFormElement>
                <Property name="name">manageWay</Property>
                <Property name="property">manageWay</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">rotationType</Property>
                <Property name="property">rotationType</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">fileStorageId</Property>
                <Property name="property">fileStorageId</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">fileName</Property>
                <Property name="property">fileName</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">rotationInQty</Property>
                <Property name="property">rotationInQty</Property>
                <Editor/>
              </AutoFormElement>
              <AutoFormElement>
                <Property name="name">rotationOutQty</Property>
                <Property name="property">rotationOutQty</Property>
                <Editor/>
              </AutoFormElement>
            </AutoForm>
          </Children>
        </GroupBox>
      </Children>
      <Tools/>
    </Dialog>
@@ -381,5 +537,13 @@
      <Property name="service">api1403PR#delUpdate</Property>
      <Property name="confirmMessage">确定要将数据标记为删除么?</Property>
    </AjaxAction>
    <UploadAction id="uploadAction">
      <ClientEvent name="onFileUploaded">var returnValue = arg.returnValue;//获取FileResolver方法返回的信息&amp;#xD;&#xD;
        &#xD;
        var cur = view.get(&quot;#dsMain.data:#&quot;);&#xD;
        cur.set(&quot;wjdz&quot;,returnValue);</ClientEvent>
      <Property name="fileResolver">uploadProcessor#uploadFile</Property>
      <Filters/>
    </UploadAction>
  </View>
</ViewConfig>