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
2c8f7499
Commit
2c8f7499
authored
Mar 14, 2024
by
yukang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理相关BUG
parent
f0d80ef0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
6 deletions
+18
-6
HPSC003.xml
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC003.xml
+1
-1
HPSC002.js
src/main/webapp/HP/SC/HPSC002.js
+16
-5
HPSC003.js
src/main/webapp/HP/SC/HPSC003.js
+1
-0
No files found.
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC003.xml
View file @
2c8f7499
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
PRDT_CODE LIKE ('%$prdtCode$%')
PRDT_CODE LIKE ('%$prdtCode$%')
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"prdtName"
>
<isNotEmpty
prepend=
" AND "
property=
"prdtName"
>
PRDT_NAME
= #prdtName#
PRDT_NAME
LIKE ('%$prdtName$%')
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"planCompletionDate"
>
<isNotEmpty
prepend=
" AND "
property=
"planCompletionDate"
>
PLAN_COMPLETION_DATE = #planCompletionDate#
PLAN_COMPLETION_DATE = #planCompletionDate#
...
...
src/main/webapp/HP/SC/HPSC002.js
View file @
2c8f7499
...
@@ -135,9 +135,9 @@ $(function () {
...
@@ -135,9 +135,9 @@ $(function () {
* e.preventDefault 阻止事件发生
* e.preventDefault 阻止事件发生
*/
*/
beforeAdd
:
function
(
e
)
{
beforeAdd
:
function
(
e
)
{
var
lv
=
IPLATUI
.
EFTree
.
materialTree
.
selectTreeNode
.
nodeId
.
lv
;
var
lv
=
IPLATUI
.
EFTree
.
materialTree
.
selectTreeNode
.
lv
;
var
logic
=
IPLATUI
.
EFTree
.
materialTree
.
selectTreeNode
.
nodeId
?
false
:
true
;
var
logic
=
IPLATUI
.
EFTree
.
materialTree
.
selectTreeNode
.
nodeId
?
false
:
true
;
if
(
lv
===
3
)
{
if
(
lv
===
'3'
)
{
IPLAT
.
alert
({
IPLAT
.
alert
({
message
:
'<b>不能在零件下进行新增</b>'
,
message
:
'<b>不能在零件下进行新增</b>'
,
okFn
:
function
(
e
)
{
okFn
:
function
(
e
)
{
...
@@ -363,17 +363,28 @@ $(function () {
...
@@ -363,17 +363,28 @@ $(function () {
* 导入
* 导入
*/
*/
$
(
"#IMPORT"
).
on
(
"click"
,
function
(
e
)
{
$
(
"#IMPORT"
).
on
(
"click"
,
function
(
e
)
{
var
lv
=
IPLATUI
.
EFTree
.
materialTree
.
selectTreeNode
.
lv
;
var
logic
=
IPLATUI
.
EFTree
.
materialTree
.
selectTreeNode
.
nodeId
?
false
:
true
;
var
logic
=
IPLATUI
.
EFTree
.
materialTree
.
selectTreeNode
.
nodeId
?
false
:
true
;
if
(
l
ogic
)
{
// 通过业务逻辑判断, 控制是否进行新增
if
(
l
v
===
'3'
)
{
IPLAT
.
alert
({
IPLAT
.
alert
({
message
:
'<b>
请选择项目列表
</b>'
,
message
:
'<b>
不能在零件下进行导入
</b>'
,
okFn
:
function
(
e
)
{
okFn
:
function
(
e
)
{
},
},
title
:
'提示'
title
:
'提示'
});
});
e
.
preventDefault
();
e
.
preventDefault
();
}
else
{
}
else
{
openFileWindow
.
open
();
if
(
logic
)
{
// 通过业务逻辑判断, 控制是否进行新增
IPLAT
.
alert
({
message
:
'<b>请选择项目列表</b>'
,
okFn
:
function
(
e
)
{
},
title
:
'提示'
});
e
.
preventDefault
();
}
else
{
openFileWindow
.
open
();
}
}
}
});
});
IPLATUI
.
EFUpload
=
{
IPLATUI
.
EFUpload
=
{
...
...
src/main/webapp/HP/SC/HPSC003.js
View file @
2c8f7499
...
@@ -349,6 +349,7 @@ function saveDetail(btn) {
...
@@ -349,6 +349,7 @@ function saveDetail(btn) {
JSUtils
.
submitGridsData
(
"detail"
,
"HPSC003"
,
"updatePlanDetail"
,
true
);
JSUtils
.
submitGridsData
(
"detail"
,
"HPSC003"
,
"updatePlanDetail"
,
true
);
//释放禁用按钮
//释放禁用按钮
btn
.
attr
(
"disabled"
,
false
);
btn
.
attr
(
"disabled"
,
false
);
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