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
12ac6646
Commit
12ac6646
authored
Nov 15, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.采购合同和采购收货显示采购员名称
parent
f7ef37cc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
37 deletions
+36
-37
HGCG002.jsp
src/main/webapp/HG/CG/HGCG002.jsp
+8
-8
HGCG002C.js
src/main/webapp/HG/CG/HGCG002C.js
+3
-4
HGCG003.js
src/main/webapp/HG/CG/HGCG003.js
+19
-19
HGCG003.jsp
src/main/webapp/HG/CG/HGCG003.jsp
+6
-6
No files found.
src/main/webapp/HG/CG/HGCG002.jsp
View file @
12ac6646
...
...
@@ -63,17 +63,17 @@
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
enable=
"false"
width=
"80"
align=
"center"
defaultValue=
"0"
>
<EF:EFCodeOption
codeName=
"hggp.hgcg.contractStatus"
condition=
"ITEM_CODE IN ('0','2','4','5')"
/>
</EF:EFComboColumn>
<EF:EFComboColumn
ename=
"supCode"
cname=
"供应商名称"
width=
"120"
align=
"left"
defaultValue=
"
"
filter=
"contains"
required=
"true"
>
<EF:EFComboColumn
ename=
"supCode"
cname=
"供应商名称"
readonly=
"true"
width=
"120"
align=
"left
"
defaultValue=
""
filter=
"contains"
required=
"true"
>
<EF:EFOptions
blockId=
"sup_record_block_id"
valueField=
"valueField"
textField=
"textField"
/>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"supName"
cname=
"供应商名称"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
<EF:EFComboColumn
ename=
"purUserId"
cname=
"采购员"
width=
"120"
align=
"left"
defaultValue=
""
filter=
"contains"
required=
"true"
columnTemplate=
"#=valueField# - #=textField#"
itemTemplate=
"#=valueField# - #=textField#"
>
<EF:EFOptions
blockId=
"user_block_id"
valueField=
"valueField"
textField=
"textField"
/
>
</EF:EFComboColumn
>
<EF:EFColumn
ename=
"purUserName"
cname=
"采购员姓名"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true
"
/>
<
%
--
<
EF:EFComboColumn
ename=
"purUserId"
cname=
"采购员"
readonly=
"true"
width=
"120"
align=
"left"
defaultValue=
""
--
%
>
<
%
--
filter=
"contains"
required=
"true"
columnTemplate=
"#=valueField# - #=textField#"
--
%
>
<
%
--
itemTemplate=
"#=valueField# - #=textField#"
>
--%
>
<
%
--
<
EF:EFOptions
blockId=
"user_block_id"
valueField=
"valueField"
textField=
"textField"
/>
--%
>
<
%
--
</
EF:EFComboColumn
>
--%
>
<EF:EFColumn
ename=
"purUserName"
cname=
"采购员姓名"
readonly=
"true"
width=
"120"
align=
"center
"
/>
<EF:EFColumn
ename=
"purQty"
cname=
"采购数量"
width=
"120"
align=
"right"
format=
"{0:N3}"
enable=
"false"
defaultValue=
"0"
sumType=
"page"
/>
<EF:EFColumn
ename=
"purWeight"
cname=
"采购重量"
width=
"120"
align=
"right"
format=
"{0:N3}"
enable=
"false"
...
...
src/main/webapp/HG/CG/HGCG002C.js
View file @
12ac6646
...
...
@@ -92,13 +92,11 @@ let checkParam = function () {
}
let
supCode
=
$
(
"#inqu_status-0-supCode"
).
val
();
if
(
isBlank
(
supCode
))
{
message
(
"供应商不能为空"
);
return
;
return
"供应商不能为空"
;
}
let
purUserId
=
$
(
"#inqu_status-0-purUserId"
).
val
();
if
(
isBlank
(
purUserId
))
{
message
(
"采购员不能为空"
);
return
;
return
"采购员不能为空"
;
}
return
""
;
}
\ No newline at end of file
src/main/webapp/HG/CG/HGCG003.js
View file @
12ac6646
...
...
@@ -48,25 +48,25 @@ $(function () {
}
}
}
return
dataItem
[
"purUserName"
];
},
editor
:
function
(
container
,
options
)
{
var
input
=
$
(
'<input />'
);
input
.
attr
(
"name"
,
options
.
field
);
input
.
attr
(
"id"
,
options
.
field
);
input
.
appendTo
(
container
);
input
.
kendoDropDownList
({
dataSource
:
userByCompany
,
minLength
:
0
,
dataTextField
:
"userName"
,
dataValueField
:
"userName"
,
optionLabelTemplate
:
"[#:loginName#]#:userName#-#:depName#"
,
valueTemplate
:
"[#:loginName#]#:userName#-#:depName#"
,
template
:
"[#:loginName#]#:userName#-#:depName#"
,
filter
:
"contains"
});
}
},
{
return
dataItem
[
"purUserName"
];
},
editor
:
function
(
container
,
options
)
{
var
input
=
$
(
'<input />'
);
input
.
attr
(
"name"
,
options
.
field
);
input
.
attr
(
"id"
,
options
.
field
);
input
.
appendTo
(
container
);
input
.
kendoDropDownList
({
dataSource
:
userByCompany
,
minLength
:
0
,
dataTextField
:
"userName"
,
dataValueField
:
"userName"
,
optionLabelTemplate
:
"[#:loginName#]#:userName#-#:depName#"
,
valueTemplate
:
"[#:loginName#]#:userName#-#:depName#"
,
template
:
"[#:loginName#]#:userName#-#:depName#"
,
filter
:
"contains"
});
}
},
{
field
:
"projCode"
,
title
:
"项目编码"
,
template
:
function
(
dataItem
)
{
...
...
src/main/webapp/HG/CG/HGCG003.jsp
View file @
12ac6646
...
...
@@ -65,12 +65,12 @@
<EF:EFOptions
blockId=
"sup_record_block_id"
valueField=
"valueField"
textField=
"textField"
/>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"supName"
cname=
"供应商名称"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
<EF:EFComboColumn
ename=
"purUserId"
cname=
"采购员"
width=
"120"
align=
"left"
defaultValue=
""
filter=
"contains"
required=
"true"
columnTemplate=
"#=valueField# - #=textField#"
itemTemplate=
"#=valueField# - #=textField#"
>
<EF:EFOptions
blockId=
"user_block_id"
valueField=
"valueField"
textField=
"textField"
/
>
</EF:EFComboColumn
>
<EF:EFColumn
ename=
"purUserName"
cname=
"采购员姓名"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true
"
/>
<
%
--
<
EF:EFComboColumn
ename=
"purUserId"
cname=
"采购员"
width=
"120"
align=
"left"
defaultValue=
""
--
%
>
<
%
--
filter=
"contains"
required=
"true"
columnTemplate=
"#=valueField# - #=textField#"
--
%
>
<
%
--
itemTemplate=
"#=valueField# - #=textField#"
>
--%
>
<
%
--
<
EF:EFOptions
blockId=
"user_block_id"
valueField=
"valueField"
textField=
"textField"
/>
--%
>
<
%
--
</
EF:EFComboColumn
>
--%
>
<EF:EFColumn
ename=
"purUserName"
cname=
"采购员姓名"
width=
"120"
align=
"center
"
/>
<EF:EFColumn
ename=
"receiveQty"
cname=
"收货数量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
sumType=
"page"
/>
<EF:EFColumn
ename=
"deliverQty"
cname=
"退货数量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
...
...
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