fix: 尾款时间规则
This commit is contained in:
parent
4a1d34e6dc
commit
2ed685384d
|
@ -646,6 +646,10 @@ export default {
|
|||
this.$message.error('付尾款开始时间必须大于等于定金开始时间')
|
||||
return
|
||||
}
|
||||
if (dayjs(this.ruleForm.endTime).isAfter(dayjs(this.ruleForm.balancePaymentEndTime))) {
|
||||
this.$message.error('付尾款结束时间必须大于等于定金结束时间')
|
||||
return
|
||||
}
|
||||
if (
|
||||
this.ruleForm.productList &&
|
||||
this.ruleForm.productList.length === 0
|
||||
|
@ -711,6 +715,10 @@ export default {
|
|||
this.$message.error('付尾款开始时间必须大于等于定金开始时间')
|
||||
return
|
||||
}
|
||||
if (dayjs(this.ruleForm.endTime).isAfter(dayjs(this.ruleForm.balancePaymentEndTime))) {
|
||||
this.$message.error('付尾款结束时间必须大于等于定金结束时间')
|
||||
return
|
||||
}
|
||||
console.log(valid)
|
||||
if (
|
||||
this.ruleForm.productSpecificationList &&
|
||||
|
|
Loading…
Reference in New Issue