Commit ad42f0fe by linjinhong

fix:修改黄点模提示

parent 5befc9f7
......@@ -422,7 +422,7 @@ export default {
if (
!this.checked &&
this.detail.diyId &&
this.detail.adjustable &&
this.detail.adjustable == 1 &&
designImagesCanvasJsonList &&
this.desktopDevice !== 3
) {
......@@ -461,7 +461,20 @@ export default {
if (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.dialogVisible = true;
return;
......@@ -530,7 +543,7 @@ export default {
if (
this.detail.mssWidth &&
this.detail.adjustable &&
this.detail.adjustable == 1 &&
this.detail.mssHeight
) {
obj.size = {
......@@ -1188,15 +1201,17 @@ export default {
<div
style="font-size: 16px; line-height: 1.6; padding: 10px 0;font-weight: bold;color: #333;"
>
<!-- 核心提示:加粗+红色,突出重点 -->
<div style=" ">
素材效果已经超出台版范围,无法直接打印。
请更换打印设备,或者进行强制生产
<div v-if="showforcedProduc">
此单素材屈于历史不规范素材,无法直接打印。请更换打印设备
</div>
<!-- 备注:灰色+小字号,弱化处理 -->
<div style="">
:“自动强制生产”会让每次生产都强制生产
<div v-else>
<div>
素材效果已经超出台版范围,无法直接打印。
请更换打印设备,或者进行强制生产
</div>
<div>
:“自动强制生产”会让每次生产都强制生产
</div>
</div>
</div>
......
......@@ -533,7 +533,7 @@ export default {
let size = null;
if (
this.detail.mssWidth &&
this.detail.adjustable &&
this.detail.adjustable == 1 &&
this.detail.mssHeight
) {
size = {
......@@ -1286,7 +1286,7 @@ export default {
if (
this.detail &&
this.detail.mssWidth &&
this.detail.adjustable &&
this.detail.adjustable == 1 &&
this.detail.mssHeight
) {
this.detail.designImageSize = {
......@@ -1792,7 +1792,7 @@ export default {
v-if="
productMark == 'custom_part' &&
selectImgList.length &&
detail.adjustable &&
detail.adjustable == 1 &&
!isOver &&
!isMove &&
!selectImgList.some((el) => el.isCut) &&
......@@ -1806,7 +1806,7 @@ export default {
:style="{ left: isView ? '' : '6%' }"
v-if="
productMark == 'custom_part' &&
detail.adjustable &&
detail.adjustable == 1 &&
selectImgList.length &&
!selectImgList.some((el) => el.isCut) &&
isOver &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment