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
99292591
Commit
99292591
authored
May 31, 2024
by
鲁鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
无订单库存入库情况说明物料选择
parent
26b601c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
5 deletions
+35
-5
nonOrderStorageDetail.js
...p/biz/topsun/sap/nonOrderStorage/nonOrderStorageDetail.js
+28
-0
nonOrderStorageDetail.jsp
.../biz/topsun/sap/nonOrderStorage/nonOrderStorageDetail.jsp
+7
-5
No files found.
topsun-xt/src/main/webapp/biz/topsun/sap/nonOrderStorage/nonOrderStorageDetail.js
View file @
99292591
...
...
@@ -5,6 +5,10 @@ $(document).ready(function () {
function
initializateUI
()
{
UICtrl
.
layout
(
"#layout"
,
{
leftWidth
:
3
});
$
(
'#nonOrderStorageList'
).
fileList
({
bizId
:
$
(
"#id"
).
val
()
});
var
isCharge
=
$
(
"#isCharge"
).
val
();
amountController
(
isCharge
)
}
...
...
@@ -49,6 +53,27 @@ function bindEvent() {
amountController
(
data
.
value
)
}
})
$
(
'#productName'
).
searchbox
({
type
:
"system"
,
name
:
"sapMaterialSelect"
,
getParam
:
function
(
item
)
{
if
(
Public
.
isBlank
(
$
(
'#werks'
).
val
())){
Public
.
tip
(
"请先选择工厂!"
)
return
false
}
return
{
/// fieldName: "sapMaterialSelect",
filterValue
:
$
(
'#werks'
).
val
()
}
},
onChange
:
function
(
value
,
data
)
{
$
(
'#productName'
).
val
(
data
.
MAKTX
);
$
(
'#unit'
).
val
(
data
.
MEINS
);
$
(
'#unitName'
).
val
(
data
.
MSEHL
);
$
(
'#store'
).
val
(
data
.
LGFSB
);
$
(
'#storeName'
).
val
(
data
.
LGOBE
);
}
});
}
function
amountController
(
value
){
...
...
@@ -62,6 +87,9 @@ function amountController(value){
}
function
setId
(
value
)
{
$
(
'#id'
).
val
(
value
);
$
(
'#nonOrderStorageList'
).
fileList
({
bizId
:
value
});
}
function
getId
()
{
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/nonOrderStorage/nonOrderStorageDetail.jsp
View file @
99292591
...
...
@@ -3,7 +3,7 @@
<%@ taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%>
<html>
<head>
<x:base
include=
"layout,dialog,grid,tree,combox,commonTree,date"
/>
<x:base
include=
"layout,dialog,grid,tree,combox,commonTree,date
,attachment
"
/>
<x:script
src=
'/biz/topsun/sap/nonOrderStorage/nonOrderStorageDetail.js'
/>
</head>
<body>
...
...
@@ -33,13 +33,13 @@
<x:hidden
name=
"message"
/>
<div
class=
"hg-form-cols"
>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"productName"
required=
"true"
label=
"品名"
labelCol=
"1"
maxLength=
"64"
fieldCol=
"2"
/>
<x:inputC
name=
"werksName"
required=
"true"
label=
"工厂"
labelCol=
"1"
wrapper=
"select"
fieldCol=
"2"
/>
<x:inputC
name=
"productName"
required=
"true"
label=
"品名"
labelCol=
"1"
maxLength=
"64"
fieldCol=
"2"
wrapper=
"select"
/>
<x:inputC
name=
"number"
required=
"true"
label=
"数量"
labelCol=
"1"
maxLength=
"64"
fieldCol=
"2"
/>
<x:inputC
name=
"unitName"
required=
"true"
label=
"单位"
labelCol=
"1"
wrapper=
"select"
fieldCol=
"2"
/>
<x:selectC
name=
"isCharge"
required=
"true"
label=
"是否收费"
labelCol=
"1"
dictionary=
"yesorno"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row"
>
<x:
inputC
name=
"werksName"
required=
"true"
label=
"工厂"
labelCol=
"1"
wrapper=
"select
"
fieldCol=
"2"
/>
<x:
selectC
name=
"isCharge"
required=
"true"
label=
"是否收费"
labelCol=
"1"
dictionary=
"yesorno
"
fieldCol=
"2"
/>
<x:inputC
name=
"storeName"
required=
"false"
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"
/>
...
...
@@ -48,7 +48,9 @@
<x:textareaC
name=
"reason"
required=
"true"
label=
"事由"
labelCol=
"1"
rows=
"3"
fieldCol=
"6"
/>
</div>
</div>
<div
style=
"padding-top: 15px;"
>
<x:fileList
bizCode=
"nonOrderStorage"
bizId=
"id"
id=
"nonOrderStorageList"
title=
"附件"
/>
</div>
</form>
</div>
</body>
...
...
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