Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
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
罗超
SuperMan
Commits
3334ff8d
Commit
3334ff8d
authored
Nov 04, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增订单查询
parent
76eaf6a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
56 deletions
+41
-56
CommondityOrderList.vue
src/components/Buying/CommondityOrderList.vue
+41
-56
No files found.
src/components/Buying/CommondityOrderList.vue
View file @
3334ff8d
<
style
>
<
style
>
.CommondityOrderList
.el-button-group
.el-button
{
.CommondityOrderList
.el-button-group
.el-button
{
padding
:
5px
;
padding
:
5px
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
...
@@ -51,26 +52,38 @@
...
@@ -51,26 +52,38 @@
<div
class=
"clearfix"
></div>
<div
class=
"clearfix"
></div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<tr>
<th>
姓名
</th>
<th>
订单编号
</th>
<th>
账户
</th>
<th>
客户名称
</th>
<th>
手机号码
</th>
<th>
订单信息
</th>
<th>
护照
</th>
<th>
物流信息
</th>
<th>
性别
</th>
<th>
同行名称/同行返佣
</th>
<th>
状态
</th>
<th>
销售名称
</th>
<th>
创建时间
</th>
<th>
公司返佣
</th>
<th>
领队返佣
</th>
<th>
{{
$t
(
'system.table_operation'
)
}}
</th>
<th>
{{
$t
(
'system.table_operation'
)
}}
</th>
</tr>
</tr>
<tr
v-for=
"item in dataList"
>
<tbody
v-for=
"item in dataList"
>
<td>
{{
item
.
AccountName
}}
</td>
<tr>
<td>
{{
item
.
LoginAccount
}}
</td>
<td>
{{
item
.
CorderId
}}
</td>
<td>
{{
item
.
MobilePhone
}}
</td>
<td>
{{
item
.
AccountName
}}
</td>
<td>
{{
item
.
PassportNo
}}
</td>
<td>
<td>
{{
item
.
SexStr
}}
</td>
<p>
商品名称:
{{
item
.
CommodityName
}}
</p>
<td>
{{
item
.
AccountStatusStr
}}
</td>
<p>
价格信息:
{{
item
.
CommodityNum
}}
(数量) *
{{
item
.
TradePrice
}}
(单价)-
<td>
{{
item
.
CreateTimeStr
}}
</td>
{{
item
.
DeductionPrice
}}
(抵扣)=
{{
item
.
PreferPrice
}}
</p>
<td>
<p>
订单状态:
{{
item
.
COrderStateStr
}}
下单时间:
{{
item
.
CreateTimeStr
}}
</p>
<el-button-group>
</td>
<template
v-if=
"item.AccountStatus==0"
>
<td>
<p>
收货地址:
{{
item
.
GuestProvince
}}{{
item
.
GuestCity
}}{{
item
.
GuestDistrictCounty
}}{{
item
.
DetaileAddress
}}
</p>
<p>
联系人:
{{
item
.
LinkMan
}}
</p>
<p>
联系电话:
{{
item
.
LinkTel
}}
</p>
</td>
<td>
{{
item
.
CustomerName
}}
/
<span
style=
"color:red;"
>
¥
{{
item
.
CustomerCommission
}}
</span></td>
<td>
{{
item
.
SaleName
}}
</td>
<td>
{{
item
.
CompanyCommission
}}
</td>
<td>
{{
item
.
LeaderCommission
}}
</td>
<td>
<el-button-group>
<!--
<template
v-if=
"item.AccountStatus==0"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"禁用"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"禁用"
placement=
"top"
>
<el-button
type=
"primary"
size=
"mini"
icon=
"iconfont icon-jinyong"
@
click=
"SetAccountStatus(item.Id,1)"
>
<el-button
type=
"primary"
size=
"mini"
icon=
"iconfont icon-jinyong"
@
click=
"SetAccountStatus(item.Id,1)"
>
</el-button>
</el-button>
...
@@ -85,13 +98,14 @@
...
@@ -85,13 +98,14 @@
<el-button
type=
"primary"
size=
"mini"
icon=
"iconfont icon-qidong"
@
click=
"SetAccountStatus(item.Id,0)"
>
<el-button
type=
"primary"
size=
"mini"
icon=
"iconfont icon-qidong"
@
click=
"SetAccountStatus(item.Id,0)"
>
</el-button>
</el-button>
</el-tooltip>
</el-tooltip>
</
template
>
</
template
>
-->
</el-button-group>
</el-button-group>
</td>
</td>
</tr>
</tr>
</tbody>
<tfoot>
<tfoot>
<tr>
<tr>
<td
colspan=
"
8
"
>
<td
colspan=
"
9
"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
layout=
"total,prev, pager, next, jumper"
<el-pagination
background
@
current-change=
"handleCurrentChange"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"msg.total"
>
:page-size=
"msg.pageSize"
:total=
"msg.total"
>
</el-pagination>
</el-pagination>
...
@@ -107,11 +121,6 @@
...
@@ -107,11 +121,6 @@
return
{
return
{
//查询参数
//查询参数
msg
:
{
msg
:
{
AccountName
:
""
,
//姓名
PassportNo
:
""
,
//护照
MobilePhone
:
""
,
//手机号码
AccountStatus
:
-
1
,
//状态,
LoginAccount
:
""
,
//登录账户
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
10
,
pageSize
:
10
,
total
:
0
,
total
:
0
,
...
@@ -137,42 +146,18 @@
...
@@ -137,42 +146,18 @@
//获取数据
//获取数据
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
apipost
(
"Shop
Guest_get_GetGuestAccount
PageListService"
,
this
.
msg
,
res
=>
{
this
.
apipost
(
"Shop
Order_get_GetCommodityOrder
PageListService"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
console
.
log
(
"this.dataList"
,
this
.
dataList
);
this
.
msg
.
total
=
res
.
data
.
data
.
count
;
this
.
msg
.
total
=
res
.
data
.
data
.
count
;
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
},
null
);
},
null
);
},
},
//修改账户类型
SetAccountStatus
(
Id
,
AccountStatus
)
{
this
.
editMsg
.
Id
=
Id
;
this
.
editMsg
.
AccountStatus
=
AccountStatus
;
var
tipStr
=
""
;
if
(
AccountStatus
==
0
)
{
tipStr
=
"启用"
;
}
else
if
(
AccountStatus
==
1
)
{
tipStr
=
"禁用"
;
}
else
if
(
AccountStatus
==
2
)
{
tipStr
=
"删除"
;
}
var
that
=
this
;
this
.
Confirm
(
"是否["
+
tipStr
+
"]此账户?"
,
function
()
{
that
.
apipost
(
"ShopGuest_post_SetGuestAccountStatusService"
,
that
.
editMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
that
.
editMsg
.
Id
=
0
;
that
.
editMsg
.
AccountStatus
=
0
;
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
},
null
);
});
}
}
}
};
};
...
...
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