|
@@ -50,10 +50,10 @@
|
|
|
</el-table>
|
|
</el-table>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="seek-list-box" v-if="!$util.isEmpty(getItemList) && showGetItemList == true">
|
|
<div class="seek-list-box" v-if="!$util.isEmpty(getItemList) && showGetItemList == true">
|
|
|
- <el-table ref="showItemRef" :data="getItemList" highlight-current-row style="width:80%" border :header-cell-style="{background:'#fdfdfd', color: '#666'}"
|
|
|
|
|
- class="tableBox active" height="730" @row-click="pickAddItem">
|
|
|
|
|
- <el-table-column prop="className" label="分类" align="center" width="180"></el-table-column>
|
|
|
|
|
- <el-table-column prop="cover" label="图片" align="center" width="120">
|
|
|
|
|
|
|
+ <el-table ref="showItemRef" :data="getItemList" highlight-current-row style="width:82vw" border :header-cell-style="{background:'#fdfdfd', color: '#666'}"
|
|
|
|
|
+ class="tableBox active" height="70vh" @row-click="pickAddItem">
|
|
|
|
|
+ <el-table-column prop="className" label="分类" align="center" width="130"></el-table-column>
|
|
|
|
|
+ <el-table-column prop="cover" label="图片" align="center" width="110">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<img :src="scope.row.cover" style="width:26px;margin:0 auto;" />
|
|
<img :src="scope.row.cover" style="width:26px;margin:0 auto;" />
|
|
|
</template>
|
|
</template>
|
|
@@ -69,13 +69,13 @@
|
|
|
<span style="color:green;font-weight:bold;">{{ scope.row.stock?parseFloat(scope.row.stock):0 }}</span>
|
|
<span style="color:green;font-weight:bold;">{{ scope.row.stock?parseFloat(scope.row.stock):0 }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column prop="ratioType" label="单位比" align="center" width="150">
|
|
|
|
|
|
|
+ <el-table-column prop="ratioType" label="单位比" align="center" width="110">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.ratioType == 0">{{ scope.row.ratio }}{{ scope.row.smallUnit }}/{{ scope.row.bigUnit }}</span>
|
|
<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>
|
|
<span v-else>若干{{ scope.row.smallUnit }}/{{ scope.row.bigUnit }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column prop="selectedNum" label="已选数量" align="center" width="150">
|
|
|
|
|
|
|
+ <el-table-column prop="selectedNum" label="已选数量" align="center" width="120">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.selectedNum && Number(scope.row.selectedNum)>0" style="color:red;font-weight:bold;font-size:17px;">已选{{ scope.row.selectedNum }}</span>
|
|
<span v-if="scope.row.selectedNum && Number(scope.row.selectedNum)>0" style="color:red;font-weight:bold;font-size:17px;">已选{{ scope.row.selectedNum }}</span>
|
|
|
</template>
|
|
</template>
|