edit
This commit is contained in:
		| @ -49,6 +49,22 @@ export class FreightComponentsListComponent implements OnInit { | ||||
|       Object.assign(requestOptions.body, { | ||||
|         ...this.sf.value | ||||
|       }); | ||||
|       if (this.sf.value.createTime) { | ||||
|         Object.assign(requestOptions.body, { | ||||
|           createTime: { | ||||
|             start: this.sf.value.createTime[0], | ||||
|             end: this.sf.value.createTime[1] | ||||
|           } | ||||
|         }); | ||||
|       } | ||||
|       if (this.sf.value.approvalTime) { | ||||
|         Object.assign(requestOptions.body, { | ||||
|           approvalTime: { | ||||
|             start: this.sf.value.approvalTime[0], | ||||
|             end: this.sf.value.approvalTime[1] | ||||
|           } | ||||
|         }); | ||||
|       } | ||||
|     } | ||||
|     this.loadingList = true; | ||||
|     return requestOptions; | ||||
| @ -215,9 +231,11 @@ export class FreightComponentsListComponent implements OnInit { | ||||
|         customerType: { | ||||
|           type: 'string', | ||||
|           title: '客户类型', | ||||
|           enum: [{ label: '全部', value: '' }, | ||||
|           { label: '直客', value: 1 }, | ||||
|           { label: '渠道客户', value: 20 }], | ||||
|           enum: [ | ||||
|             { label: '全部', value: '' }, | ||||
|             { label: '直客', value: 1 }, | ||||
|             { label: '渠道客户', value: 20 } | ||||
|           ], | ||||
|           default: '', | ||||
|           ui: { | ||||
|             widget: 'select', | ||||
| @ -363,7 +381,7 @@ export class FreightComponentsListComponent implements OnInit { | ||||
|   initST() { | ||||
|     this.columns = [ | ||||
|       // { title: '', type: 'checkbox', className: 'text-center' }, | ||||
|       { title: '企业名称',  render: 'enterpriseName', width: 350 }, | ||||
|       { title: '企业名称', render: 'enterpriseName', width: 350 }, | ||||
|       { title: '统一社会信用代码', className: 'text-center', render: 'unifiedSocialCreditCode', width: 200 }, | ||||
|       { | ||||
|         title: '公司所在地', | ||||
|  | ||||
		Reference in New Issue
	
	Block a user