|  | @@ -0,0 +1,94 @@
 | 
	
		
			
				|  |  | +import {BasicColumn} from '/@/components/Table';
 | 
	
		
			
				|  |  | +import {FormSchema} from '/@/components/Table';
 | 
	
		
			
				|  |  | +import { rules} from '/@/utils/helper/validator';
 | 
	
		
			
				|  |  | +import { render } from '/@/utils/common/renderUtils';
 | 
	
		
			
				|  |  | +import { getWeekMonthQuarterYear } from '/@/utils';
 | 
	
		
			
				|  |  | +//列表数据
 | 
	
		
			
				|  |  | +export const columns: BasicColumn[] = [
 | 
	
		
			
				|  |  | +   {
 | 
	
		
			
				|  |  | +    title: 'IMO',
 | 
	
		
			
				|  |  | +    align:"center",
 | 
	
		
			
				|  |  | +    dataIndex: 'imo'
 | 
	
		
			
				|  |  | +   },
 | 
	
		
			
				|  |  | +   {
 | 
	
		
			
				|  |  | +    title: '船名称(ship name)',
 | 
	
		
			
				|  |  | +    align:"center",
 | 
	
		
			
				|  |  | +    dataIndex: 'shipName'
 | 
	
		
			
				|  |  | +   },
 | 
	
		
			
				|  |  | +   {
 | 
	
		
			
				|  |  | +    title: '客户名称(customer name)',
 | 
	
		
			
				|  |  | +    align:"center",
 | 
	
		
			
				|  |  | +    dataIndex: 'relateCustomer'
 | 
	
		
			
				|  |  | +   },
 | 
	
		
			
				|  |  | +];
 | 
	
		
			
				|  |  | +//查询数据
 | 
	
		
			
				|  |  | +export const searchFormSchema: FormSchema[] = [
 | 
	
		
			
				|  |  | +	{
 | 
	
		
			
				|  |  | +      label: "IMO",
 | 
	
		
			
				|  |  | +      field: 'imo',
 | 
	
		
			
				|  |  | +      component: 'Input',
 | 
	
		
			
				|  |  | +      // labelWidth: 150,
 | 
	
		
			
				|  |  | +      //colProps: {span: 6},
 | 
	
		
			
				|  |  | + 	},
 | 
	
		
			
				|  |  | +	{
 | 
	
		
			
				|  |  | +      label: "船名称(ship name)",
 | 
	
		
			
				|  |  | +      field: 'shipName',
 | 
	
		
			
				|  |  | +      labelWidth: 150,
 | 
	
		
			
				|  |  | +      component: 'Input',
 | 
	
		
			
				|  |  | +      //colProps: {span: 6},
 | 
	
		
			
				|  |  | + 	},
 | 
	
		
			
				|  |  | +   {
 | 
	
		
			
				|  |  | +    label: '客户名称(customer name)',
 | 
	
		
			
				|  |  | +    field: 'relateCustomer',
 | 
	
		
			
				|  |  | +    component: 'Input',
 | 
	
		
			
				|  |  | +    labelWidth: 180,
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +   },
 | 
	
		
			
				|  |  | +	{
 | 
	
		
			
				|  |  | +      label: "hull number",
 | 
	
		
			
				|  |  | +      field: 'hullNumber',
 | 
	
		
			
				|  |  | +      component: 'Input',
 | 
	
		
			
				|  |  | +      //colProps: {span: 6},
 | 
	
		
			
				|  |  | + 	},
 | 
	
		
			
				|  |  | +   {
 | 
	
		
			
				|  |  | +    label: "船厂(ship factory)",
 | 
	
		
			
				|  |  | +    field: 'shipFactory',
 | 
	
		
			
				|  |  | +    component: 'JSelectMultiple',
 | 
	
		
			
				|  |  | +    labelWidth: 150,
 | 
	
		
			
				|  |  | +    componentProps:{
 | 
	
		
			
				|  |  | +      dictCode:"ship_factory"
 | 
	
		
			
				|  |  | +   },
 | 
	
		
			
				|  |  | +    //colProps: {span: 6},
 | 
	
		
			
				|  |  | + },
 | 
	
		
			
				|  |  | + {
 | 
	
		
			
				|  |  | +  label: "造船日期(ship date)",
 | 
	
		
			
				|  |  | +  field: "shipDate",
 | 
	
		
			
				|  |  | +  component: 'RangePicker',
 | 
	
		
			
				|  |  | +  labelWidth: 150,
 | 
	
		
			
				|  |  | +  componentProps: {
 | 
	
		
			
				|  |  | +      valueType: 'Date',
 | 
	
		
			
				|  |  | +      showTime:true
 | 
	
		
			
				|  |  | +  },
 | 
	
		
			
				|  |  | +  //colProps: {span: 6},
 | 
	
		
			
				|  |  | +},
 | 
	
		
			
				|  |  | +{
 | 
	
		
			
				|  |  | +  label: "船类型(ship type)",
 | 
	
		
			
				|  |  | +  field: 'shipType',
 | 
	
		
			
				|  |  | +  component: 'JSelectMultiple',
 | 
	
		
			
				|  |  | +  labelWidth: 180,
 | 
	
		
			
				|  |  | +  componentProps:{
 | 
	
		
			
				|  |  | +    dictCode:"ship_type"
 | 
	
		
			
				|  |  | + },
 | 
	
		
			
				|  |  | +      //colProps: {span: 6},
 | 
	
		
			
				|  |  | +},
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +{
 | 
	
		
			
				|  |  | +  label: "状态(status)",
 | 
	
		
			
				|  |  | +  field: 'status',
 | 
	
		
			
				|  |  | +  component: 'JSelectMultiple',
 | 
	
		
			
				|  |  | +  componentProps:{
 | 
	
		
			
				|  |  | +    dictCode:"valid_status"
 | 
	
		
			
				|  |  | +  },
 | 
	
		
			
				|  |  | +  //colProps: {span: 6},
 | 
	
		
			
				|  |  | +},
 | 
	
		
			
				|  |  | +];
 |