|
|
@ -365,6 +365,10 @@ export default { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '因政策类别为优惠,则优惠包类别只能选择赠送优惠' }) |
|
|
|
return |
|
|
|
} |
|
|
|
if (this.temp.salesPolicy === '促销' && this.temp.baseDiscountpackageVehs.length === 0) { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '因政策类别为促销,则享受促销政策的车辆列表不能为空' }) |
|
|
|
return |
|
|
|
} |
|
|
|
this.$refs['dataForm'].validate((valid) => { |
|
|
|
if (valid) { |
|
|
|
this.disabled = true |
|
|
|