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