90d55548 by lihua

修改企业简称

1 parent 157b89c5
...@@ -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 {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!