Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-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
hp-smart
Commits
42d83246
Commit
42d83246
authored
Apr 03, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
回车优化
parent
50ba292c
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
44 additions
and
12 deletions
+44
-12
HPKC001.js
src/main/webapp/HP/KC/HPKC001.js
+2
-0
HPKC002A.js
src/main/webapp/HP/KC/HPKC002A.js
+1
-0
HPKC003A.js
src/main/webapp/HP/KC/HPKC003A.js
+1
-1
HPKC004A.js
src/main/webapp/HP/KC/HPKC004A.js
+1
-1
HPKC004B.js
src/main/webapp/HP/KC/HPKC004B.js
+1
-1
HPKC005A.js
src/main/webapp/HP/KC/HPKC005A.js
+1
-1
HPKC006.js
src/main/webapp/HP/KC/HPKC006.js
+2
-0
HPKC007A.js
src/main/webapp/HP/KC/HPKC007A.js
+1
-1
HPPZ002.js
src/main/webapp/HP/PZ/HPPZ002.js
+1
-1
HPPZ003.js
src/main/webapp/HP/PZ/HPPZ003.js
+1
-1
HPPZ004.js
src/main/webapp/HP/PZ/HPPZ004.js
+1
-1
HPPZ006.js
src/main/webapp/HP/PZ/HPPZ006.js
+1
-1
HPPZ007.js
src/main/webapp/HP/PZ/HPPZ007.js
+1
-1
HPSC002.js
src/main/webapp/HP/SC/HPSC002.js
+1
-0
HPSC003.js
src/main/webapp/HP/SC/HPSC003.js
+1
-0
HPSC005A.js
src/main/webapp/HP/SC/HPSC005A.js
+1
-1
HPSC006.js
src/main/webapp/HP/SC/HPSC006.js
+1
-0
HPZL001B.js
src/main/webapp/HP/ZL/HPZL001B.js
+1
-1
common.js
src/main/webapp/common/js/common.js
+24
-0
No files found.
src/main/webapp/HP/KC/HPKC001.js
View file @
42d83246
...
...
@@ -184,6 +184,8 @@ $(function() {
// 保存
$
(
"#BTN_SAVE"
).
on
(
"click"
,
save
);
downKeyUp
();
});
/**
...
...
src/main/webapp/HP/KC/HPKC002A.js
View file @
42d83246
...
...
@@ -15,6 +15,7 @@ $(function () {
// 选择
$
(
"#BTN_SELECT"
).
on
(
"click"
,
select
);
downKeyUp
();
});
/**
...
...
src/main/webapp/HP/KC/HPKC003A.js
View file @
42d83246
...
...
@@ -38,7 +38,7 @@ $(function () {
// 选择
$
(
"#BTN_SELECT"
).
on
(
"click"
,
select
);
downKeyUp
();
});
/**
...
...
src/main/webapp/HP/KC/HPKC004A.js
View file @
42d83246
...
...
@@ -14,7 +14,7 @@ $(function () {
// 选择
$
(
"#BTN_SELECT"
).
on
(
"click"
,
select
);
downKeyUp
();
});
/**
...
...
src/main/webapp/HP/KC/HPKC004B.js
View file @
42d83246
...
...
@@ -15,7 +15,7 @@ $(function () {
// 选择
$
(
"#BTN_SELECT"
).
on
(
"click"
,
select
);
downKeyUp
();
});
/**
...
...
src/main/webapp/HP/KC/HPKC005A.js
View file @
42d83246
...
...
@@ -14,7 +14,7 @@ $(function () {
// 选择
$
(
"#BTN_SELECT"
).
on
(
"click"
,
select
);
downKeyUp
();
});
/**
...
...
src/main/webapp/HP/KC/HPKC006.js
View file @
42d83246
...
...
@@ -196,6 +196,8 @@ $(function() {
// 保存
$
(
"#BTN_SAVE"
).
on
(
"click"
,
save
);
downKeyUp
();
});
/**
...
...
src/main/webapp/HP/KC/HPKC007A.js
View file @
42d83246
...
...
@@ -14,7 +14,7 @@ $(function () {
// 选择
$
(
"#BTN_SELECT"
).
on
(
"click"
,
select
);
downKeyUp
();
});
/**
...
...
src/main/webapp/HP/PZ/HPPZ002.js
View file @
42d83246
...
...
@@ -36,7 +36,7 @@ $(function() {
deleteFunc
();
}
}
downKeyUp
();
});
/**
...
...
src/main/webapp/HP/PZ/HPPZ003.js
View file @
42d83246
...
...
@@ -36,7 +36,7 @@ $(function() {
deleteFunc
();
}
}
downKeyUp
();
});
/**
...
...
src/main/webapp/HP/PZ/HPPZ004.js
View file @
42d83246
...
...
@@ -36,7 +36,7 @@ $(function() {
deleteFunc
();
}
}
downKeyUp
();
});
/**
...
...
src/main/webapp/HP/PZ/HPPZ006.js
View file @
42d83246
...
...
@@ -76,7 +76,7 @@ $(function() {
deleteFunc
();
}
}
downKeyUp
();
});
/**
...
...
src/main/webapp/HP/PZ/HPPZ007.js
View file @
42d83246
...
...
@@ -36,7 +36,7 @@ $(function() {
deleteFunc
();
}
}
downKeyUp
();
});
/**
...
...
src/main/webapp/HP/SC/HPSC002.js
View file @
42d83246
...
...
@@ -599,6 +599,7 @@ $(function () {
}
},
{
async
:
false
});
});
downKeyUp
();
});
$
(
window
).
load
(
function
()
{
...
...
src/main/webapp/HP/SC/HPSC003.js
View file @
42d83246
...
...
@@ -142,6 +142,7 @@ $(function () {
}
},
{
async
:
false
});
});
downKeyUp
();
});
function
showUploadFile
(
id
)
{
...
...
src/main/webapp/HP/SC/HPSC005A.js
View file @
42d83246
...
...
@@ -62,7 +62,7 @@ $(function () {
}
$
(
"#QUERY"
).
on
(
"click"
,
query
);
downKeyUp
();
});
/**
...
...
src/main/webapp/HP/SC/HPSC006.js
View file @
42d83246
...
...
@@ -355,6 +355,7 @@ $(function () {
var
href
=
ctx
+
"
\\
HP
\\
template
\\
SC
\\
HPSC006_生产下料.xls"
;
window
.
location
.
href
=
href
;
});
downKeyUp
();
});
query
=
function
()
{
resultGrid
.
dataSource
.
page
(
1
);
...
...
src/main/webapp/HP/ZL/HPZL001B.js
View file @
42d83246
...
...
@@ -14,7 +14,7 @@ $(function () {
// 选择
$
(
"#BTN_SELECT"
).
on
(
"click"
,
select
);
downKeyUp
();
});
/**
...
...
src/main/webapp/common/js/common.js
View file @
42d83246
...
...
@@ -422,3 +422,26 @@ function drawGrid(blockId, jsonObj, gridIdSuffix, descNameInited) {
__grid_ef_grid_result
.
paint
();
});
};
/**
* 回车退出编辑状态
*/
function
downKeyUp
()
{
window
.
document
.
addEventListener
(
"keyup"
,
function
(
event
)
{
debugger
;
if
(
event
.
keyCode
===
13
)
{
var
grid1
=
$
(
"#ef_grid_result"
).
data
(
"kendoGrid"
);
var
grid2
=
$
(
"#ef_grid_detail"
).
data
(
"kendoGrid"
);
// 回填
//grid.addRows(returnRows);
if
(
grid1
!==
undefined
){
grid1
.
closeCell
();
}
if
(
grid2
!==
undefined
){
grid2
.
closeCell
();
}
}
})
}
\ No newline at end of file
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