增加判断是否退菜方法
This commit is contained in:
@@ -21,6 +21,9 @@ export function canTuiKuan(orderInfo, item) {
|
|||||||
return orderInfo.status == 'closed' && item.status != 'return' && item.status != 'refund' && item.status !=
|
return orderInfo.status == 'closed' && item.status != 'return' && item.status != 'refund' && item.status !=
|
||||||
'refunding' && !item.userCouponId
|
'refunding' && !item.userCouponId
|
||||||
}
|
}
|
||||||
|
export function isTuiCai(item) {
|
||||||
|
return item.status == 'return'
|
||||||
|
}
|
||||||
export function isTui(item) {
|
export function isTui(item) {
|
||||||
return item.status == 'return' || item.status == 'refund' || item.status == 'refunding'
|
return item.status == 'return' || item.status == 'refund' || item.status == 'refunding'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user