com.fzzy.igds.domain.Company
公司编码
true
系统组织编码
单位信用码
true
单位名称
true
true
单位类型
key
value
1
1-粮食仓储企业
11
11-中央直属储备粮库
12
12-中谷粮油集团
13
13-省级储备粮库
14
14-地市级储备粮库
15
15-县级储备粮库
19
19-其他仓储企业
2
2-粮食购销企业
3
3-粮食加工企业
4
4-粮食设备制造企业
9
9-其他粮食企业
true
Date
注册日期
Double
注册资本
#0.000 万元
Double
资产总额
#0.000 万元
法定代表人
true
法人身份证
法人电话
企业联系人
办公电话
注册地址
电子邮箱
官方网址
传真号码
邮政编码
区划代码
true
区划名称
Integer
库区数
#0 个
Double
经度
Double
纬度
单位状态
key
value
1
1-正常
2
2-异常
备注说明
DateTime
创建时间
true
创建人
true
DateTime
更新时间
true
更新人
true
/**
* 查看详情
* @param {String/Number} manualId 手动传入的id值(可选)
*/
detail = function(){
var cur = view.get("#dgMain").get("selection");
if (cur) {
var id = cur.get("id");
var url = "/com.fzzy.igds.Dept.d?parentId=" + id;
window.$openTab("库区管理", url);
}else {
$notify("请先选择数据……");
}
};
showDlg=function(){
var select = view.get("#dgMain").get("selection");
if(select){
view.get("#dialogMain").show();;
}else{
$notify("请先选择数据……");
}
};
renderId = function(arg){
var txt = arg.data.getText("id");
if(!txt) return true;
var htm = "<a href='javascript:;' onClick='showDlg()' >"+txt+"</a>";
arg.dom.innerHTML = htm;
}
font-awesome,css-common
companyPR#getData
[dtMain]
c-param
var select = view.get("#dgMain").get("selection");
if(select){
view.get("#dialogMain").show();;
}else{
$notify("请选择需要编辑的数据……");
}
修改
btn2
100
fa fa-pencil-square-o
view.get("#dsMain").flushAsync();
刷新
btn4
100
fa fa-refresh
view.get("#dgMain").set("selection",arg.data);
dsMain
true
singleRow
renderId(arg);
id
center
120
dwmc
dwdm
center
180
dwlx
center
180
zcze
center
180
fddbr
center
120
kqs
center
100
dwzt
center
100
updateBy
center
100
updateTime
center
160
arg.dom.innerHTML = "<a href='javascript:;' onClick='detail()' class='a-btn1'>查看详情</a>";
160
操作
center
120
companyPR#updateData
数据保存完成!
dsMain
[#current]
false
500
xzqhmc=name,xzqhdm=code
500
dicAreaPR#pageList
[dtArea]
10
-- 名称 --
200
var data = view.get("#dsFoodOrigin.data:#");
if(data){
view.get("#ddFoodOrigin").close(data.toJSON());
}
dsFoodOrigin
true
code
true
center
arg.dom.style.fontWeight = "bold";
arg.processDefault = true;
name
true
center
simple
true
center
dsFoodOrigin