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
59c9b4d4
Commit
59c9b4d4
authored
Aug 24, 2024
by
刘学辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
品质异常单打印格式调整
parent
d8df2928
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
459 additions
and
40 deletions
+459
-40
exceptionReportDetail.js
...p/biz/topsun/sap/exceptionReport/exceptionReportDetail.js
+3
-3
exceptionReportDetailPurchase.js
...psun/sap/exceptionReport/exceptionReportDetailPurchase.js
+3
-3
exceptionReportDetailSupplier.js
...psun/sap/exceptionReport/exceptionReportDetailSupplier.js
+17
-17
exceptionReportDetailSupplier.jsp
...sun/sap/exceptionReport/exceptionReportDetailSupplier.jsp
+1
-1
exceptionReportList.js
...app/biz/topsun/sap/exceptionReport/exceptionReportList.js
+16
-4
exceptionReport.ftl
topsun-xt/src/main/webapp/template/exceptionReport.ftl
+6
-6
exceptionReportSupplier.ftl
...n-xt/src/main/webapp/template/exceptionReportSupplier.ftl
+352
-0
ExceptionReportApplicationImpl.java
...port/application/impl/ExceptionReportApplicationImpl.java
+61
-6
No files found.
topsun-xt/src/main/webapp/biz/topsun/sap/exceptionReport/exceptionReportDetail.js
View file @
59c9b4d4
...
...
@@ -234,13 +234,13 @@ function countSum(){
function
getDutyPersonGridColumns
()
{
var
columns
=
[];
columns
=
[
{
display
:
"工号/
供应商编码/
客户编码"
,
name
:
"personNo"
,
width
:
"180"
,
align
:
"left"
,
type
:
"string"
,
{
display
:
"工号/客户编码"
,
name
:
"personNo"
,
width
:
"180"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"姓名/
供应商/
客户"
,
name
:
"personName"
,
width
:
"180"
,
align
:
"left"
,
type
:
"string"
,
{
display
:
"姓名/客户"
,
name
:
"personName"
,
width
:
"180"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"部门/
供应名称/
客户名称"
,
name
:
"deptName"
,
width
:
"200"
,
align
:
"left"
,
type
:
"string"
,
{
display
:
"部门/客户名称"
,
name
:
"deptName"
,
width
:
"200"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"定责比例(%)"
,
name
:
"dutyRate"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/exceptionReport/exceptionReportDetailPurchase.js
View file @
59c9b4d4
...
...
@@ -208,13 +208,13 @@ function countSum(){
function
getDutyPersonGridColumns
()
{
var
columns
=
[];
columns
=
[
{
display
:
"工号/
供应商编码/
客户编码"
,
name
:
"personNo"
,
width
:
"180"
,
align
:
"left"
,
type
:
"string"
,
{
display
:
"工号/客户编码"
,
name
:
"personNo"
,
width
:
"180"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"姓名/
供应商/
客户"
,
name
:
"personName"
,
width
:
"180"
,
align
:
"left"
,
type
:
"string"
,
{
display
:
"姓名/客户"
,
name
:
"personName"
,
width
:
"180"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"部门/
供应名称/
客户名称"
,
name
:
"deptName"
,
width
:
"200"
,
align
:
"left"
,
type
:
"string"
,
{
display
:
"部门/客户名称"
,
name
:
"deptName"
,
width
:
"200"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"定责比例(%)"
,
name
:
"dutyRate"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/exceptionReport/exceptionReportDetailSupplier.js
View file @
59c9b4d4
...
...
@@ -16,7 +16,7 @@ function initialize() {
function
initItemGrid
()
{
//工厂
$
(
'#werksName'
).
searchbox
({
/*
$('#werksName').searchbox({
type: "system", name: "dictionary",
getParam: function (item) {
return {fieldName: "WERKS"}
...
...
@@ -26,7 +26,7 @@ function initItemGrid() {
$('#werksName').val(data.NAME1);
}
});
$
(
'input[name="payMoney"]'
).
change
(
function
()
{
$('input[name="payMoney"]').change(function () {
if (isNaN(Number($('#payMoney').val()))){
Public.errorTip("赔付金额必须输入数字!");
$('#payMoney').val("");
...
...
@@ -34,7 +34,7 @@ function initItemGrid() {
return false;
}
countSum();
})
})
*/
//供应商
$
(
'#customerName'
).
searchbox
({
type
:
"system"
,
name
:
"selectSuppliersDatas"
,
...
...
@@ -208,15 +208,15 @@ function getGridColumns1() {
var
columns1
=
[];
columns1
=
[
{
display
:
"采购订单"
,
name
:
"purchaseNo"
,
width
:
"160"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
type
:
'text'
,
required
:
false
}
editor
:
{
required
:
true
,
type
:
'text'
}
},
{
display
:
"金额"
,
name
:
"money"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
type
:
"text"
,
mask
:
'9999999.999'
}
,
editor
:
{
required
:
true
,
type
:
"text"
,
mask
:
'9999999.999'
}
},
{
display
:
"日期"
,
name
:
"sendDate"
,
width
:
"140"
,
align
:
"left"
,
type
:
"date"
,
editor
:
{
type
:
"date"
}
},
{
display
:
"备注"
,
name
:
"remark"
,
width
:
"
20
0"
,
align
:
"left"
,
type
:
"string"
{
display
:
"备注"
,
name
:
"remark"
,
width
:
"
35
0"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
type
:
'text'
,
required
:
false
}
}]
return
columns1
;
...
...
@@ -233,7 +233,7 @@ function getGridColumns2() {
textField
:
'paymentTextView'
,
valueField
:
'payment'
,
// checkbox:true,
required
:
fals
e
,
required
:
tru
e
,
render
:
function
(
item
)
{
return
item
.
paymentTextView
;
}
...
...
@@ -241,7 +241,7 @@ function getGridColumns2() {
},
{
display
:
"金额"
,
name
:
"money"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
type
:
"text"
,
mask
:
'9999999.999'
}
,
editor
:
{
required
:
true
,
type
:
"text"
,
mask
:
'9999999.999'
}
},
{
display
:
"币别"
,
name
:
"currencyName"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
type
:
"text"
}
...
...
@@ -249,7 +249,7 @@ function getGridColumns2() {
{
display
:
"账期"
,
name
:
"period"
,
width
:
"140"
,
align
:
"left"
,
type
:
"text"
,
editor
:
{
type
:
"text"
}
},
{
display
:
"备注"
,
name
:
"remark"
,
width
:
"
20
0"
,
align
:
"left"
,
type
:
"string"
{
display
:
"备注"
,
name
:
"remark"
,
width
:
"
35
0"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
type
:
'text'
,
required
:
false
}
}
]
...
...
@@ -263,7 +263,7 @@ function getGridColumns3() {
{
display
:
"公司"
,
name
:
"company"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,
hide
:
"true"
},
{
display
:
"公司名称"
,
name
:
"companyName"
,
width
:
"180"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
required
:
fals
e
,
type
:
"select"
,
required
:
tru
e
,
type
:
"select"
,
data
:
{
type
:
'system'
,
name
:
"dictionary"
,
...
...
@@ -280,7 +280,7 @@ function getGridColumns3() {
{
display
:
"采购组织"
,
name
:
"purchaseTeam"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,
hide
:
"true"
},
{
display
:
"采购组织名称"
,
name
:
"purchaseTeamName"
,
width
:
"160"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
required
:
fals
e
,
type
:
"select"
,
required
:
tru
e
,
type
:
"select"
,
data
:
{
type
:
'system'
,
name
:
"dictionary"
,
...
...
@@ -301,7 +301,7 @@ function getGridColumns3() {
{
display
:
"采购组"
,
name
:
"ekgrp"
,
width
:
"120"
,
align
:
"left"
,
type
:
"string"
,
hide
:
"true"
},
{
display
:
"物料名称"
,
name
:
"productName"
,
width
:
"180"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
required
:
fals
e
,
type
:
"select"
,
required
:
tru
e
,
type
:
"select"
,
data
:
{
type
:
'system'
,
name
:
"sapMaterialSelect"
,
...
...
@@ -322,7 +322,7 @@ function getGridColumns3() {
}
},
{
display
:
"数量"
,
name
:
"number"
,
width
:
"100"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
type
:
"text"
,
mask
:
'9999999.999'
}
,
editor
:
{
type
:
"text"
,
mask
:
'9999999.999'
,
required
:
true
}
},
{
display
:
"单位"
,
name
:
"unit"
,
width
:
"120"
,
align
:
"left"
,
type
:
"string"
,
hide
:
"true"
},
{
display
:
"单位名称"
,
name
:
"unitName"
,
width
:
"80"
,
align
:
"left"
,
type
:
"string"
...
...
@@ -348,13 +348,13 @@ function getGridColumns3() {
// ,editor: {type: "text",mask: '9999999.999'}
// },
{
display
:
"需求日期"
,
name
:
"needDate"
,
width
:
"140"
,
align
:
"left"
,
type
:
"date"
,
editor
:
{
type
:
"date"
}
,
editor
:
{
type
:
"date"
,
required
:
true
}
},
{
display
:
"工厂"
,
name
:
"werks"
,
width
:
"140"
,
align
:
"left"
,
type
:
"string"
,
hide
:
"true"
},
{
display
:
"工厂
编码
"
,
name
:
"werks"
,
width
:
"140"
,
align
:
"left"
,
type
:
"string"
,
hide
:
"true"
},
{
display
:
"收货工厂"
,
name
:
"werksName"
,
width
:
"160"
,
align
:
"left"
,
type
:
"string"
,
// editor: {type: "text"}
editor
:
{
required
:
fals
e
,
type
:
"select"
,
required
:
tru
e
,
type
:
"select"
,
data
:
{
type
:
'system'
,
name
:
"dictionary"
,
...
...
@@ -370,7 +370,7 @@ function getGridColumns3() {
},
{
display
:
"收货地点"
,
name
:
"locationName"
,
width
:
"160"
,
align
:
"left"
,
type
:
"string"
,
editor
:
{
required
:
fals
e
,
type
:
"select"
,
required
:
tru
e
,
type
:
"select"
,
data
:
{
type
:
'system'
,
name
:
"dictionary"
,
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/exceptionReport/exceptionReportDetailSupplier.jsp
View file @
59c9b4d4
...
...
@@ -71,7 +71,7 @@
<div
class=
"hg-form-row"
>
<x:textareaC
name=
"dealResult"
required=
"false"
label=
"处理结果"
maxLength=
"120"
labelCol=
"1"
fieldCol=
"11"
rows=
"2"
readonly=
"
tru
e"
/>
<x:textareaC
name=
"dealResult"
required=
"false"
label=
"处理结果"
maxLength=
"120"
labelCol=
"1"
fieldCol=
"11"
rows=
"2"
readonly=
"
fals
e"
/>
</div>
<div
class=
"hg-form-row"
>
<x:textareaC
name=
"remark"
required=
"false"
label=
"备注"
maxLength=
"120"
labelCol=
"1"
fieldCol=
"11"
rows=
"2"
/>
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/exceptionReport/exceptionReportList.js
View file @
59c9b4d4
...
...
@@ -30,7 +30,7 @@ function initGrid() {
});
}
},
addSupplierHandler
:
{
id
:
'supplierException'
,
text
:
'添加供应商异常单'
,
img
:
'fa-b
uilding-o
'
,
className
:
'btn-gray'
,
addSupplierHandler
:
{
id
:
'supplierException'
,
text
:
'添加供应商异常单'
,
img
:
'fa-b
ook
'
,
className
:
'btn-gray'
,
click
:
function
()
{
UICtrl
.
addTabItem
({
tabid
:
'addExceptionReportSupplier'
,
...
...
@@ -43,19 +43,31 @@ function initGrid() {
gridManager
=
UICtrl
.
grid
(
'#maingrid'
,
{
columns
:
[
{
display
:
"状态"
,
name
:
"statusTextView"
,
width
:
"80"
,
align
:
"left"
,
type
:
"string"
}
,
{
display
:
"id"
,
name
:
"id"
,
width
:
"1
4
0"
,
align
:
"left"
,
type
:
"string"
,
hide
:
true
}
,
{
display
:
"id"
,
name
:
"id"
,
width
:
"1
0
0"
,
align
:
"left"
,
type
:
"string"
,
hide
:
true
}
,
{
display
:
"报告编号"
,
name
:
"billCode"
,
width
:
150
,
minWidth
:
60
,
type
:
"string"
,
align
:
"center"
}
,
{
display
:
"异常类型"
,
name
:
"exceptionTypeTextView"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"center"
}
,
{
display
:
"单据类型"
,
name
:
"billType"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"center"
,
render
:
function
(
item
)
{
if
(
item
.
billType
==
"supplier"
){
return
"供应商"
;
}
else
if
(
item
.
billType
==
"purchase"
){
return
"采购"
;
}
else
{
return
"生产"
;
}
}
}
,
{
display
:
"呈报日期"
,
name
:
"reportDate"
,
width
:
140
,
minWidth
:
60
,
type
:
"date"
,
align
:
"center"
}
// , {display: "异常标题", name: "exceptionTitle", width: 200, minWidth: 60, type: "date", align: "center"}
// , {display: "客户编号", name: "customerName", width: 200, minWidth: 60, type: "date", align: "center"}
,
{
display
:
"客户名称"
,
name
:
"customerName"
,
width
:
200
,
minWidth
:
60
,
type
:
"date"
,
align
:
"center"
}
,
{
display
:
"客户单号"
,
name
:
"customerOrderNo"
,
width
:
180
,
minWidth
:
60
,
type
:
"date"
,
align
:
"center"
}
// , {display: "异常陈诉", name: "exceptionState", width: 200, minWidth: 60, type: "date", align: "center"}
,
{
display
:
"改善措施"
,
name
:
"dealMethod"
,
width
:
200
,
minWidth
:
60
,
type
:
"date"
,
align
:
"center"
}
,
{
display
:
"异常原因"
,
name
:
"exceptionReason"
,
width
:
200
,
minWidth
:
60
,
type
:
"date"
,
align
:
"center"
}
,
{
display
:
"责任人"
,
name
:
"checkOperatorName"
,
width
:
160
,
minWidth
:
60
,
type
:
"date"
,
align
:
"center"
}
,
{
display
:
"处理结果"
,
name
:
"dealResult"
,
width
:
200
,
minWidth
:
60
,
type
:
"date"
,
align
:
"center"
}
,
{
display
:
"备注"
,
name
:
"remark"
,
width
:
200
,
minWidth
:
60
,
type
:
"date"
,
align
:
"center"
}
//, {display: "备注", name: "remark", width: 200, minWidth: 60, type: "date", align: "center"}
,
{
display
:
"创建日期"
,
name
:
"fillinDate"
,
width
:
150
,
minWidth
:
60
,
type
:
"date"
,
align
:
"center"
}
,
{
display
:
"创建部门"
,
name
:
"deptName"
,
width
:
120
,
minWidth
:
60
,
type
:
"date"
,
align
:
"center"
}
,
{
display
:
"创建人"
,
name
:
"personMemberName"
,
width
:
100
,
minWidth
:
60
,
type
:
"date"
,
align
:
"center"
}
],
...
...
topsun-xt/src/main/webapp/template/exceptionReport.ftl
View file @
59c9b4d4
...
...
@@ -36,7 +36,7 @@
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
呈报日期
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:80%;"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;width:300pt "
>
${(head.reportDate)!' '}
</span></p>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;width:300pt "
>
${(head.reportDate
?substring(0,9)
)!' '}
</span></p>
</td>
</tr>
</table>
...
...
@@ -63,7 +63,7 @@
<table
cellspacing=
"0"
cellpadding=
"0"
style=
"border-collapse:collapse; margin-left:0pt;text-align: center;font-size: 9.5pt;line-height: 10pt;"
>
<tr
style=
""
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
生产单号
</span></p>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
生产
/采购
单号
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:80pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
产品编码
</span></p>
...
...
@@ -135,7 +135,7 @@
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; "
>
${(list.sendDate)!''}
</span>
style=
"font-family:SimSun; "
>
${(list.sendDate
?substring(0,9)
)!''}
</span>
</p>
</td>
</tr>
...
...
@@ -238,13 +238,13 @@
<table
cellspacing=
"0"
cellpadding=
"0"
style=
"border-collapse:collapse; margin-left:0pt;text-align: center;font-size: 9.5pt;line-height: 10pt;"
>
<tr
style=
"text-align: center;font-size:6.5pt;line-height: 10pt;"
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:80pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
工号/
供应商编码/客户名
编码
</span></p>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
工号/
客户
编码
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:80pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
姓名/
供应商名称/客
户名称
</span></p>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
姓名/户名称
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:100pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; font-weight:bolder"
>
部门/
供应名称/
客户名称
</span></p>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; font-weight:bolder"
>
部门/客户名称
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:100pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; font-weight:bolder"
>
定责比例
</span></p>
...
...
topsun-xt/src/main/webapp/template/exceptionReportSupplier.ftl
0 → 100644
View file @
59c9b4d4
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<meta
http-equiv=
"Content-Style-Type"
content=
"text/css"
/>
<meta
name=
"generator"
content=
"Aspose.Words for .NET 15.1.0.0"
/>
<title></title>
<style
type=
"text/css"
>
body
{
font-family
:
SimSun
;
}
span
{
font-size
:
12pt
;
}
</style></head>
<body>
<div>
<p
style=
"margin:0pt; orphans:0; text-align:center; widows:0"
>
<span
style=
"font-family:SimSun;margin-left:0pt;vertical-align:top;position: absolute; top: 0;left:6pt"
>
<img
style=
"width:50px; height:40px;display: inline-block"
src=
"${baoshen}"
></img>
</span>
<span
style=
"font-family:SimSun; font-size:18pt; font-weight:bolder"
>
异常报告(供应商)
</span>
<p
style=
"margin:0pt; orphans:0; text-align:right;margin-top: -3pt; widows:0"
>
<span
class=
"fs"
style=
"font-family:SimSun;font-weight:bolder "
>
编号:${(head.billCode)}
</span>
</p>
</p>
<table
cellspacing=
"0"
cellpadding=
"0"
style=
"border-collapse:collapse; margin-left:0pt;text-align: center;font-size:12pt;line-height: 10pt;"
>
<tr
style=
""
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
异常类型
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:80pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun;"
>
${(head.exceptionType)!' '}
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
呈报日期
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:80%;"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;width:300pt "
>
${(head.reportDate?substring(0,9))!' '}
</span></p>
</td>
</tr>
</table>
<table
cellspacing=
"0"
cellpadding=
"0"
style=
"border-collapse:collapse; margin-left:0pt;text-align: center;font-size: 9.5pt;line-height: 10pt;"
>
<tr
style=
""
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
供应商
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:100%"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; width:70%"
>
${(head.customerName)!' '}
</span></p>
</td>
</tr>
</table>
<table
cellspacing=
"0"
cellpadding=
"0"
style=
"border-collapse:collapse; margin-left:0pt;text-align: center;font-size: 9.5pt;line-height: 10pt;"
>
<tr
style=
""
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
异常标题
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:90%"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;"
>
${(head.exceptionTitle)!' '}
</span></p>
</td>
</tr>
</table>
<table
cellspacing=
"0"
cellpadding=
"0"
style=
"border-collapse:collapse; margin-left:0pt;text-align: center;font-size: 9.5pt;line-height: 10pt;"
>
<tr
style=
""
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
采购单号
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:81%"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;"
>
${(head.customerOrderNo)!' '}
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
损失金额
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:80%;"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;width:300pt "
>
${(head.loseMoney)!' '}
</span></p>
</td>
</tr>
</table>
<table
cellspacing=
"0"
cellpadding=
"0"
style=
"border-collapse:collapse; margin-left:0pt;text-align: center;font-size:12pt;line-height: 10pt;"
>
<tr
style=
""
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
材料编码
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:80pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun;"
>
${(head.matnr)!' '}
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:99pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
材料名称
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:180pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:160pt"
><span
style=
"font-family:SimSun;"
>
${(head.maktx)!' '}
</span></p>
</td>
</tr>
</table>
<table
cellspacing=
"0"
cellpadding=
"0"
style=
"border-collapse:collapse; margin-left:0pt;text-align: center;font-size: 9.5pt;line-height: 10pt;"
>
<tr
style=
"text-align: center;font-size:6.5pt;line-height: 10pt;"
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
处理方式
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt;font-size: 10pt; vertical-align:top; width:90%"
>
<table
cellspacing=
"0"
cellpadding=
"0"
style=
"border-collapse:collapse; margin-left:0pt;text-align: center;font-size: 9.5pt;line-height: 10pt;"
>
<
#
if
(
paylist
)??
&&
((
paylist
)?
size
>
0)>
<tr
style=
""
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0pt; border-left-color:#000000; border-left-style:solid; border-left-width:0pt; border-right-color:#000000; border-right-style:solid; border-right-width:0pt; border-top-color:#000000; border-top-style:solid; border-top-width:0pt; vertical-align:top; width:100%"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;font-size: 10pt; font-weight:bolder "
>
货币结算(扣除应付款)
</span></p>
</td>
</tr>
</
#
if>
</table>
<table
cellspacing=
"0"
cellpadding=
"0"
style=
"border-collapse:collapse; margin-left:0pt;text-align: center;font-size: 9.5pt;line-height: 10pt;"
>
<
#
if
(
paylist
)??
&&
((
paylist
)?
size
>
0)>
<tr
style=
""
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun;font-size: 10pt; font-weight:bolder "
>
采购订单
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:110pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;font-size: 10pt; font-weight:bolder "
>
金额
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:180pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;font-size: 10pt; font-weight:bolder "
>
日期
</span></p>
</td>
</tr>
</
#
if>
<
#
if
(
paylist
)??
&&
((
paylist
)?
size
>
0)>
<
#
list
paylist
as
list
>
<tr
style=
"text-align: center;font-size:6.5pt;line-height: 10pt;"
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width: 100pt"
>
<span
style=
"font-family:SimSun;"
>
${(list.purchaseNo)!''}
</span>
</p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:110pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; "
>
${(list.money)!''}
</span>
</p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:180pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; "
>
${(list.sendDate?substring(0,9))!''}
</span>
</p>
</td>
</tr>
</
#
list>
</
#
if>
</table>
<table
cellspacing=
"0"
cellpadding=
"0"
style=
"border-collapse:collapse; margin-left:0pt;text-align: center;font-size: 9.5pt;line-height: 10pt;"
>
<
#
if
(
cashlist
)??
&&
((
cashlist
)?
size
>
0)>
<tr
style=
""
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0pt; border-left-color:#000000; border-left-style:solid; border-left-width:0pt; border-right-color:#000000; border-right-style:solid; border-right-width:0pt; border-top-color:#000000; border-top-style:solid; border-top-width:0pt; vertical-align:top; width:100%"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; font-size: 10pt;font-weight:bolder "
>
货币结算(现金/转账)
</span></p>
</td>
</tr>
</
#
if>
</table>
<table
cellspacing=
"0"
cellpadding=
"0"
style=
"border-collapse:collapse; margin-left:0pt;text-align: center;font-size: 9.5pt;line-height: 10pt;"
>
<
#
if
(
cashlist
)??
&&
((
cashlist
)?
size
>
0)>
<tr
style=
""
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun; font-size: 10pt;font-weight:bolder "
>
付款方式
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:110pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;font-size: 10pt; font-weight:bolder "
>
金额
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:180pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; font-size: 10pt;font-weight:bolder "
>
币种
</span></p>
</td>
</tr>
</
#
if>
<
#
if
(
cashlist
)??
&&
((
cashlist
)?
size
>
0)>
<
#
list
cashlist
as
list
>
<tr
style=
"text-align: center;font-size:6.5pt;line-height: 10pt;"
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width: 100pt"
>
<span
style=
"font-family:SimSun;"
>
${(list.payment)!''}
</span>
</p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:110pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; "
>
${(list.money)!''}
</span>
</p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:180pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; "
>
${(list.currencyName)!''}
</span>
</p>
</td>
</tr>
</
#
list>
</
#
if>
</table>
<table
cellspacing=
"0"
cellpadding=
"0"
style=
"border-collapse:collapse; margin-left:0pt;text-align: center;font-size: 9.5pt;line-height: 10pt;"
>
<
#
if
(
goodslist
)??
&&
((
goodslist
)?
size
>
0)>
<tr
style=
""
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0pt; border-left-color:#000000; border-left-style:solid; border-left-width:0pt; border-right-color:#000000; border-right-style:solid; border-right-width:0pt; border-top-color:#000000; border-top-style:solid; border-top-width:0pt; vertical-align:top; width:100%"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; font-weight:bolder;font-size: 10pt; "
>
商品赔付
</span></p>
</td>
</tr>
</
#
if>
</table>
<table
cellspacing=
"0"
cellpadding=
"0"
style=
"border-collapse:collapse; margin-left:0pt;text-align: center;font-size: 9.5pt;line-height: 10pt;"
>
<
#
if
(
goodslist
)??
&&
((
goodslist
)?
size
>
0)>
<tr
style=
""
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun; font-size: 10pt;font-weight:bolder "
>
公司
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:100pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;font-size: 10pt; font-weight:bolder "
>
采购组织
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:100pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; font-size: 10pt;font-weight:bolder "
>
物料名称
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:100pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;font-size: 10pt; font-weight:bolder "
>
数量
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:100pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;font-size: 10pt; font-weight:bolder "
>
单位
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:100pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;font-size: 10pt; font-weight:bolder "
>
需求日期
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:100pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;font-size: 10pt; font-weight:bolder "
>
收货工厂
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:100pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;font-size: 10pt; font-weight:bolder "
>
收货地点
</span></p>
</td>
</tr>
</
#
if>
<
#
if
(
goodslist
)??
&&
((
goodslist
)?
size
>
0)>
<
#
list
goodslist
as
list
>
<tr
style=
"text-align: center;font-size:6.5pt;line-height: 10pt;"
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width: 100pt"
>
<span
style=
"font-family:SimSun;"
>
${(list.companyName)!''}
</span>
</p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; "
>
${(list.purchaseTeamName)!''}
</span>
</p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; "
>
${(list.productName)!''}
</span>
</p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; "
>
${(list.number)!''}
</span>
</p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; "
>
${(list.unitName)!''}
</span>
</p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; "
>
${(list.needDate?substring(0,9))!''}
</span>
</p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; "
>
${(list.werksName)!''}
</span>
</p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun; "
>
${(list.locationName)!''}
</span>
</p>
</td>
</tr>
</
#
list>
</
#
if>
</table>
</td>
</tr>
</table>
<table
cellspacing=
"0"
cellpadding=
"0"
style=
"border-collapse:collapse; margin-left:0pt;text-align: center;font-size: 9.5pt;line-height: 10pt;"
>
<tr
style=
"text-align: center;font-size:6.5pt;line-height: 10pt;"
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
异常描述
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:90%"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;"
>
${(head.exceptionState)!' '}
</span></p>
</td>
</tr>
</table>
<table
cellspacing=
"0"
cellpadding=
"0"
style=
"border-collapse:collapse; margin-left:0pt;text-align: center;font-size: 9.5pt;line-height: 10pt;"
>
<tr
style=
"text-align: center;font-size:6.5pt;line-height: 10pt;"
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
处理结果
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:90%"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;"
>
${(head.dealResult)!' '}
</span></p>
</td>
</tr>
</table>
<table
cellspacing=
"0"
cellpadding=
"0"
style=
"border-collapse:collapse; margin-left:0pt;text-align: center;font-size: 9.5pt;line-height: 10pt;"
>
<tr
style=
"text-align: center;font-size:6.5pt;line-height: 10pt;"
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
备注
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:90%"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;"
>
${(head.remark)!' '}
</span></p>
</td>
</tr>
</table>
<table
cellspacing=
"0"
cellpadding=
"0"
style=
"border-collapse:collapse; margin-left:0pt;text-align: center;font-size: 9.5pt;line-height: 10pt;"
>
<tr
style=
"text-align: center;font-size:6.5pt;line-height: 10pt;"
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:100pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
核准
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:80pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;"
>
${(lastAuditPerson)!' '}
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:80pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
审核
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:85pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;"
>
${(preAuditPerson)!' '}
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:50pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;width:80pt"
><span
style=
"font-family:SimSun; font-weight:bolder "
>
制表
</span></p>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:85pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0"
><span
style=
"font-family:SimSun;"
>
${(head.personMemberName)!' '}
</span></p>
</td>
</tr>
</table>
<p
style=
"margin:0pt; orphans:0; text-align:left;margin-top: 1pt; widows:0"
>
<span
class=
"fs"
style=
"font-family:SimSun;font-weight:bolder "
>
注:内部、外部异常均须填写此表单。
</span>
<span
class=
"fs"
style=
"font-family:SimSun;font-weight:bolder "
>
本人已清楚公司的异常责任处理规定。
</span>
</p>
</div>
</body>
</html>
\ No newline at end of file
topsun/src/main/java/com/huigou/topsun/sap/exceptionReport/application/impl/ExceptionReportApplicationImpl.java
View file @
59c9b4d4
...
...
@@ -134,9 +134,10 @@ public class ExceptionReportApplicationImpl extends FlowBroker implements Except
List
<
ExceptionReportCash
>
exceptionReportCashList
=
this
.
getBizEntities
(
ExceptionReportCash
.
class
,
"handleCash"
);
List
<
ExceptionReportGoods
>
exceptionReportGoodsList
=
this
.
getBizEntities
(
ExceptionReportGoods
.
class
,
"handleGoods"
);
if
(
CollectionUtil
.
isEmpty
(
exceptionReportPayableList
)
&&
CollectionUtil
.
isEmpty
(
exceptionReportCashList
)
&&
CollectionUtil
.
isEmpty
(
exceptionReportGoodsList
)
if
((
"supplier"
.
equals
(
exceptionReport
.
getBillType
()))
&&
CollectionUtil
.
isEmpty
(
exceptionReportPayableList
)
&&
CollectionUtil
.
isEmpty
(
exceptionReportCashList
)
&&
CollectionUtil
.
isEmpty
(
exceptionReportGoodsList
)
)
{
throw
new
IllegalArgumentException
(
"处理方式必须填写一项!"
);
}
...
...
@@ -193,7 +194,7 @@ public class ExceptionReportApplicationImpl extends FlowBroker implements Except
exceptionReport
.
setStatusId
(
status
.
getId
());
List
<
ExceptionReportGoods
>
goodslist
=
exceptionReportGoodsApplication
.
findByExceptionReportId
(
exceptionReport
.
getId
());
//供应商异常 商品赔付 创建采购订单
if
(
"supplier"
.
equals
(
exceptionReport
.
getBillType
()))
{
int
u
=
0
;
...
...
@@ -341,7 +342,56 @@ public class ExceptionReportApplicationImpl extends FlowBroker implements Except
String
preLastAuditPerson
=
mapList
.
get
(
1
).
get
(
"handlerName"
).
toString
();
data
.
put
(
"preAuditPerson"
,
preLastAuditPerson
);
}
if
(
"supplier"
.
equals
(
exceptionReport
.
getBillType
())){
//StringBuffer dealmethod=new StringBuffer("");
List
<
ExceptionReportPayable
>
paylist
=
exceptionReportPayableApplication
.
findByExceptionReportId
(
id
);
if
(
CollectionUtil
.
isNotEmpty
(
paylist
)){
// dealmethod.append("货币结算:(扣除应付款)");
int
u
=
0
;
for
(
ExceptionReportPayable
pay:
paylist
){
Date
da
=
pay
.
getSendDate
();
// String dateStr = DateUtil.getDateFormat("yyyy-MM-dd", pay.getSendDate());
// pay.setSendDate(dateStr);
// paylist.set(u,pay);
u
++;
}
data
.
put
(
"paylist"
,
paylist
);
}
/*for (ExceptionReportPayable pay:paylist){
dealmethod.append("采购订单:").append(pay.getPurchaseNo());
dealmethod.append(",金额:").append(pay.getMoney());
dealmethod.append(",日期:").append(pay.getSendDate());
}*/
List
<
ExceptionReportCash
>
cashlist
=
exceptionReportCashApplication
.
findByExceptionReportId
(
id
);
if
(
CollectionUtil
.
isNotEmpty
(
cashlist
)){
//dealmethod.append("货币结算:(现金/转帐)");
int
u
=
0
;
for
(
ExceptionReportCash
cash:
cashlist
){
String
payName
=
DictUtil
.
getDictionaryDetailText
(
"zwels"
,
cash
.
getPayment
());
cash
.
setPayment
(
payName
);
cashlist
.
set
(
u
,
cash
);
u
++;
}
data
.
put
(
"cashlist"
,
cashlist
);
}
List
<
ExceptionReportGoods
>
goodslist
=
exceptionReportGoodsApplication
.
findByExceptionReportId
(
id
);
if
(
CollectionUtil
.
isNotEmpty
(
goodslist
)){
// dealmethod.append("商品赔付:");
data
.
put
(
"goodslist"
,
goodslist
);
}
/*for (ExceptionReportGoods goods:goodslist){
dealmethod.append("公司:").append(goods.getCompanyName());
dealmethod.append(",采购组织:").append(goods.getPurchaseTeamName());
dealmethod.append(",物料名称:").append(goods.getProductName());
dealmethod.append(",数量:").append(goods.getNumber());
dealmethod.append(",单位:").append(goods.getUnitName());
dealmethod.append(",需求日期:").append(goods.getNeedDate());
dealmethod.append(",收货工厂:").append(goods.getWerksName());
dealmethod.append(",收货地点:").append(goods.getLocationName());
}*/
// exceptionReport.setDealMethod(dealmethod.toString());
}
data
.
put
(
"head"
,
exceptionReport
);
data
.
put
(
"itemList"
,
itemList
);
data
.
put
(
"dutyList"
,
dutyList
);
...
...
@@ -355,7 +405,12 @@ public class ExceptionReportApplicationImpl extends FlowBroker implements Except
File
fileb
=
new
File
(
"baoshen.png"
);
data
.
put
(
"baoshen"
,
fileb
);
Template
template
=
freemarkerConfigurer
.
getConfiguration
().
getTemplate
(
"exceptionReport.ftl"
);
Template
template
=
null
;
if
(
"supplier"
.
equals
(
exceptionReport
.
getBillType
())){
template
=
freemarkerConfigurer
.
getConfiguration
().
getTemplate
(
"exceptionReportSupplier.ftl"
);
}
else
{
template
=
freemarkerConfigurer
.
getConfiguration
().
getTemplate
(
"exceptionReport.ftl"
);
}
byteArrayOutputStream
=
CommonUtils
.
createPDF
(
data
,
template
);
}
catch
(
Exception
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