Commit 487d7713 by wuwenlong

项目人员opt;

parent f2e53941
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
$orderBy$ $orderBy$
</isNotEmpty> </isNotEmpty>
<isEmpty property="orderBy"> <isEmpty property="orderBy">
id asc id desc
</isEmpty> </isEmpty>
</dynamic> </dynamic>
......
...@@ -58,8 +58,13 @@ $(function () { ...@@ -58,8 +58,13 @@ $(function () {
return template; return template;
}, },
editor: function (container, options) { editor: function (container, options) {
var companyCode = options.model["companyCode"];
// if(!companyCode){
// message("请先选择公司!")
// return;
// }
let inInfo = new EiInfo(); let inInfo = new EiInfo();
inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]); inInfo.set("inqu_status-0-companyCode", companyCode);
inInfo.set("field", options.field); inInfo.set("field", options.field);
let dataSource; let dataSource;
EiCommunicator.send("HGSC002", "projComboBox", inInfo, { EiCommunicator.send("HGSC002", "projComboBox", inInfo, {
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<EF:EFColumn ename="operator" cname="操作" locked="true" enable="true" width="100" align="center"/> <EF:EFColumn ename="operator" cname="操作" locked="true" enable="true" width="100" align="center"/>
<EF:EFColumn ename="companyCode" cname="公司名称" enable="true" width="120" align="center" required="true"/> <EF:EFColumn ename="companyCode" cname="公司名称" enable="true" width="120" align="center" required="true"/>
<EF:EFColumn ename="projCode" cname="项目编码" enable="true" width="120" align="center" required="true"/> <EF:EFColumn ename="projCode" cname="项目编码" enable="true" width="120" align="center" required="true"/>
<EF:EFColumn ename="projName" cname="项目名称" width="120" align="center" readOnly="true" required="true"/> <EF:EFColumn ename="projName" cname="项目名称" width="120" align="center" readonly="true" required="true"/>
<EF:EFColumn ename="personDepName" cname="所属部门" enable="true" width="120" align="center" required="true"/> <EF:EFColumn ename="personDepName" cname="所属部门" enable="true" width="120" align="center" required="true"/>
<EF:EFColumn ename="personName" cname="姓名" enable="true" width="120" align="center" required="true"/> <EF:EFColumn ename="personName" cname="姓名" enable="true" width="120" align="center" required="true"/>
<EF:EFColumn ename="personPhone" cname="电话" enable="true" width="120" align="center" required="true"/> <EF:EFColumn ename="personPhone" cname="电话" enable="true" width="120" align="center" required="true"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment