This commit is contained in:
wangshiming
2022-02-14 16:13:58 +08:00
parent f2e04197c4
commit eda51eb741
6 changed files with 131 additions and 58 deletions

View File

@ -45,24 +45,30 @@ export class NetworkFreightComponent implements OnInit {
index: 'taxCode' },
{
title: '发票税率',
title: '成立日期',
width: '150px',
index: 'invoiceTaxRate' },
index: 'createTime'
},
{
title: '云开票',
title: '成本费率',
width: '150px',
render: 'electronicInvoiceAccount'
},
{
title: 'e签宝',
title: '附加费率',
width: '150px',
render: 'etcAccount'
},
{
title: '云开票',
width: '150px',
render: 'electronicContractAccount'
},
{
title: '保险',
width: '150px',
render: 'electronicContractAccount' },
render: 'electronicContractAccount'
},
{
title: '平安银行',
width: '150px',
@ -72,36 +78,52 @@ export class NetworkFreightComponent implements OnInit {
width: '150px',
render: 'virtualAccount'
},
{
title: '平安电子账户',
width: '150px',
render: 'virtualAccount'
},
{
title: '浦发电子账户',
width: '150px',
render: 'virtualAccount'
},
{
title: '开票开关',
width: '150px',
render: 'virtualAccount'
},
{
title: '操作',
width: '',
width: '110px',
fixed: 'right',
className: 'text-left',
buttons: [
{
text: '银行设置 ',
text: '基础设置',
click: item => this.settingAction(item)
},
{
text: '财务设置',
click: item => this.roleAction(item, 2)
},
{
text: '系统配置 ',
text: '充值账户',
click: item => this.roleAction(item, 2)
},
{
text: '银行卡管理',
click: item => this.roleAction(item, 2)
text: '应用设置',
click: item => this.settingApp(item)
},
{
text: '系统配置',
click: item => this.ticket(item)
},
// {
// text: '票务设置',
// click: item => this.ticket(item)
// },
// {
// text: '合同设置',
// click: item => this.roleAction(item, 2)
// },
{
text: '基础设置 ',
click: item => this.settingAction(item)
}
]
}
];
@ -329,7 +351,7 @@ export class NetworkFreightComponent implements OnInit {
nzOnOk: () => {}
});
}
// 基础设置
settingAction(item?: any) {
this.nzModalService.create({
nzTitle: '基础设置',
@ -337,7 +359,21 @@ export class NetworkFreightComponent implements OnInit {
nzWidth: 900,
nzComponentParams: {
extendType: '1',
businessId: item.id
businessId: item.id,
},
nzFooter: null
});
}
// 应用设置
settingApp(item?: any) {
this.nzModalService.create({
nzTitle: '基础设置',
nzContent: DynamicSettingModalComponent,
nzWidth: 900,
nzComponentParams: {
extendType: '1',
businessId: item.id,
configvalue: 'app'
},
nzFooter: null
});
@ -411,16 +447,16 @@ export class NetworkFreightComponent implements OnInit {
getRegionDetailByCode(regionCode: any) {
return this.service.request(this.service.$api_get_region_by_code, { regionCode });
}
setMakeInvoice2(item:any) {
this.nzModalService.create({
nzTitle: '基础设置',
nzContent: SinglepageSettingModalComponent,
nzWidth: 900,
nzComponentParams: {
extendType: '1',
businessId: item.id
},
nzFooter: null
});
}
// setMakeInvoice2(item:any) {
// this.nzModalService.create({
// nzTitle: '基础设置',
// nzContent: SinglepageSettingModalComponent,
// nzWidth: 900,
// nzComponentParams: {
// extendType: '1',
// businessId: item.id
// },
// nzFooter: null
// });
// }
}