|
@@ -51,12 +51,12 @@
|
|
|
<template slot="append">元</template>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="数量" prop="quantity">
|
|
|
+ <el-form-item label="盲票总数" prop="quantity">
|
|
|
<el-input
|
|
|
v-model="form.quantity"
|
|
|
style="width: 240px"
|
|
|
size="small"
|
|
|
- placeholder="请输入数量"
|
|
|
+ placeholder="请输入盲票总数"
|
|
|
>
|
|
|
<template slot="append">张</template>
|
|
|
</el-input>
|
|
@@ -594,7 +594,7 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- if ((this.form.quantity % this.form.pkgUnit != 0) && this.form.type == 'offline') {
|
|
|
+ if (this.form.quantity % this.form.pkgUnit != 0) {
|
|
|
this.$message.error("每包数量错误!");
|
|
|
return
|
|
|
}
|
|
@@ -608,6 +608,11 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
+ if(this.form.saleCommRate > 100){
|
|
|
+ this.$message.error("分佣基数不能大于100!");
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
this.awardsList.forEach((item) => {
|
|
|
item.prizeList = item.prizeList.map((ele) => {
|
|
|
return {
|