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
c44552ed
Commit
c44552ed
authored
Nov 07, 2024
by
鲁鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成品外购打印时,供应商模糊匹配;ECN打印根据产品编码查询产品信息接口传输字段变更
parent
51d00046
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
28 deletions
+28
-28
nonProdApplyDetail.js
.../webapp/biz/topsun/sap/nonProdApply/nonProdApplyDetail.js
+0
-2
epChangeForm.ftl
...xt/src/main/webapp/template/print/topsun/epChangeForm.ftl
+26
-22
EpApplicationImpl.java
...uigou/topsun/ep/epApplication/impl/EpApplicationImpl.java
+1
-1
SapPurchaseOrderApplicationImpl.java
...der/application/impl/SapPurchaseOrderApplicationImpl.java
+1
-3
No files found.
topsun-xt/src/main/webapp/biz/topsun/sap/nonProdApply/nonProdApplyDetail.js
View file @
c44552ed
...
...
@@ -49,8 +49,6 @@ function initialize(){
}
$
(
'input[name="isAll"]'
).
change
(
function
()
{
//alert($(this).is(':checked'));
debugger
if
(
$
(
this
).
is
(
':checked'
))
{
//alert("全选");
// $("#busiLens").val(dictUsage.length);
for
(
var
x
=
0
;
x
<
$
(
"input[name='businessUsage']"
).
length
;
x
++
)
{
...
...
topsun-xt/src/main/webapp/template/print/topsun/epChangeForm.ftl
View file @
c44552ed
...
...
@@ -10,11 +10,11 @@
font-size
:
13px
;
}
@page
:
first
{
margin-top
:
1.8
cm
;
margin-top
:
3.5
cm
;
}
@page
{
size
:
A4
;
margin-top
:
1.9
cm
;
margin-top
:
3.6
cm
;
@top-center
{
content
:
element
(
header
);
}
...
...
@@ -24,23 +24,27 @@
<body>
<!-- 页眉部分 -->
<div
style=
"position: running(header);"
id=
"header"
>
<div
class=
"billTitle"
style=
"font-size: 25px"
>
<span
style=
"position: absolute;margin-left: 70px"
>
<img
src=
'data:image/jpg;base64,${bsnPng}'
width=
"100px"
/>
<span
style=
"position: absolute;margin-left: 40px;margin-top: 0.8cm"
>
<img
src=
'data:image/jpg;base64,${bsnPng}'
width=
"150px"
/>
</span>
宝绅内部变更申请/通知单
</div>
<div
class=
"billTitle"
style=
"font-size: 25px;margin-top: 1.5cm"
>
宝绅内部变更申请/通知单
</div>
<div
class=
"billTitle"
style=
"font-size: 25px"
>
Engineering Change Notice
</div>
<table
cellspacing=
"0px"
cellpadding=
"0px"
class=
"tablePrint"
>
<colgroup>
<col
width=
"
20
%"
/>
<
col
width=
"52%"
/
>
<col
width=
"2
8
%"
/>
<col
width=
"
73
%"
/>
<
#
--
<
col
width=
"52%"
/>
--
>
<col
width=
"2
7
%"
/>
</colgroup>
<tr>
<td
class=
"left"
style=
"font-size: 14px;font-weight:bold;"
>
${changeNo?default("")?html}
</td>
<td
class=
"right"
>
<div
style=
"text-align:right;font-weight:bold;font-size: 25px"
>
Engineering Change Notice
</div
>
</td
>
<td
class=
"
righ
t"
style=
"font-size: 14px;font-weight:bold;"
>
变更编号:${billCode?default("")?html}
</td>
<
#
--
<
td
class=
"right"
>
--
>
<
#
--
<
div
style=
"text-align:right;font-weight:bold;font-size: 25px"
>
Engineering Change Notice
</div>
--
>
<
#
--
</
td
>
--
>
<td
class=
"
lef
t"
style=
"font-size: 14px;font-weight:bold;"
>
变更编号:${billCode?default("")?html}
</td>
</tr>
</table>
</div>
...
...
@@ -48,8 +52,8 @@
<table
class=
"tableBorder"
>
<colgroup>
<col
width=
'14%'
/>
<col
width=
'3
3
%'
/>
<col
width=
'
51
%'
/>
<col
width=
'3
7
%'
/>
<col
width=
'
49
%'
/>
</colgroup>
<tr>
<td
class=
"left"
>
DATE日期:
<br/><
@
formatDate
date=
fillinDate/
></td>
...
...
@@ -67,7 +71,7 @@
${reasonForChange?replace("nbsp", "
")!default("")?html}
<br/>
${reasonForChange2?replace("nbsp", "
")!default("")?html}
<span
style=
"text-decoration: underline"
>
其他:
${otherReasonDesc?default("")?html}
</span>
<span
style=
"text-decoration: underline"
>
${otherReasonDesc?default("")?html}
</span>
</td>
</tr>
</table>
...
...
@@ -147,8 +151,8 @@
<table
class=
"tableBorder"
>
<colgroup>
<col
width=
'22%'
/>
<col
width=
'2
5
%'
/>
<col
width=
'
50
%'
/>
<col
width=
'2
9
%'
/>
<col
width=
'
49
%'
/>
</colgroup>
<tr>
<td
class=
"center"
style=
"background: yellow"
>
审批节点
</td>
...
...
@@ -176,9 +180,9 @@
<colgroup>
<col
width=
'14%'
/>
<col
width=
'25%'
/>
<col
width=
'10%'
/>
<col
width=
'12%'
/>
<col
width=
'39%'
/>
<col
width=
'12%'
/>
<col
width=
'37%'
/>
</colgroup>
<tr>
<td
class=
"center"
style=
"background: yellow"
>
部门
</td>
...
...
@@ -213,9 +217,9 @@
<colgroup>
<col
width=
'14%'
/>
<col
width=
'25%'
/>
<col
width=
'10%'
/>
<col
width=
'12%'
/>
<col
width=
'39%'
/>
<col
width=
'12%'
/>
<col
width=
'37%'
/>
</colgroup>
<tr>
<td
class=
"center"
style=
"background: yellow"
>
部门
</td>
...
...
topsun/src/main/java/com/huigou/topsun/ep/epApplication/impl/EpApplicationImpl.java
View file @
c44552ed
...
...
@@ -98,7 +98,7 @@ public class EpApplicationImpl implements EpApplication {
EpProductInfoVo
epProductInfoVo
=
new
EpProductInfoVo
();
try
{
///api/pro/productionSolution/getPicture?groupCounter=02&groupKey=50000407
String
executeForEp
=
httpClient
.
executeForEp
(
new
HashMap
<>(),
"md/mdItem/getUrl?
i
temCode="
+
matnr2
);
String
executeForEp
=
httpClient
.
executeForEp
(
new
HashMap
<>(),
"md/mdItem/getUrl?
sapI
temCode="
+
matnr2
);
Map
<
String
,
Object
>
resultMap
=
JSONObject
.
parseObject
(
executeForEp
,
Map
.
class
);
if
(
"200"
.
equals
(
resultMap
.
get
(
"code"
).
toString
()))
{
ObjectMapper
objectMapper
=
SAPUtils
.
objectMapper
();
...
...
topsun/src/main/java/com/huigou/topsun/sap/purchaseOrder/application/impl/SapPurchaseOrderApplicationImpl.java
View file @
c44552ed
...
...
@@ -460,6 +460,7 @@ public class SapPurchaseOrderApplicationImpl extends FlowBroker implements SapPu
}
public
Map
<
String
,
Object
>
getSupplierInfo
(
Map
<
String
,
Object
>
map
,
String
lifnr
){
lifnr
=
lifnr
.
replaceFirst
(
"^0*"
,
""
);
List
<
SuppliersInfo
>
suppliersInfoList
=
suppliersInfoRepository
.
findByPartner
(
lifnr
);
if
(
CollectionUtils
.
isEmpty
(
suppliersInfoList
)){
throw
new
RuntimeException
(
"根据编码:"
+
lifnr
+
"未找到供应商信息"
);
...
...
@@ -537,9 +538,6 @@ public class SapPurchaseOrderApplicationImpl extends FlowBroker implements SapPu
EpProductInfoVo
epProductInfoVo
=
epApplication
.
queryEpProductInfo
(
matnr2
);
epProductInfoVo
.
setPrintColor
(
epProductInfoVo
.
getFrontColor
()+
";"
+
epProductInfoVo
.
getOppositeColor
());
BeanUtil
.
beanToMap
(
epProductInfoVo
,
map
,
false
,
false
);
// String imageUrl = "http://192.168.3.91:9000/mes/2024/10/15/20241015164918998370277.png";
// map.put("frontImg",imageUrl);
// map.put("backImg",imageUrl);
try
{
File
file
=
new
File
(
"product-"
+
map
.
get
(
"ebeln"
)+
".png"
);
if
(!
file
.
exists
())
{
...
...
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