Commit 662f82c4 by 前端

commit

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