Commit 56c4e824 by 前端

修复bug

1 parent 04d0a409
...@@ -128,11 +128,11 @@ export default { ...@@ -128,11 +128,11 @@ export default {
}, },
data() { data() {
return { return {
dialogVisibleImg:false, dialogVisibleImg: false,
goodsVisible: false, goodsVisible: false,
merchantDialogVisible: false, merchantDialogVisible: false,
disabled: false, disabled: false,
dialogSrc:'', dialogSrc: '',
goodsInfo: {}, goodsInfo: {},
routeInfo: {}, routeInfo: {},
posterOptions: { posterOptions: {
...@@ -216,7 +216,7 @@ export default { ...@@ -216,7 +216,7 @@ export default {
required: true, required: true,
validator: (rule, value, callback) => { validator: (rule, value, callback) => {
const _target = this.saleMerchantList.find(item => !item.activityPrice || !item.originalPrice) const _target = this.saleMerchantList.find(item => !item.activityPrice || !item.originalPrice)
const _integralTarget = this.saleMerchantList.find(item => !item.giveIntegral) const _integralTarget = this.saleMerchantList.find(item => item.giveIntegral === null || item.giveIntegral === '')
const hasTarget = this.saleMerchantList.find(item => { const hasTarget = this.saleMerchantList.find(item => {
let originalPrice = item.originalPrice || 0 let originalPrice = item.originalPrice || 0
let activityPrice = item.activityPrice || 0 let activityPrice = item.activityPrice || 0
...@@ -467,7 +467,7 @@ export default { ...@@ -467,7 +467,7 @@ export default {
}, },
handleGoodsConfirm(e) { handleGoodsConfirm(e) {
if (this.formObj.smartcarlifeInfoId != e?.id) this.saleMerchantList = [] if (this.formObj.smartcarlifeInfoId != e?.id) this.saleMerchantList = []
let {id: smartcarlifeInfoId, goodsName, goodsImage, minSellPrice, retailPrice,goodsVideo} = e || {} let {id: smartcarlifeInfoId, goodsName, goodsImage, minSellPrice, retailPrice, goodsVideo} = e || {}
minSellPrice = minSellPrice ? Number(Number(minSellPrice / 100).toFixed(2)) : 0 minSellPrice = minSellPrice ? Number(Number(minSellPrice / 100).toFixed(2)) : 0
retailPrice = retailPrice ? Number(Number(retailPrice / 100).toFixed(2)) : 0 retailPrice = retailPrice ? Number(Number(retailPrice / 100).toFixed(2)) : 0
...@@ -654,7 +654,6 @@ export default { ...@@ -654,7 +654,6 @@ export default {
} }
.avatar-uploader-desc-word { .avatar-uploader-desc-word {
font-weight: 400; font-weight: 400;
font-size: 28 rpx; font-size: 28 rpx;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!