| | |
| | | <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"> |
| | |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <ClientEvent name="onClick">var data = view.get("#dsMain.data:#");
 |
| | | if(data){
 |
| | | view.get("#dialogMain").show();
 |
| | | }</ClientEvent> |
| | | if(data){
 |
| | | view.get("#dialogMain").show();
 |
| | | }</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("#dsMain.data:#");
 |
| | | if(!data){
 |
| | | return;
 |
| | | }
 |
| | | view.get("#ajaxDel").set("parameter",data).execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | return;
 |
| | | }else{
 |
| | | data.remove();
 |
| | | }
 |
| | | });</ClientEvent> |
| | | if(!data){
 |
| | | return;
 |
| | | }
 |
| | | view.get("#ajaxDel").set("parameter",data).execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | return;
 |
| | | }else{
 |
| | | data.remove();
 |
| | | }
 |
| | | });</ClientEvent> |
| | | <Property name="caption">删除</Property> |
| | | <Property name="exClassName">btn-warn</Property> |
| | | <Property name="iconClass">fa fa-minus</Property> |
| | |
| | | <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> |
| | |
| | | </AutoForm> |
| | | <DataGrid layoutConstraint="center padding:5px"> |
| | | <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsMain.data:#");
 |
| | | if(data){
 |
| | | view.get("#dialogMain").show();
 |
| | | }</ClientEvent> |
| | | if(data){
 |
| | | view.get("#dialogMain").show();
 |
| | | }</ClientEvent> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <RowNumColumn/> |
| | |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">view.get("#dsMain.data:#").cancel();
 |
| | | self.get("parent").hide();</ClientEvent> |
| | | self.get("parent").hide();</ClientEvent> |
| | | <Property name="caption">取消</Property> |
| | | <Property name="iconClass">fa fa-times-circle</Property> |
| | | <Property name="width">90</Property> |
| | |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <ClientEvent name="onClick">var data = view.get("#dataGridDetail.currentEntity");
 |
| | | if(!data){
 |
| | | return;
 |
| | | }
 |
| | | view.get("#ajaxDelDetail").set("parameter",data).execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | return;
 |
| | | }else{
 |
| | | data.remove();
 |
| | | }
 |
| | | });</ClientEvent> |
| | | if(!data){
 |
| | | return;
 |
| | | }
 |
| | | view.get("#ajaxDelDetail").set("parameter",data).execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | return;
 |
| | | }else{
 |
| | | data.remove();
 |
| | | }
 |
| | | });</ClientEvent> |
| | | <Property name="caption">删除</Property> |
| | | <Property name="exClassName">btn-warn</Property> |
| | | <Property name="iconClass">fa fa-minus</Property> |