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
5046ffc4
Commit
5046ffc4
authored
Aug 06, 2024
by
江和松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购员不进行公司过滤V2
parent
5b06b74e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
51 deletions
+51
-51
HGCG002.js
src/main/webapp/HG/CG/HGCG002.js
+17
-17
HGCG002B.js
src/main/webapp/HG/CG/HGCG002B.js
+17
-17
HGCG003.js
src/main/webapp/HG/CG/HGCG003.js
+17
-17
No files found.
src/main/webapp/HG/CG/HGCG002.js
View file @
5046ffc4
...
@@ -33,8 +33,8 @@ $(function () {
...
@@ -33,8 +33,8 @@ $(function () {
}
}
}
}
return
dataItem
[
"purUserName"
];
return
dataItem
[
"purUserName"
];
}
}
,
//
editor: function (container, options) {
editor
:
function
(
container
,
options
)
{
// let inInfo = new EiInfo();
// let inInfo = new EiInfo();
// inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]);
// inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]);
// inInfo.set("field", options.field);
// inInfo.set("field", options.field);
...
@@ -45,21 +45,21 @@ $(function () {
...
@@ -45,21 +45,21 @@ $(function () {
// onFail: function (ei) {
// onFail: function (ei) {
// }
// }
// }, {async: false});
// }, {async: false});
//
var input = $('<input />');
var
input
=
$
(
'<input />'
);
//
input.attr("name", options.field);
input
.
attr
(
"name"
,
options
.
field
);
//
input.attr("id", options.field);
input
.
attr
(
"id"
,
options
.
field
);
//
input.appendTo(container);
input
.
appendTo
(
container
);
//
input.kendoDropDownList({
input
.
kendoDropDownList
({
//
dataSource: userByCompany,
dataSource
:
userByCompany
,
//
minLength: 0,
minLength
:
0
,
//
dataTextField: "userName",
dataTextField
:
"userName"
,
//
dataValueField: "userName",
dataValueField
:
"userName"
,
//
optionLabelTemplate: "[#:loginName#]#:userName#-#:depName#",
optionLabelTemplate
:
"[#:loginName#]#:userName#-#:depName#"
,
//
valueTemplate: "[#:loginName#]#:userName#-#:depName#",
valueTemplate
:
"[#:loginName#]#:userName#-#:depName#"
,
//
template: "[#:loginName#]#:userName#-#:depName#",
template
:
"[#:loginName#]#:userName#-#:depName#"
,
//
filter: "contains"
filter
:
"contains"
//
});
});
//
}
}
}
}
],
],
beforeEdit
:
function
(
e
)
{
beforeEdit
:
function
(
e
)
{
...
...
src/main/webapp/HG/CG/HGCG002B.js
View file @
5046ffc4
...
@@ -21,8 +21,8 @@ $(function () {
...
@@ -21,8 +21,8 @@ $(function () {
}
}
}
}
return
dataItem
[
"purUserName"
];
return
dataItem
[
"purUserName"
];
}
}
,
//
editor: function (container, options) {
editor
:
function
(
container
,
options
)
{
// let inInfo = new EiInfo();
// let inInfo = new EiInfo();
// inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]);
// inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]);
// inInfo.set("field", options.field);
// inInfo.set("field", options.field);
...
@@ -33,21 +33,21 @@ $(function () {
...
@@ -33,21 +33,21 @@ $(function () {
// onFail: function (ei) {
// onFail: function (ei) {
// }
// }
// }, {async: false});
// }, {async: false});
//
var input = $('<input />');
var
input
=
$
(
'<input />'
);
//
input.attr("name", options.field);
input
.
attr
(
"name"
,
options
.
field
);
//
input.attr("id", options.field);
input
.
attr
(
"id"
,
options
.
field
);
//
input.appendTo(container);
input
.
appendTo
(
container
);
//
input.kendoDropDownList({
input
.
kendoDropDownList
({
//
dataSource: userByCompany,
dataSource
:
userByCompany
,
//
minLength: 0,
minLength
:
0
,
//
dataTextField: "userName",
dataTextField
:
"userName"
,
//
dataValueField: "userName",
dataValueField
:
"userName"
,
//
optionLabelTemplate: "[#:loginName#]#:userName#-#:depName#",
optionLabelTemplate
:
"[#:loginName#]#:userName#-#:depName#"
,
//
valueTemplate: "[#:loginName#]#:userName#-#:depName#",
valueTemplate
:
"[#:loginName#]#:userName#-#:depName#"
,
//
template: "[#:loginName#]#:userName#-#:depName#",
template
:
"[#:loginName#]#:userName#-#:depName#"
,
//
filter: "contains"
filter
:
"contains"
//
});
});
//
}
}
}
}
],
],
beforeEdit
:
function
(
e
)
{
beforeEdit
:
function
(
e
)
{
...
...
src/main/webapp/HG/CG/HGCG003.js
View file @
5046ffc4
...
@@ -49,8 +49,8 @@ $(function () {
...
@@ -49,8 +49,8 @@ $(function () {
}
}
}
}
return
dataItem
[
"purUserName"
];
return
dataItem
[
"purUserName"
];
}
}
,
//
editor: function (container, options) {
editor
:
function
(
container
,
options
)
{
// let inInfo = new EiInfo();
// let inInfo = new EiInfo();
// inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]);
// inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]);
// inInfo.set("field", options.field);
// inInfo.set("field", options.field);
...
@@ -61,21 +61,21 @@ $(function () {
...
@@ -61,21 +61,21 @@ $(function () {
// onFail: function (ei) {
// onFail: function (ei) {
// }
// }
// }, {async: false});
// }, {async: false});
//
var input = $('<input />');
var
input
=
$
(
'<input />'
);
//
input.attr("name", options.field);
input
.
attr
(
"name"
,
options
.
field
);
//
input.attr("id", options.field);
input
.
attr
(
"id"
,
options
.
field
);
//
input.appendTo(container);
input
.
appendTo
(
container
);
//
input.kendoDropDownList({
input
.
kendoDropDownList
({
//
dataSource: userByCompany,
dataSource
:
userByCompany
,
//
minLength: 0,
minLength
:
0
,
//
dataTextField: "userName",
dataTextField
:
"userName"
,
//
dataValueField: "userName",
dataValueField
:
"userName"
,
//
optionLabelTemplate: "[#:loginName#]#:userName#-#:depName#",
optionLabelTemplate
:
"[#:loginName#]#:userName#-#:depName#"
,
//
valueTemplate: "[#:loginName#]#:userName#-#:depName#",
valueTemplate
:
"[#:loginName#]#:userName#-#:depName#"
,
//
template: "[#:loginName#]#:userName#-#:depName#",
template
:
"[#:loginName#]#:userName#-#:depName#"
,
//
filter: "contains"
filter
:
"contains"
//
});
});
//
}
}
}
}
],
],
beforeEdit
:
function
(
e
)
{
beforeEdit
:
function
(
e
)
{
...
...
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