Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-web-back-soil
Overview
Overview
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
wangweidong
patzn-cloud-web-back-soil
Commits
81cdaed1
Commit
81cdaed1
authored
Dec 04, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了收样室收样打印数量
parent
f67c9d17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
28 deletions
+31
-28
Preparation.vue
pages/soil-sample-manage/sample-preparation/Preparation.vue
+31
-28
No files found.
pages/soil-sample-manage/sample-preparation/Preparation.vue
View file @
81cdaed1
...
...
@@ -442,35 +442,38 @@ export default {
}
const
data
=
this
.
selectData
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
LODOP
.
PRINT_INITA
(
'0mm'
,
'0mm'
,
'60.01mm'
,
'40.01mm'
,
'打印控件功能演示_Lodop功能_打印图片3'
)
LODOP
.
ADD_PRINT_BARCODE
(
'0.08mm'
,
'18.39mm'
,
'58.87mm'
,
'24.74mm'
,
'QRCode'
,
data
[
i
].
sampleCode
+
'-'
+
data
[
i
].
groupId
)
LODOP
.
ADD_PRINT_TEXT
(
130
,
13
,
186
,
20
,
this
.
_formatDate
(
data
[
i
].
prepareDate
)
)
LODOP
.
SET_PRINT_STYLEA
(
0
,
'Alignment'
,
2
)
LODOP
.
ADD_PRINT_TEXT
(
113
,
13
,
187
,
20
,
data
[
i
].
groupName
)
LODOP
.
SET_PRINT_STYLEA
(
0
,
'Alignment'
,
2
)
LODOP
.
ADD_PRINT_TEXT
(
95
,
12
,
188
,
20
,
data
[
i
].
sampleCode
)
LODOP
.
SET_PRINT_STYLEA
(
0
,
'Alignment'
,
2
)
for
(
let
j
=
0
;
j
<
data
[
i
].
printNum
;
j
++
)
{
LODOP
.
PRINT_INITA
(
'0mm'
,
'0mm'
,
'60.01mm'
,
'40.01mm'
,
'打印控件功能演示_Lodop功能_打印图片3'
)
LODOP
.
ADD_PRINT_BARCODE
(
'0.08mm'
,
'18.39mm'
,
'58.87mm'
,
'24.74mm'
,
'QRCode'
,
data
[
i
].
sampleCode
+
'-'
+
data
[
i
].
groupId
)
LODOP
.
ADD_PRINT_TEXT
(
130
,
13
,
186
,
20
,
this
.
_formatDate
(
data
[
i
].
prepareDate
)
)
LODOP
.
SET_PRINT_STYLEA
(
0
,
'Alignment'
,
2
)
LODOP
.
ADD_PRINT_TEXT
(
113
,
13
,
187
,
20
,
data
[
i
].
groupName
)
LODOP
.
SET_PRINT_STYLEA
(
0
,
'Alignment'
,
2
)
LODOP
.
ADD_PRINT_TEXT
(
95
,
12
,
188
,
20
,
data
[
i
].
sampleCode
)
LODOP
.
SET_PRINT_STYLEA
(
0
,
'Alignment'
,
2
)
LODOP
.
PRINT_DESIGN
()
// LODOP.PRINT_DESIGN()
LODOP
.
PRINT
()
}
}
},
// 时间戳转换方法 date:时间戳数字
...
...
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