Commit 01d70a0f by caoyanzhi

update: 奥莱抵金券

parent cb3871ca
......@@ -123,8 +123,14 @@
<recycle-scroller :items="storeList" key-field="storeId" :style="{ height: storeList.length > 6 ? '287px' : 'auto' }" :itemSize="48" v-slot="{ item }">
<div class="store-row">
<div class="store-cell" style="width: 197px">
<div class="store-name">{{ item.storeName }}</div>
<div class="store-code">code:{{ item.storeCode }}</div>
<el-tooltip placement="top" :disabled="item.storeName.length < 13">
<div slot="content" style="max-width: 400px">{{ item.storeName }}</div>
<div class="store-name">{{ item.storeName.length >= 13 ? `${item.storeName.slice(0, 13)}...` : item.storeName }}</div>
</el-tooltip>
<el-tooltip placement="top" :disabled="item.storeCode.length < 20">
<div slot="content" style="max-width: 400px">code:{{ item.storeCode }}</div>
<div class="store-code">code:{{ item.storeCode.length >= 20 ? `${item.storeCode.slice(0, 20)}...` : item.storeCode }}</div>
</el-tooltip>
</div>
<div class="store-cell" style="width: 284px"><el-input-number v-model="item.costValueProportion" :disabled="isEdit && form.costStoreList.some(el => el.storeId == item.storeId)" :min="0" :max="100" :precision="0" :controls="false" style="margin-right: 10px; width: 130px" placeholder="请输入成本比例"></el-input-number>%</div>
<div class="store-cell" style="width: 135px">{{ typeof item.costValueProportion == 'number' && typeof form.cardDenomination == 'number' ? (item.costValueProportion * form.cardDenomination) / 100 : 0 }} 元</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment