fix bug
This commit is contained in:
@ -64,7 +64,11 @@ export class DatatableMancustomtableComponent implements OnInit {
|
|||||||
columns: STColumn[] = [
|
columns: STColumn[] = [
|
||||||
{ title: '部门', index: 'department', className: 'text-center', width: '200px' },
|
{ title: '部门', index: 'department', className: 'text-center', width: '200px' },
|
||||||
{ title: '业务员', index: 'salesmen', className: 'text-center', width: '200px' },
|
{ title: '业务员', index: 'salesmen', className: 'text-center', width: '200px' },
|
||||||
{ title: '已认证货主数', index: 'certifiedCount', className: 'text-center', width: '100px' },
|
{ title: '已认证货主数', index: 'certifiedCount', className: 'text-center', width: '100px', iif: ()=> {
|
||||||
|
console.log(this.resourceStatus);
|
||||||
|
return this.resourceStatus !== 1
|
||||||
|
|
||||||
|
} },
|
||||||
{ title: '已认证合伙人', index: 'certifiedCount', className: 'text-center', width: '100px' },
|
{ title: '已认证合伙人', index: 'certifiedCount', className: 'text-center', width: '100px' },
|
||||||
{ title: '新增合伙人数', index: 'addCount', className: 'text-center', width: '100px' },
|
{ title: '新增合伙人数', index: 'addCount', className: 'text-center', width: '100px' },
|
||||||
{ title: '合伙人活跃率', index: 'alivePer', className: 'text-center', width: '100px' },
|
{ title: '合伙人活跃率', index: 'alivePer', className: 'text-center', width: '100px' },
|
||||||
|
|||||||
@ -93,10 +93,17 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
initSF() {
|
initSF() {
|
||||||
this.schema = {
|
this.schema = {
|
||||||
properties: {
|
properties: {
|
||||||
|
_$expand: { type: 'boolean', ui: { hidden: true } },
|
||||||
complaintCode: {
|
complaintCode: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '投诉单号'
|
title: '投诉单号'
|
||||||
},
|
},
|
||||||
|
wayBillCode: {
|
||||||
|
type: 'string',
|
||||||
|
title: '运单号',
|
||||||
|
ui: {
|
||||||
|
}
|
||||||
|
},
|
||||||
complaintCause: {
|
complaintCause: {
|
||||||
title: '投诉原因',
|
title: '投诉原因',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
@ -124,7 +131,10 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
ui: {
|
ui: {
|
||||||
widget: 'sl-from-to',
|
widget: 'sl-from-to',
|
||||||
type: 'date',
|
type: 'date',
|
||||||
format: 'yyyy-MM-dd'
|
format: 'yyyy-MM-dd',
|
||||||
|
visibleIf: {
|
||||||
|
_$expand: (value: boolean) => value
|
||||||
|
},
|
||||||
} as SFDateWidgetSchema
|
} as SFDateWidgetSchema
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user