Co-authored-by: lyx <2027667395@qq.com> Reviewed-on: daoyoucloud/tachybase#848 Co-authored-by: hello@lv <2256334253@qq.com> Co-committed-by: hello@lv <2256334253@qq.com>
This commit is contained in:
		
							parent
							
								
									b3301e19de
								
							
						
					
					
						commit
						2aa08c4598
					
				
							
								
								
									
										5
									
								
								.changeset/silly-news-exercise.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								.changeset/silly-news-exercise.md
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,5 @@
 | 
			
		||||
---
 | 
			
		||||
"@hera/plugin-rental": patch
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
订单修改结算单状态未改变
 | 
			
		||||
@ -240,7 +240,7 @@ export class RecordService {
 | 
			
		||||
    const { values, transaction, context } = options;
 | 
			
		||||
    if (!values) return;
 | 
			
		||||
    // 触发打印更新次数跳过
 | 
			
		||||
    if (values?.print_count) return;
 | 
			
		||||
    if (Object.keys(values).length === 1 && values?.print_count) return;
 | 
			
		||||
    if (values?.category === RecordCategory.lease && values.contract) {
 | 
			
		||||
      const dateObject = values.date;
 | 
			
		||||
      // 结束时间添加一天,新系统选择时间都是以当天0点开始,但是导入的数据存在不是以0点开始比如2023-12-21:03.000……,提醒结算单的时间可能为2023-12-21:00.000……
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user