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
a4d6a480
Commit
a4d6a480
authored
Apr 16, 2024
by
鲁鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
非资产类消耗性采购申请增加总账科目,在财务环节必填
parent
1aebcb65
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
580 additions
and
5 deletions
+580
-5
sapZNE2PurchaseDetail.js
...n/webapp/biz/topsun/sap/purchase/sapZNE2PurchaseDetail.js
+536
-0
sapZNE2PurchaseDetail.jsp
.../webapp/biz/topsun/sap/purchase/sapZNE2PurchaseDetail.jsp
+39
-0
SapPurchaseController.java
...topsun/sap/purchase/controller/SapPurchaseController.java
+5
-5
No files found.
topsun-xt/src/main/webapp/biz/topsun/sap/purchase/sapZNE2PurchaseDetail.js
0 → 100644
View file @
a4d6a480
This diff is collapsed.
Click to expand it.
topsun-xt/src/main/webapp/biz/topsun/sap/purchase/sapZNE2PurchaseDetail.jsp
0 → 100644
View file @
a4d6a480
<%--采购申请--%>
<%@ page
contentType=
"text/html; charset=utf-8"
language=
"java"
%>
<%@ taglib
uri=
"/WEB-INF/taglib.tld"
prefix=
"x"
%>
<%@ taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%>
<html>
<head>
<x:base
include=
"layout,dialog,grid,tree,dateTime,combox,attachment,commonTree,comboDialog"
/>
<x:script
src=
"/biz/topsun/sap/purchase/sapZNE2PurchaseDetail.js"
/>
</head>
<body>
<div
class=
"container-fluid"
>
<x:billTitle
title=
"采购申请"
needStatus=
"true"
needPerson=
"true"
/>
<form
class=
"hg-form"
method=
"post"
action=
""
id=
"submitForm"
>
<x:hidden
name=
"id"
/>
<x:hidden
name=
"version"
/>
<x:hidden
name=
"billCode"
/>
<x:hidden
name=
"fillinDate"
/>
<x:hidden
name=
"fullId"
/>
<x:hidden
name=
"organId"
/>
<x:hidden
name=
"organName"
/>
<x:hidden
name=
"deptId"
/>
<x:hidden
name=
"deptName"
/>
<x:hidden
name=
"positionId"
/>
<x:hidden
name=
"positionName"
/>
<x:hidden
name=
"personMemberId"
/>
<x:hidden
name=
"personMemberName"
/>
<x:hidden
name=
"statusId"
/>
<x:hidden
name=
"frgdt"
/>
<div
class=
"hg-form-cols"
>
<div
class=
"hg-form-row"
>
<x:selectC
name=
"bsart"
label=
"pr类型"
disabled=
"true"
labelCol=
"1"
fieldCol=
"2"
required=
"true"
/>
<x:inputC
name=
"knttp"
label=
"科目分配类别"
labelCol=
"1"
fieldCol=
"2"
required=
"true"
wrapper=
"select"
/>
<x:inputC
name=
"banfn"
label=
"采购申请编号"
readonly=
"true"
labelCol=
"1"
fieldCol=
"2"
required=
"false"
/>
</div>
</div>
<div
id=
"maingrid"
></div>
</form>
</div>
</body>
\ No newline at end of file
topsun/src/main/java/com/huigou/topsun/sap/purchase/controller/SapPurchaseController.java
View file @
a4d6a480
...
@@ -61,12 +61,12 @@ public class SapPurchaseController extends CommonController {
...
@@ -61,12 +61,12 @@ public class SapPurchaseController extends CommonController {
Operator
operator
=
getOperator
();
Operator
operator
=
getOperator
();
sapPurchase
.
setDefaultValues
(
new
OrgUnit
(
operator
.
getFullId
(),
operator
.
getFullName
()));
sapPurchase
.
setDefaultValues
(
new
OrgUnit
(
operator
.
getFullId
(),
operator
.
getFullName
()));
switch
(
bsart
){
switch
(
bsart
){
case
"ZNE1"
:
case
"ZNE1"
:
//固定资产采购申请
return
forward
(
"sapZNE1PurchaseDetail"
,
sapPurchase
);
return
forward
(
"sapZNE1PurchaseDetail"
,
sapPurchase
);
case
"ZFW"
:
case
"ZFW"
:
//服务类采购申请
return
forward
(
"sapPurchaseDetail"
,
sapPurchase
);
case
"ZNE2"
:
return
forward
(
"sapPurchaseDetail"
,
sapPurchase
);
return
forward
(
"sapPurchaseDetail"
,
sapPurchase
);
case
"ZNE2"
:
//非资产类消耗性采购申请
return
forward
(
"sapZNE2PurchaseDetail"
,
sapPurchase
);
}
}
return
null
;
return
null
;
}
}
...
@@ -81,7 +81,7 @@ public class SapPurchaseController extends CommonController {
...
@@ -81,7 +81,7 @@ public class SapPurchaseController extends CommonController {
case
"ZFW"
:
case
"ZFW"
:
return
forward
(
"sapPurchaseDetail"
,
sapPurchase
);
return
forward
(
"sapPurchaseDetail"
,
sapPurchase
);
case
"ZNE2"
:
case
"ZNE2"
:
return
forward
(
"sapPurchaseDetail"
,
sapPurchase
);
return
forward
(
"sap
ZNE2
PurchaseDetail"
,
sapPurchase
);
}
}
return
null
;
return
null
;
}
}
...
...
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