| | |
| | | </Label> |
| | | <Button layoutConstraint="left"> |
| | | <ClientEvent name="onClick">view.get("#dsMain").insert();
 |
| | | view.get("#dialogMain").show();</ClientEvent> |
| | | view.get("#dialogMain").show();
 |
| | | view.get("#oneId").set("readOnly",false);</ClientEvent> |
| | | <Property name="caption">新增</Property> |
| | | <Property name="exClassName">btn-normal</Property> |
| | | <Property name="iconClass">fa fa-plus</Property> |
| | |
| | | <Container layoutConstraint="center"> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <DataGrid id="dgMain"> |
| | | <ClientEvent name="onDataRowDoubleClick" signature="self,arg,depotdialog,oneId">depotdialog.show();
 |
| | | oneId.set("readOnly",true);
 |
| | | view.get("#storageReal").set("readOnly",true);</ClientEvent> |
| | | <ClientEvent name="onDataRowDoubleClick" signature="self,arg,depotdialog,oneId">var dialog= view.get("#dialogMain");
 |
| | | dialog.show();
 |
| | | oneId.set("readOnly",true);</ClientEvent> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <RowNumColumn/> |
| | |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelWidth">120</Property> |
| | | <AutoFormElement> |
| | | <AutoFormElement id="oneId"> |
| | | <Property name="name">id</Property> |
| | | <Property name="property">id</Property> |
| | | <Property name="readOnly">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">gbm</Property> |
| | | <Property name="property">gbm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">storage</Property> |
| | | <Property name="property">storage</Property> |
| | | <Editor/> |
| | | <Property name="name">storage</Property> |
| | | <Property name="property">storage</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">height</Property> |