jiuyiUniapp/jiuyi/components/public/jy-order-card/btnGroup.js

98 lines
2.0 KiB
JavaScript

export const btnG = {
user_order: [{
name: '取消订单',
type: 'black',
value: 'cancel_order',
status: [2]
},
{
name: '继续付款',
type: 'orange',
value: 'continue_paying',
status: [2]
},
{
name: '申请退款',
type: 'black',
value: 'refund',
status: [3, 4, 5]
},
{
name: '崔发货',
type: 'orange',
status: [3]
},
{
name: '查看物流',
type: 'black',
status: [4]
}, {
name: '确认收货',
type: 'orange',
status: [4]
}, {
name: '评价',
type: 'orange',
status: [5]
}, {
name: '删除记录',
type: 'black',
status: [6]
}, {
name: '售后详情',
type: 'black',
status: [6]
}, {
name: '钱款去向',
type: 'black',
value: 'money_whereabouts',
status: [6]
}, {
name: '平台介入',
type: 'orange',
status: [6]
}],
business_order: [{
name: '改价',
type: 'orange',
value: 'change_price',
status: [2]
}, {
name: '发货',
type: 'orange',
value: 'delivery',
status: [3]
}, {
name: '拒绝退款',
type: 'black',
value: 'refund_refund',
status: [5]
}, {
name: '同意退款',
type: 'black',
value: 'agree_refund',
status: [5]
}, {
name: '联系用户',
type: 'orange',
value: 'contact_users',
status: [5]
}],
merchandise_control: [{
name: '上架',
type: 'black',
value: 'grounding',
status: [1]
}, {
name: '下架',
type: 'black',
value: 'discontinue',
status: [1]
}, {
name: '编辑',
type: 'orange',
value: 'edit',
status: [1]
}]
}