com.fzzy.igds.domain.Dept
库区编码
true
收储公司
${dorado.getDataProvider("companyPR#getData").getResult()}
id
dwmc
true
组织编码
库区名称
true
库区地址
区划代码
true
所在区县
库区产权
key
value
1
1-自有
2
2-租赁
3
3-共有
4
4-混合
9
9-其他
Double
有效仓容
#0.000 吨
Double
占地面积
#0.000 平方米
Integer
仓库数
#0 栋
Double
经度
Double
纬度
备注说明
DateTime
创建时间
true
创建人
true
DateTime
更新时间
true
更新人
true
图路径
鸟瞰图
/**
* 出入库配置
*/
inoutConf = function(){
var cur = view.get("#dgMain").get("selection");
if(cur){
var deptId = cur.get("id");
var url = "/com.fzzy.igds.inoutConfManage.d?deptId="+ deptId;
window.$openTab("出入库配置", url);
}else{
$notify("请先选择库区……");
}
};
/**
* 抓拍配置
*/
snapConf = function(){
var cur = view.get("#dgMain").get("selection");
if(cur){
var deptId = cur.get("id");
var url = "/com.fzzy.igds.SnapConf.d?deptId="+ deptId;
view.get("#iFrameSnap").set("path", url);
view.get("#dialogSnap").show();
}else{
$notify("请先选择库区……");
}
};
/**
* 巡检配置
*/
patrolConf = function(){
var cur = view.get("#dgMain").get("selection");
if(cur){
var deptId = cur.get("id");
var url = "/com.fzzy.igds.PatrolConf.d?deptId="+ deptId;
window.$openTab("巡检配置", url);
}else{
$notify("请先选择库区……");
}
};
/**
* 工单配置
*/
workOrderConf = function(){
var cur = view.get("#dgMain").get("selection");
if(cur){
var deptId = cur.get("id");
var url = "/com.fzzy.work.WorkOrderConf.d?deptId="+ deptId;
window.$openTab("工单配置", url);
}else{
$notify("请先选择库区……");
}
};
//操作
renderCell1 = function(arg,self){
var data = arg.data;
var htm = "<a onClick='inoutConf()' class='a-btn1'>出入库配置</a> | <a onClick='snapConf()' class='a-btn2'>抓拍配置</a> | <a onClick='patrolConf()' class='a-btn4'>巡检配置</a> | <a onClick='workOrderConf()' class='a-btn2'>工单审批</a>";
arg.dom.innerHTML = htm;
};
font-awesome,css-common
deptPR#getData
[dtMain]
c-param
view.get("#dgMain").set("selection",arg.data);
dsMain
true
singleRow
parentId
left
360
kqmc
left
380
xzqhmc
center
160
renderCell1(arg,self);
配置
center