edit
This commit is contained in:
@ -20,7 +20,7 @@ module.exports = {
|
|||||||
// }
|
// }
|
||||||
'//api': {
|
'//api': {
|
||||||
target: {
|
target: {
|
||||||
host: 'tms-api-dev.eascs.com',
|
host: 'tms-api-test.eascs.com',
|
||||||
protocol: 'https:',
|
protocol: 'https:',
|
||||||
port: 443
|
port: 443
|
||||||
},
|
},
|
||||||
|
|||||||
@ -92,7 +92,7 @@ export class RechargeRecordComponent implements OnInit {
|
|||||||
format: 'yyyy-MM-dd'
|
format: 'yyyy-MM-dd'
|
||||||
} as SFDateWidgetSchema
|
} as SFDateWidgetSchema
|
||||||
},
|
},
|
||||||
rechargeName: {
|
roleName: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '账户名称',
|
title: '账户名称',
|
||||||
ui: {
|
ui: {
|
||||||
@ -162,7 +162,7 @@ export class RechargeRecordComponent implements OnInit {
|
|||||||
{ title: '网络货运人', index: 'ltdName', width: 160 },
|
{ title: '网络货运人', index: 'ltdName', width: 160 },
|
||||||
{ title: '银行类型', index: 'bankTypeLabel', width: 100 },
|
{ title: '银行类型', index: 'bankTypeLabel', width: 100 },
|
||||||
{ title: '账户类型', index: 'accountTypeLabel', width: 100 },
|
{ title: '账户类型', index: 'accountTypeLabel', width: 100 },
|
||||||
{ title: '账户名称', index: 'rechargeName', width: 160 },
|
{ title: '账户名称', index: 'roleName', width: 160 },
|
||||||
{ title: '虚拟账户', index: 'virtualAccount', width: 100 },
|
{ title: '虚拟账户', index: 'virtualAccount', width: 100 },
|
||||||
{
|
{
|
||||||
title: '充值金额',
|
title: '充值金额',
|
||||||
|
|||||||
@ -311,7 +311,7 @@ export class VoucherManagementComponent implements OnInit {
|
|||||||
{ title: '帐套', index: 'ltdId', width: 200, format: item => `${item.vcltdcode}-${item.vcltdname}` },
|
{ title: '帐套', index: 'ltdId', width: 200, format: item => `${item.vcltdcode}-${item.vcltdname}` },
|
||||||
{ title: '凭证时间', index: 'vctime', type: 'date', width: 200 },
|
{ title: '凭证时间', index: 'vctime', type: 'date', width: 200 },
|
||||||
{ title: '凭证类型', index: 'vctype', width: 200 },
|
{ title: '凭证类型', index: 'vctype', width: 200 },
|
||||||
{ title: '序号', index: 'invmoney', width: 200, format: _ => '1' },
|
// { title: '序号', index: 'invmoney', width: 200, format: _ => '1' },
|
||||||
{ title: '摘要', index: 'remarks', width: 300 },
|
{ title: '摘要', index: 'remarks', width: 300 },
|
||||||
{ title: '币种', index: 'currency', width: 100 },
|
{ title: '币种', index: 'currency', width: 100 },
|
||||||
{
|
{
|
||||||
|
|||||||
@ -51,8 +51,7 @@
|
|||||||
<se label="当前渠道销售"> 张三/13999999999 </se>
|
<se label="当前渠道销售"> 张三/13999999999 </se>
|
||||||
<se label="渠道销售修改为" required>
|
<se label="渠道销售修改为" required>
|
||||||
<nz-select ngModel="lucy" style="width: 100%">
|
<nz-select ngModel="lucy" style="width: 100%">
|
||||||
<nz-option nzValue="jack" nzLabel="Jack"></nz-option>
|
<nz-option [nzValue]="item.value" [nzLabel]="item.label" *ngFor="let item of cannels"></nz-option>
|
||||||
<nz-option nzValue="lucy" nzLabel="Lucy"></nz-option>
|
|
||||||
</nz-select>
|
</nz-select>
|
||||||
</se>
|
</se>
|
||||||
<se label="备注" required>
|
<se label="备注" required>
|
||||||
@ -60,20 +59,11 @@
|
|||||||
</se>
|
</se>
|
||||||
<se label="一并转移的客户">
|
<se label="一并转移的客户">
|
||||||
<p style="margin-top: 8px">已选(0)</p>
|
<p style="margin-top: 8px">已选(0)</p>
|
||||||
<nz-table #rowSelectionTable [nzData]="customers" nzSize="small" nzBordered>
|
<st #rest [data]="service.$api_get_enterprice_rel_list" [columns]="[
|
||||||
<thead>
|
{ title: '', index: 'key', type: 'checkbox' },
|
||||||
<tr>
|
{ title: '客户名称', index: 'enterpriceName' }
|
||||||
<th [nzChecked]="false"></th>
|
]" [req]="{ process: beforeReq }" [loading]="service.http.loading" [page]="{show:false}">
|
||||||
<th>客户名称</th>
|
</st>
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<tr *ngFor="let data of rowSelectionTable.data">
|
|
||||||
<td [nzChecked]="data.checked"></td>
|
|
||||||
<td>{{ data.name }}</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</nz-table>
|
|
||||||
</se>
|
</se>
|
||||||
<se label="生效节点" required>
|
<se label="生效节点" required>
|
||||||
<nz-radio-group>
|
<nz-radio-group>
|
||||||
|
|||||||
@ -30,15 +30,12 @@ export class PartnerListComponent {
|
|||||||
@ViewChild('editCannel', { static: true })
|
@ViewChild('editCannel', { static: true })
|
||||||
editCannel: any;
|
editCannel: any;
|
||||||
customers: any[] = [];
|
customers: any[] = [];
|
||||||
|
cannels: any[] = [];
|
||||||
|
|
||||||
selectItem: any = {};
|
selectItem: any = {};
|
||||||
|
|
||||||
constructor(public service: PartnerListService, private nzModalService: NzModalService, private router: Router) {
|
constructor(public service: PartnerListService, private nzModalService: NzModalService, private router: Router) {
|
||||||
this.service.getRebateConfig().subscribe(res => {
|
this.loadSelectOptions();
|
||||||
if (res) {
|
|
||||||
this.customers = res;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
beforeReq = (requestOptions: STRequestOptions) => {
|
beforeReq = (requestOptions: STRequestOptions) => {
|
||||||
@ -52,6 +49,19 @@ export class PartnerListComponent {
|
|||||||
return requestOptions;
|
return requestOptions;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
loadSelectOptions(){
|
||||||
|
this.service.getRebateConfig().subscribe(res => {
|
||||||
|
if (res) {
|
||||||
|
this.customers = res;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
this.service.getChannel().subscribe(res => {
|
||||||
|
if (res) {
|
||||||
|
this.customers = res;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
auditPartner(item: any) {
|
auditPartner(item: any) {
|
||||||
const modal = this.nzModalService.create({
|
const modal = this.nzModalService.create({
|
||||||
nzTitle: '审核',
|
nzTitle: '审核',
|
||||||
@ -371,7 +381,7 @@ export class PartnerListComponent {
|
|||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
width: '140px',
|
width: '150px',
|
||||||
buttons: [
|
buttons: [
|
||||||
{ type: 'divider' },
|
{ type: 'divider' },
|
||||||
{
|
{
|
||||||
|
|||||||
@ -27,6 +27,8 @@ export class PartnerListService extends ShipperBaseService {
|
|||||||
$api_resend_crm = '/api/mdc/partner/reSendCrm';
|
$api_resend_crm = '/api/mdc/partner/reSendCrm';
|
||||||
// 查询合伙人修改渠道渠道销售记录
|
// 查询合伙人修改渠道渠道销售记录
|
||||||
$api_get_personal_channel_list = '/api/mdc/partnerChannelRelLog/list/page';
|
$api_get_personal_channel_list = '/api/mdc/partnerChannelRelLog/list/page';
|
||||||
|
// 查询客户关系列表-不分页
|
||||||
|
$api_get_enterprice_rel_list = '/api/mdc/enterpriceRelLog/list';
|
||||||
// 冻结/启用企业业
|
// 冻结/启用企业业
|
||||||
$api_lock_freight = '/api/mdc/cuc/enterpriseInfo/operate/lock';
|
$api_lock_freight = '/api/mdc/cuc/enterpriseInfo/operate/lock';
|
||||||
|
|
||||||
|
|||||||
@ -21,6 +21,8 @@ export class ShipperBaseService extends BaseService {
|
|||||||
$api_getSysConfigTreeByParentFullKey = `/api/mdc/pbc/sysConfig/getSysConfigTreeByParentFullKey`;
|
$api_getSysConfigTreeByParentFullKey = `/api/mdc/pbc/sysConfig/getSysConfigTreeByParentFullKey`;
|
||||||
// 获取全部返佣配置
|
// 获取全部返佣配置
|
||||||
$api_get_rebate_config = `/api/mdc/rebateConfig/list/listRebateConfig`;
|
$api_get_rebate_config = `/api/mdc/rebateConfig/list/listRebateConfig`;
|
||||||
|
// 获取渠道销售管理集合
|
||||||
|
$api_get_channel = `/api/mdc/channelSalesManagement/list/listChannelSalesManagement`;
|
||||||
constructor(public injector: Injector) {
|
constructor(public injector: Injector) {
|
||||||
super(injector);
|
super(injector);
|
||||||
}
|
}
|
||||||
@ -254,4 +256,23 @@ export class ShipperBaseService extends BaseService {
|
|||||||
})
|
})
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取渠道销售管理集合
|
||||||
|
* @returns
|
||||||
|
*/
|
||||||
|
getChannel() {
|
||||||
|
const params = {};
|
||||||
|
return this.request(this.$api_get_channel, params, 'POST').pipe(
|
||||||
|
map(res => {
|
||||||
|
if (res) {
|
||||||
|
return res.map((m: any) => {
|
||||||
|
return { label: m.name, value: m.id };
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
})
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user