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
b4252af0
Commit
b4252af0
authored
Nov 04, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商品订单页面修改
parent
3334ff8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
65 additions
and
15 deletions
+65
-15
CommondityOrderList.vue
src/components/Buying/CommondityOrderList.vue
+65
-15
No files found.
src/components/Buying/CommondityOrderList.vue
View file @
b4252af0
...
@@ -11,32 +11,36 @@
...
@@ -11,32 +11,36 @@
<ul
class=
"user_time_picker"
>
<ul
class=
"user_time_picker"
>
<li>
<li>
<span>
<span>
<em>
姓名
</em>
<em>
旅客名称
</em>
<el-input
v-model=
"msg.AccountName"
@
keyup
.
enter
.
native=
"getList"
></el-input>
<el-input
v-model=
"msg.AccountName"
@
keyup
.
enter
.
native=
"getList"
></el-input>
</span>
</span>
</li>
</li>
<li>
<li>
<span>
<span>
<em>
护照号
</em>
<em>
同行
</em>
<el-input
v-model=
"msg.PassportNo"
@
keyup
.
enter
.
native=
"getList"
></el-input>
<el-select
class=
"w150"
v-model=
"msg.CustomerId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
</span>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"SelectDefaultValue"
>
</li>
</el-option>
<li>
<el-option
v-for=
"item in CustomerList"
:label=
"item.CustomerName"
:value=
"item.CustomerId"
<span>
:key=
"item.CustomerId"
></el-option>
<em>
账户
</em>
</el-select>
<el-input
v-model=
"msg.LoginAccount"
@
keyup
.
enter
.
native=
"getList"
></el-input>
</span>
</span>
</li>
</li>
<li>
<li>
<span>
<span>
<em>
手机号码
</em>
<em>
销售
</em>
<el-input
v-model=
"msg.MobilePhone"
@
keyup
.
enter
.
native=
"getList"
></el-input>
<el-select
class=
"w150"
v-model=
"msg.SaleId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"SelectDefaultValue"
>
</el-option>
<el-option
v-for=
"item in EmployeeList"
:label=
"item.EmName"
:value=
"item.EmployeeId"
:key=
"item.EmployeeId"
></el-option>
</el-select>
</span>
</span>
</li>
</li>
<li>
<li>
<span>
<span>
<em>
{{
$t
(
'admin.admin_status'
)
}}
</em>
<em>
订单状态
</em>
<el-select
filterable
v-model=
"msg.
AccountStatus
"
>
<el-select
filterable
v-model=
"msg.
COrderState
"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"-1"
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"-1"
></el-option>
<el-option
label=
"正常"
:value=
"0"
></el-option>
<el-option
label=
"正常"
:value=
"0"
></el-option>
<el-option
label=
"禁用"
:value=
"1"
></el-option>
<el-option
label=
"禁用"
:value=
"1"
></el-option>
...
@@ -121,6 +125,10 @@
...
@@ -121,6 +125,10 @@
return
{
return
{
//查询参数
//查询参数
msg
:
{
msg
:
{
AccountName
:
""
,
//旅客名称
CustomerId
:
0
,
//同行编号
SaleId
:
0
,
//销售编号
COrderState
:
-
1
,
//订单状态
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
10
,
pageSize
:
10
,
total
:
0
,
total
:
0
,
...
@@ -131,10 +139,18 @@
...
@@ -131,10 +139,18 @@
editMsg
:
{
editMsg
:
{
Id
:
0
,
Id
:
0
,
AccountStatus
:
0
,
AccountStatus
:
0
,
}
},
//下拉框默认值
SelectDefaultValue
:
0
,
//员工列表
EmployeeList
:
[],
//客户列表
CustomerList
:
[],
};
};
},
},
mounted
()
{
mounted
()
{
this
.
getEmployeeList
();
this
.
getCustomerList
();
this
.
getList
();
this
.
getList
();
},
},
filters
:
{},
filters
:
{},
...
@@ -143,6 +159,41 @@
...
@@ -143,6 +159,41 @@
this
.
msg
.
pageIndex
=
val
;
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
this
.
getList
();
},
},
//根据当前员工所在部门获取该部门及子部门员工信息
getEmployeeList
()
{
let
userInfo
=
this
.
getLocalStorage
()
let
msg
=
{
GroupId
:
userInfo
.
RB_Group_id
,
BranchId
:
'-1'
,
DepartmentId
:
'-1'
,
PostId
:
'-1'
,
IsLeave
:
'0'
}
this
.
apipost
(
'admin_get_EmployeeGetList'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
EmployeeList
=
res
.
data
.
data
;
}
},
err
=>
{}
)
},
//所有客户信息
getCustomerList
()
{
let
msg
=
{
CustomerName
:
""
,
}
this
.
apipost
(
'app_customer_GetAllListByGroupId'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
CustomerList
=
res
.
data
.
data
;
}
},
err
=>
{}
)
},
//获取数据
//获取数据
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
...
@@ -150,7 +201,6 @@
...
@@ -150,7 +201,6 @@
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
);
...
...
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