From 243c0592bd8708b2ab56ee937d0d4357d2b06dda Mon Sep 17 00:00:00 2001 From: chenlu <1320612696@qq.com> Date: 星期五, 05 一月 2024 15:30:28 +0800 Subject: [PATCH] 修改错误字段,添加缺少字段,将下拉显示详情中的内容改成中文 --- north-glass-erp/northglass-erp/src/views/pp/reportingWorks/SelectReportingWorks.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/north-glass-erp/northglass-erp/src/views/pp/reportingWorks/SelectReportingWorks.vue b/north-glass-erp/northglass-erp/src/views/pp/reportingWorks/SelectReportingWorks.vue index 6947d90..3d58161 100644 --- a/north-glass-erp/northglass-erp/src/views/pp/reportingWorks/SelectReportingWorks.vue +++ b/north-glass-erp/northglass-erp/src/views/pp/reportingWorks/SelectReportingWorks.vue @@ -62,8 +62,8 @@ },//琛ㄥご鍙傛暟 columns:[ {type:'expand',fixed:"left",slots: { content:'content' },width: 50}, - { type: 'seq',fixed:"left", title: '鑷簭', width: 50 }, {title: '鎿嶄綔', width: 140, slots: { default: 'button_slot' },fixed:"left"}, + { type: 'seq',fixed:"left", title: '鑷簭', width: 50 }, {field: 'reportingWorkNo', width: 120, title: '鎶ュ伐缂栧彿',filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true, }, {field: 'reportingWorkTime',width: 120, title: '鎶ュ伐鏃堕棿', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, {field: 'processCard', width: 130,title: '娴佺▼鍗″彿', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, @@ -231,11 +231,11 @@ > <!-- @toolbar-button-click="toolbarButtonClickEvent"--> <!-- 涓嬫媺鏄剧ず鎵�鏈変俊鎭彃妲�--> - <template #content="{ row}"> + <template #content="{ row }"> <ul class="expand-wrapper"> - <li v-for="(item,key,index) in row"> - <span style="font-weight: bold">{{key+': '}}</span> - <span>{{ item }}</span> + <li v-for="(item,index) in gridOptions.columns" v-show="item.field!=undefined "> + <span style="font-weight: bold">{{item.title+': '}}</span> + <span>{{ row[item.field] }}</span> </li> </ul> </template> -- Gitblit v1.8.0