|
@ -8,9 +8,9 @@ |
|
|
</p> |
|
|
</p> |
|
|
</h3> |
|
|
</h3> |
|
|
<el-table ref="table" style="min-width: 100%;" :height="height" :data="tableData" class="warehose-el-table" stripe> |
|
|
<el-table ref="table" style="min-width: 100%;" :height="height" :data="tableData" class="warehose-el-table" stripe> |
|
|
<el-table-column prop="update_time" label="时间" align="center" min-width="60"> |
|
|
|
|
|
|
|
|
<el-table-column prop="createTime" label="时间" align="center" min-width="60"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div>{{ scope.row.update_time | parseTime }}</div> |
|
|
|
|
|
|
|
|
<div>{{ scope.row.createTime | parseTime }}</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column label="库房" align="center" min-width="30"> |
|
|
<el-table-column label="库房" align="center" min-width="30"> |
|
@ -104,9 +104,9 @@ export default { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
getSecuritydoor() { |
|
|
getSecuritydoor() { |
|
|
securitydoor().then((data) => { |
|
|
|
|
|
if (data && data.length > 0) { |
|
|
|
|
|
this.tableData.splice(0, data.length, ...data) |
|
|
|
|
|
|
|
|
securitydoor({ page: 1, size: 30 }).then((data) => { |
|
|
|
|
|
if (data.content && data.content.length > 0) { |
|
|
|
|
|
this.tableData.splice(0, data.content.length, ...data.content) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|