Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
f341cddc
Commit
f341cddc
authored
Jul 05, 2022
by
ylpmty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单列表
parent
a93762ea
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
496 additions
and
10 deletions
+496
-10
order.js
src/api/ecw/order.js
+54
-0
dict.js
src/utils/dict.js
+14
-10
index.vue
src/views/ecw/order/index.vue
+428
-0
No files found.
src/api/ecw/order.js
0 → 100644
View file @
f341cddc
import
request
from
'
@/utils/request
'
// 创建订单
export
function
createOrder
(
data
)
{
return
request
({
url
:
'
/ecw/order/create
'
,
method
:
'
post
'
,
data
:
data
})
}
// 更新订单
export
function
updateOrder
(
data
)
{
return
request
({
url
:
'
/ecw/order/update
'
,
method
:
'
put
'
,
data
:
data
})
}
// 删除订单
export
function
deleteOrder
(
id
)
{
return
request
({
url
:
'
/ecw/order/delete?id=
'
+
id
,
method
:
'
delete
'
})
}
// 获得订单
export
function
getOrder
(
id
)
{
return
request
({
url
:
'
/ecw/order/get?id=
'
+
id
,
method
:
'
get
'
})
}
// 获得订单分页
export
function
getOrderPage
(
query
)
{
return
request
({
url
:
'
/ecw/order/page
'
,
method
:
'
get
'
,
params
:
query
})
}
// 导出订单 Excel
export
function
exportOrderExcel
(
query
)
{
return
request
({
url
:
'
/ecw/order/export-excel
'
,
method
:
'
get
'
,
params
:
query
,
responseType
:
'
blob
'
})
}
src/utils/dict.js
View file @
f341cddc
...
...
@@ -77,7 +77,7 @@ export const DICT_TYPE = {
ECW_COUPON_COST_TYPE
:
'
coupon_cost_type
'
,
// 优惠券费用类型
ECW_COUPON_OVERDUE_STATUS
:
'
coupon_overdue_status
'
,
// 优惠券状态
ECW_COUPON_PUTON_STATUS
:
'
coupon_puton_status
'
,
ECW_SUITABLE_USER_TYPE
:
'
suitable_user_type
'
,
// 适用用户类型
ECW_SUITABLE_USER_TYPE
:
'
suitable_user_type
'
,
// 适用用户类型
ECW_SUITABLE_LINE_TYPE
:
'
suitable_line_type
'
,
// 适用线路类型
ECW_SUITABLE_PROD_TYPE
:
'
suitable_prod_type
'
,
// 适用产品类型
ECW_ORDER_ATTR
:
'
order_attr
'
,
// 订单属性
...
...
@@ -117,18 +117,22 @@ export const DICT_TYPE = {
IS_DEFAULT
:
'
is_default
'
,
// 默认联系人
CUSTOMER_FOLLOW_TYPE
:
'
customer_follow_type
'
,
// 跟进类型
CUSTOMER_FOLLOW_METHOD
:
'
customer_follow_method
'
,
// 跟进方式
COMMISSION_PRODUCT_APPROVAL
:
'
commission_product_approval
'
,
//佣金备案
SHIPPING_DECLARATION_TYPE
:
'
shipping_declaration_type
'
,
//出货报关方式(与订单报关方式相同)
COMMISSION_TYPE
:
'
commission_type
'
,
//佣金类型
COMMISSION_DARK_TYPE
:
'
commission_dark_type
'
,
//暗涌类型
COMMISSION_CURRENCY_TYPE
:
'
commission_currency_type
'
,
//佣金货币类型
COMMISSION_UNIT
:
'
commission_unit
'
,
//佣金货物单位
ECW_PORT_TYPE
:
'
port_type
'
,
//港口类型
CERTIFICATE_TYPE
:
'
certificate_type
'
,
//证件类型
COMMISSION_PRODUCT_APPROVAL
:
'
commission_product_approval
'
,
//佣金备案
SHIPPING_DECLARATION_TYPE
:
'
shipping_declaration_type
'
,
//出货报关方式(与订单报关方式相同)
COMMISSION_TYPE
:
'
commission_type
'
,
//佣金类型
COMMISSION_DARK_TYPE
:
'
commission_dark_type
'
,
//暗涌类型
COMMISSION_CURRENCY_TYPE
:
'
commission_currency_type
'
,
//佣金货币类型
COMMISSION_UNIT
:
'
commission_unit
'
,
//佣金货物单位
ECW_PORT_TYPE
:
'
port_type
'
,
//港口类型
CERTIFICATE_TYPE
:
'
certificate_type
'
,
//证件类型
//customer
CUSTOMER_CREDIT_RULE_TYPE
:
'
customer_credit_rule_type
'
,
CUSTOMER_LEVEL_RULE_TYPE
:
'
customer_level_rule_type
'
,
// order
ORDER_TYPE
:
'
order_type
'
,
// 订单类型
PRODUCT_RECORD_ATTRIBUTE
:
'
product_record_attribute
'
,
//产品备案属性
CONTROL_GOODS_STATUS
:
'
control_goods_status
'
,
//控货状态
DISBURSEMENT_TYPE
:
'
disbursement_type
'
//垫付类型
}
/**
...
...
src/views/ecw/order/index.vue
0 → 100644
View file @
f341cddc
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment