添加:分销订单管理
This commit is contained in:
parent
49299715bc
commit
6ede4db383
|
|
@ -11,8 +11,8 @@ export function orderListApi(data) {
|
|||
/**
|
||||
* @description 订单 -- 表头
|
||||
*/
|
||||
export function chartApi() {
|
||||
return request.get('store/order/chart')
|
||||
export function chartApi(data) {
|
||||
return request.get('store/order/chart', data)
|
||||
}
|
||||
/**
|
||||
* @description 订单 -- 卡片
|
||||
|
|
|
|||
|
|
@ -10,5 +10,3 @@ export function setPromoterConfig(data) {
|
|||
return request.get('promoter/set_config',data)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,30 @@
|
|||
|
||||
export const switchStatus = [
|
||||
{ label: '开启', value: 1 },
|
||||
{ label: '关闭', value: 0 }
|
||||
]
|
||||
|
||||
export const fromList = {
|
||||
title: '选择时间',
|
||||
custom: true,
|
||||
fromTxt: [
|
||||
{ text: '全部', val: '' },
|
||||
{ text: '今天', val: 'today' },
|
||||
{ text: '昨天', val: 'yesterday' },
|
||||
{ text: '最近7天', val: 'lately7' },
|
||||
{ text: '最近30天', val: 'lately30' },
|
||||
{ text: '本月', val: 'month' },
|
||||
{ text: '本年', val: 'year' }
|
||||
]
|
||||
}
|
||||
|
||||
export const statusList = {
|
||||
title: '状态',
|
||||
custom: true,
|
||||
fromTxt: [
|
||||
{ text: '全部', val: '' },
|
||||
{ text: '待审核', val: '0' },
|
||||
{ text: '审核已通过', val: '1' },
|
||||
{ text: '审核未通过', val: '2' }
|
||||
]
|
||||
}
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
<span class="mr20">订单编号:{{ orderDetailList.order_sn }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div v-if="is_spread != 1">
|
||||
<el-button
|
||||
v-if="orderDetailList.order_type != 0 && orderDetailList.status == 0"
|
||||
type="primary"
|
||||
|
|
@ -464,6 +464,10 @@ export default {
|
|||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
is_spread: {
|
||||
type: Number,
|
||||
default: 0,
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue