Commit 73ccfdaa by 周子尧

1

1 parent 504ee7fa
...@@ -18,9 +18,9 @@ module.exports = { ...@@ -18,9 +18,9 @@ module.exports = {
code_message_map: {} code_message_map: {}
}, },
request: { request: {
// baseURL: 'http://scrm.test.glsx.com.cn/', baseURL: 'http://scrm.test.glsx.com.cn/',
// baseURL: 'http://192.168.2.42:8064/', // baseURL: 'http://192.168.2.42:8064/',
baseURL: 'http://scrm.dev.glsx.com.cn/', // baseURL: 'http://scrm.dev.glsx.com.cn/',
// 设置超时时间 // 设置超时时间
timeout: 180000, timeout: 180000,
// 携带凭证 // 携带凭证
......
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
prop: 'couponName' prop: 'couponName'
}, },
{ {
label: '礼包数量', label: '数量',
name: 'couponAmount', name: 'couponAmount',
width: '100px', width: '100px',
formatter: cellValue => { formatter: cellValue => {
...@@ -221,11 +221,20 @@ export default { ...@@ -221,11 +221,20 @@ export default {
}, },
{ {
label: '已核销成本', label: '已核销成本',
prop: 'verificationAnticipatedCos' formatter: cellValue => {
var i = 0
var sum = 0
for (i; i < cellValue.couponList.length; i++) {
sum = sum + cellValue.couponList[i].couponAnticipatedCost
}
return sum
}
}, },
{ {
label: '发放员工', label: '发放员工',
prop: 'staffName' formatter: cellValue => {
return cellValue.staffList[0].staffName
}
}, },
{ {
label: '领取时间', label: '领取时间',
...@@ -249,7 +258,7 @@ export default { ...@@ -249,7 +258,7 @@ export default {
//客户 //客户
customerDetail(row) { customerDetail(row) {
this.$router.push({ this.$router.push({
path: '/custom/clientManage/clientDetail?id==' + row.accountId path: '/custom/clientManage/clientDetail?id=' + row.accountId
}) })
}, },
// 查看 // 查看
...@@ -257,7 +266,7 @@ export default { ...@@ -257,7 +266,7 @@ export default {
this.$router.push({ this.$router.push({
path: '/giftBag/giftDetail', path: '/giftBag/giftDetail',
query: { query: {
id: row.id id: row.directionalGiftId
} }
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!