Commit 4cdf1ce0 by liuyang

2024-08-01 项目立项新增修改不再选择部门

parent 4af9b530
......@@ -142,7 +142,7 @@ public class ServiceHGSC001 extends ServiceBase {
AssertUtils.isEmpty(UserSessionUtils.getAccountCode(), "当前用户未绑定公司,无法操作数据,请联系管理员!");
AssertUtils.isEmpty(UserSessionUtils.getOrgId(), "当前用户未绑定部门,无法操作数据,请联系管理员!");
AssertUtils.isEmpty(hgsc001.getCompanyCode(), "请选择公司!");
AssertUtils.isEmpty(hgsc001.getDepCode(), "请选择部门!");
//AssertUtils.isEmpty(hgsc001.getDepCode(), "请选择部门!");
AssertUtils.isEmpty(hgsc001.getSubcontractCode(), "请选择分包方!");
AssertUtils.isEmpty(hgsc001.getGenralContractCode(), "请选择总包方!");
AssertUtils.isEmpty(hgsc001.getProjCode(), "请填写项目编号!");
......
......@@ -72,10 +72,10 @@ $(function () {
$("#result-0-subcontractCode").val(valueField);
$("#result-0-subcontractName").val(textField);
});
$("#result-0-depCode").change(function () {
/*$("#result-0-depCode").change(function () {
let textField = IPLAT.EFSelect.text($("#result-0-depCode"));
$("#result-0-depName").val(textField);
});
});*/
// $("#result-0-subcontractCode").change(function () {
// let textField = IPLAT.EFSelect.text($("#result-0-subcontractCode"));
// $("#result-0-subcontractName").val(textField);
......
......@@ -13,12 +13,12 @@
<EF:EFOption label="-- 请选择 --" value="" />
<EF:EFOptions blockId="roleCompany" valueField="companyCode" textField="companyName"/>
</EF:EFSelect>
<EF:EFInput ename="result-0-depName" cname="部门名称" type="hidden"/>
<EF:EFCascadeSelect cascadeFrom="result-0-companyCode" cname="部门" ename="result-0-depCode"
<%--<EF:EFInput ename="result-0-depName" cname="部门名称" type="hidden"/>
<EF:EFCascadeSelect cascadeFrom="result-0-companyCode" cname="部门" ename="result-0-depCode" type="hidden"
colWidth="4" required="true" filter="contains" defaultValue=""
serviceName="HGSC001" methodName="depByCompanyComboBox" resultId="depByCompany"
textField="depName" valueField="depCode" >
</EF:EFCascadeSelect>
</EF:EFCascadeSelect>--%>
</div>
<div class="row">
<EF:EFInput ename="result-0-subcontractName" cname="乙方" colWidth="4" required="true" readonly="true"/>
......
......@@ -56,10 +56,10 @@ $(function () {
$("#result-0-subcontractCode").val(valueField);
$("#result-0-subcontractName").val(textField);
});
$("#result-0-depCode").change(function () {
/*$("#result-0-depCode").change(function () {
let textField = IPLAT.EFSelect.text($("#result-0-depCode"));
$("#result-0-depName").val(textField);
});
});*/
// $("#result-0-subcontractCode").change(function () {
// let textField = IPLAT.EFSelect.text($("#result-0-subcontractCode"));
// $("#result-0-subcontractName").val(textField);
......
......@@ -13,12 +13,12 @@
<EF:EFOption label="-- 请选择 --" value="" />
<EF:EFOptions blockId="roleCompany" valueField="companyCode" textField="companyName"/>
</EF:EFSelect>
<EF:EFInput ename="result-0-depName" cname="部门名称" type="hidden"/>
<%--<EF:EFInput ename="result-0-depName" cname="部门名称" type="hidden"/>
<EF:EFCascadeSelect cascadeFrom="result-0-companyCode" cname="部门" ename="result-0-depCode"
colWidth="4" required="true" filter="contains" defaultValue=""
serviceName="HGSC001" methodName="depByCompanyComboBox" resultId="depByCompany"
textField="depName" valueField="depCode" >
</EF:EFCascadeSelect>
</EF:EFCascadeSelect>--%>
</div>
<div class="row">
<EF:EFInput ename="result-0-subcontractName" cname="乙方" colWidth="4" required="true" readonly="true"/>
......
......@@ -67,10 +67,10 @@ $(function () {
$("#result-0-subcontractCode").val(valueField);
$("#result-0-subcontractName").val(textField);
});
$("#result-0-depCode").change(function () {
/*$("#result-0-depCode").change(function () {
let textField = IPLAT.EFSelect.text($("#result-0-depCode"));
$("#result-0-depName").val(textField);
});
});*/
// $("#result-0-subcontractCode").change(function () {
// let textField = IPLAT.EFSelect.text($("#result-0-subcontractCode"));
// $("#result-0-subcontractName").val(textField);
......
......@@ -16,11 +16,12 @@
<EF:EFOptions blockId="roleCompany" valueField="companyCode" textField="companyName"/>
</EF:EFSelect>
<EF:EFInput ename="result-0-depName" cname="部门名称" type="hidden"/>
<EF:EFCascadeSelect cascadeFrom="result-0-companyCode" cname="部门" ename="result-0-depCode"
<EF:EFInput ename="result-0-depCode" cname="部门编码" type="hidden"/>
<%--<EF:EFCascadeSelect cascadeFrom="result-0-companyCode" cname="部门" ename="result-0-depCode"
colWidth="4" required="true" filter="contains" defaultValue=""
serviceName="HGSC001" methodName="depByCompanyComboBox" resultId="depByCompany"
textField="depName" valueField="depCode" >
</EF:EFCascadeSelect>
</EF:EFCascadeSelect>--%>
</div>
<div class="row">
<EF:EFInput ename="result-0-subcontractName" cname="乙方" colWidth="4" required="true" readonly="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