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
bd791048
Commit
bd791048
authored
Mar 06, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.采购入库和其他入库重量显示异常修复
2.规格不显示ID,材质和单位非必填
parent
acd22d14
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
21 deletions
+8
-21
ServiceHPKC001.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC001.java
+1
-1
HPKC001.js
src/main/webapp/HP/KC/HPKC001.js
+2
-2
HPKC006.js
src/main/webapp/HP/KC/HPKC006.js
+2
-2
HPPZ006.js
src/main/webapp/HP/PZ/HPPZ006.js
+0
-13
HPPZ006.jsp
src/main/webapp/HP/PZ/HPPZ006.jsp
+3
-3
No files found.
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC001.java
View file @
bd791048
...
...
@@ -203,7 +203,7 @@ public class ServiceHPKC001 extends ServiceBase {
}
/**
* 删除操作
* 删除操作
intCompact = 14040
*
* @param inInfo
* @return
...
...
src/main/webapp/HP/KC/HPKC001.js
View file @
bd791048
...
...
@@ -92,12 +92,12 @@ $(function() {
},
{
field
:
"unitWeight"
,
template
:
function
(
options
)
{
return
options
.
length
==
0
?
"-"
:
options
.
length
;
return
options
.
unitWeight
==
0
?
"-"
:
options
.
unitWeight
;
}
},
{
field
:
"weight"
,
template
:
function
(
options
)
{
return
options
.
length
==
0
?
"-"
:
options
.
length
;
return
options
.
weight
==
0
?
"-"
:
options
.
weight
;
}
},
{
field
:
"length"
,
...
...
src/main/webapp/HP/KC/HPKC006.js
View file @
bd791048
...
...
@@ -95,12 +95,12 @@ $(function() {
},
{
field
:
"unitWeight"
,
template
:
function
(
options
)
{
return
options
.
length
==
0
?
"-"
:
options
.
length
;
return
options
.
unitWeight
==
0
?
"-"
:
options
.
unitWeight
;
}
},
{
field
:
"weight"
,
template
:
function
(
options
)
{
return
options
.
length
==
0
?
"-"
:
options
.
length
;
return
options
.
weight
==
0
?
"-"
:
options
.
weight
;
}
},
{
field
:
"length"
,
...
...
src/main/webapp/HP/PZ/HPPZ006.js
View file @
bd791048
...
...
@@ -123,14 +123,6 @@ let save = function () {
message
(
"选中的第"
+
(
i
+
1
)
+
"行
\"
存货名称
\"
,不能为空!"
);
return
false
;
}
if
(
isBlank
(
row
[
"material"
]))
{
message
(
"选中的第"
+
(
i
+
1
)
+
"行
\"
材质
\"
,不能为空!"
);
return
false
;
}
if
(
isBlank
(
row
[
"unit"
]))
{
message
(
"选中的第"
+
(
i
+
1
)
+
"行
\"
单位
\"
,不能为空!"
);
return
false
;
}
if
(
isBlank
(
row
[
"status"
]))
{
message
(
"选中的第"
+
(
i
+
1
)
+
"行
\"
状态
\"
,不能为空!"
);
return
false
;
...
...
@@ -150,11 +142,6 @@ let save = function () {
message
(
"选中的第"
+
(
i
+
1
)
+
"行
\"
厚
\"
,必须是数值!"
);
return
false
;
}
let
coefficient
=
row
[
"coefficient"
];
if
(
!
isBlank
(
coefficient
)
&&
!
isNumber
(
coefficient
))
{
message
(
"选中的第"
+
(
i
+
1
)
+
"行
\"
厚
\"
,必须是数值!"
);
return
false
;
}
}
JSUtils
.
confirm
(
"确定对勾选中的["
+
rows
.
length
+
"]条数据做
\"
保存
\"
操作? "
,
{
ok
:
function
()
{
...
...
src/main/webapp/HP/PZ/HPPZ006.jsp
View file @
bd791048
...
...
@@ -25,7 +25,7 @@
<EF:EFRegion
id=
"result"
title=
"明细信息"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"row"
>
<EF:EFColumn
ename=
"id"
cname=
"档案ID"
enable=
"false"
width=
"60"
align=
"center
"
/>
<EF:EFColumn
ename=
"id"
cname=
"档案ID"
hidden=
"true
"
/>
<EF:EFComboColumn
ename=
"inventType"
cname=
"存货类型"
width=
"80"
align=
"center"
required=
"true"
readonly=
"true"
>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
/>
...
...
@@ -35,10 +35,10 @@
<EF:EFColumn
ename=
"length"
cname=
"长(MM)"
width=
"100"
align=
"right"
format=
"{0:N2}"
maxLength=
"10"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(MM)"
width=
"100"
align=
"right"
format=
"{0:N2}"
maxLength=
"10"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(MM)"
width=
"100"
align=
"right"
format=
"{0:N2}"
maxLength=
"10"
/>
<EF:EFColumn
ename=
"material"
cname=
"材质"
width=
"100"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"material"
cname=
"材质"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"coefficient"
cname=
"系数"
width=
"80"
align=
"right"
format=
"{0:N2}"
maxLength=
"10"
defaultValue=
"1"
/>
<EF:EFColumn
ename=
"unit"
cname=
"单位"
width=
"80"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"unit"
cname=
"单位"
width=
"80"
align=
"center"
/>
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
align=
"center"
width=
"80"
required=
"true"
defaultValue=
"1"
>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.status"
/>
</EF:EFComboColumn>
...
...
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