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
c636949a
Commit
c636949a
authored
Aug 06, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://git.pseer.com:8800/platform/hg-smart
into dev-ly
parents
ae6b45ae
525722bb
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
34 additions
and
34 deletions
+34
-34
HGCG002.js
src/main/webapp/HG/CG/HGCG002.js
+10
-10
HGCG002.jsp
src/main/webapp/HG/CG/HGCG002.jsp
+2
-2
HGCG002B.js
src/main/webapp/HG/CG/HGCG002B.js
+10
-10
HGCG003.js
src/main/webapp/HG/CG/HGCG003.js
+10
-10
HGCG003.jsp
src/main/webapp/HG/CG/HGCG003.jsp
+2
-2
No files found.
src/main/webapp/HG/CG/HGCG002.js
View file @
c636949a
...
...
@@ -35,16 +35,16 @@ $(function () {
return
dataItem
[
"purUserName"
];
},
editor
:
function
(
container
,
options
)
{
let
inInfo
=
new
EiInfo
();
inInfo
.
set
(
"inqu_status-0-companyCode"
,
options
.
model
[
"companyCode"
]);
inInfo
.
set
(
"field"
,
options
.
field
);
EiCommunicator
.
send
(
"HGSC001"
,
"userByCompanyComboBox"
,
inInfo
,
{
onSuccess
:
function
(
ei
)
{
userByCompany
=
ei
.
getBlock
(
"userByCompany"
).
getMappedRows
();
},
onFail
:
function
(
ei
)
{
}
},
{
async
:
false
});
//
let inInfo = new EiInfo();
//
inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]);
//
inInfo.set("field", options.field);
//
EiCommunicator.send("HGSC001", "userByCompanyComboBox", inInfo, {
//
onSuccess: function (ei) {
//
userByCompany = ei.getBlock("userByCompany").getMappedRows();
//
},
//
onFail: function (ei) {
//
}
//
}, {async: false});
var
input
=
$
(
'<input />'
);
input
.
attr
(
"name"
,
options
.
field
);
input
.
attr
(
"id"
,
options
.
field
);
...
...
src/main/webapp/HG/CG/HGCG002.jsp
View file @
c636949a
...
...
@@ -50,8 +50,8 @@
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=
"1
0
0"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"purUserName"
cname=
"采购员"
width=
"1
0
0"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"supName"
cname=
"供应商名称"
enable=
"false"
width=
"1
2
0"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"purUserName"
cname=
"采购员"
width=
"1
2
0"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"purQty"
cname=
"采购数量"
width=
"120"
align=
"right"
format=
"{0:N0}"
enable=
"false"
/>
<EF:EFColumn
ename=
"purWeight"
cname=
"采购重量"
width=
"120"
align=
"right"
format=
"{0:N3}"
enable=
"false"
/>
<EF:EFColumn
ename=
"receiveQty"
cname=
"已收货数量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N0}"
/>
...
...
src/main/webapp/HG/CG/HGCG002B.js
View file @
c636949a
...
...
@@ -23,16 +23,16 @@ $(function () {
return
dataItem
[
"purUserName"
];
},
editor
:
function
(
container
,
options
)
{
let
inInfo
=
new
EiInfo
();
inInfo
.
set
(
"inqu_status-0-companyCode"
,
options
.
model
[
"companyCode"
]);
inInfo
.
set
(
"field"
,
options
.
field
);
EiCommunicator
.
send
(
"HGSC001"
,
"userByCompanyComboBox"
,
inInfo
,
{
onSuccess
:
function
(
ei
)
{
userByCompany
=
ei
.
getBlock
(
"userByCompany"
).
getMappedRows
();
},
onFail
:
function
(
ei
)
{
}
},
{
async
:
false
});
//
let inInfo = new EiInfo();
//
inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]);
//
inInfo.set("field", options.field);
//
EiCommunicator.send("HGSC001", "userByCompanyComboBox", inInfo, {
//
onSuccess: function (ei) {
//
userByCompany = ei.getBlock("userByCompany").getMappedRows();
//
},
//
onFail: function (ei) {
//
}
//
}, {async: false});
var
input
=
$
(
'<input />'
);
input
.
attr
(
"name"
,
options
.
field
);
input
.
attr
(
"id"
,
options
.
field
);
...
...
src/main/webapp/HG/CG/HGCG003.js
View file @
c636949a
...
...
@@ -51,16 +51,16 @@ $(function () {
return
dataItem
[
"purUserName"
];
},
editor
:
function
(
container
,
options
)
{
let
inInfo
=
new
EiInfo
();
inInfo
.
set
(
"inqu_status-0-companyCode"
,
options
.
model
[
"companyCode"
]);
inInfo
.
set
(
"field"
,
options
.
field
);
EiCommunicator
.
send
(
"HGSC001"
,
"userByCompanyComboBox"
,
inInfo
,
{
onSuccess
:
function
(
ei
)
{
userByCompany
=
ei
.
getBlock
(
"userByCompany"
).
getMappedRows
();
},
onFail
:
function
(
ei
)
{
}
},
{
async
:
false
});
//
let inInfo = new EiInfo();
//
inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]);
//
inInfo.set("field", options.field);
//
EiCommunicator.send("HGSC001", "userByCompanyComboBox", inInfo, {
//
onSuccess: function (ei) {
//
userByCompany = ei.getBlock("userByCompany").getMappedRows();
//
},
//
onFail: function (ei) {
//
}
//
}, {async: false});
var
input
=
$
(
'<input />'
);
input
.
attr
(
"name"
,
options
.
field
);
input
.
attr
(
"id"
,
options
.
field
);
...
...
src/main/webapp/HG/CG/HGCG003.jsp
View file @
c636949a
...
...
@@ -65,8 +65,8 @@
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=
"1
0
0"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"purUserName"
cname=
"采购员"
width=
"1
0
0"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"supName"
cname=
"供应商名称"
enable=
"false"
width=
"1
2
0"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"purUserName"
cname=
"采购员"
width=
"1
2
0"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"receiveQty"
cname=
"收货数量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N0}"
/>
<EF:EFColumn
ename=
"deliverQty"
cname=
"退货数量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N0}"
/>
<EF:EFColumn
ename=
"depositQty"
cname=
"入库数量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N0}"
/>
...
...
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