Commit 89b19da1 by 前端

Merge branch 'zq_dev_v2.6.0' into 'v2.6.0'

定向礼包第一轮bug修复

See merge request !234
2 parents 2b5930e3 1aae782b
...@@ -499,6 +499,7 @@ export default { ...@@ -499,6 +499,7 @@ export default {
.p-b-12 { .p-b-12 {
margin-bottom: 14px; margin-bottom: 14px;
font-weight: 500; font-weight: 500;
padding-left: 10px;
color: #333333; color: #333333;
} }
.approve-status { .approve-status {
...@@ -548,27 +549,31 @@ export default { ...@@ -548,27 +549,31 @@ export default {
} }
} }
.gift-detail .gift-item { .gift-detail {
margin-right: 80px; padding:0 200px 0 10px;
display: flex; .gift-item {
align-items: center; margin-right: 80px;
color: #333333; display: flex;
img { align-items: center;
height: 23px; color: #333333;
width: 58px; width: 400px;
margin-right: 23px; img {
} height: 23px;
.gift-coupon-name { width: 58px;
display: inline-block; margin-right: 10px;
} }
.gift-tips { .gift-coupon-name {
display: inline-block; display: inline-block;
font-size: 12px; }
height: 18px; .gift-tips {
line-height: 18px; display: inline-block;
color: #999999; font-size: 12px;
background-color: #eeeded; height: 18px;
margin-right: 7px; line-height: 18px;
color: #999999;
background-color: #eeeded;
margin-right: 7px;
}
} }
} }
.gift-detail .gift-item:last-child { .gift-detail .gift-item:last-child {
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
</el-tooltip> </el-tooltip>
</span> </span>
<div slot="giftInfo" slot-scope="scope"> <div slot="giftInfo" slot-scope="scope">
<GLTable ref="giftListRef" :hasNum="false" :hasPage="false" :noDataImg="url" :tableParams="giftParams" :tableData="scope.scope | filterTable" @setTableFinishFun="setGiftTableFinishFun"></GLTable> <GLTable class="secondTable" ref="giftListRef" :hasNum="false" :hasPage="false" :noDataImg="url" :tableParams="giftParams" :tableData="scope.scope | filterTable" @setTableFinishFun="setGiftTableFinishFun"></GLTable>
</div> </div>
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<el-button :disabled="scope.scope.receiveStatus == 2" type="text" @click="handleCancel(scope.scope)">作废</el-button> <el-button :disabled="scope.scope.receiveStatus == 2" type="text" @click="handleCancel(scope.scope)">作废</el-button>
...@@ -196,12 +196,13 @@ export default { ...@@ -196,12 +196,13 @@ export default {
tableColumns: [ tableColumns: [
{ {
label: '礼包明细', label: '礼包明细',
prop: 'couponName' prop: 'couponName',
width: 200,
}, },
{ {
label: '数量', label: '数量',
name: 'couponAmount', name: 'couponAmount',
width: '100px', width: 150,
formatter: cellValue => { formatter: cellValue => {
return 'X' + cellValue.couponAmount return 'X' + cellValue.couponAmount
} }
...@@ -209,6 +210,7 @@ export default { ...@@ -209,6 +210,7 @@ export default {
{ {
label: '已核销/次', label: '已核销/次',
prop: 'anticipatedCost ', prop: 'anticipatedCost ',
width: 150,
formatter: cellValue => { formatter: cellValue => {
return 'X' + cellValue.delet return 'X' + cellValue.delet
} }
...@@ -216,6 +218,7 @@ export default { ...@@ -216,6 +218,7 @@ export default {
{ {
label: '可使用/次', label: '可使用/次',
prop: 'getAmount', prop: 'getAmount',
width: 150,
formatter: cellValue => { formatter: cellValue => {
if (cellValue.residueCouponAmount == -1) { if (cellValue.residueCouponAmount == -1) {
return '不限次数' return '不限次数'
...@@ -513,6 +516,9 @@ export default { ...@@ -513,6 +516,9 @@ export default {
.marketing /deep/ .el-table th div { .marketing /deep/ .el-table th div {
line-height: normal !important; line-height: normal !important;
} }
.secondTable{
padding-left: 10px;
}
.void-label { .void-label {
width: 44px; width: 44px;
height: 18px; height: 18px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!