Commit dfc593d6 by 宋祥

1.采购合同科输入采购员姓名

parent d74c18c4
......@@ -125,9 +125,9 @@ public class ServiceHGCG002C extends ServiceEPBase {
String contractNo = fCg002.getContractNo();
AssertUtils.isNull(dbCg002, String.format("合同单【%s】不存在", contractNo));
AssertUtils.isNotEquals(dbCg002.getDeleteFlag(), CommonConstant.YesNo.NO_0,
String.format("建议单【%s】不是\"未删除\"状态,不允许操作", contractNo));
String.format("合同单【%s】不是\"未删除\"状态,不允许操作", contractNo));
AssertUtils.isNotEquals(dbCg002.getStatus(), HGConstant.DealStatus.S0,
String.format("建议单【%s】不是\"未审核\"状态,不允许操作", contractNo));
String.format("合同单【%s】不是\"未审核\"状态,不允许操作", contractNo));
}
}
......@@ -94,8 +94,8 @@ let checkParam = function () {
if (isBlank(supCode)) {
return "供应商不能为空";
}
let purUserId = $("#inqu_status-0-purUserId").val();
if (isBlank(purUserId)) {
let purUserName = $("#inqu_status-0-purUserName").val();
if (isBlank(purUserName)) {
return "采购员不能为空";
}
return "";
......
......@@ -45,13 +45,12 @@
type="hidden"/>
</div>
<div class="row">
<EF:EFSelect ename="purUserId" cname="采购员" blockId="inqu_status" row="0" colWidth="6" ratio="2:10"
filter="contains" required="true">
<EF:EFOption label="请选择" value=""/>
<EF:EFOptions blockId="user_block_id" textField="textField" valueField="valueField"/>
</EF:EFSelect>
<EF:EFInput ename="purUserName" cname="采购员姓名" blockId="inqu_status" row="0" colWidth="6" ratio="2:10"
type="hidden"/>
<%-- <EF:EFSelect ename="purUserId" cname="采购员" blockId="inqu_status" row="0" colWidth="6" ratio="2:10"--%>
<%-- filter="contains" required="true">--%>
<%-- <EF:EFOption label="请选择" value=""/>--%>
<%-- <EF:EFOptions blockId="user_block_id" textField="textField" valueField="valueField"/>--%>
<%-- </EF:EFSelect>--%>
<EF:EFInput ename="purUserName" cname="采购员姓名" blockId="inqu_status" row="0" colWidth="6" ratio="2:10"/>
</div>
<br/>
<span style="color: red; ">说明:合同号由系统自动生成</span><br>
......
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