记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
c784c61b
Commit
c784c61b
authored
Jul 20, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打印
parent
32d40f43
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
280 additions
and
0 deletions
+280
-0
LodopFuncs.js
...min-web/src/main/resources/static/lodop6226/LodopFuncs.js
+145
-0
performanceOrderList.html
...ngzai/kylin/performancesExpress/performanceOrderList.html
+135
-0
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/static/lodop6226/LodopFuncs.js
0 → 100644
View file @
c784c61b
//==本JS是加载Lodop插件及CLodop服务的综合示例,可直接使用,建议看懂后融进自己页面程序==
var
CreatedOKLodopObject
,
CLodopIsLocal
,
CLodopJsState
;
//==判断是否需要CLodop(那些不支持插件的浏览器):==
function
needCLodop
()
{
try
{
return
false
;
var
ua
=
navigator
.
userAgent
;
if
(
ua
.
match
(
/Windows
\s
Phone/i
))
return
true
;
if
(
ua
.
match
(
/iPhone|iPod|iPad/i
))
return
true
;
if
(
ua
.
match
(
/Android/i
))
return
true
;
if
(
ua
.
match
(
/Edge
\D?\d
+/i
))
return
true
;
var
verTrident
=
ua
.
match
(
/Trident
\D?\d
+/i
);
var
verIE
=
ua
.
match
(
/MSIE
\D?\d
+/i
);
var
verOPR
=
ua
.
match
(
/OPR
\D?\d
+/i
);
var
verFF
=
ua
.
match
(
/Firefox
\D?\d
+/i
);
var
x64
=
ua
.
match
(
/x64/i
);
if
((
!
verTrident
)
&&
(
!
verIE
)
&&
(
x64
))
return
true
;
else
if
(
verFF
)
{
verFF
=
verFF
[
0
].
match
(
/
\d
+/
);
if
((
verFF
[
0
]
>=
41
)
||
(
x64
))
return
true
;
}
else
if
(
verOPR
)
{
verOPR
=
verOPR
[
0
].
match
(
/
\d
+/
);
if
(
verOPR
[
0
]
>=
32
)
return
true
;
}
else
if
((
!
verTrident
)
&&
(
!
verIE
))
{
var
verChrome
=
ua
.
match
(
/Chrome
\D?\d
+/i
);
if
(
verChrome
)
{
verChrome
=
verChrome
[
0
].
match
(
/
\d
+/
);
if
(
verChrome
[
0
]
>=
41
)
return
true
;
}
}
return
false
;
}
catch
(
err
)
{
return
true
;
}
}
//==加载引用CLodop的主JS,用双端口8000和18000(以防其中一个被占):==
function
loadCLodop
()
{
if
(
CLodopJsState
==
"loading"
||
CLodopJsState
==
"complete"
)
return
;
CLodopJsState
=
"loading"
;
var
head
=
document
.
head
||
document
.
getElementsByTagName
(
"head"
)[
0
]
||
document
.
documentElement
;
var
JS1
=
document
.
createElement
(
"script"
);
var
JS2
=
document
.
createElement
(
"script"
);
JS1
.
src
=
"http://localhost:8000/CLodopfuncs.js?priority=1"
;
JS2
.
src
=
"http://localhost:18000/CLodopfuncs.js"
;
JS1
.
onload
=
JS2
.
onload
=
function
()
{
CLodopJsState
=
"complete"
;}
JS1
.
onerror
=
JS2
.
onerror
=
function
(
evt
)
{
CLodopJsState
=
"complete"
;}
head
.
insertBefore
(
JS1
,
head
.
firstChild
);
head
.
insertBefore
(
JS2
,
head
.
firstChild
);
CLodopIsLocal
=
!!
((
JS1
.
src
+
JS2
.
src
).
match
(
/
\/\/
localho|
\/\/
127.0.0./i
));
}
if
(
needCLodop
()){
loadCLodop
();}
//加载
//==获取LODOP对象主过程,判断是否安装、需否升级:==
function
getLodop
(
oOBJECT
,
oEMBED
)
{
var
strHtmInstall
=
"<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='https://img.zhengzai.tv/lodopexe/2021/07/20/e69f60cb12f24a47af3f7fd2c3ffc3f3.exe' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>"
;
var
strHtmUpdate
=
"<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='https://img.zhengzai.tv/lodopexe/2021/07/20/e69f60cb12f24a47af3f7fd2c3ffc3f3.exe' target='_self'>执行升级</a>,升级后请重新进入。</font>"
;
var
strHtm64_Install
=
"<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='https://img.zhengzai.tv/lodopexe/2021/07/20/f868fd16e0eb473ea3f9139ed40660fc.exe' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>"
;
var
strHtm64_Update
=
"<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='https://img.zhengzai.tv/lodopexe/2021/07/20/f868fd16e0eb473ea3f9139ed40660fc.exe' target='_self'>执行升级</a>,升级后请重新进入。</font>"
;
var
strHtmFireFox
=
"<br><br><font color='#FF00FF'>(注意:如曾安装过Lodop旧版附件npActiveXPLugin,请在【工具】->【附加组件】->【扩展】中先卸它)</font>"
;
var
strHtmChrome
=
"<br><br><font color='#FF00FF'>(如果此前正常,仅因浏览器升级或重安装而出问题,需重新执行以上安装)</font>"
;
var
strCLodopInstall_1
=
"<br><font color='#FF00FF'>Web打印服务CLodop未安装启动,点击这里<a href='CLodop_Setup_for_Win32NT.exe' target='_self'>下载执行安装</a>"
;
var
strCLodopInstall_2
=
"<br>(若此前已安装过,可<a href='CLodop.protocol:setup' target='_self'>点这里直接再次启动</a>)"
;
var
strCLodopInstall_3
=
",成功后请刷新本页面。</font>"
;
var
strCLodopUpdate
=
"<br><font color='#FF00FF'>Web打印服务CLodop需升级!点击这里<a href='CLodop_Setup_for_Win32NT.exe' target='_self'>执行升级</a>,升级后请刷新页面。</font>"
;
var
LODOP
;
try
{
var
ua
=
navigator
.
userAgent
;
var
isIE
=
!!
(
ua
.
match
(
/MSIE/i
))
||
!!
(
ua
.
match
(
/Trident/i
));
if
(
needCLodop
())
{
try
{
LODOP
=
getCLodop
();
}
catch
(
err
)
{}
if
(
!
LODOP
&&
CLodopJsState
!==
"complete"
)
{
if
(
CLodopJsState
==
"loading"
)
alert
(
"网页还没下载完毕,请稍等一下再操作."
);
else
alert
(
"没有加载CLodop的主js,请先调用loadCLodop过程."
);
return
;
}
if
(
!
LODOP
)
{
document
.
body
.
innerHTML
=
strCLodopInstall_1
+
(
CLodopIsLocal
?
strCLodopInstall_2
:
""
)
+
strCLodopInstall_3
+
document
.
body
.
innerHTML
;
return
;
}
else
{
if
(
CLODOP
.
CVERSION
<
"4.1.2.7"
)
{
document
.
body
.
innerHTML
=
strCLodopUpdate
+
document
.
body
.
innerHTML
;
}
if
(
oEMBED
&&
oEMBED
.
parentNode
)
oEMBED
.
parentNode
.
removeChild
(
oEMBED
);
//清理旧版无效元素
if
(
oOBJECT
&&
oOBJECT
.
parentNode
)
oOBJECT
.
parentNode
.
removeChild
(
oOBJECT
);
}
}
else
{
var
is64IE
=
isIE
&&
!!
(
ua
.
match
(
/x64/i
));
//==如果页面有Lodop就直接使用,否则新建:==
if
(
oOBJECT
||
oEMBED
)
{
if
(
isIE
)
LODOP
=
oOBJECT
;
else
LODOP
=
oEMBED
;
}
else
if
(
!
CreatedOKLodopObject
)
{
LODOP
=
document
.
createElement
(
"object"
);
LODOP
.
setAttribute
(
"width"
,
0
);
LODOP
.
setAttribute
(
"height"
,
0
);
LODOP
.
setAttribute
(
"style"
,
"position:absolute;left:0px;top:-100px;width:0px;height:0px;"
);
if
(
isIE
)
LODOP
.
setAttribute
(
"classid"
,
"clsid:2105C259-1E0C-4534-8141-A753534CB4CA"
);
else
LODOP
.
setAttribute
(
"type"
,
"application/x-print-lodop"
);
document
.
documentElement
.
appendChild
(
LODOP
);
CreatedOKLodopObject
=
LODOP
;
}
else
LODOP
=
CreatedOKLodopObject
;
//==Lodop插件未安装时提示下载地址:==
if
((
!
LODOP
)
||
(
!
LODOP
.
VERSION
))
{
if
(
ua
.
indexOf
(
'Chrome'
)
>=
0
)
document
.
body
.
innerHTML
=
strHtmChrome
+
document
.
body
.
innerHTML
;
if
(
ua
.
indexOf
(
'Firefox'
)
>=
0
)
document
.
body
.
innerHTML
=
strHtmFireFox
+
document
.
body
.
innerHTML
;
document
.
body
.
innerHTML
=
(
is64IE
?
strHtm64_Install
:
strHtmInstall
)
+
document
.
body
.
innerHTML
;
return
LODOP
;
}
}
if
(
LODOP
.
VERSION
<
"6.2.2.6"
)
{
if
(
!
needCLodop
())
document
.
body
.
innerHTML
=
(
is64IE
?
strHtm64_Update
:
strHtmUpdate
)
+
document
.
body
.
innerHTML
;
}
//===如下空白位置适合调用统一功能(如注册语句、语言选择等):==
//=======================================================
return
LODOP
;
}
catch
(
err
)
{
alert
(
"getLodop出错:"
+
err
);
}
}
\ No newline at end of file
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/performancesExpress/performanceOrderList.html
View file @
c784c61b
...
@@ -66,6 +66,9 @@
...
@@ -66,6 +66,9 @@
</div>
</div>
</div>
</div>
</div>
</div>
<script
th:src=
"@{/lodop6226/LodopFuncs.js}"
></script>
<th:block
th:include=
"include :: footer"
/>
<th:block
th:include=
"include :: footer"
/>
<script
th:inline=
"javascript"
>
<script
th:inline=
"javascript"
>
var
placeOrderFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performancesExpress:placeOrder'
)}]];
var
placeOrderFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performancesExpress:placeOrder'
)}]];
...
@@ -98,6 +101,137 @@
...
@@ -98,6 +101,137 @@
$
.
ajax
(
configPrint
)
$
.
ajax
(
configPrint
)
}
}
function
printTest
(
orderExpressId
)
{
var
LODOP
=
getLodop
();
LODOP
.
PRINT_INIT
(
"运单打印"
);
// LODOP.SET_PRINT_PAGESIZE(1, 0, 0, "100mm*148mm");
LODOP
.
ADD_PRINT_TEXT
(
22
,
115
,
200
,
20
,
"打印时间:"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"黑体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
5
);
LODOP
.
ADD_PRINT_TEXT
(
32
,
115
,
200
,
20
,
"第1次打印"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"黑体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
5
);
LODOP
.
ADD_PRINT_TEXT
(
98
,
55
,
42
,
20
,
"1/1"
);
LODOP
.
ADD_PRINT_TEXT
(
60
,
20
,
100
,
20
,
"FQ"
);
LODOP
.
ADD_PRINT_TEXT
(
32
,
190
,
200
,
20
,
"序号1"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"黑体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
5
);
LODOP
.
ADD_PRINT_BARCODE
(
45
,
55
,
"80mm"
,
"13mm"
,
"128Auto"
,
"mo6789056"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"ShowBarText"
,
0
);
LODOP
.
ADD_PRINT_TEXT
(
98
,
95
,
500
,
15
,
"母单号69678"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"黑体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
9
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"Bold"
,
1
)
LODOP
.
ADD_PRINT_TEXT
(
9
,
290
,
100
,
40
,
"proCode"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"黑体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
26
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"Bold"
,
1
);
LODOP
.
ADD_PRINT_TEXT
(
125
,
10
,
500
,
45
,
"destRouteLabel"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"黑体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
33
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"Bold"
,
1
)
LODOP
.
ADD_PRINT_ELLIPSE
(
175
,
18
,
41
,
39
,
0
,
1
);
LODOP
.
ADD_PRINT_TEXT
(
183
,
27
,
31
,
31
,
"收"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"黑体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
17
);
LODOP
.
ADD_PRINT_TEXT
(
181
,
76
,
200
,
20
,
"dcontact"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"黑体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
8
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"Bold"
,
1
)
LODOP
.
ADD_PRINT_TEXT
(
181
,
230
,
296
,
20
,
"158***999"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"黑体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
8
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"Bold"
,
1
)
LODOP
.
ADD_PRINT_TEXT
(
195
,
74
,
296
,
39
,
"beijing"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"黑体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
8
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"Bold"
,
1
)
LODOP
.
ADD_PRINT_TEXT
(
233
,
26
,
105
,
20
,
"desc"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"黑体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"Alignment"
,
2
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"Bold"
,
1
)
LODOP
.
ADD_PRINT_TEXT
(
263
,
21
,
120
,
50
,
"codingMapping"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"黑体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
30
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"Alignment"
,
2
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"Bold"
,
1
)
LODOP
.
ADD_PRINT_BARCODE
(
228
,
150
,
115
,
99
,
"QRCode"
,
"7895678768"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"QRCodeVersion"
,
7
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"DataCharset"
,
"UTF-8"
);
LODOP
.
ADD_PRINT_TEXT
(
"61.94mm"
,
"67.47mm"
,
"7.41mm"
,
"21.17mm"
,
"已
\
r
\n
验
\
r
\n
视"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"黑体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
15
);
LODOP
.
ADD_PRINT_TEXT
(
235
,
300
,
80
,
50
,
"proName"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"宋体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
10
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"Bold"
,
1
);
LODOP
.
ADD_PRINT_ELLIPSE
(
329
,
18
,
41
,
38
,
0
,
1
);
LODOP
.
ADD_PRINT_TEXT
(
336
,
27
,
31
,
31
,
"寄"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"黑体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
17
);
LODOP
.
ADD_PRINT_TEXT
(
335
,
76
,
200
,
15
,
"jcontact"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"黑体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
8
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"Bold"
,
1
)
LODOP
.
ADD_PRINT_TEXT
(
335
,
230
,
200
,
15
,
"158***9999"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"黑体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
8
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"Bold"
,
1
)
LODOP
.
ADD_PRINT_TEXT
(
350
,
74
,
296
,
30
,
"beijingshi"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"黑体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
8
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"Bold"
,
1
)
LODOP
.
ADD_PRINT_TEXT
(
388
,
10
,
57
,
15
,
"托寄物:"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"宋体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
7
);
LODOP
.
ADD_PRINT_TEXT
(
400
,
10
,
180
,
70
,
"mailingContent"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"黑体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
7
);
// LODOP.SET_PRINT_STYLEA(0, "Bold", 1)
LODOP
.
ADD_PRINT_TEXT
(
388
,
200
,
70
,
15
,
"增值服务:"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"宋体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
7
);
LODOP
.
ADD_PRINT_TEXT
(
433
,
200
,
57
,
15
,
"重量:"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"宋体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
7
);
LODOP
.
ADD_PRINT_TEXT
(
433
,
225
,
80
,
15
,
"2kg"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
7
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"Bold"
,
1
);
LODOP
.
ADD_PRINT_TEXT
(
483
,
10
,
55
,
15
,
"备注:"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"宋体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
7
);
LODOP
.
ADD_PRINT_TEXT
(
494
,
10
,
180
,
55
,
"remarks"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontName"
,
"黑体"
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"FontSize"
,
7
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"Bold"
,
1
);
LODOP
.
SET_SHOW_MODE
(
"BKIMG_PRINT"
,
1
);
LODOP
.
ADD_PRINT_LINE
(
"0mm"
,
"0mm"
,
"0mm"
,
"100mm"
,
0
,
1
);
LODOP
.
ADD_PRINT_LINE
(
"147mm"
,
"0mm"
,
"0mm"
,
"0mm"
,
0
,
1
);
LODOP
.
ADD_PRINT_LINE
(
"33.13mm"
,
"0mm"
,
"33.13mm"
,
"100mm"
,
0
,
1
);
// LODOP.ADD_PRINT_LINE("43.13mm", "0mm", "43.13mm", "100mm", 0, 1);
LODOP
.
ADD_PRINT_LINE
(
"60mm"
,
"0mm"
,
"60mm"
,
"100mm"
,
0
,
1
);
LODOP
.
ADD_PRINT_LINE
(
"69.35mm"
,
"0mm"
,
"69.35mm"
,
"38.36mm"
,
0
,
1
);
LODOP
.
ADD_PRINT_LINE
(
"0mm"
,
"100mm"
,
"147mm"
,
"100mm"
,
0
,
1
);
LODOP
.
ADD_PRINT_LINE
(
"60.1mm"
,
"38.36mm"
,
"84.5mm"
,
"38.36mm"
,
0
,
1
);
LODOP
.
ADD_PRINT_LINE
(
"60.1mm"
,
"64.29mm"
,
"84.5mm"
,
"64.29mm"
,
0
,
1
);
LODOP
.
ADD_PRINT_LINE
(
"60.1mm"
,
"75.67mm"
,
"84.5mm"
,
"75.67mm"
,
0
,
1
);
// LODOP.ADD_PRINT_LINE("77.87mm", "0mm", "77.87mm", "38.36mm", 0, 1);
LODOP
.
ADD_PRINT_LINE
(
"75.87mm"
,
"75.67mm"
,
"75.87mm"
,
"100mm"
,
0
,
1
);
LODOP
.
ADD_PRINT_LINE
(
"84.5mm"
,
"0mm"
,
"84.5mm"
,
"100mm"
,
0
,
1
);
LODOP
.
ADD_PRINT_LINE
(
"101mm"
,
"0mm"
,
"101mm"
,
"100mm"
,
0
,
1
);
LODOP
.
ADD_PRINT_LINE
(
"101mm"
,
"50.00mm"
,
"147mm"
,
"50.00mm"
,
0
,
1
);
LODOP
.
ADD_PRINT_LINE
(
"113mm"
,
"50mm"
,
"113mm"
,
"100mm"
,
0
,
1
);
LODOP
.
ADD_PRINT_LINE
(
"126.3mm"
,
"0mm"
,
"126.3mm"
,
"100mm"
,
0
,
1
);
LODOP
.
ADD_PRINT_LINE
(
"147mm"
,
"0mm"
,
"147mm"
,
"100mm"
,
0
,
1
);
LODOP
.
PRINT
();
}
$
(
function
()
{
$
(
function
()
{
var
options
=
{
var
options
=
{
url
:
prefix
+
"/performanceOrderList"
,
url
:
prefix
+
"/performanceOrderList"
,
...
@@ -210,6 +344,7 @@
...
@@ -210,6 +344,7 @@
actions.push('
<
a
class
=
"btn btn-danger btn-xs ' + cancelOrderFlag + '"
href
=
"javascript:void(0)"
onclick
=
"$.operate.remove(
\
'' + row.orderTicketsId + '
\
',
\
'确定取消快递单吗?
\
', table.options.cancelOrderUrl)"
><
/i>取消</
a
>
');
actions.push('
<
a
class
=
"btn btn-danger btn-xs ' + cancelOrderFlag + '"
href
=
"javascript:void(0)"
onclick
=
"$.operate.remove(
\
'' + row.orderTicketsId + '
\
',
\
'确定取消快递单吗?
\
', table.options.cancelOrderUrl)"
><
/i>取消</
a
>
');
// actions.push('
<
a
class
=
"btn btn-warning btn-xs ' + printFlag + '"
href
=
"javascript:void(0)"
onclick
=
"$.operate.remove(
\
'' + row.orderExpressId + '
\
',
\
'确定批量打印吗?
\
', table.options.printUrl)"
><
/i>打印</
a
>
');
// actions.push('
<
a
class
=
"btn btn-warning btn-xs ' + printFlag + '"
href
=
"javascript:void(0)"
onclick
=
"$.operate.remove(
\
'' + row.orderExpressId + '
\
',
\
'确定批量打印吗?
\
', table.options.printUrl)"
><
/i>打印</
a
>
');
actions.push('
<
a
class
=
"btn btn-warning btn-xs ' + printFlag + '"
href
=
"javascript:void(0)"
onclick
=
"printAjax(
\
'' + row.orderExpressId + '
\
',)"
><
/i>下载快递单</
a
>
');
actions.push('
<
a
class
=
"btn btn-warning btn-xs ' + printFlag + '"
href
=
"javascript:void(0)"
onclick
=
"printAjax(
\
'' + row.orderExpressId + '
\
',)"
><
/i>下载快递单</
a
>
');
actions.push('
<
a
class
=
"btn btn-warning btn-xs ' + printFlag + '"
href
=
"javascript:void(0)"
onclick
=
"printTest(
\
'' + row.orderExpressId + '
\
',)"
><
/i>打印test</
a
>
');
// actions.push('
<
a
class
=
"btn btn-success btn-xs ' + getResultFlag + '"
href
=
"javascript:void(0)"
onclick
=
"$.operate.remove(
\
'' + row.orderTicketsId + '
\
',
\
'确定获取快递信息吗?
\
', table.options.getResultUrl)"
><
/i>主动获取下单信息</
a
>
');
// actions.push('
<
a
class
=
"btn btn-success btn-xs ' + getResultFlag + '"
href
=
"javascript:void(0)"
onclick
=
"$.operate.remove(
\
'' + row.orderTicketsId + '
\
',
\
'确定获取快递信息吗?
\
', table.options.getResultUrl)"
><
/i>主动获取下单信息</
a
>
');
// actions.push('
<
a
class
=
"btn btn-success btn-xs ' + getFreightFlag + '"
href
=
"javascript:void(0)"
onclick
=
"$.operate.remove(
\
'' + row.orderTicketsId + '
\
',
\
'确定获取估算运费吗?
\
', table.options.getFreightUrl)"
><
/i>运费估算</
a
>
');
// actions.push('
<
a
class
=
"btn btn-success btn-xs ' + getFreightFlag + '"
href
=
"javascript:void(0)"
onclick
=
"$.operate.remove(
\
'' + row.orderTicketsId + '
\
',
\
'确定获取估算运费吗?
\
', table.options.getFreightUrl)"
><
/i>运费估算</
a
>
');
// actions.push('
<
a
class
=
"btn btn-success btn-xs ' + getListFreightFlag + '"
href
=
"javascript:void(0)"
onclick
=
"$.operate.remove(
\
'' + row.orderTicketsId + '
\
',
\
'确定获取运费信息吗?
\
', table.options.getListFreightUrl)"
><
/i>主动获取运费</
a
>
');
// actions.push('
<
a
class
=
"btn btn-success btn-xs ' + getListFreightFlag + '"
href
=
"javascript:void(0)"
onclick
=
"$.operate.remove(
\
'' + row.orderTicketsId + '
\
',
\
'确定获取运费信息吗?
\
', table.options.getListFreightUrl)"
><
/i>主动获取运费</
a
>
');
...
...
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