bug
This commit is contained in:
@@ -377,12 +377,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (let i = 0; i < this.form.goodsList.length; i++) {
|
for (let i = 0; i < this.form.goodsList.length; i++) {
|
||||||
if (!this.form.goodsList[i].integralPrice) {
|
// if (!this.form.goodsList[i].integralPrice) {
|
||||||
return this.$message.error('请输入兑换所需积分')
|
// return this.$message.error('请输入兑换所需积分')
|
||||||
}
|
// }
|
||||||
if (!this.form.goodsList[i].payMoney && this.form.goodsList[i].goods.type === '1') {
|
// if (!this.form.goodsList[i].payMoney && this.form.goodsList[i].goods.type === '1') {
|
||||||
return this.$message.error('请输入兑换后补差价金额')
|
// return this.$message.error('请输入兑换后补差价金额')
|
||||||
}
|
// }
|
||||||
if (!this.form.goodsList[i].stock) {
|
if (!this.form.goodsList[i].stock) {
|
||||||
return this.$message.error('请输入库存')
|
return this.$message.error('请输入库存')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -372,12 +372,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (let i = 0; i < this.form.goodsList.length; i++) {
|
for (let i = 0; i < this.form.goodsList.length; i++) {
|
||||||
if (!this.form.goodsList[i].integralPrice) {
|
// if (!this.form.goodsList[i].integralPrice) {
|
||||||
return this.$message.error('请输入兑换所需积分')
|
// return this.$message.error('请输入兑换所需积分')
|
||||||
}
|
// }
|
||||||
if (!this.form.goodsList[i].payMoney && this.form.goodsList[i].goods.type === '1') {
|
// if (!this.form.goodsList[i].payMoney && this.form.goodsList[i].goods.type === '1') {
|
||||||
return this.$message.error('请输入兑换后补差价金额')
|
// return this.$message.error('请输入兑换后补差价金额')
|
||||||
}
|
// }
|
||||||
if (!this.form.goodsList[i].stock) {
|
if (!this.form.goodsList[i].stock) {
|
||||||
return this.$message.error('请输入库存')
|
return this.$message.error('请输入库存')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user