bug
This commit is contained in:
@@ -38,10 +38,10 @@
|
||||
<div class="layout-config__item--right">
|
||||
<el-select size="mini" v-model="options.sourceDataId" placeholder="请选择数据源" @change="onDataChange">
|
||||
<el-option
|
||||
v-for="item in sourceData"
|
||||
:key="item.id"
|
||||
:label="item.description"
|
||||
:value="item.id">
|
||||
v-for="item in sourceData"
|
||||
:key="item.id"
|
||||
:label="item.description"
|
||||
:value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</div>
|
||||
|
||||
@@ -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('请输入库存')
|
||||
}
|
||||
|
||||
@@ -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('请输入库存')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user