edit
This commit is contained in:
@ -20,7 +20,7 @@ export class BasicSettingComponent implements OnInit {
|
||||
}
|
||||
|
||||
getTypeList() {
|
||||
this.service.request(this.service.$api_get_config_tree, { configFullKey: 'sys.config' }).subscribe((res: Array<any>) => {
|
||||
this.service.request(this.service.$api_get_config_tree, { configFullKey: 'sys.config', extendType: 0 }).subscribe((res: Array<any>) => {
|
||||
if (res?.length > 0) {
|
||||
const typeData = res.find(config => config.configFullKey === 'sys.config');
|
||||
if (typeData) {
|
||||
@ -50,7 +50,6 @@ export class BasicSettingComponent implements OnInit {
|
||||
}
|
||||
|
||||
saveAction(params: any) {
|
||||
|
||||
this.service.request(this.service.$api_update_config_batch, params).subscribe(res => {
|
||||
if (res) {
|
||||
this.service.msgSrv.success('修改配置成功');
|
||||
|
||||
@ -74,11 +74,11 @@ export class RequestedInvoiceModalComponent implements OnInit {
|
||||
{ title: '承运司机', index: 'driverinfo', width: 170 },
|
||||
{
|
||||
title: '总费用',
|
||||
index: 'vatmoney',
|
||||
index: 'billkpmoney',
|
||||
width: 90,
|
||||
type: 'widget',
|
||||
className: 'text-right',
|
||||
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.vatmoney }) }
|
||||
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.billkpmoney }) }
|
||||
},
|
||||
{
|
||||
title: '运输费',
|
||||
|
||||
Reference in New Issue
Block a user