需求497

This commit is contained in:
zhangguoping 2024-10-08 11:14:54 +08:00
parent 2201b67816
commit 1692b6f4ce
2 changed files with 14 additions and 4 deletions

View File

@ -229,8 +229,13 @@
methods: {
bindAvailable () {
if (goodsDetail.available != 1) {
this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
return;
if(goodsDetail.available === 23 && goodsDetail.period_tips_text) {
return this.openErrorDialog(goodsDetail.period_tips_text)
} else {
return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
}
// this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
// return;
}
},

View File

@ -277,8 +277,13 @@
methods: {
bindAvailable () {
if (goodsDetail.available != 1) {
this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
return;
if(goodsDetail.available === 23 && goodsDetail.period_tips_text) {
return this.openErrorDialog(goodsDetail.period_tips_text)
} else {
return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
}
// this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
// return;
}
},