Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platform
hg-smart
Commits
dfc593d6
Commit
dfc593d6
authored
Nov 18, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.采购合同科输入采购员姓名
parent
d74c18c4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
11 deletions
+10
-11
ServiceHGCG002C.java
...java/com/baosight/hggp/hg/cg/service/ServiceHGCG002C.java
+2
-2
HGCG002C.js
src/main/webapp/HG/CG/HGCG002C.js
+2
-2
HGCG002C.jsp
src/main/webapp/HG/CG/HGCG002C.jsp
+6
-7
No files found.
src/main/java/com/baosight/hggp/hg/cg/service/ServiceHGCG002C.java
View file @
dfc593d6
...
@@ -125,9 +125,9 @@ public class ServiceHGCG002C extends ServiceEPBase {
...
@@ -125,9 +125,9 @@ public class ServiceHGCG002C extends ServiceEPBase {
String
contractNo
=
fCg002
.
getContractNo
();
String
contractNo
=
fCg002
.
getContractNo
();
AssertUtils
.
isNull
(
dbCg002
,
String
.
format
(
"合同单【%s】不存在"
,
contractNo
));
AssertUtils
.
isNull
(
dbCg002
,
String
.
format
(
"合同单【%s】不存在"
,
contractNo
));
AssertUtils
.
isNotEquals
(
dbCg002
.
getDeleteFlag
(),
CommonConstant
.
YesNo
.
NO_0
,
AssertUtils
.
isNotEquals
(
dbCg002
.
getDeleteFlag
(),
CommonConstant
.
YesNo
.
NO_0
,
String
.
format
(
"
建议
单【%s】不是\"未删除\"状态,不允许操作"
,
contractNo
));
String
.
format
(
"
合同
单【%s】不是\"未删除\"状态,不允许操作"
,
contractNo
));
AssertUtils
.
isNotEquals
(
dbCg002
.
getStatus
(),
HGConstant
.
DealStatus
.
S0
,
AssertUtils
.
isNotEquals
(
dbCg002
.
getStatus
(),
HGConstant
.
DealStatus
.
S0
,
String
.
format
(
"
建议
单【%s】不是\"未审核\"状态,不允许操作"
,
contractNo
));
String
.
format
(
"
合同
单【%s】不是\"未审核\"状态,不允许操作"
,
contractNo
));
}
}
}
}
src/main/webapp/HG/CG/HGCG002C.js
View file @
dfc593d6
...
@@ -94,8 +94,8 @@ let checkParam = function () {
...
@@ -94,8 +94,8 @@ let checkParam = function () {
if
(
isBlank
(
supCode
))
{
if
(
isBlank
(
supCode
))
{
return
"供应商不能为空"
;
return
"供应商不能为空"
;
}
}
let
purUser
Id
=
$
(
"#inqu_status-0-purUserId
"
).
val
();
let
purUser
Name
=
$
(
"#inqu_status-0-purUserName
"
).
val
();
if
(
isBlank
(
purUser
Id
))
{
if
(
isBlank
(
purUser
Name
))
{
return
"采购员不能为空"
;
return
"采购员不能为空"
;
}
}
return
""
;
return
""
;
...
...
src/main/webapp/HG/CG/HGCG002C.jsp
View file @
dfc593d6
...
@@ -45,13 +45,12 @@
...
@@ -45,13 +45,12 @@
type=
"hidden"
/>
type=
"hidden"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFSelect
ename=
"purUserId"
cname=
"采购员"
blockId=
"inqu_status"
row=
"0"
colWidth=
"6"
ratio=
"2:10"
<
%
--
<
EF:EFSelect
ename=
"purUserId"
cname=
"采购员"
blockId=
"inqu_status"
row=
"0"
colWidth=
"6"
ratio=
"2:10"
--
%
>
filter=
"contains"
required=
"true"
>
<
%
--
filter=
"contains"
required=
"true"
>
--%>
<EF:EFOption
label=
"请选择"
value=
""
/>
<
%
--
<
EF:EFOption
label=
"请选择"
value=
""
/>
--%>
<EF:EFOptions
blockId=
"user_block_id"
textField=
"textField"
valueField=
"valueField"
/>
<
%
--
<
EF:EFOptions
blockId=
"user_block_id"
textField=
"textField"
valueField=
"valueField"
/>
--%>
</EF:EFSelect>
<
%
--
</
EF:EFSelect
>
--%>
<EF:EFInput
ename=
"purUserName"
cname=
"采购员姓名"
blockId=
"inqu_status"
row=
"0"
colWidth=
"6"
ratio=
"2:10"
<EF:EFInput
ename=
"purUserName"
cname=
"采购员姓名"
blockId=
"inqu_status"
row=
"0"
colWidth=
"6"
ratio=
"2:10"
/>
type=
"hidden"
/>
</div>
</div>
<br/>
<br/>
<span
style=
"color: red; "
>
说明:合同号由系统自动生成
</span><br>
<span
style=
"color: red; "
>
说明:合同号由系统自动生成
</span><br>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment