目标仓库 ${dorado.getDataProvider("depotPR#getAllCache").getResult()} id name 设备类型 ${dorado.getDataProvider("dicTriggerPR#dicTrigger").getResult("DEVICE_TYPE")} code name 所属分机 ${dorado.getDataProvider("deviceSerPR#getAllSerCache").getResult()} id name view.get("#dataSetC").insert(); openModbusDevice = function(){ view.get("#dialogModbus").show(); } font-awesome,css-common devicePR#loadDeviceByContion 20 lazy [dtDevice] dataTypeC *,*,*,*,* 100 bg-color dataSetC depotId depotId autoOpenMappingDropDown2 serId serId autoOpenMappingDropDown2 type type autoOpenMappingDropDown2 view.get("#actionDeviceUpdate").execute(); dsDevice true passCode center name typeName center typeName depotId center location center location link 风机编码 center serId center remark center arg.dom.innerHTML ="<a href='javascripe:;' onclick='openModbusDevice()'>Modbus配置</a>"; arg.progressDefault = false; id id 100 操作 dsDevice pageSize,pages view.id("dsDevice").getData().cancel(); 编辑页面 800 dsDevice *,* 100 depotId depotId autoOpenMappingDropDown1 serId serId autoOpenMappingDropDown1 name name type type autoOpenMappingDropDown1 passCode passCode location location link link 关联风机 status status autoOpenMappingDropDown1 power power remark remark TextArea var entity = view.get("#dataSetC.data"); view.get("#dsDevice").set("parameter",entity).flushAsync(); dorado.MessageBox.alert(arg.error,{ title: '系统提示信息' }); arg.processDefault = false; alt+q var dialog=view.get("#dialogDevice"); var visible=dialog.get("actualVisible"); if(!visible){ view.get("#dsDevice").insert(); dialog.set("caption","新增设备"); dialog.show(); } var entity = view.id("dsDevice").getData("#"); var dialog=view.get("#dialogDevice"); var visible = dialog.get("actualVisible"); if(!visible){ dialog.set("caption","修改设备"); if(entity){ dialog.show(); }else{ dorado.MessageBox.alert("当前无可编辑数据!"); } } view.get("^isKey").each(function(item){ item.set("readOnly",true); }); var dialog=view.get("#dialogDevice"); var visible = dialog.get("actualVisible"); var dsDevice=view.get("#dsDevice"); var actionDeviceSave=view.get("#actionDeviceSave"); if(!visible){ if(!dsDevice.getData("#")){ dorado.MessageBox.alert("请先选择要操作的数据!"); return; }else{ dorado.MessageBox.confirm("确定要删除这条记录吗?",{ detailCallback: function(button,text){ if("yes"==button){ dsDevice.getData("#").remove(); actionDeviceSave.execute(); } }}); } } if(arg.error){ dorado.MessageBox.alert(arg.error,{ title: '系统提示信息' }); arg.processDefault = false; } view.get("#dialogDevice").close(); devicePR#saveAll dsDevice devicePR#saveDevice devicePR#refreshCache 刷新成功! 确定要刷新缓存么? 100% 95% 设备MOBUS-TCP相关配置