|
@@ -280,8 +280,8 @@
|
|
<img src="@/assets/images/money2.png" alt="" class="img" />
|
|
<img src="@/assets/images/money2.png" alt="" class="img" />
|
|
<span style="font-size:14px;font-weight:700;color:#000"> 供货推荐:</span>
|
|
<span style="font-size:14px;font-weight:700;color:#000"> 供货推荐:</span>
|
|
<div style="padding:5px 0px 0px 20px">
|
|
<div style="padding:5px 0px 0px 20px">
|
|
- <div v-for="(item,index) in row.purchaseProductPriceList " :key="index">
|
|
|
|
- <span>供应商名称 </span>
|
|
|
|
|
|
+ <div v-for="(item,index) in row.topPriceList " :key="index">
|
|
|
|
+ <span>{{item.supplierName}} </span>
|
|
<span style="margin-left:40px"> CNY {{moneyFormat(item.price,2)}} </span>
|
|
<span style="margin-left:40px"> CNY {{moneyFormat(item.price,2)}} </span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -302,7 +302,7 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<template #reference>
|
|
<template #reference>
|
|
- <div style="margin-left:10px;cursor:pointer;position:relative;top:4px">
|
|
|
|
|
|
+ <div style="margin-left:10px;cursor:pointer;position:relative;top:4px" v-if="$index==0">
|
|
<el-icon :size="20" color="#85c1a6">
|
|
<el-icon :size="20" color="#85c1a6">
|
|
<WarningFilled />
|
|
<WarningFilled />
|
|
</el-icon>
|
|
</el-icon>
|
|
@@ -945,6 +945,14 @@ const changeProductPrice = () => {
|
|
createTime: x.createTime,
|
|
createTime: x.createTime,
|
|
price: x.price,
|
|
price: x.price,
|
|
}));
|
|
}));
|
|
|
|
+ iele.purchaseProductMountingsList[0].topPriceList = resOne[
|
|
|
|
+ key
|
|
|
|
+ ].topPriceList
|
|
|
|
+ .map((x) => ({
|
|
|
|
+ supplierName: x.supplierName,
|
|
|
|
+ price: x.price,
|
|
|
|
+ }))
|
|
|
|
+ .filter((y, index) => index < 3);
|
|
|
|
|
|
iele.purchaseProductMountingsList[0].supplyPurchaseProductPriceList =
|
|
iele.purchaseProductMountingsList[0].supplyPurchaseProductPriceList =
|
|
resOne[key].supplyPurchaseProductList
|
|
resOne[key].supplyPurchaseProductList
|