YYC
2023-07-28 92c29136e298a2b6023f701082c24229733d6768
igds-inout/src/main/java/com/ld/igds/m/view/PlanManage.view.xml
@@ -68,12 +68,12 @@
        <Property name="label">备注说明</Property>
      </PropertyDef>
      <PropertyDef name="jhxddw">
        <Property/>
        <Property></Property>
        <Property name="label">计划下达单位</Property>
        <Property name="required">true</Property>
      </PropertyDef>
      <PropertyDef name="jhxddwmc">
        <Property/>
        <Property></Property>
        <Property name="label">计划下达单位名称</Property>
      </PropertyDef>
      <PropertyDef name="jhxdsj">
@@ -244,26 +244,26 @@
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var data = view.get(&quot;#dsMain.data:#&quot;);&#xD;
          if(data){&#xD;
          view.get(&quot;#dialogMain&quot;).show();&#xD;
          }</ClientEvent>
if(data){&#xD;
   view.get(&quot;#dialogMain&quot;).show();&#xD;
}</ClientEvent>
        <Property name="caption">调整</Property>
        <Property name="exClassName">btn-warm</Property>
        <Property name="iconClass">fa fa-pencil</Property>
      </Button>
      <Button layoutConstraint="left">
        <ClientEvent name="onClick">var data = view.get(&quot;#dsMain.data:#&quot;);&#xD;
          if(!data){&#xD;
          return;&#xD;
          }&#xD;
          view.get(&quot;#ajaxDel&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>
if(!data){&#xD;
  return;&#xD;
}&#xD;
view.get(&quot;#ajaxDel&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>
@@ -274,7 +274,7 @@
      <AutoForm>
        <Property name="cols">*,*,*,*,*</Property>
        <Property name="dataSet">dsParam</Property>
        <Property name="labelAlign">right</Property>
        <Property name="labelAlign">left</Property>
        <Property name="labelSeparator">:</Property>
        <Property name="labelWidth">100</Property>
        <AutoFormElement>
@@ -322,9 +322,9 @@
      </AutoForm>
      <DataGrid layoutConstraint="center padding:5px">
        <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsMain.data:#&quot;);&#xD;
          if(data){&#xD;
          view.get(&quot;#dialogMain&quot;).show();&#xD;
          }</ClientEvent>
if(data){&#xD;
   view.get(&quot;#dialogMain&quot;).show();&#xD;
}</ClientEvent>
        <Property name="dataSet">dsMain</Property>
        <Property name="readOnly">true</Property>
        <RowNumColumn/>
@@ -398,7 +398,7 @@
        </Button>
        <Button>
          <ClientEvent name="onClick">view.get(&quot;#dsMain.data:#&quot;).cancel();&#xD;
            self.get(&quot;parent&quot;).hide();</ClientEvent>
self.get(&quot;parent&quot;).hide();</ClientEvent>
          <Property name="caption">取消</Property>
          <Property name="iconClass">fa fa-times-circle</Property>
          <Property name="width">90</Property>
@@ -533,17 +533,17 @@
                  </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;#ajaxDelDetail&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>
if(!data){&#xD;
 return;&#xD;
}&#xD;
view.get(&quot;#ajaxDelDetail&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>