添加:分销订单管理

This commit is contained in:
wuhui_zzw 2023-11-16 14:22:51 +08:00
parent 49299715bc
commit 6ede4db383
5 changed files with 1231 additions and 153 deletions

View File

@ -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 订单 -- 卡片

View File

@ -10,5 +10,3 @@ export function setPromoterConfig(data) {
return request.get('promoter/set_config',data)
}

30
src/libs/constants.js Normal file
View File

@ -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' }
]
}

View File

@ -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