Commit f8a93486 authored by dragondean@qq.com's avatar dragondean@qq.com

完善控货日志

parent 218e83e0
<template> <template>
<el-dialog :title="$t('控货日志')" visible :before-close="closeDialog" :close-on-click-modal="false" width="800px"> <el-dialog :title="$t('控货日志')" visible :before-close="closeDialog" :close-on-click-modal="false" width="1000px">
<el-table :data="list"> <el-table :data="list">
<el-table-column :label="$t('操作时间')" prop="createTime" width="200"></el-table-column> <el-table-column :label="$t('操作时间')" prop="createTime" width="200">
<el-table-column :label="$t('操作人')" prop="creatorName" width="200"></el-table-column> <template slot-scope="{row}">{{row.createTime|parseTime}}</template>
<el-table-column :label="$t('操作人类型')" prop="content"> </el-table-column>
<el-table-column :label="$t('操作人')" prop="creatorName" width="100"></el-table-column>
<el-table-column :label="$t('操作人类型')" prop="content" width="100">
<template slot-scope="{row}">{{row.userType == 1 ? $t('会员') : $t('管理员')}}</template> <template slot-scope="{row}">{{row.userType == 1 ? $t('会员') : $t('管理员')}}</template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('操作类型')" prop="type"></el-table-column> <el-table-column :label="$t('操作类型')" prop="type" width="200"></el-table-column>
<el-table-column :label="$t('备注')" prop="msg"></el-table-column> <el-table-column :label="$t('备注')" prop="msg"></el-table-column>
</el-table> </el-table>
</el-dialog> </el-dialog>
...@@ -15,11 +17,12 @@ ...@@ -15,11 +17,12 @@
import { import {
getControlLogList, getControlLogList,
} from '@/api/ecw/orderCargoControl' } from '@/api/ecw/orderCargoControl'
import {parseTime} from '@/utils/ruoyi'
export default { export default {
props:{ props:{
orderId: Number orderId: Number
}, },
filters: {parseTime},
data(){ data(){
return { return {
show: false, show: false,
......
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