Commit dd137050 by 前端

Merge branch 'v3.20.1' into 'master'

V3.20.1

See merge request !3
2 parents b5abe0ff 13a35cf0
......@@ -347,7 +347,7 @@ export default {
},
condition: row => {
// return row.orderSource == 4 && [2, 6, 21, 22].includes(+row.orderStatus) && row.isOffline != 0
return row.showRefund == 1 && row.orderSource !== 6 && row.orderSource !== 7 //是否展示退款按钮 1:是 0:否
return row.showRefund == 1 && row.orderSource !== 6 //是否展示退款按钮 1:是 0:否
},
listeners: {
click: row => {
......@@ -382,7 +382,7 @@ export default {
},
condition: row => {
// return row.deliveryType == 1 && row.orderStatus == 21
return row.showVerf == 1 && row.orderSource !== 6 && row.orderSource !== 7 //是否展示核销按钮 1:是 0:否
return row.showVerf == 1 && row.orderSource !== 6  //是否展示核销按钮 1:是 0:否
},
listeners: {
click: this.handleWriteOff
......@@ -397,7 +397,7 @@ export default {
fn: '商品发货'
},
condition: row => {
return (row.deliveryType == 2 && row.orderStatus == 6 && row.orderSource !== 6&&row.orderSource !== 7) ||(row.orderSource == 7&& row.deliveryType == 2 && row.orderStatus == 6&&row.orderGoods[0].discoverGoodsSource == 2)
return row.deliveryType == 2 && row.orderStatus == 6 && row.orderSource !== 6
},
listeners: {
click: this.handleExpressInfo
......@@ -411,7 +411,7 @@ export default {
fn: '退款审核'
},
condition: row => {
return row.afterSaleStatus == 1 && row.orderSource !== 6 && row.orderSource !== 7
return row.afterSaleStatus == 1 && row.orderSource !== 6
},
listeners: {
click: this.handleExamine
......@@ -424,7 +424,7 @@ export default {
type: 'text'
},
condition: row => {
return row.afterSaleStatus == 4 && row.orderSource !== 6 && row.orderSource !== 7
return row.afterSaleStatus == 4 && row.orderSource !== 6
},
listeners: {
click: this.handleReceiving
......@@ -636,7 +636,7 @@ export default {
prop: 'payPrice',
width: '120',
formatter: cellValue => {
return cellValue.payPrice || '0'
return cellValue.payType == 1 ? '--' : (cellValue.payPrice || '0')
}
},
{
......@@ -657,6 +657,12 @@ export default {
width: 150
},
{
label: '兑换积分',
prop: 'redeemPoints',
line: 1,
width: 150
},
{
label: '订单类型',
prop: 'orderSource',
width: '100',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!