Commit 3dcb6d83 by linjinhong

fix:修改adjustable判断值

parent 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 == 1 && this.detail.adjustable &&
designImagesCanvasJsonList && designImagesCanvasJsonList &&
this.desktopDevice !== 3 this.desktopDevice !== 3
) { ) {
...@@ -463,7 +463,7 @@ export default { ...@@ -463,7 +463,7 @@ export default {
// 惠立彩 带黄点摸的订单直接展示错误弹窗 // 惠立彩 带黄点摸的订单直接展示错误弹窗
if ( if (
this.detail.productMark == "custom_part" && this.detail.productMark == "custom_part" &&
this.detail.adjustable == 1 && this.detail.adjustable &&
!designImagesCanvasJsonList[0].images !designImagesCanvasJsonList[0].images
) { ) {
this.showforcedProduc = true; this.showforcedProduc = true;
...@@ -472,7 +472,7 @@ export default { ...@@ -472,7 +472,7 @@ export default {
} }
if ( if (
(this.detail.productMark == "custom_part" && (this.detail.productMark == "custom_part" &&
this.detail.adjustable == 0) || !this.detail.adjustable) ||
this.detail.productMark !== "custom_part" this.detail.productMark !== "custom_part"
) { ) {
this.showforcedProduc = true; this.showforcedProduc = true;
......
...@@ -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 == 1 && this.detail.adjustable &&
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 == 1 && this.detail.adjustable &&
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 == 1 && detail.adjustable &&
!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 == 1 && detail.adjustable &&
selectImgList.length && selectImgList.length &&
!selectImgList.some((el) => el.isCut) && !selectImgList.some((el) => el.isCut) &&
isOver && 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