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
aae685e8
Commit
aae685e8
authored
May 30, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
其他入库单,其他出库单
parent
00c255cb
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
10 deletions
+22
-10
HGKC006.js
src/main/webapp/HG/KC/HGKC006.js
+3
-3
HGKC006A.js
src/main/webapp/HG/KC/HGKC006A.js
+7
-2
HGKC006A.jsp
src/main/webapp/HG/KC/HGKC006A.jsp
+1
-0
HGKC007.js
src/main/webapp/HG/KC/HGKC007.js
+3
-3
HGKC007A.js
src/main/webapp/HG/KC/HGKC007A.js
+7
-2
HGKC007A.jsp
src/main/webapp/HG/KC/HGKC007A.jsp
+1
-0
No files found.
src/main/webapp/HG/KC/HGKC006.js
View file @
aae685e8
...
@@ -20,7 +20,7 @@ $(function () {
...
@@ -20,7 +20,7 @@ $(function () {
// 详情
// 详情
if
(
item
.
id
)
{
if
(
item
.
id
)
{
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+
'onclick="jump('
+
item
.
id
+
')" >详情</a>'
;
+
'onclick="jump('
+
item
.
id
+
'
,
\'
'
+
item
.
submitStatus
+
'
\'
)" >详情</a>'
;
}
}
return
template
;
return
template
;
}
}
...
@@ -136,8 +136,8 @@ function check(id, auditStatus) {
...
@@ -136,8 +136,8 @@ function check(id, auditStatus) {
);
);
}
}
//详情
//详情
function
jump
(
id
)
{
function
jump
(
id
,
submitStatus
)
{
var
herf
=
ctx
+
"
\\
web
\
\"
+ "
HGKC006A
?
inqu_status
-
0
-
primaryId
=
" + id + "
&
efParentFormEname
=
HGKC006
";
var
herf
=
ctx
+
"
\\
web
\
\"
+ "
HGKC006A
?
inqu_status
-
0
-
primaryId
=
" + id + "
&
inqu_status
-
0
-
submitStatus
=
"+ submitStatus +"
&
efParentFormEname
=
HGKC006
";
window.open(herf);
window.open(herf);
}
}
/**
/**
...
...
src/main/webapp/HG/KC/HGKC006A.js
View file @
aae685e8
...
@@ -61,7 +61,6 @@ $(function () {
...
@@ -61,7 +61,6 @@ $(function () {
field
:
"invQty"
,
field
:
"invQty"
,
template
:
function
(
item
)
{
template
:
function
(
item
)
{
if
(
item
.
invQty
&&
item
.
invUnitWeight
){
if
(
item
.
invQty
&&
item
.
invUnitWeight
){
debugger
;
let
invWeight
=
item
.
invQty
*
item
.
invUnitWeight
;
let
invWeight
=
item
.
invQty
*
item
.
invUnitWeight
;
//item['invWeight'] = invWeight.toString();
//item['invWeight'] = invWeight.toString();
resultGrid
.
setCellValue
(
item
,
'invWeight'
,
invWeight
);
resultGrid
.
setCellValue
(
item
,
'invWeight'
,
invWeight
);
...
@@ -76,7 +75,6 @@ $(function () {
...
@@ -76,7 +75,6 @@ $(function () {
},
{
},
{
field
:
"invUnitWeight"
,
field
:
"invUnitWeight"
,
template
:
function
(
item
)
{
template
:
function
(
item
)
{
debugger
;
if
(
item
.
invQty
&&
item
.
invUnitWeight
){
if
(
item
.
invQty
&&
item
.
invUnitWeight
){
let
invWeight
=
item
.
invQty
*
item
.
invUnitWeight
;
let
invWeight
=
item
.
invQty
*
item
.
invUnitWeight
;
//item['invWeight'] = invWeight.toString();
//item['invWeight'] = invWeight.toString();
...
@@ -155,6 +153,13 @@ $(function () {
...
@@ -155,6 +153,13 @@ $(function () {
*/
*/
$
(
window
).
load
(
function
()
{
$
(
window
).
load
(
function
()
{
query
();
query
();
let
submitStatus
=
$
(
"#inqu_status-0-submitStatus"
).
val
();
if
(
submitStatus
==
1
){
$
(
".k-grid-add"
).
hide
();
$
(
".k-grid-save-changes"
).
hide
();
$
(
".k-grid-cancel-changes"
).
hide
();
$
(
".k-grid-delete"
).
hide
();
}
});
});
/**
/**
...
...
src/main/webapp/HG/KC/HGKC006A.jsp
View file @
aae685e8
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
</EF:EFSelect>
--%>
</EF:EFSelect>
--%>
<EF:EFInput
cname=
"存货名称"
ename=
"inventName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"存货名称"
ename=
"inventName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"主表id"
ename=
"primaryId"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
type=
"hidden"
/>
<EF:EFInput
cname=
"主表id"
ename=
"primaryId"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
type=
"hidden"
/>
<EF:EFInput
cname=
"主表状态"
ename=
"submitStatus"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
type=
"hidden"
/>
</div>
</div>
<
%
--
<
div
class=
"row"
>
<
%
--
<
div
class=
"row"
>
<EF:EFInput
cname=
"部件名称"
ename=
"prdtName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"部件名称"
ename=
"prdtName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
...
...
src/main/webapp/HG/KC/HGKC007.js
View file @
aae685e8
...
@@ -20,7 +20,7 @@ $(function () {
...
@@ -20,7 +20,7 @@ $(function () {
// 详情
// 详情
if
(
item
.
id
)
{
if
(
item
.
id
)
{
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+
'onclick="jump('
+
item
.
id
+
')" >详情</a>'
;
+
'onclick="jump('
+
item
.
id
+
'
,
\'
'
+
item
.
submitStatus
+
'
\'
)" >详情</a>'
;
}
}
return
template
;
return
template
;
}
}
...
@@ -137,8 +137,8 @@ function check(id, auditStatus) {
...
@@ -137,8 +137,8 @@ function check(id, auditStatus) {
}
}
//详情
//详情
function
jump
(
id
)
{
function
jump
(
id
,
submitStatus
)
{
var
herf
=
ctx
+
"
\\
web
\
\"
+ "
HGKC007A
?
inqu_status
-
0
-
primaryId
=
" + id + "
&
efParentFormEname
=
HGKC007
";
var
herf
=
ctx
+
"
\\
web
\
\"
+ "
HGKC007A
?
inqu_status
-
0
-
primaryId
=
" + id + "
&
inqu_status
-
0
-
submitStatus
=
"+ submitStatus +"
&
efParentFormEname
=
HGKC007
";
window.open(herf);
window.open(herf);
}
}
...
...
src/main/webapp/HG/KC/HGKC007A.js
View file @
aae685e8
...
@@ -61,7 +61,6 @@ $(function () {
...
@@ -61,7 +61,6 @@ $(function () {
field
:
"invQty"
,
field
:
"invQty"
,
template
:
function
(
item
)
{
template
:
function
(
item
)
{
if
(
item
.
invQty
&&
item
.
invUnitWeight
){
if
(
item
.
invQty
&&
item
.
invUnitWeight
){
debugger
;
let
invWeight
=
item
.
invQty
*
item
.
invUnitWeight
;
let
invWeight
=
item
.
invQty
*
item
.
invUnitWeight
;
//item['invWeight'] = invWeight.toString();
//item['invWeight'] = invWeight.toString();
resultGrid
.
setCellValue
(
item
,
'invWeight'
,
invWeight
);
resultGrid
.
setCellValue
(
item
,
'invWeight'
,
invWeight
);
...
@@ -76,7 +75,6 @@ $(function () {
...
@@ -76,7 +75,6 @@ $(function () {
},
{
},
{
field
:
"invUnitWeight"
,
field
:
"invUnitWeight"
,
template
:
function
(
item
)
{
template
:
function
(
item
)
{
debugger
;
if
(
item
.
invQty
&&
item
.
invUnitWeight
){
if
(
item
.
invQty
&&
item
.
invUnitWeight
){
let
invWeight
=
item
.
invQty
*
item
.
invUnitWeight
;
let
invWeight
=
item
.
invQty
*
item
.
invUnitWeight
;
//item['invWeight'] = invWeight.toString();
//item['invWeight'] = invWeight.toString();
...
@@ -155,6 +153,13 @@ $(function () {
...
@@ -155,6 +153,13 @@ $(function () {
*/
*/
$
(
window
).
load
(
function
()
{
$
(
window
).
load
(
function
()
{
query
();
query
();
let
submitStatus
=
$
(
"#inqu_status_0_submitStatus"
).
val
();
if
(
submitStatus
==
1
){
$
(
".k-grid-add"
).
hide
();
$
(
".k-grid-save-changes"
).
hide
();
$
(
".k-grid-cancel-changes"
).
hide
();
$
(
".k-grid-delete"
).
hide
();
}
});
});
/**
/**
...
...
src/main/webapp/HG/KC/HGKC007A.jsp
View file @
aae685e8
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
</EF:EFSelect>
--%>
</EF:EFSelect>
--%>
<EF:EFInput
cname=
"存货名称"
ename=
"inventName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"存货名称"
ename=
"inventName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"主表id"
ename=
"primaryId"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
type=
"hidden"
/>
<EF:EFInput
cname=
"主表id"
ename=
"primaryId"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
type=
"hidden"
/>
<EF:EFInput
cname=
"主表状态"
ename=
"submitStatus"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
type=
"hidden"
/>
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
...
...
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