This commit is contained in:
yanran200730
2023-07-06 16:44:44 +08:00
parent 408fcffb29
commit f140ef743d
3 changed files with 16 additions and 16 deletions

View File

@@ -377,12 +377,12 @@
}
for (let i = 0; i < this.form.goodsList.length; i++) {
if (!this.form.goodsList[i].integralPrice) {
return this.$message.error('请输入兑换所需积分')
}
if (!this.form.goodsList[i].payMoney && this.form.goodsList[i].goods.type === '1') {
return this.$message.error('请输入兑换后补差价金额')
}
// if (!this.form.goodsList[i].integralPrice) {
// return this.$message.error('请输入兑换所需积分')
// }
// if (!this.form.goodsList[i].payMoney && this.form.goodsList[i].goods.type === '1') {
// return this.$message.error('请输入兑换后补差价金额')
// }
if (!this.form.goodsList[i].stock) {
return this.$message.error('请输入库存')
}

View File

@@ -372,12 +372,12 @@
}
for (let i = 0; i < this.form.goodsList.length; i++) {
if (!this.form.goodsList[i].integralPrice) {
return this.$message.error('请输入兑换所需积分')
}
if (!this.form.goodsList[i].payMoney && this.form.goodsList[i].goods.type === '1') {
return this.$message.error('请输入兑换后补差价金额')
}
// if (!this.form.goodsList[i].integralPrice) {
// return this.$message.error('请输入兑换所需积分')
// }
// if (!this.form.goodsList[i].payMoney && this.form.goodsList[i].goods.type === '1') {
// return this.$message.error('请输入兑换后补差价金额')
// }
if (!this.form.goodsList[i].stock) {
return this.$message.error('请输入库存')
}