This commit is contained in:
cun-nan 2024-05-10 17:36:24 +08:00
parent fa64cf61b6
commit ff0af40e39
4 changed files with 16 additions and 7 deletions

View File

@ -301,7 +301,7 @@
v-for="(item,index) in cardFuelDieselList" :key="index" v-for="(item,index) in cardFuelDieselList" :key="index"
:class="activeKey === index ? 'select' : ''" :class="activeKey === index ? 'select' : ''"
@click="recharge(index)"> @click="recharge(index)">
<div class="top1"><span class="amount1">{{ item.incomeLitres }}</span>L</div> <!-- <div class="top1"><span class="amount1">{{ item.incomeLitres }}</span>L</div>-->
<div>售价<span class="amount">{{ item.rechargeBalance }}</span></div> <div>售价<span class="amount">{{ item.rechargeBalance }}</span></div>
<div>锁价<span class="amount">{{ item.lockupPrice }}</span>/</div> <div>锁价<span class="amount">{{ item.lockupPrice }}</span>/</div>
</div> </div>
@ -1971,9 +1971,9 @@ export default {
.mon2 { .mon2 {
width: 20%; width: 20%;
height: 75px; height: 70px;
border: 0.5px #dadfe6 solid; border: 0.5px #dadfe6 solid;
line-height: 25px; line-height: 35px;
border-radius: 5px; border-radius: 5px;
text-align: center; text-align: center;
margin: 0 10px; margin: 0 10px;

View File

@ -424,7 +424,7 @@
mt_user_id = #{cardFuelRecord.mtUserId} mt_user_id = #{cardFuelRecord.mtUserId}
and store_id = #{cardFuelRecord.storeId} and store_id = #{cardFuelRecord.storeId}
and expire_time > NOW() and expire_time > NOW()
<if test=" cardFuelRecord.oil_type != null"> <if test=" cardFuelRecord.oilType != null and cardFuelRecord.oilType != ''">
and oil_type = #{cardFuelRecord.oilType} and oil_type = #{cardFuelRecord.oilType}
</if> </if>
</where> </where>

View File

@ -44,4 +44,13 @@ export function getUserVoName(data) {
}) })
} }
// 获取用户囤油卡锁价信息
export function getRecord(data) {
return request({
url: '/business/marketingActivity/cardFuelRecord/getRecordByUserId',
method: 'get',
params: data
})
}

View File

@ -302,7 +302,7 @@
v-for="(item,index) in cardFuelDieselList" :key="index" v-for="(item,index) in cardFuelDieselList" :key="index"
:class="activeKey === index ? 'select' : ''" :class="activeKey === index ? 'select' : ''"
@click="recharge(index)"> @click="recharge(index)">
<div class="top1"><span class="amount1">{{ item.incomeLitres }}</span>L</div> <!-- <div class="top1"><span class="amount1">{{ item.incomeLitres }}</span>L</div>-->
<div>售价<span class="amount">{{ item.rechargeBalance }}</span></div> <div>售价<span class="amount">{{ item.rechargeBalance }}</span></div>
<div>锁价<span class="amount">{{ item.lockupPrice }}</span>/</div> <div>锁价<span class="amount">{{ item.lockupPrice }}</span>/</div>
</div> </div>
@ -2344,9 +2344,9 @@ export default {
.mon2 { .mon2 {
width: 20%; width: 20%;
height: 75px; height: 70px;
border: 0.5px #dadfe6 solid; border: 0.5px #dadfe6 solid;
line-height: 25px; line-height: 35px;
border-radius: 5px; border-radius: 5px;
text-align: center; text-align: center;
margin: 0 10px; margin: 0 10px;