修改企业简称
Showing
1 changed file
with
2 additions
and
1 deletions
| ... | @@ -70,7 +70,8 @@ const tableFields: any = ref([ | ... | @@ -70,7 +70,8 @@ const tableFields: any = ref([ |
| 70 | { label: "企业名称", field: "param1", width: 200, }, | 70 | { label: "企业名称", field: "param1", width: 200, }, |
| 71 | { label: "企业简称", field: "abbreviation", width: 160, getName: (scope) => { | 71 | { label: "企业简称", field: "abbreviation", width: 160, getName: (scope) => { |
| 72 | const param4 = scope.row.param4 || ''; | 72 | const param4 = scope.row.param4 || ''; |
| 73 | return param4 ? param4.split('_')?.slice(3)?.join('_') : '--' | 73 | let v = param4.split('_')?.slice(3); |
| 74 | return v?.length ? v?.join('_') : '--'; | ||
| 74 | } }, | 75 | } }, |
| 75 | { label: "统一社会信用代码", field: "param3", width: 160 }, | 76 | { label: "统一社会信用代码", field: "param3", width: 160 }, |
| 76 | { | 77 | { | ... | ... |
-
Please register or sign in to post a comment