|
@@ -72,7 +72,7 @@
|
|
|
:rowKey="(record) => record.id"
|
|
|
:columns="columns"
|
|
|
:data="loadData"
|
|
|
- :scroll="{ x: 2110, y: tableHeight }"
|
|
|
+ :scroll="{ x: 2430, y: tableHeight }"
|
|
|
bordered>
|
|
|
<!-- 产品分类 -->
|
|
|
<template slot="productType" slot-scope="text, record">
|
|
@@ -86,7 +86,10 @@
|
|
|
<!-- 成本价 -->
|
|
|
<template slot="sterminaldsdPrice" slot-scope="text, record">
|
|
|
<div v-if="record.supplierProductList">
|
|
|
- <p v-for="(item, index) in record.supplierProductList" :key="index" style="margin: 0;">{{ item.cost.toFixed(2) + '元 - ' + item.supplierName + ';' }}</p>
|
|
|
+ <p v-for="(item, index) in record.supplierProductList" :key="index" style="margin: 0;">
|
|
|
+ <span>{{ (item.cost || item.cost==0) ? item.cost.toFixed(2):'--' }}</span>元 -
|
|
|
+ <span>{{ item.supplierName }}</span>;
|
|
|
+ </p>
|
|
|
</div>
|
|
|
<span v-else>--</span>
|
|
|
</template>
|