|
|
@@ -16,7 +16,7 @@
|
|
|
<span>删除:Delete</span>
|
|
|
<span>删除所有:Page Down</span>
|
|
|
</p>
|
|
|
- <el-table ref="singleTable" :data="tableData" highlight-current-row style="width:95%" border :header-cell-style="{background:'#fdfdfd', color: '#01060a', fontWeight:800}" class="tableBox active">
|
|
|
+ <el-table ref="singleTable" :data="tableData" highlight-current-row style="width:80%" border :header-cell-style="{background:'#fdfdfd', color: '#01060a', fontWeight:800}" class="tableBox active">
|
|
|
<el-table-column prop="index" label="编号" width="120" align="center"></el-table-column>
|
|
|
|
|
|
<el-table-column prop="cover" label="图片" align="center" width="130">
|
|
|
@@ -26,11 +26,11 @@
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column prop="name" label="名称" align="center"></el-table-column>
|
|
|
- <el-table-column prop="price" label="单价" width="250" align="center"></el-table-column>
|
|
|
- <el-table-column prop="big" label="数量" width="250" align="center"></el-table-column>
|
|
|
- <el-table-column prop="totalAmount" label="金额" width="250" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="price" label="单价" width="150" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="big" label="数量" width="150" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="totalAmount" label="金额" width="150" align="center"></el-table-column>
|
|
|
|
|
|
- <el-table-column prop="ratioType" label="单位比" align="center" width="180">
|
|
|
+ <el-table-column prop="ratioType" label="单位比" align="center" width="150">
|
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.ratioType == 0">{{ scope.row.ratio }}{{ scope.row.smallUnit }}/{{ scope.row.bigUnit }}</span>
|
|
|
<span v-else>若干{{ scope.row.smallUnit }}/{{ scope.row.bigUnit }}</span>
|