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
006c0fde
Commit
006c0fde
authored
Feb 28, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
js增删更新
parent
b70abca8
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
129 additions
and
14 deletions
+129
-14
ServiceHPKC001.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC001.java
+1
-1
HPPZ012.xml
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ012.xml
+1
-1
HPKC001.js
src/main/webapp/HP/KC/HPKC001.js
+7
-0
HPKC002.js
src/main/webapp/HP/KC/HPKC002.js
+5
-0
HPKC003.js
src/main/webapp/HP/KC/HPKC003.js
+5
-0
HPKC004.js
src/main/webapp/HP/KC/HPKC004.js
+6
-1
HPKC005.js
src/main/webapp/HP/KC/HPKC005.js
+8
-1
HPKC006.js
src/main/webapp/HP/KC/HPKC006.js
+7
-0
HPKC007.js
src/main/webapp/HP/KC/HPKC007.js
+5
-0
HPKC008.js
src/main/webapp/HP/KC/HPKC008.js
+8
-1
HPPZ002.js
src/main/webapp/HP/PZ/HPPZ002.js
+8
-1
HPPZ003.js
src/main/webapp/HP/PZ/HPPZ003.js
+8
-1
HPPZ004.js
src/main/webapp/HP/PZ/HPPZ004.js
+8
-1
HPPZ006.js
src/main/webapp/HP/PZ/HPPZ006.js
+8
-1
HPPZ007.js
src/main/webapp/HP/PZ/HPPZ007.js
+8
-1
HPPZ011.js
src/main/webapp/HP/PZ/HPPZ011.js
+7
-0
HPPZ012.js
src/main/webapp/HP/PZ/HPPZ012.js
+7
-0
HPSC005A.js
src/main/webapp/HP/SC/HPSC005A.js
+8
-1
HPSC005C.jsp
src/main/webapp/HP/SC/HPSC005C.jsp
+2
-2
HPSC006.js
src/main/webapp/HP/SC/HPSC006.js
+7
-1
HPZL001.js
src/main/webapp/HP/ZL/HPZL001.js
+5
-0
No files found.
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC001.java
View file @
006c0fde
...
...
@@ -229,7 +229,7 @@ public class ServiceHPKC001 extends ServiceBase {
// 入库单号
List
<
String
>
otherEnterNos
=
ObjectUtils
.
listKey
(
resultRows
,
"otherEnterNo"
);
// 锁记录
HPKCTools
.
HpKc001
.
lock
(
otherEnterNos
);
HPKCTools
.
HpKc001
.
lock
(
otherEnterNos
);
// 查询数据库记录
Map
<
String
,
HPKC001
>
mapKc001
=
HPKCTools
.
HpKc001
.
map
(
otherEnterNos
);
// 删除数据
...
...
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ012.xml
View file @
006c0fde
...
...
@@ -139,7 +139,7 @@
<!-- 逻辑删除 -->
<delete
id=
"delete"
>
UPDATE
FROM
${hpjxSchema}.T_HPPZ012 SET DELETE_FLAG = #deleteFlag# WHERE ID = #id#
UPDATE ${hpjxSchema}.T_HPPZ012 SET DELETE_FLAG = #deleteFlag# WHERE ID = #id#
</delete>
<update
id=
"update"
>
...
...
src/main/webapp/HP/KC/HPKC001.js
View file @
006c0fde
...
...
@@ -112,6 +112,13 @@ $(function() {
}
}
});
},
onSuccess
:
function
(
e
)
{
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'update'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'insert'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
}
}
}
}
...
...
src/main/webapp/HP/KC/HPKC002.js
View file @
006c0fde
...
...
@@ -9,6 +9,11 @@ $(function () {
}
}],
loadComplete
:
function
(
grid
)
{
},
onSuccess
:
function
(
e
)
{
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
}
}
}
}
...
...
src/main/webapp/HP/KC/HPKC003.js
View file @
006c0fde
...
...
@@ -13,6 +13,11 @@ $(function () {
},
columns
:
[],
loadComplete
:
function
(
grid
)
{
},
onSuccess
:
function
(
e
)
{
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
}
}
}
...
...
src/main/webapp/HP/KC/HPKC004.js
View file @
006c0fde
...
...
@@ -10,7 +10,12 @@ $(function () {
}],
loadComplete
:
function
(
grid
)
{
}
}
},
onSuccess
:
function
(
e
)
{
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
}
}
}
// 查询
...
...
src/main/webapp/HP/KC/HPKC005.js
View file @
006c0fde
...
...
@@ -80,7 +80,14 @@ $(function() {
}
}],
loadComplete
:
function
(
grid
)
{
}
},
onSuccess
:
function
(
e
)
{
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'update'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'insert'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
}
}
}
}
...
...
src/main/webapp/HP/KC/HPKC006.js
View file @
006c0fde
...
...
@@ -186,6 +186,13 @@ $(function() {
console.log(e.model.inventCode);*/
//e.preventDefault(); // 不关闭单元格
}
},
onSuccess
:
function
(
e
)
{
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'update'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'insert'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
}
}
}
}
...
...
src/main/webapp/HP/KC/HPKC007.js
View file @
006c0fde
...
...
@@ -13,6 +13,11 @@ $(function() {
}
}],
loadComplete
:
function
(
grid
)
{
},
onSuccess
:
function
(
e
)
{
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
}
}
}
}
...
...
src/main/webapp/HP/KC/HPKC008.js
View file @
006c0fde
...
...
@@ -34,7 +34,14 @@ $(function() {
inInfo
.
set
(
"field"
,
options
.
field
);
refreshSelect
(
container
,
inInfo
);
}
}]
}],
onSuccess
:
function
(
e
)
{
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'update'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'insert'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
}
}
}
});
...
...
src/main/webapp/HP/PZ/HPPZ002.js
View file @
006c0fde
...
...
@@ -18,7 +18,14 @@ $(function() {
template
:
function
(
options
)
{
return
showUserName
(
options
.
updatedBy
,
options
.
updatedName
);
}
}]
}],
onSuccess
:
function
(
e
)
{
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'update'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'insert'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
}
}
}
});
...
...
src/main/webapp/HP/PZ/HPPZ003.js
View file @
006c0fde
...
...
@@ -18,7 +18,14 @@ $(function() {
template
:
function
(
options
)
{
return
showUserName
(
options
.
updatedBy
,
options
.
updatedName
);
}
}]
}],
onSuccess
:
function
(
e
)
{
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'update'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'insert'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
}
}
}
});
...
...
src/main/webapp/HP/PZ/HPPZ004.js
View file @
006c0fde
...
...
@@ -18,7 +18,14 @@ $(function() {
template
:
function
(
options
)
{
return
showUserName
(
options
.
updatedBy
,
options
.
updatedName
);
}
}]
}],
onSuccess
:
function
(
e
)
{
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'update'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'insert'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
}
}
}
});
...
...
src/main/webapp/HP/PZ/HPPZ006.js
View file @
006c0fde
...
...
@@ -69,7 +69,14 @@ $(function() {
template
:
"#=textField#"
});
}
}]
}],
onSuccess
:
function
(
e
)
{
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'update'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'insert'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
}
}
}
});
...
...
src/main/webapp/HP/PZ/HPPZ007.js
View file @
006c0fde
...
...
@@ -18,7 +18,14 @@ $(function() {
template
:
function
(
options
)
{
return
showUserName
(
options
.
updatedBy
,
options
.
updatedName
);
}
}]
}],
onSuccess
:
function
(
e
)
{
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'update'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'insert'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
}
}
}
});
...
...
src/main/webapp/HP/PZ/HPPZ011.js
View file @
006c0fde
...
...
@@ -34,6 +34,13 @@ $(function () {
// 阻止默认请求,使用自定义删除
e
.
preventDefault
();
deleteFunc
();
},
onSuccess
:
function
(
e
)
{
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'update'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'insert'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
}
}
}
...
...
src/main/webapp/HP/PZ/HPPZ012.js
View file @
006c0fde
...
...
@@ -116,6 +116,13 @@ $(function () {
// 阻止默认请求,使用自定义删除
e
.
preventDefault
();
deleteFunc
();
},
onSuccess
:
function
(
e
)
{
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'update'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'insert'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
}
}
}
...
...
src/main/webapp/HP/SC/HPSC005A.js
View file @
006c0fde
...
...
@@ -43,7 +43,14 @@ $(function () {
// 阻止后台删除请求,使用自定义删除
e
.
preventDefault
();
deleteFunc
();
}
},
onSuccess
:
function
(
e
)
{
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'update'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'insert'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
}
}
}
}
...
...
src/main/webapp/HP/SC/HPSC005C.jsp
View file @
006c0fde
...
...
@@ -51,8 +51,8 @@
<EF:EFInput
ename=
"detail-0-actualCompletionTotalWt"
cname=
"完成重量"
colWidth=
"4"
readonly=
"true"
/>
</div>
<div
class=
"row"
>
<EF:EFDatePicker
ename=
"detail-0-planCompletionDate"
cname=
"计划完成日期"
role=
"date"
format=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
colWidth=
"4"
disabled
=
"true"
/>
<EF:EFDatePicker
ename=
"detail-0-actualCompletionDate"
cname=
"实际完成时间"
role=
"date"
format=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
colWidth=
"4"
disabled
=
"true"
/>
<EF:EFDatePicker
ename=
"detail-0-planCompletionDate"
cname=
"计划完成日期"
role=
"date"
format=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
colWidth=
"4"
readonly
=
"true"
/>
<EF:EFDatePicker
ename=
"detail-0-actualCompletionDate"
cname=
"实际完成时间"
role=
"date"
format=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
colWidth=
"4"
readonly
=
"true"
/>
</div>
</EF:EFRegion>
</EF:EFPage>
src/main/webapp/HP/SC/HPSC006.js
View file @
006c0fde
...
...
@@ -176,7 +176,13 @@ $(function () {
}
}
],
onSuccess
:
function
(
e
)
{
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'update'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'insert'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
}
}
}
}
...
...
src/main/webapp/HP/ZL/HPZL001.js
View file @
006c0fde
...
...
@@ -140,6 +140,11 @@ $(function () {
// 阻止默认请求,使用自定义删除
e
.
preventDefault
();
deleteFunc
();
},
onSuccess
:
function
(
e
)
{
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
}
}
}
}
...
...
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