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
ad42f0fe
Commit
ad42f0fe
authored
Apr 13, 2026
by
linjinhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改黄点模提示
parent
5befc9f7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
15 deletions
+30
-15
src/views/design/head/index.vue
+26
-11
src/views/design/main/index.vue
+4
-4
No files found.
src/views/design/head/index.vue
View file @
ad42f0fe
...
@@ -422,7 +422,7 @@ export default {
...
@@ -422,7 +422,7 @@ export default {
if
(
if
(
!
this
.
checked
&&
!
this
.
checked
&&
this
.
detail
.
diyId
&&
this
.
detail
.
diyId
&&
this
.
detail
.
adjustable
&&
this
.
detail
.
adjustable
==
1
&&
designImagesCanvasJsonList
&&
designImagesCanvasJsonList
&&
this
.
desktopDevice
!==
3
this
.
desktopDevice
!==
3
)
{
)
{
...
@@ -461,7 +461,20 @@ export default {
...
@@ -461,7 +461,20 @@ export default {
if
(
designImagesCanvasJsonList
)
{
if
(
designImagesCanvasJsonList
)
{
designImagesCanvasJsonList
=
JSON
.
parse
(
designImagesCanvasJsonList
);
designImagesCanvasJsonList
=
JSON
.
parse
(
designImagesCanvasJsonList
);
// 惠立彩 带黄点摸的订单直接展示错误弹窗
// 惠立彩 带黄点摸的订单直接展示错误弹窗
if
(
!
designImagesCanvasJsonList
[
0
].
images
)
{
if
(
this
.
detail
.
productMark
==
"custom_part"
&&
this
.
detail
.
adjustable
==
1
&&
!
designImagesCanvasJsonList
[
0
].
images
)
{
this
.
showforcedProduc
=
true
;
this
.
dialogVisible
=
true
;
return
;
}
if
(
(
this
.
detail
.
productMark
==
"custom_part"
&&
this
.
detail
.
adjustable
==
0
)
||
this
.
detail
.
productMark
!==
"custom_part"
)
{
this
.
showforcedProduc
=
true
;
this
.
showforcedProduc
=
true
;
this
.
dialogVisible
=
true
;
this
.
dialogVisible
=
true
;
return
;
return
;
...
@@ -530,7 +543,7 @@ export default {
...
@@ -530,7 +543,7 @@ export default {
if (
if (
this.detail.mssWidth &&
this.detail.mssWidth &&
this.detail.adjustable &&
this.detail.adjustable
== 1
&&
this.detail.mssHeight
this.detail.mssHeight
) {
) {
obj.size = {
obj.size = {
...
@@ -1188,15 +1201,17 @@ export default {
...
@@ -1188,15 +1201,17 @@ export default {
<
div
<
div
style
=
"font-size: 16px; line-height: 1.6; padding: 10px 0;font-weight: bold;color: #333;"
style
=
"font-size: 16px; line-height: 1.6; padding: 10px 0;font-weight: bold;color: #333;"
>
>
<!--
核心提示:加粗
+
红色,突出重点
-->
<
div
v
-
if
=
"showforcedProduc"
>
<
div
style
=
" "
>
此单素材屈于历史不规范素材,无法直接打印。请更换打印设备
素材效果已经超出台版范围,无法直接打印。
请更换打印设备,或者进行强制生产
<
/div>
<
/div>
<
div
v
-
else
>
<!--
备注:灰色
+
小字号,弱化处理
-->
<
div
>
<
div
style
=
""
>
素材效果已经超出台版范围,无法直接打印。
注
:
“自动强制生产”会让每次生产都强制生产
请更换打印设备,或者进行强制生产
<
/div>
<
div
>
注
:
“自动强制生产”会让每次生产都强制生产
<
/div>
<
/div>
<
/div>
<
/div>
<
/div>
...
...
src/views/design/main/index.vue
View file @
ad42f0fe
...
@@ -533,7 +533,7 @@ export default {
...
@@ -533,7 +533,7 @@ export default {
let
size
=
null
;
let
size
=
null
;
if
(
if
(
this
.
detail
.
mssWidth
&&
this
.
detail
.
mssWidth
&&
this
.
detail
.
adjustable
&&
this
.
detail
.
adjustable
==
1
&&
this
.
detail
.
mssHeight
this
.
detail
.
mssHeight
)
{
)
{
size
=
{
size
=
{
...
@@ -1286,7 +1286,7 @@ export default {
...
@@ -1286,7 +1286,7 @@ export default {
if
(
if
(
this
.
detail
&&
this
.
detail
&&
this
.
detail
.
mssWidth
&&
this
.
detail
.
mssWidth
&&
this
.
detail
.
adjustable
&&
this
.
detail
.
adjustable
==
1
&&
this
.
detail
.
mssHeight
this
.
detail
.
mssHeight
)
{
)
{
this
.
detail
.
designImageSize
=
{
this
.
detail
.
designImageSize
=
{
...
@@ -1792,7 +1792,7 @@ export default {
...
@@ -1792,7 +1792,7 @@ export default {
v-if=
"
v-if=
"
productMark == 'custom_part' &&
productMark == 'custom_part' &&
selectImgList.length &&
selectImgList.length &&
detail.adjustable &&
detail.adjustable
== 1
&&
!isOver &&
!isOver &&
!isMove &&
!isMove &&
!selectImgList.some((el) => el.isCut) &&
!selectImgList.some((el) => el.isCut) &&
...
@@ -1806,7 +1806,7 @@ export default {
...
@@ -1806,7 +1806,7 @@ export default {
:style=
"{ left: isView ? '' : '6%' }"
:style=
"{ left: isView ? '' : '6%' }"
v-if=
"
v-if=
"
productMark == 'custom_part' &&
productMark == 'custom_part' &&
detail.adjustable &&
detail.adjustable
== 1
&&
selectImgList.length &&
selectImgList.length &&
!selectImgList.some((el) => el.isCut) &&
!selectImgList.some((el) => el.isCut) &&
isOver &&
isOver &&
...
...
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