Commit c7feb16c by zhangxw

联调修改

1 parent c680b113
......@@ -354,7 +354,7 @@ export default {
} catch (error) {
return document.getElementById('specificationDetailList').scrollIntoView()
}
if (this.formatPrice(i)) {
if (this.formatPrice(confirmShopData[i])) {
return document.getElementById('specificationDetailList').scrollIntoView()
}
}
......@@ -400,8 +400,7 @@ export default {
callback()
},
// 校验零售价成本价最低价关系
formatPrice(index) {
let item = this.goodsInfoData.goodsSpecificationSingleList[index]
formatPrice(item) {
return (!this.filterEmpty(item.shopPrice) && !this.filterEmpty(item.shopMinPrice) && Number(item.shopPrice) > Number(item.shopMinPrice))
|| (!this.filterEmpty(item.upgradePrice) && !this.filterEmpty(item.shopPrice) && Number(item.shopPrice) > Number(item.upgradePrice))
|| (!this.filterEmpty(item.shopMinPrice) && !this.filterEmpty(item.upgradePrice) && Number(item.shopMinPrice) > Number(item.upgradePrice))
......
......@@ -164,7 +164,7 @@ export default {
handleRelateConfirm() {
const params = this.getParams()
if (params.scene == 1) {
if (params.scene == 1 || params.scene == 0) {
if (this.choose4sData.length == 0) {
this.notice.warningTips('请选择4s店')
return
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!