| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -280,12 +280,17 @@ class AgentProductController extends AdminController | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									$options = Channel::selectOptions(fn($query) => $query->where('agent_id', $agent_id)); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									$form->multipleSelect('channel_id')->options(array_slice($options, 1, null, true)); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									$form->currency('earnest')->symbol('¥') | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										->default(0)->help('单位:元。不输入或输入 0 则不支持定金支付,必须和定金超时时间同时设置才会生效'); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									$form->decimal('earnest','价格')->rules('required|numeric|min:0|not_in:0',[ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										'*' => '金额为必填字段且必须大于0', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									]); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									$form->number('earnest_timeout')->min(0) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										->default(0)->help('单位:分钟。超过这个时间未支付尾款,订单将自动关闭,且定金不退'); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									$form->currency('deposit')->symbol('¥') | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										->default(0)->help('单位:元。不输入或输入 0 则不支持订金支付,必须和订金超时时间同时设置才会生效'); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									$form->decimal('deposit','价格')->rules('required|numeric|min:0|not_in:0',[ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										'*' => '金额为必填字段且必须大于0', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									]); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									$form->number('deposit_timeout')->min(0) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										->default(0)->help('单位:分钟。超过这个时间未支付尾款,订单将自动关闭,且订金不退'); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |