| | |
| | | <Property></Property> |
| | | <Property name="label">电缆类型</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="depotType"> |
| | | <Property></Property> |
| | | <Property name="label">仓库类型</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerPR#listDepotType").getResult()}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bhId"> |
| | | <Property></Property> |
| | | <Property name="label">分机内部仓库编码</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtParam" parent="Map"> |
| | | <PropertyDef name="start"> |
| | |
| | | <Property name="exClassName">toolbar-button-push</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var data = view.get("#dsMain.data:#");
 |
| | | var param = {
 |
| | | deviceId:data.get("deviceId"),
 |
| | | bizType:"testGrain"
 |
| | | }
 |
| | | testDevice(param);</ClientEvent> |
| | | <ClientEvent name="onClick">$confirm("确认测试粮情?",function(){
 |
| | | var data = view.get("#dsMain.data:#");
 |
| | | var param = {
 |
| | | deviceId:data.get("deviceId"),
 |
| | | bizType:"testGrain"
 |
| | | }
 |
| | | testDevice(param);
 |
| | | });
 |
| | | </ClientEvent> |
| | | <Property name="caption">粮情调试</Property> |
| | | <Property name="iconClass">fa fa-wrench</Property> |
| | | <Property name="exClassName">toolbar-button-push</Property> |
| | |
| | | <Property name="property">position</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <AutoFormElement> |
| | | <Property name="name">bhId</Property> |
| | | <Property name="property">bhId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:1"> |
| | | <Property name="name">remark</Property> |
| | | <Property name="property">remark</Property> |
| | | <Editor/> |
| | |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">depotType</Property> |
| | | <Property name="property">depotType</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cableRule</Property> |
| | | <Property name="property">cableRule</Property> |
| | | <Editor/> |