|
@@ -125,11 +125,12 @@
|
|
bordered>
|
|
bordered>
|
|
<!-- 产品编码 -->
|
|
<!-- 产品编码 -->
|
|
<template slot="productCode" slot-scope="text, record">
|
|
<template slot="productCode" slot-scope="text, record">
|
|
- <span style="padding-right: 15px;">{{ text }}</span>
|
|
|
|
- <a-badge count="促" v-if="record.promotionFlag=='GIFT'" :number-style="{ backgroundColor: '#52c41a', zoom:'80%' }"></a-badge>
|
|
|
|
- <!-- <a-badge count="特" v-if="record.promotionFlag=='DISCOUNT'" :number-style="{ backgroundColor: '#faad14', zoom:'80%' }"></a-badge> -->
|
|
|
|
- <a-badge count="槛" v-if="record.promotionFlag=='GATE'" :number-style="{ backgroundColor: '#108ee9', zoom:'80%' }"></a-badge>
|
|
|
|
- <a-badge count="缺" v-if="Number(record.stockQty||0) < Number(record.unpushedQty||0)" :number-style="{ zoom:'80%' }"></a-badge>
|
|
|
|
|
|
+ <span style="padding-right: 10px;">{{ text }}</span>
|
|
|
|
+ <a-badge count="促" v-if="record.promotionFlag.indexOf('GIFT')>=0" :number-style="{ backgroundColor: '#52c41a', zoom:'0.7' }"></a-badge>
|
|
|
|
+ <a-badge count="特" v-if="record.promotionFlag.indexOf('DISCOUNT')>=0" :number-style="{ backgroundColor: '#faad14', zoom:'0.7' }"></a-badge>
|
|
|
|
+ <a-badge count="槛" v-if="record.promotionFlag.indexOf('GATE')>=0" :number-style="{ backgroundColor: '#108ee9', zoom:'0.7' }"></a-badge>
|
|
|
|
+ <a-badge count="正" v-if="record.promotionFlag.indexOf('REGULAR')>=0" :number-style="{ backgroundColor: '#ff5500', zoom:'0.7' }"></a-badge>
|
|
|
|
+ <a-badge count="缺" v-if="Number(record.stockQty||0) < Number(record.unpushedQty||0)" :number-style="{ zoom:'0.7' }"></a-badge>
|
|
</template>
|
|
</template>
|
|
<!-- 产品名称 -->
|
|
<!-- 产品名称 -->
|
|
<template slot="productName" slot-scope="text, record">
|
|
<template slot="productName" slot-scope="text, record">
|