Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
electron-printer
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhuzhequan
electron-printer
Commits
205e3d15
Commit
205e3d15
authored
Apr 15, 2026
by
linjinhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改问题
parent
3dcb6d83
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
14 deletions
+11
-14
src/views/design/head/index.vue
+11
-14
No files found.
src/views/design/head/index.vue
View file @
205e3d15
...
...
@@ -416,7 +416,7 @@ export default {
isForcedProduction
,
)
{
let
imageResList
=
[];
console
.
log
(
431
,
designImagesCanvasJsonList
);
this
.
showforcedProduc
=
false
;
// 当adjustable有值时 直接赋值宽高
if
(
...
...
@@ -443,18 +443,6 @@ export default {
});
imageResList
=
Sres
.
data
;
console
.
log
(
"imageResList"
,
imageResList
);
}
else
{
// designImagesCanvasJsonList.forEach((el) => {
// el.images.forEach((item) => {
// imageResList.push({
// productionFile: item,
// title: el.title,
// });
// });
// });
// for (let item of imageResList) {
// item.productionFile = await this.saveImgByUrl(item.productionFile);
// }
}
}
if
(
this
.
desktopDevice
==
3
)
{
...
...
@@ -480,6 +468,15 @@ export default {
return
;
}
}
if
(
(
this
.
detail
.
productMark
==
"custom_part"
&&
!
this
.
detail
.
adjustable
)
||
this
.
detail
.
productMark
!==
"custom_part"
)
{
this
.
showforcedProduc
=
true
;
this
.
dialogVisible
=
true
;
return
;
}
}
// 根据生产单号查找 素材图片 下载到本地 然后返回本地地址去显示
...
...
@@ -1202,7 +1199,7 @@ export default {
style
=
"font-size: 16px; line-height: 1.6; padding: 10px 0;font-weight: bold;color: #333;"
>
<
div
v
-
if
=
"showforcedProduc"
>
此单素材
屈
于历史不规范素材,无法直接打印。请更换打印设备
此单素材
属
于历史不规范素材,无法直接打印。请更换打印设备
<
/div>
<
div
v
-
else
>
<
div
>
...
...
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