Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-bpm
Project
Project
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
鲁鑫
topsun-bpm
Commits
cad579bb
Commit
cad579bb
authored
Apr 09, 2024
by
鲁鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
无订单库存入库增加总价值字段
parent
1a514085
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
3 deletions
+25
-3
nonOrderStorageDetail.js
...p/biz/topsun/sap/nonOrderStorage/nonOrderStorageDetail.js
+15
-0
nonOrderStorageDetail.jsp
.../biz/topsun/sap/nonOrderStorage/nonOrderStorageDetail.jsp
+3
-2
nonOrderStorageList.js
...app/biz/topsun/sap/nonOrderStorage/nonOrderStorageList.js
+1
-1
NonOrderStorage.java
...ou/topsun/sap/nonOrderStorage/domain/NonOrderStorage.java
+6
-0
No files found.
topsun-xt/src/main/webapp/biz/topsun/sap/nonOrderStorage/nonOrderStorageDetail.js
View file @
cad579bb
...
...
@@ -5,6 +5,8 @@ $(document).ready(function () {
function
initializateUI
()
{
UICtrl
.
layout
(
"#layout"
,
{
leftWidth
:
3
});
var
isCharge
=
$
(
"#isCharge"
).
val
();
amountController
(
isCharge
)
}
function
bindEvent
()
{
...
...
@@ -43,8 +45,21 @@ function bindEvent() {
$
(
'#unitName'
).
val
(
data
.
MSEHL
);
}
});
$
(
"#isCharge"
).
combox
({
onChange
:
function
(
data
){
amountController
(
data
.
value
)
}
})
}
function
amountController
(
value
){
if
(
"1"
==
value
){
UICtrl
.
setElHideOrShow
(
"#amount"
,
false
)
UICtrl
.
setElRequiredFlag
(
"#amount"
,
true
);
}
else
{
UICtrl
.
setElRequiredFlag
(
"#amount"
,
false
);
UICtrl
.
setElHideOrShow
(
"#amount"
,
true
)
}
}
function
setId
(
value
)
{
$
(
'#id'
).
val
(
value
);
}
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/nonOrderStorage/nonOrderStorageDetail.jsp
View file @
cad579bb
...
...
@@ -8,7 +8,7 @@
</head>
<body>
<div
class=
"container-fluid"
>
<x:billTitle
title=
"无订单库存入库"
needStatus=
"false"
needPerson=
"true"
/>
<x:billTitle
title=
"无订单库存入库
情况说明
"
needStatus=
"false"
needPerson=
"true"
/>
<div
class=
"blank_div clearfix"
></div>
<form
class=
"hg-form"
method=
"post"
action=
""
id=
"submitForm"
>
<x:hidden
name=
"id"
/>
...
...
@@ -40,8 +40,9 @@
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"werksName"
required=
"true"
label=
"工厂"
labelCol=
"1"
wrapper=
"select"
fieldCol=
"2"
/>
<x:inputC
name=
"storeName"
required=
"
tru
e"
label=
"库存地点"
labelCol=
"1"
wrapper=
"select"
fieldCol=
"2"
/>
<x:inputC
name=
"storeName"
required=
"
fals
e"
label=
"库存地点"
labelCol=
"1"
wrapper=
"select"
fieldCol=
"2"
/>
<x:inputC
name=
"supplier"
required=
"true"
label=
"供应商"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"amount"
required=
"false"
label=
"总价值"
labelCol=
"1"
fieldCol=
"2"
mask=
"positiveMoney"
/>
</div>
<div
class=
"hg-form-row"
>
<x:textareaC
name=
"reason"
required=
"true"
label=
"事由"
labelCol=
"1"
rows=
"3"
fieldCol=
"6"
/>
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/nonOrderStorage/nonOrderStorageList.js
View file @
cad579bb
...
...
@@ -84,7 +84,7 @@ function updateHandler(row) {
UICtrl
.
addTabItem
({
tabid
:
'nonOrderStorageDetail'
,
text
:
"查看无订单库存入库"
,
url
:
web_app
.
name
+
'/nonOrderStorage/showNonOrderStorageDetail.job?isReadOnly=true&
i
d='
+
row
.
id
url
:
web_app
.
name
+
'/nonOrderStorage/showNonOrderStorageDetail.job?isReadOnly=true&
bizI
d='
+
row
.
id
})
}
...
...
topsun/src/main/java/com/huigou/topsun/sap/nonOrderStorage/domain/NonOrderStorage.java
View file @
cad579bb
...
...
@@ -97,6 +97,12 @@ public class NonOrderStorage extends FlowBillAbstractEntity {
@Column
(
name
=
"message"
)
private
String
message
;
/**
* 总价值
*/
@Column
(
name
=
"amount"
)
private
BigDecimal
amount
;
@Override
protected
String
getCodeRuleId
()
{
return
"nonOrderStorage"
;
...
...
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