edit
This commit is contained in:
@ -1,7 +1,15 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { STComponent, STColumn, STChange } from '@delon/abc/st';
|
||||
import { SFCascaderWidgetSchema, SFComponent, SFRadioWidgetSchema, SFSchema, SFSchemaEnum, SFSelectWidgetSchema, SFUISchema } from '@delon/form';
|
||||
import {
|
||||
SFCascaderWidgetSchema,
|
||||
SFComponent,
|
||||
SFRadioWidgetSchema,
|
||||
SFSchema,
|
||||
SFSchemaEnum,
|
||||
SFSelectWidgetSchema,
|
||||
SFUISchema
|
||||
} from '@delon/form';
|
||||
import { DynamicSettingModalComponent, SinglepageSettingModalComponent } from '@shared';
|
||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||
import { of } from 'rxjs';
|
||||
@ -117,29 +125,28 @@ export class NetworkFreightComponent implements OnInit {
|
||||
fixed: 'right',
|
||||
className: 'text-center',
|
||||
buttons: [
|
||||
{ type: 'divider' },
|
||||
{
|
||||
text: '基础设置',
|
||||
text: '基础设置<br>',
|
||||
click: item => this.creat(item)
|
||||
},
|
||||
{
|
||||
text: '财务设置',
|
||||
text: '财务设置<br>',
|
||||
click: item => this.ticket(item)
|
||||
},
|
||||
{
|
||||
text: '充值账户',
|
||||
text: '充值账户<br>',
|
||||
click: item => this.settingPay(item)
|
||||
},
|
||||
{
|
||||
text: '应用设置',
|
||||
text: '应用设置<br>',
|
||||
click: item => this.settingApp(item)
|
||||
},
|
||||
|
||||
{
|
||||
text: '系统配置',
|
||||
text: '系统配置<br>',
|
||||
click: item => this.settingAction(item)
|
||||
},
|
||||
{ type: 'divider' },
|
||||
|
||||
// {
|
||||
// text: '合同设置',
|
||||
// click: item => this.roleAction(item, 2)
|
||||
@ -339,7 +346,7 @@ export class NetworkFreightComponent implements OnInit {
|
||||
};
|
||||
this.ui3 = {
|
||||
'*': { spanLabelFixed: 150, grid: { span: 24 } },
|
||||
'$taxClassificationVersion': { spanLabelFixed: 150, grid: { span: 24 } },
|
||||
$taxClassificationVersion: { spanLabelFixed: 150, grid: { span: 24 } }
|
||||
};
|
||||
}
|
||||
initSFTax() {
|
||||
@ -387,12 +394,11 @@ export class NetworkFreightComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
} as SFSelectWidgetSchema
|
||||
},
|
||||
}
|
||||
},
|
||||
required: ['crmCustomerId']
|
||||
};
|
||||
this.ui5 = { '*': { spanLabelFixed: 120, grid: { span: 24 } } };
|
||||
|
||||
}
|
||||
initSFFre() {
|
||||
this.addSchema = {
|
||||
@ -444,9 +450,9 @@ export class NetworkFreightComponent implements OnInit {
|
||||
this.formDataNC = [];
|
||||
this.formDataTax = [];
|
||||
this.ticketItem = value;
|
||||
this.taxStatus = false
|
||||
this.TicketStatus = true
|
||||
this.NCStatus = false
|
||||
this.taxStatus = false;
|
||||
this.TicketStatus = true;
|
||||
this.NCStatus = false;
|
||||
this.initSFTax();
|
||||
this.initSFNC();
|
||||
this.initSFTicket();
|
||||
@ -467,7 +473,7 @@ export class NetworkFreightComponent implements OnInit {
|
||||
});
|
||||
}
|
||||
if (this.NCStatus) {
|
||||
this.getNcSetData()
|
||||
this.getNcSetData();
|
||||
}
|
||||
this.isVisibleTicket = true;
|
||||
}
|
||||
@ -636,7 +642,6 @@ export class NetworkFreightComponent implements OnInit {
|
||||
});
|
||||
// api_setCrmCustomer
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
handleOK() {
|
||||
@ -679,7 +684,7 @@ export class NetworkFreightComponent implements OnInit {
|
||||
this.NCStatus = false;
|
||||
this.taxStatus = false;
|
||||
} else if (value.name === 'NC设置') {
|
||||
this.getNcSetData()
|
||||
this.getNcSetData();
|
||||
this.NCStatus = true;
|
||||
this.TicketStatus = false;
|
||||
this.taxStatus = false;
|
||||
|
||||
Reference in New Issue
Block a user