695593266@qq.com 8 месяцев назад
Родитель
Сommit
21f4e97c82
1 измененных файлов с 8 добавлено и 1 удалено
  1. 8 1
      src/views/materialReturn/index.vue

+ 8 - 1
src/views/materialReturn/index.vue

@@ -26,6 +26,12 @@
           {{ sceneListFn(row.scene) }}
         </template>
 
+        <template v-slot:storageInfo="{ row }">
+          <span v-if="row.storageInfo">
+            {{ row.storageInfo.approvalUserName }}
+          </span>
+        </template>
+
         <template v-slot:action="{ row }">
           <el-button type="text" size="mini" @click="handDetailed(row)"
             >详情</el-button
@@ -108,7 +114,8 @@
             align: 'center'
           },
           {
-            prop: 'storageInfo.approvalUserName',
+            prop: 'storageInfo',
+            slot: 'storageInfo',
             label: '审核人',
             align: 'center'
           },