Commit ef9d6f49 authored by 耿迪迪's avatar 耿迪迪

采购查询优化

parent 06fcb6d2
...@@ -134,11 +134,17 @@ ...@@ -134,11 +134,17 @@
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column label="备注" align="center" prop="remark" />--> <!-- <el-table-column label="备注" align="center" prop="remark" />-->
<el-table-column label="审批人" align="center" prop="approvedUserName" /> <el-table-column label="审批人" align="center" prop="approvedUserName">
<template slot-scope="scope">
<span v-if="scope.row.approvedUserName == null">-</span>
<span v-else>{{scope.row.approvedUserName}}</span>
</template>
</el-table-column>
<el-table-column label="审批状态" align="center" prop="purchaseStatus" :formatter="getPurchaseStatus" width="120"/> <el-table-column label="审批状态" align="center" prop="purchaseStatus" :formatter="getPurchaseStatus" width="120"/>
<el-table-column label="审核时间" align="center" prop="approvedTime" width="180"> <el-table-column label="审核时间" align="center" prop="approvedTime" width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.approvedTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span> <span v-if="scope.row.approvedUserName == null">-</span>
<span v-else>{{ parseTime(scope.row.approvedTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="220"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="220">
......
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