解决冲突
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-02-24 20:09:49
|
* @Date : 2022-02-24 20:09:49
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-03-09 15:14:50
|
* @LastEditTime : 2022-03-10 14:05:25
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\model\\record-detail\\record-detail.component.html
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\model\\record-detail\\record-detail.component.html
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
@ -23,7 +23,7 @@
|
|||||||
<st
|
<st
|
||||||
#st
|
#st
|
||||||
[bordered]="true"
|
[bordered]="true"
|
||||||
[data]="data"
|
[data]="service.$api_get_listCompliancePage"
|
||||||
[columns]="columns"
|
[columns]="columns"
|
||||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
||||||
@ -32,3 +32,7 @@
|
|||||||
[loading]="service.http.loading"
|
[loading]="service.http.loading"
|
||||||
>
|
>
|
||||||
</st>
|
</st>
|
||||||
|
<div>合计:2999.00元</div>
|
||||||
|
<div nz-col class="text-center">
|
||||||
|
<button nz-button nzType="primary" (click)="close()">确定</button>
|
||||||
|
</div>
|
||||||
@ -0,0 +1,6 @@
|
|||||||
|
:host {
|
||||||
|
[nz-button] {
|
||||||
|
margin-right: 8px;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -2,10 +2,11 @@ import { ModalHelper } from '@delon/theme';
|
|||||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||||
import { ActivatedRoute, Router } from '@angular/router';
|
import { ActivatedRoute, Router } from '@angular/router';
|
||||||
import { STColumn, STComponent, STData, STRequestOptions } from '@delon/abc/st';
|
import { STColumn, STComponent, STData, STRequestOptions } from '@delon/abc/st';
|
||||||
import { SFComponent, SFDateWidgetSchema, SFSchema, SFUISchema } from '@delon/form';
|
import { SFComponent, SFDateWidgetSchema, SFSchema, SFSelectWidgetSchema, SFUISchema } from '@delon/form';
|
||||||
import { processSingleSort, ShipperBaseService } from '@shared';
|
import { processSingleSort, ShipperBaseService } from '@shared';
|
||||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
import { NzModalService, NzModalRef } from 'ng-zorro-antd/modal';
|
||||||
import { RebateManagementService } from '../../services/rebate-management.service';
|
import { RebateManagementService } from '../../services/rebate-management.service';
|
||||||
|
import { NzButtonSize } from 'ng-zorro-antd/button';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-parter-channel-rebate-management-record-detail',
|
selector: 'app-parter-channel-rebate-management-record-detail',
|
||||||
@ -20,6 +21,7 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
|
|||||||
@ViewChild('sf', { static: false })
|
@ViewChild('sf', { static: false })
|
||||||
sf!: SFComponent;
|
sf!: SFComponent;
|
||||||
spuStatus = '1';
|
spuStatus = '1';
|
||||||
|
size: NzButtonSize = 'large';
|
||||||
_$expand = false;
|
_$expand = false;
|
||||||
data = [{ name1: 1111 }];
|
data = [{ name1: 1111 }];
|
||||||
constructor(
|
constructor(
|
||||||
@ -28,6 +30,7 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
|
|||||||
public service: RebateManagementService,
|
public service: RebateManagementService,
|
||||||
private modalService: NzModalService,
|
private modalService: NzModalService,
|
||||||
public shipperservice: ShipperBaseService,
|
public shipperservice: ShipperBaseService,
|
||||||
|
public modalRef: NzModalRef,
|
||||||
) {}
|
) {}
|
||||||
/**
|
/**
|
||||||
* 查询字段个数
|
* 查询字段个数
|
||||||
@ -50,10 +53,6 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
|
|||||||
delete params._$expand;
|
delete params._$expand;
|
||||||
return {
|
return {
|
||||||
...params,
|
...params,
|
||||||
deadlineTime: {
|
|
||||||
start: this.sf?.value?.deadlineTime?.[0] || '',
|
|
||||||
end: this.sf?.value?.deadlineTime?.[1] || '',
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
@ -64,54 +63,33 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
|
|||||||
initSF() {
|
initSF() {
|
||||||
this.schema = {
|
this.schema = {
|
||||||
properties: {
|
properties: {
|
||||||
_$expand: { type: 'boolean', ui: { hidden: true } },
|
|
||||||
name: {
|
|
||||||
type: 'string',
|
|
||||||
title: '订单号'
|
|
||||||
},
|
|
||||||
phone: {
|
|
||||||
type: 'string',
|
|
||||||
title: '付款单号'
|
|
||||||
},
|
|
||||||
phone2: {
|
|
||||||
type: 'string',
|
|
||||||
title: '下单客户'
|
|
||||||
},
|
|
||||||
enterpriseInfoId: {
|
enterpriseInfoId: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '网络货运人',
|
title: '网络货运人',
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'select',
|
widget: 'select',
|
||||||
placeholder: '请选择',
|
placeholder: '请选择',
|
||||||
visibleIf: {
|
|
||||||
_$expand: (value: boolean) => value
|
|
||||||
},
|
|
||||||
allowClear: true,
|
allowClear: true,
|
||||||
asyncData: () => this.shipperservice.getNetworkFreightForwarder()
|
asyncData: () => this.shipperservice.getNetworkFreightForwarder(),
|
||||||
|
change: (value: any) => {
|
||||||
|
console.log(value)
|
||||||
|
this.st.reload()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
phone3: {
|
paymentStatus: {
|
||||||
|
title: '银行类型',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '合伙人名称',
|
|
||||||
ui: {
|
ui: {
|
||||||
visibleIf: {
|
widget: 'dict-select',
|
||||||
_$expand: (value: boolean) => value
|
params: { dictKey: 'overall:payment:status' },
|
||||||
},
|
containsAllLabel: true,
|
||||||
}
|
change: (value: any) => {
|
||||||
|
console.log(value)
|
||||||
|
this.st.reload()
|
||||||
|
}
|
||||||
|
} as SFSelectWidgetSchema
|
||||||
},
|
},
|
||||||
deadlineTime: {
|
|
||||||
title: '时间范围',
|
|
||||||
type: 'string',
|
|
||||||
ui: {
|
|
||||||
widget: 'date',
|
|
||||||
mode: 'range',
|
|
||||||
format: 'yyyy-MM-dd',
|
|
||||||
visibleIf: {
|
|
||||||
_$expand: (value: boolean) => value
|
|
||||||
},
|
|
||||||
allowClear: true
|
|
||||||
} as SFDateWidgetSchema
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
this.ui = {
|
this.ui = {
|
||||||
@ -126,7 +104,7 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
|
|||||||
this.columns = [
|
this.columns = [
|
||||||
{
|
{
|
||||||
title: '订单号',
|
title: '订单号',
|
||||||
index: 'name1'
|
index: 'billCode'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '订单金额(元)',
|
title: '订单金额(元)',
|
||||||
@ -186,4 +164,8 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
|
|||||||
this.sf.reset();
|
this.sf.reset();
|
||||||
this.st.load(1);
|
this.st.load(1);
|
||||||
}
|
}
|
||||||
|
close() {
|
||||||
|
this.modalRef.destroy()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,13 @@
|
|||||||
|
/*
|
||||||
|
* @Description :
|
||||||
|
* @Version : 1.0
|
||||||
|
* @Author : Shiming
|
||||||
|
* @Date : 2022-03-10 11:19:00
|
||||||
|
* @LastEditors : Shiming
|
||||||
|
* @LastEditTime : 2022-03-10 13:51:05
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\services\\rebate-management.service.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
|
*/
|
||||||
import { Injectable, Injector } from '@angular/core';
|
import { Injectable, Injector } from '@angular/core';
|
||||||
import { BaseService } from '@shared';
|
import { BaseService } from '@shared';
|
||||||
|
|
||||||
@ -5,7 +15,8 @@ import { BaseService } from '@shared';
|
|||||||
providedIn: 'root',
|
providedIn: 'root',
|
||||||
})
|
})
|
||||||
export class RebateManagementService extends BaseService {
|
export class RebateManagementService extends BaseService {
|
||||||
|
// 查询规则抽查列表
|
||||||
|
public $api_get_listCompliancePage = '/api/sdc/billRiskOperate/listRiskPage';
|
||||||
constructor(public injector: Injector) {
|
constructor(public injector: Injector) {
|
||||||
super(injector);
|
super(injector);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user