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
fc7a2b1f
Commit
fc7a2b1f
authored
May 17, 2025
by
1650842865
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料主数据中客供料类型增加客户名称
parent
b2f482c0
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
80 additions
and
0 deletions
+80
-0
materialApplyNext.js
...n/webapp/biz/topsun/sap/nonProdApply/materialApplyNext.js
+24
-0
materialApplyNext.jsp
.../webapp/biz/topsun/sap/nonProdApply/materialApplyNext.jsp
+2
-0
nonProdApplyNext.js
...in/webapp/biz/topsun/sap/nonProdApply/nonProdApplyNext.js
+20
-0
nonProdApplyNext.jsp
...n/webapp/biz/topsun/sap/nonProdApply/nonProdApplyNext.jsp
+2
-0
SapNonProdApplyDept.java
...u/topsun/sap/nonProdApply/domain/SapNonProdApplyDept.java
+12
-0
NonProdApplyBasicVo.java
...opsun/sap/nonProdApply/domain/vo/NonProdApplyBasicVo.java
+10
-0
NonProdApplyDeptBaseInfoVo.java
...ap/nonProdApply/domain/vo/NonProdApplyDeptBaseInfoVo.java
+10
-0
No files found.
topsun-xt/src/main/webapp/biz/topsun/sap/nonProdApply/materialApplyNext.js
View file @
fc7a2b1f
...
...
@@ -25,6 +25,7 @@ function initializate() {
UICtrl
.
enable
(
$
(
"#matklName"
));
initbstmi
(
$
(
"#mtart"
).
val
());
initKunnrName
(
$
(
"#mtart"
).
val
());
//物品类型 控制存储的序列号参数
$
(
"#mtart"
).
combox
({
onChange
:
function
(
data
)
{
...
...
@@ -58,6 +59,7 @@ function initializate() {
$
(
"#lgort"
).
val
(
"1099"
);
$
(
"#lgortName"
).
val
(
"客供料专用库"
);
}
initKunnrName
(
data
.
value
);
//刀工模板具
if
((
data
.
value
==
"ZGMB"
)){
$
(
"#raube"
).
val
(
""
);
...
...
@@ -215,6 +217,16 @@ function initbstmi(mtart){
}
}
function
initKunnrName
(
mtart
){
if
(
mtart
==
"ZKGL"
){
UICtrl
.
setElRequiredFlag
(
"#kunnrName"
,
true
);
}
else
{
UICtrl
.
setElRequiredFlag
(
"#kunnrName"
,
false
);
$
(
"#kunnrName"
).
val
(
""
)
$
(
"#kunnr"
).
val
(
""
)
}
}
function
bstmiChange
(
flag
){
UICtrl
.
setElRequiredFlag
(
"#bstmi"
,
flag
);
UICtrl
.
setElRequiredFlag
(
"#bstrf"
,
flag
);
...
...
@@ -388,6 +400,18 @@ function bindEvent() {
$
(
'#matklName'
).
val
(
data
.
WGBEZ
);
}
});
$
(
'#kunnrName'
).
searchbox
({
type
:
"system"
,
name
:
"dictionary"
,
getParam
:
function
(
item
)
{
return
{
fieldName
:
"KUNNR"
}
},
onChange
:
function
(
value
,
data
)
{
$
(
'#kunnr'
).
val
(
data
.
KUNNR
);
$
(
'#kunnrName'
).
val
(
data
.
NAME
);
}
});
//基本计量单位
$
(
'#meinsName'
).
searchbox
({
type
:
"system"
,
name
:
"dictionary"
,
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/nonProdApply/materialApplyNext.jsp
View file @
fc7a2b1f
...
...
@@ -160,6 +160,8 @@
<x:inputC
name=
"thickness"
label=
"厚度cm"
labelCol=
"1"
fieldCol=
"2"
mask=
"999999.9999"
/>
<x:inputC
name=
"weight"
label=
"克重g"
labelCol=
"1"
fieldCol=
"2"
mask=
"999999.9999"
/>
<x:inputC
name=
"singleThickness"
label=
"单层厚"
labelCol=
"1"
fieldCol=
"2"
mask=
"999999.9999"
/>
<x:hidden
name=
"kunnr"
/>
<x:inputC
name=
"kunnrName"
label=
"客户名称"
required=
"true"
labelCol=
"1"
fieldCol=
"2"
wrapper=
"select"
/>
<c:if
test=
"
${
applyType
==
1
}
"
>
<x:selectC
name=
"lvorm"
label=
"集团级删除"
required=
"false"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"lvorm"
/>
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/nonProdApply/nonProdApplyNext.js
View file @
fc7a2b1f
...
...
@@ -22,6 +22,7 @@ function initializate() {
initRaube
(
$
(
"#mtart"
).
val
());
initbstmi
(
$
(
"#mtart"
).
val
());
initueetk
(
$
(
"#mtart"
).
val
());
initKunnrName
(
$
(
"#mtart"
).
val
());
//页面控制
UICtrl
.
enable
(
$
(
"#businessUsage"
));
UICtrl
.
enable
(
$
(
"#matklName"
));
...
...
@@ -243,6 +244,14 @@ function initueetk(mtart){
}
}
function
initKunnrName
(
mtart
){
if
(
mtart
==
"ZKGL"
){
UICtrl
.
setElRequiredFlag
(
"#kunnrName"
,
true
);
}
else
{
UICtrl
.
setElRequiredFlag
(
"#kunnrName"
,
false
);
}
}
function
bstmiChange
(
flag
){
UICtrl
.
setElRequiredFlag
(
"#bstmi"
,
flag
);
UICtrl
.
setElRequiredFlag
(
"#bstrf"
,
flag
);
...
...
@@ -988,6 +997,17 @@ function bindEvent() {
$
(
'#matklName'
).
val
(
data
.
WGBEZ
);
}
});
$
(
'#kunnrName'
).
searchbox
({
type
:
"system"
,
name
:
"dictionary"
,
getParam
:
function
(
item
)
{
return
{
fieldName
:
"KUNNR"
}
},
onChange
:
function
(
value
,
data
)
{
$
(
'#kunnr'
).
val
(
data
.
KUNNR
);
$
(
'#kunnrName'
).
val
(
data
.
NAME
);
}
});
//产品组
$
(
'#spartName'
).
searchbox
({
type
:
"system"
,
name
:
"dictionary"
,
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/nonProdApply/nonProdApplyNext.jsp
View file @
fc7a2b1f
...
...
@@ -153,6 +153,8 @@
<x:inputC
name=
"thickness"
label=
"厚度cm"
labelCol=
"1"
fieldCol=
"2"
mask=
"999999.9999"
/>
<x:inputC
name=
"weight"
label=
"克重g"
labelCol=
"1"
fieldCol=
"2"
mask=
"999999.9999"
/>
<x:inputC
name=
"singleThickness"
label=
"单层厚"
labelCol=
"1"
fieldCol=
"2"
mask=
"999999.9999"
/>
<x:hidden
name=
"kunnr"
/>
<x:inputC
name=
"kunnrName"
label=
"客户名称"
required=
"false"
labelCol=
"1"
fieldCol=
"2"
wrapper=
"select"
/>
<x:inputC
name=
"klart"
label=
"类型"
labelCol=
"1"
fieldCol=
"2"
readonly=
"true"
/>
<x:inputC
name=
"classify"
label=
"分类"
labelCol=
"1"
fieldCol=
"2"
readonly=
"true"
/>
<c:if
test=
"
${
applyType
==
1
}
"
>
...
...
topsun/src/main/java/com/huigou/topsun/sap/nonProdApply/domain/SapNonProdApplyDept.java
View file @
fc7a2b1f
...
...
@@ -1019,5 +1019,17 @@ public class SapNonProdApplyDept implements Serializable {
@Column
(
name
=
"enable_reason"
)
private
String
enableReason
;
/**
* 客户编码
*/
@Column
(
name
=
"kunnr"
)
private
String
kunnr
;
/**
* 客户名称
*/
@Column
(
name
=
"kunnr_name"
)
private
String
kunnrName
;
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
topsun/src/main/java/com/huigou/topsun/sap/nonProdApply/domain/vo/NonProdApplyBasicVo.java
View file @
fc7a2b1f
...
...
@@ -694,4 +694,14 @@ public class NonProdApplyBasicVo extends NonProdApplyDeptVo {
private
String
enableReason
;
/**
* 客户编码
*/
private
String
kunnr
;
/**
* 客户名称
*/
private
String
kunnrName
;
}
topsun/src/main/java/com/huigou/topsun/sap/nonProdApply/domain/vo/NonProdApplyDeptBaseInfoVo.java
View file @
fc7a2b1f
...
...
@@ -917,5 +917,15 @@ public class NonProdApplyDeptBaseInfoVo implements Serializable {
private
String
enableReason
;
/**
* 客户编码
*/
private
String
kunnr
;
/**
* 客户名称
*/
private
String
kunnrName
;
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
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