Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
		| @ -108,7 +108,7 @@ export class OrderManagementComplaintComponent extends BasicTableComponent imple | ||||
|           title: '运单号', | ||||
|           ui: {} | ||||
|         }, | ||||
|         complaintCause: { | ||||
|         drvComplaintCause: { | ||||
|           title: '投诉原因', | ||||
|           type: 'string', | ||||
|           ui: { | ||||
|  | ||||
| @ -83,14 +83,15 @@ export class ParterLevelConfigListComponent implements OnInit { | ||||
|         title: '创建时间', | ||||
|         index: 'createTime' | ||||
|       }, | ||||
|       { | ||||
|         title: '排序', | ||||
|         index: 'sortId' | ||||
|       }, | ||||
|       | ||||
|       { | ||||
|         title: '启用时间', | ||||
|         index: 'enableTime' | ||||
|       }, | ||||
|       { | ||||
|         title: '排序', | ||||
|         index: 'sortId' | ||||
|       }, | ||||
|       { | ||||
|         title: '状态', | ||||
|         index: 'stateLocked', | ||||
|  | ||||
| @ -230,7 +230,7 @@ export class TaxManagementInvoiceReportingComponent implements OnInit { | ||||
|       { | ||||
|         title: '购买方企业名称', index: 'artoname', className: 'text-center', width: '200px', type: 'link', | ||||
|         click: item => { | ||||
|           window.open(`/#/usercenter/freight/list/detail/${item.ltdId}`, '_blank', 'noopener') | ||||
|           window.open(`/#/usercenter/freight/list/detail/${item.arto}`, '_blank', 'noopener') | ||||
|         } | ||||
|       }, | ||||
|       { title: '购买方统一社会信用代码', index: 'artotaxno', className: 'text-center', width: '200px' }, | ||||
|  | ||||
| @ -72,8 +72,8 @@ export class EditPartnerComponentsAddComponent implements OnInit { | ||||
|         //     { label: '合伙人可见', value: 2 }, | ||||
|         //     { label: '销售渠道可见', value: 3 }, | ||||
|         //   ], | ||||
|         // }, | ||||
|         enterpriceIds: { | ||||
|         // },channelId | ||||
|         channelId: { | ||||
|           type: 'string', | ||||
|           title: '合伙人修改为', | ||||
|           ui: { | ||||
| @ -86,14 +86,19 @@ export class EditPartnerComponentsAddComponent implements OnInit { | ||||
|             asyncData: () => this.shipperservice.getNetworkenterpriceIds() | ||||
|           } | ||||
|         }, | ||||
|         // settStartTime: { | ||||
|         //   title: '结算起算日期', | ||||
|         //   type: 'string', | ||||
|         //   ui: { | ||||
|         //     widget: 'sl-from-to', type: 'date', format: 'yyyy-MM-dd', visibleIf: { | ||||
|         //       _$expand: (value: boolean) => value, | ||||
|         //     }, | ||||
|         //   } as SFDateWidgetSchema, | ||||
|         // }, | ||||
|         settStartTime: { | ||||
|           title: '结算起算日期', | ||||
|           type: 'string', | ||||
|           ui: { | ||||
|             widget: 'sl-from-to', type: 'date', format: 'yyyy-MM-dd', visibleIf: { | ||||
|               _$expand: (value: boolean) => value, | ||||
|             }, | ||||
|           } as SFDateWidgetSchema, | ||||
|           format: 'date', | ||||
|         }, | ||||
|         remark: { | ||||
|           type: 'string', | ||||
| @ -136,9 +141,18 @@ export class EditPartnerComponentsAddComponent implements OnInit { | ||||
|     this.modal.close(true) | ||||
|   } | ||||
|   save() { | ||||
|     const params = { | ||||
|       ...this.sf.value | ||||
|     console.log(this?.rows); | ||||
|     let enterId : any; | ||||
|     if(this.sts == '1') { | ||||
|       enterId = this.rows  | ||||
|     } else { | ||||
|       enterId = [this.i.id] | ||||
|     } | ||||
|     const params = { | ||||
|       ...this.sf.value, | ||||
|       enterpriceIds: enterId, | ||||
|     } | ||||
|  | ||||
|     this.service.request(this.service.$api_batchUpdateEnterpricePartner, params).subscribe(res => { | ||||
|       if(res) { | ||||
|         this.service.msgSrv.success('修改成功') | ||||
|  | ||||
| @ -141,6 +141,8 @@ export class FreightComponentsListComponent implements OnInit { | ||||
|     this.selectedRows.forEach(item => { | ||||
|       params.push(item.id); | ||||
|     }); | ||||
|     console.log(params); | ||||
|      | ||||
|     const modalRef = this.modal.create({ | ||||
|       nzTitle: '修改合伙人', | ||||
|       nzContent: EditPartnerComponentsAddComponent, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user