Commit 30018e85 by chenwq

核销记录-券来源;优惠券-何翔详情

1 parent 963202c5
...@@ -548,6 +548,9 @@ html { ...@@ -548,6 +548,9 @@ html {
color: #5850ff; color: #5850ff;
font-size: 16px; font-size: 16px;
} }
.marketing .text-10 {
font-size: 10px;
}
.marketing .text-14 { .marketing .text-14 {
font-size: 14px; font-size: 14px;
} }
......
...@@ -132,14 +132,10 @@ export default { ...@@ -132,14 +132,10 @@ export default {
type: 'el-button', type: 'el-button',
name: '作废', name: '作废',
attrs: { attrs: {
type: 'text' type: 'text',
// disabled: (row, condition) => { disabled: (row, condition) => {
// return +row.userStatus != 1 return +row.userStatus != 1
// } }
},
condition: row => {
return +row.userStatus == 1
// return true
}, },
listeners: { listeners: {
click: this.handleCancel click: this.handleCancel
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
<span v-if="$isGroupUp">{{ scope.scope.packageId ? scope.scope.packageName : scope.scope.directionalGiftId ? scope.scope.directionalGiftName : '-' }}</span> <span v-if="$isGroupUp">{{ scope.scope.packageId ? scope.scope.packageName : scope.scope.directionalGiftId ? scope.scope.directionalGiftName : '-' }}</span>
<div v-else> <div v-else>
<p>{{ packageNameTxtObj[scope.scope.receiveWay] }}</p> <p>{{ packageNameTxtObj[scope.scope.receiveWay] }}</p>
<p v-if="scope.scope.receiveWay == 7 && scope.scope.receiveMethod" class="txt-grey text-10">指定{{ scope.scope.receiveMethod == 1 ? '手机号' : '车架号' }}:{{ scope.scope.receiveNumber }}</p>
</div> </div>
</template> </template>
<span slot="orderCodeHtml" slot-scope="scope"> <span slot="orderCodeHtml" slot-scope="scope">
...@@ -210,25 +211,7 @@ export default { ...@@ -210,25 +211,7 @@ export default {
label: '券来源', label: '券来源',
prop: 'packageName', prop: 'packageName',
addHtml: 'packageName', addHtml: 'packageName',
width: 200, width: 240
formatter: cellValue => {
let txt = ''
if (this.$isGroupUp) {
txt = cellValue.packageId ? cellValue.packageName : cellValue.directionalGiftId ? cellValue.directionalGiftName : '-'
} else {
txt = {
'': '-',
1: '营销活动',
2: '营销活动',
3: '会员服务套餐',
4: '营销活动',
5: '关联商品购买',
6: '通过集团套餐赠送',
7: '通过定向礼包赠送'
}[cellValue.receiveWay]
}
return txt
}
}, },
{ {
label: '核销日期', label: '核销日期',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!