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
f0db1624
Commit
f0db1624
authored
Mar 18, 2024
by
鲁鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据字典
parent
59a6abd9
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
65 deletions
+61
-65
nonProdApplyMRP.jsp
...in/webapp/biz/topsun/sap/nonProdApply/nonProdApplyMRP.jsp
+2
-2
nonProdApplyNext.jsp
...n/webapp/biz/topsun/sap/nonProdApply/nonProdApplyNext.jsp
+2
-2
nonProducePickDetail.js
...app/biz/topsun/sap/nonProducePick/nonProducePickDetail.js
+22
-26
sapPurchaseDetail.js
.../main/webapp/biz/topsun/sap/purchase/sapPurchaseDetail.js
+35
-35
No files found.
topsun-xt/src/main/webapp/biz/topsun/sap/nonProdApply/nonProdApplyMRP.jsp
View file @
f0db1624
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
<x:selectC
name=
"dismm"
label=
"MRP类型"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"dismm"
/>
<x:selectC
name=
"dismm"
label=
"MRP类型"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"dismm"
/>
<x:inputC
name=
"minbe"
label=
"重订货点"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"minbe"
label=
"重订货点"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"dispo"
label=
"MRP控制者"
labelCol=
"1"
fieldCol=
"2"
required=
"true"
/>
<x:inputC
name=
"dispo"
label=
"MRP控制者"
labelCol=
"1"
fieldCol=
"2"
required=
"true"
/>
<x:
inputC
name=
"disls"
label=
"批量规模"
labelCol=
"1"
fieldCol=
"2"
required=
"true
"
/>
<x:
selectC
name=
"disls"
label=
"批量规模"
labelCol=
"1"
fieldCol=
"2"
required=
"true"
dictionary=
"disls
"
/>
<x:inputC
name=
"bstfe"
label=
"固定批量"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"bstfe"
label=
"固定批量"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"bstma"
label=
"最大批量"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"bstma"
label=
"最大批量"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"bstmi"
label=
"最小批量"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"bstmi"
label=
"最小批量"
labelCol=
"1"
fieldCol=
"2"
/>
...
@@ -104,7 +104,7 @@
...
@@ -104,7 +104,7 @@
<x:inputC
name=
"eisbe"
label=
"安全库存"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"eisbe"
label=
"安全库存"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"eislo"
label=
"最小安全库存"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"eislo"
label=
"最小安全库存"
labelCol=
"1"
fieldCol=
"2"
/>
<x:selectC
name=
"strgr"
label=
"策略组"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"strgr"
/>
<x:selectC
name=
"strgr"
label=
"策略组"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"strgr"
/>
<x:
inputC
name=
"mtvfp"
label=
"可用性检查组"
labelCol=
"1"
fieldCol=
"2"
required=
"true
"
/>
<x:
selectC
name=
"mtvfp"
label=
"可用性检查组"
labelCol=
"1"
fieldCol=
"2"
required=
"true"
dictionary=
"mtvfp
"
/>
<x:inputC
name=
"wzeit"
label=
"补货提前天数"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"wzeit"
label=
"补货提前天数"
labelCol=
"1"
fieldCol=
"2"
/>
<x:selectC
name=
"sbdkz"
label=
"独立/集中"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"sbdkz"
/>
<x:selectC
name=
"sbdkz"
label=
"独立/集中"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"sbdkz"
/>
<x:selectC
name=
"diskz"
label=
"库存地MRP标识"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"diskz"
/>
<x:selectC
name=
"diskz"
label=
"库存地MRP标识"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"diskz"
/>
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/nonProdApply/nonProdApplyNext.jsp
View file @
f0db1624
...
@@ -207,7 +207,7 @@
...
@@ -207,7 +207,7 @@
<x:selectC
name=
"dismm"
label=
"MRP类型"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"dismm"
/>
<x:selectC
name=
"dismm"
label=
"MRP类型"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"dismm"
/>
<x:inputC
name=
"minbe"
label=
"重订货点"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"minbe"
label=
"重订货点"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"dispo"
label=
"MRP控制者"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"dispo"
label=
"MRP控制者"
labelCol=
"1"
fieldCol=
"2"
/>
<x:
inputC
name=
"disls"
label=
"批量规模"
labelCol=
"1"
fieldCol=
"2
"
/>
<x:
selectC
name=
"disls"
label=
"批量规模"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"disls
"
/>
<x:inputC
name=
"bstfe"
label=
"固定批量"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"bstfe"
label=
"固定批量"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"bstma"
label=
"最大批量"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"bstma"
label=
"最大批量"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"bstmi"
label=
"最小批量"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"bstmi"
label=
"最小批量"
labelCol=
"1"
fieldCol=
"2"
/>
...
@@ -225,7 +225,7 @@
...
@@ -225,7 +225,7 @@
<x:inputC
name=
"eisbe"
label=
"安全库存"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"eisbe"
label=
"安全库存"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"eislo"
label=
"最小安全库存"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"eislo"
label=
"最小安全库存"
labelCol=
"1"
fieldCol=
"2"
/>
<x:selectC
name=
"strgr"
label=
"策略组"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"strgr"
/>
<x:selectC
name=
"strgr"
label=
"策略组"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"strgr"
/>
<x:
inputC
name=
"mtvfp"
label=
"可用性检查组"
labelCol=
"1"
fieldCol=
"2
"
/>
<x:
selectC
name=
"mtvfp"
label=
"可用性检查组"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"mtvfp
"
/>
<x:inputC
name=
"wzeit"
label=
"补货提前天数"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"wzeit"
label=
"补货提前天数"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"altsl"
label=
"BOM选择方法"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"altsl"
label=
"BOM选择方法"
labelCol=
"1"
fieldCol=
"2"
/>
<x:selectC
name=
"sbdkz"
label=
"独立/集中"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"sbdkz"
/>
<x:selectC
name=
"sbdkz"
label=
"独立/集中"
labelCol=
"1"
fieldCol=
"2"
dictionary=
"sbdkz"
/>
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/nonProducePick/nonProducePickDetail.js
View file @
f0db1624
...
@@ -78,32 +78,28 @@ function loadGrid() {
...
@@ -78,32 +78,28 @@ function loadGrid() {
display
:
"物料"
,
name
:
"matnr"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
display
:
"物料"
,
name
:
"matnr"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
editor
:
{
required
:
true
,
type
:
"select"
,
required
:
true
,
type
:
"select"
,
getEditor
:
function
(
editParam
)
{
data
:
{
UICtrl
.
showAjaxDialog
({
type
:
'system'
,
title
:
''
,
name
:
"sapMaterialSelect"
,
width
:
800
,
getParam
:
function
(
item
)
{
height
:
400
,
return
{
url
:
web_app
.
name
+
'/sapDialogSelect/forwardSapMaterial.load'
,
filterValue
:
item
.
werks
okVal
:
'common.button.ok'
,
}
ok
:
function
(
item
){
var
row
=
DataUtil
.
getSelectedRow
(
mainGridManager
);
if
(
!
row
){
return
;
}
gridManager
.
updateRow
(
editParam
,
{
matnr
:
row
.
matnr
,
maktx
:
row
.
maktx
,
lgort
:
row
.
lgfsb
,
lgobe
:
row
.
lgobe
,
meins
:
row
.
meins
,
msehl
:
row
.
msehl
,
});
return
true
;
},
},
close
:
true
back
:
{
});
MATNR
:
"matnr"
,
MAKTX
:
"maktx"
,
MATKL
:
"matkl"
,
WGBEZ
:
"matklName"
,
EKGRP
:
"ekgrp"
,
EKNAM
:
"ekgrpName"
,
PEINH
:
"peinh"
,
MEINS
:
"meins"
,
MSEHL
:
"meinsName"
,
LGORT
:
"lgort"
,
LGOBE
:
"lgobe"
}
}
},
}
}
},
},
{
{
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/purchase/sapPurchaseDetail.js
View file @
f0db1624
...
@@ -9,7 +9,7 @@ function bindEvent() {
...
@@ -9,7 +9,7 @@ function bindEvent() {
if
(
"ZFW"
==
data
.
value
){
if
(
"ZFW"
==
data
.
value
){
pstyp
=
"D"
;
pstyp
=
"D"
;
}
else
{
}
else
{
pstyp
=
"
"
;
pstyp
=
""
;
}
}
}
}
})
})
...
@@ -102,34 +102,28 @@ function getGridColumns() {
...
@@ -102,34 +102,28 @@ function getGridColumns() {
{
display
:
"物料编号"
,
name
:
"matnr"
,
width
:
"300"
,
align
:
"left"
,
type
:
"string"
,
{
display
:
"物料编号"
,
name
:
"matnr"
,
width
:
"300"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
editor
:
{
required
:
true
,
type
:
"select"
,
required
:
true
,
type
:
"select"
,
getEditor
:
function
(
editParam
)
{
data
:
{
UICtrl
.
showAjaxDialog
({
type
:
'system'
,
title
:
''
,
name
:
"sapMaterialSelect"
,
width
:
800
,
getParam
:
function
(
item
)
{
height
:
400
,
return
{
url
:
web_app
.
name
+
'/sapDialogSelect/forwardSapMaterial.load'
,
filterValue
:
item
.
werks
okVal
:
'common.button.ok'
,
}
ok
:
function
(
item
){
var
row
=
DataUtil
.
getSelectedRow
(
mainGridManager
);
if
(
!
row
){
return
;
}
itemGridManager
.
updateRow
(
editParam
,
{
matnr
:
row
.
matnr
,
txz01
:
row
.
maktx
,
lgort
:
row
.
lgfsb
,
lgobe
:
row
.
lgobe
,
matkl
:
row
.
matkl
,
ekgrp
:
row
.
ekgrp
,
peinh
:
row
.
peinh
,
meins
:
row
.
meins
,
});
return
true
;
},
},
close
:
true
back
:
{
});
MATNR
:
"matnr"
,
MAKTX
:
"maktx"
,
MATKL
:
"matkl"
,
WGBEZ
:
"matklName"
,
EKGRP
:
"ekgrp"
,
EKNAM
:
"ekgrpName"
,
PEINH
:
"peinh"
,
MEINS
:
"meins"
,
MSEHL
:
"meinsName"
,
LGORT
:
"lgort"
,
LGOBE
:
"lgobe"
}
}
},
}
}
},
},
{
display
:
"库存地点"
,
name
:
"lgort"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,
{
display
:
"库存地点"
,
name
:
"lgort"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,
...
@@ -281,23 +275,23 @@ function getGridColumns() {
...
@@ -281,23 +275,23 @@ function getGridColumns() {
},
},
{
display
:
"会计分配序号"
,
name
:
"zebkn"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,
{
display
:
"会计分配序号"
,
name
:
"zebkn"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
type
:
'text'
},
editor
:
{
type
:
'text'
},
/*
render:function (item){
render
:
function
(
item
){
//申购项次为消耗性采购时,从1开始步长为1自动编号,最大99
//申购项次为消耗性采购时,从1开始步长为1自动编号,最大99
if
(
item
.
knttp
!=
''
){
if
(
item
.
knttp
!=
''
){
ZEBKN_NUM
=
ZEBKN_NUM
+
1
;
ZEBKN_NUM
=
ZEBKN_NUM
+
1
;
}
}
return
item
.
zebkn
=
ZEBKN_NUM
;
return
item
.
zebkn
=
ZEBKN_NUM
;
}
*/
}
},
},
{
display
:
"多重科目分配"
,
name
:
"vrtkz"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,
{
display
:
"多重科目分配"
,
name
:
"vrtkz"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
type
:
'text'
},
//
editor: {type: 'text'},
/*
render : function (item) {
render
:
function
(
item
)
{
var
bsart
=
$
(
"#bsart"
).
val
();
var
bsart
=
$
(
"#bsart"
).
val
();
//资产消耗性申购,若申请数量大于1,此处不能为空,必须选择1
//资产消耗性申购,若申请数量大于1,此处不能为空,必须选择1
if (bsart == "
ZNE1
" && item.menge > 1){
if
(
bsart
==
"
A
"
&&
item
.
menge
>
1
){
return
item
.
vrtkz
=
1
;
return
item
.
vrtkz
=
1
;
}
}
}
*/
}
},
},
{
display
:
"部分发票"
,
name
:
"twrkz"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,
{
display
:
"部分发票"
,
name
:
"twrkz"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
type
:
'text'
},
editor
:
{
type
:
'text'
},
...
@@ -372,6 +366,12 @@ function getExtendedData(processAction) {
...
@@ -372,6 +366,12 @@ function getExtendedData(processAction) {
if
(
!
datas
)
{
if
(
!
datas
)
{
return
false
;
return
false
;
}
}
datas
.
forEach
(
data
=>
{
if
(
data
.
pstyp
===
"D"
&&
Public
.
isBlank
(
data
.
srvpos
)){
Public
.
tip
(
"项次类别等于D时,服务主数据编号必须输入"
)
return
false
;
}
})
extendedData
.
sapPurchaseItems
=
Public
.
encodeJSONURI
(
datas
);
extendedData
.
sapPurchaseItems
=
Public
.
encodeJSONURI
(
datas
);
}
}
return
extendedData
;
return
extendedData
;
...
...
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