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
d753d9a9
Commit
d753d9a9
authored
Mar 25, 2024
by
鲁鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
废品销售单SAP接口调试
parent
4456c68b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
7 deletions
+14
-7
wasteSaleDetail.js
...c/main/webapp/biz/topsun/sap/wasteSale/wasteSaleDetail.js
+10
-3
wasteSaleDetail.jsp
.../main/webapp/biz/topsun/sap/wasteSale/wasteSaleDetail.jsp
+1
-1
wasteSaleList.js
...src/main/webapp/biz/topsun/sap/wasteSale/wasteSaleList.js
+1
-1
WasteSaleApplicationImpl.java
.../wasteSale/application/impl/WasteSaleApplicationImpl.java
+2
-2
No files found.
topsun-xt/src/main/webapp/biz/topsun/sap/wasteSale/wasteSaleDetail.js
View file @
d753d9a9
...
...
@@ -63,10 +63,17 @@ function getGridColumns(){
display
:
"序号"
,
name
:
"sequence"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
},)
columns
.
push
({
display
:
"品类"
,
name
:
"wasteType"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
display
:
"品类"
,
name
:
"wasteType
TextView
"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
required
:
true
,
type
:
"text"
}
type
:
'dictionary'
,
data
:
{
name
:
'wasteType'
},
textField
:
'wasteTypeTextView'
,
valueField
:
'wasteType'
,
required
:
true
,
render
:
function
(
item
)
{
return
item
.
wasteTypeTextView
;
}
},
},)
columns
.
push
({
display
:
"数量"
,
name
:
"quantity"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/wasteSale/wasteSaleDetail.jsp
View file @
d753d9a9
...
...
@@ -34,7 +34,7 @@
</div>
<div
class=
"hg-form-cols"
>
<div
class=
"hg-form-row"
>
<x:
inputC
name=
"paymentMethod"
required=
"false
"
label=
"收款方式"
labelCol=
"2"
fieldCol=
"2"
/>
<x:
selectC
name=
"paymentMethod"
required=
"false"
dictionary=
"paymentMethod
"
label=
"收款方式"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"totalMoney"
readonly=
"true"
label=
"合计"
labelCol=
"2"
fieldCol=
"2"
/>
</div>
</div>
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/wasteSale/wasteSaleList.js
View file @
d753d9a9
...
...
@@ -21,7 +21,7 @@ function loadGrid() {
{
display
:
"公司代码"
,
name
:
"burks"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"回收商"
,
name
:
"bktxt"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"回收日期"
,
name
:
"budat"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"收款方式"
,
name
:
"paymentMethod"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"收款方式"
,
name
:
"paymentMethod
TextView
"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"合计"
,
name
:
"totalMoney"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"消息类型"
,
name
:
"type"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"会计凭证编号"
,
name
:
"messageV1"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
...
...
topsun/src/main/java/com/huigou/topsun/sap/wasteSale/application/impl/WasteSaleApplicationImpl.java
View file @
d753d9a9
...
...
@@ -91,7 +91,7 @@ public class WasteSaleApplicationImpl extends FlowBroker implements WasteSaleApp
sapWasteSaleItemVo
.
setShkzg
(
"S"
);
sapWasteSaleItemVo
.
setKoart
(
"S"
);
sapWasteSaleItemVo
.
setBschl
(
"40"
);
sapWasteSaleItemVo
.
setKtonr
(
"1001010000"
);
sapWasteSaleItemVo
.
setKtonr
(
wasteSale
.
getPaymentMethod
()
);
sapWasteSaleItemVo
.
setWrbtr
(
wasteSaleItem
.
getAmount
().
toString
());
sapWasteSaleItemVo
.
setSgtxt
(
"废品回收-"
+
wasteSaleItem
.
getWasteType
()+
"-"
+
wasteSaleItem
.
getQuantity
()+
wasteSaleItem
.
getUnit
()+
"-"
+
wasteSaleItem
.
getAmount
());
sapWasteSaleItemVo
.
setRstgr
(
"113"
);
...
...
@@ -118,7 +118,7 @@ public class WasteSaleApplicationImpl extends FlowBroker implements WasteSaleApp
throw
new
RuntimeException
(
"数据传输失败,"
+
sapResult
.
getMESSAGE
());
}
wasteSale
.
setType
(
sapResult
.
getTYPE
());
wasteSale
.
setMessageV1
(
sapResult
.
getMESSAGE_V2
());
wasteSale
.
setMessageV1
(
sapResult
.
getMESSAGE_V2
()
.
substring
(
0
,
10
)
);
wasteSaleRepository
.
save
(
wasteSale
);
}
catch
(
IOException
e
)
{
throw
new
RuntimeException
(
e
);
...
...
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