Commit 662f82c4 by 前端

commit

1 parent b86ef346
...@@ -488,7 +488,7 @@ export default { ...@@ -488,7 +488,7 @@ export default {
fn: '退款' fn: '退款'
}, },
condition: row => { condition: row => {
return !this.isSpecialMerchat && row.orderSource == 4 && [2, 6, 21].includes(+row.orderStatus) return row.orderSource == 4 && [2, 6, 21].includes(+row.orderStatus)&&row.isOffline!==0
}, },
listeners: { listeners: {
click: row => { click: row => {
...@@ -657,11 +657,11 @@ export default { ...@@ -657,11 +657,11 @@ export default {
} }
}, },
{ {
label: '线下订单', label: '商品名称',
prop: 'isOffline', prop: '',
width: 120, width: '120',
formatter: cellValue => { formatter: cellValue => {
return cellValue.isOffline == 1 ? '否' : cellValue.isOffline == 0 ? '是' : '-' return cellValue.orderGoods.length ? cellValue.orderGoods.map(item => item.goodsName).join(',') : '-'
} }
}, },
{ {
...@@ -781,11 +781,11 @@ export default { ...@@ -781,11 +781,11 @@ export default {
methods: { methods: {
initParams() { initParams() {
const cell = { const cell = {
label: '商品名称', label: '线下订单',
prop: '', prop: 'isOffline',
width: '120', width: 120,
formatter: cellValue => { formatter: cellValue => {
return cellValue.orderGoods.length ? cellValue.orderGoods.map(item => item.goodsName).join(',') : '-' return cellValue.isOffline == 1 ? '否' : cellValue.isOffline == 0 ? '是' : '-'
} }
} }
const searchCell = { const searchCell = {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!