Browse Source

完善销售政策

master
yunuo970428 2 years ago
parent
commit
283bee2613
  1. 6
      anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshouzhengce/xiaoshouzhengceAdd.vue

6
anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshouzhengce/xiaoshouzhengceAdd.vue

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

Loading…
Cancel
Save