Commit 45b6a239 by 周子尧

1

1 parent f6c03d0e
...@@ -20,9 +20,6 @@ ...@@ -20,9 +20,6 @@
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable ref="receivedGiftListRef" :getListApi="getListApi" :hasNum="false" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"> <GLTable ref="receivedGiftListRef" :getListApi="getListApi" :hasNum="false" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<span slot="nickName" slot-scope="scope">
<el-button type="text" @click="customerDetail(scope.scope)">{{ scope.scope.nickName }}</el-button>
</span>
<span slot="directionalGiftName" slot-scope="scope"> <span slot="directionalGiftName" slot-scope="scope">
<el-button type="text" @click="handleDetail(scope.scope)">{{ scope.scope.directionalGiftName }}</el-button> <el-button type="text" @click="handleDetail(scope.scope)">{{ scope.scope.directionalGiftName }}</el-button>
</span> </span>
...@@ -43,17 +40,13 @@ export default { ...@@ -43,17 +40,13 @@ export default {
name: 'giftList', name: 'giftList',
filters: { filters: {
filterTable(list) { filterTable(list) {
// console.log(params)
// return
let arr1 = list.couponList let arr1 = list.couponList
let arr2 = list.verificationCouponList let arr2 = list.verificationCouponList
let reduceArr = arr1.map(item => { let reduceArr = arr1.map(item => {
// item.numBer = ''
arr2.map(ele => { arr2.map(ele => {
if (item.couponId == ele.couponId) { if (item.couponId == ele.couponId) {
item.numBer = item.couponAmount - ele.couponAmount item.numBer = item.couponAmount - ele.couponAmount
item.delet = ele.couponAmount item.delet = ele.couponAmount
// item.couponAmount = ele.couponAmount
} }
}) })
return item return item
...@@ -117,11 +110,11 @@ export default { ...@@ -117,11 +110,11 @@ export default {
List: [ List: [
{ {
Id: '1', Id: '1',
Name: '是' Name: '否'
}, },
{ {
id: '2', id: '2',
Name: '否' Name: '是'
} }
] ]
}, },
...@@ -185,7 +178,11 @@ export default { ...@@ -185,7 +178,11 @@ export default {
}, },
{ {
label: '领取客户', label: '领取客户',
addHtml: 'nickName' prop: 'nickName'
},
{
label: '客户手机号',
prop: 'phone'
}, },
{ {
label: '是否为企微客户', label: '是否为企微客户',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!