Commit 567d4185 authored by 仇晓婷's avatar 仇晓婷

分类

parent def8dc48
...@@ -138,7 +138,7 @@ export default { ...@@ -138,7 +138,7 @@ export default {
entity: { entity: {
// creationTime: null, // creationTime: null,
creatorUserId: this.$store.state.userInfo.userId, creatorUserId: this.$store.state.userInfo.userId,
// creator: this.$store.state.userInfo.userName, //creator: this.$store.state.userInfo.userName,
// lastModificationTime: null, // lastModificationTime: null,
// lastModifierUserId: null, // lastModifierUserId: null,
// isDeleted: null, // isDeleted: null,
......
<template> <template>
<div> <div>
<div class="mb10 pt5"> <div class="mb10 pt5">
<Input v-model="searchValue" placeholder="请输入库位名称" clearable style="width: 240px" /> <Input v-model.trim="searchValue" placeholder="请输入库位名称" clearable style="width: 240px" />
<Button type="primary" class @click="handleSearch">查询</Button> <Button type="primary" class @click="handleSearch">查询</Button>
<div class="fr"> <div class="fr">
<Button type="primary" @click="add()">新增库位</Button> <Button type="primary" @click="add()">新增库位</Button>
...@@ -63,6 +63,15 @@ export default { ...@@ -63,6 +63,15 @@ export default {
key: "creatorUserId", key: "creatorUserId",
title: this.l("creatorUserId"), title: this.l("creatorUserId"),
align: "center", align: "center",
render: (h, params) => {
if (params.row.creatorUserId) {
return h("User", {
props: {
value: params.row.creatorUserId,
},
});
}
},
}, },
{ key: "level", title: this.l("level"), align: "center", high: true }, { key: "level", title: this.l("level"), align: "center", high: true },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment