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
a35e48f6
Commit
a35e48f6
authored
Mar 22, 2025
by
1650842865
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料组根据物料类型筛选;采购申请审批增加发货工厂
parent
2ba1e7ef
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
2 deletions
+9
-2
materialApplyNext.js
...n/webapp/biz/topsun/sap/nonProdApply/materialApplyNext.js
+1
-1
nonProdApplyNext.js
...in/webapp/biz/topsun/sap/nonProdApply/nonProdApplyNext.js
+1
-1
sapPurchaseApprovalDetail.js
.../topsun/sap/purchaseApproval/sapPurchaseApprovalDetail.js
+1
-0
sapPurchaseApprovalList.js
...iz/topsun/sap/purchaseApproval/sapPurchaseApprovalList.js
+1
-0
ResourceSearchController.java
...om/huigou/topsun/controller/ResourceSearchController.java
+4
-0
sapPurchaseApproval.xml
...ig/topsun/sap/sapPurchaseApproval/sapPurchaseApproval.xml
+1
-0
No files found.
topsun-xt/src/main/webapp/biz/topsun/sap/nonProdApply/materialApplyNext.js
View file @
a35e48f6
...
...
@@ -326,7 +326,7 @@ function bindEvent() {
getParam
:
function
(
item
)
{
return
{
fieldName
:
"MATKLTYPE"
,
//
filterValue: $("#mtart").val()
filterValue
:
$
(
"#mtart"
).
val
()
}
},
onChange
:
function
(
value
,
data
)
{
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/nonProdApply/nonProdApplyNext.js
View file @
a35e48f6
...
...
@@ -930,7 +930,7 @@ function bindEvent() {
getParam
:
function
(
item
)
{
return
{
fieldName
:
"MATKLTYPE"
,
//
filterValue: $("#mtart").val()
filterValue
:
$
(
"#mtart"
).
val
()
}
},
onChange
:
function
(
value
,
data
)
{
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/purchaseApproval/sapPurchaseApprovalDetail.js
View file @
a35e48f6
...
...
@@ -65,6 +65,7 @@ function getGridColumns() {
{
display
:
"项目类别描述"
,
name
:
"ptext"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
},
{
display
:
"科目分配类别"
,
name
:
"knttp"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,},
{
display
:
"科目分配类别描述"
,
name
:
"knttx"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
},
{
display
:
"发货工厂"
,
name
:
"reswk"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,},
{
display
:
"工厂"
,
name
:
"werks"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,},
{
display
:
"工厂名称"
,
name
:
"name1"
,
width
:
"200"
,
align
:
"left"
,
type
:
"string"
},
{
display
:
"物料编号"
,
name
:
"matnr"
,
width
:
"200"
,
align
:
"left"
,
type
:
"string"
,},
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/purchaseApproval/sapPurchaseApprovalList.js
View file @
a35e48f6
...
...
@@ -42,6 +42,7 @@ function initPurchaseListGrid() {
{
display
:
"项目类别描述"
,
name
:
"ptext"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
},
{
display
:
"科目分配类别"
,
name
:
"knttp"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
},
{
display
:
"科目分配类别描述"
,
name
:
"knttx"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
},
{
display
:
"发货工厂"
,
name
:
"reswk"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,},
{
display
:
"工厂"
,
name
:
"werks"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,},
{
display
:
"工厂名称"
,
name
:
"name1"
,
width
:
"200"
,
align
:
"left"
,
type
:
"string"
},
{
display
:
"物料编号"
,
name
:
"matnr"
,
width
:
"200"
,
align
:
"left"
,
type
:
"string"
,},
...
...
topsun/src/main/java/com/huigou/topsun/controller/ResourceSearchController.java
View file @
a35e48f6
...
...
@@ -726,6 +726,10 @@ public class ResourceSearchController {
.
filter
(
map
->
map
.
containsKey
(
"MATKL"
)
&&
map
.
get
(
"MATKL"
).
length
()
==
3
).
collect
(
Collectors
.
toList
());
resultMapList
=
resultMapList
.
stream
()
.
filter
(
map
->
map
.
values
().
stream
().
anyMatch
(
value
->
value
.
contains
(
filterValue
)))
.
collect
(
Collectors
.
toList
());
}
else
{
//原材料 1/2/3开头,去掉二级分类(三位数)
if
(
StringUtil
.
isNotBlank
(
filterValue
)){
//固定条件过滤,前3位为大类编码
...
...
topsun/src/main/resources/config/topsun/sap/sapPurchaseApproval/sapPurchaseApproval.xml
View file @
a35e48f6
...
...
@@ -48,6 +48,7 @@
ai.badat,
ai.ernam,
ai.name_text,
ai.reswk,
o.dept_name as afnam_dept_name
FROM sap_purchase_approval t
LEFT JOIN sap_purchase_approval_item ai ON t.id = ai.sap_purchase_approval_id
...
...
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