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
c4d4b1cc
Commit
c4d4b1cc
authored
Sep 16, 2022
by
黄卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单号提单号检索
parent
77044bcf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
3 deletions
+51
-3
index.vue
src/views/ecw/customerComplaint/index.vue
+51
-3
No files found.
src/views/ecw/customerComplaint/index.vue
View file @
c4d4b1cc
...
...
@@ -112,10 +112,38 @@
</el-select>
</el-form-item>
<el-form-item
label=
"订单号"
prop=
"orderId"
>
<el-input
v-model=
"form.orderId"
placeholder=
"请输入订单号"
/>
<el-select
v-model=
"form.orderId"
filterable
remote
reserve-keyword
placeholder=
"请输入订单号"
:remote-method=
"getOrderList"
:loading=
"loading"
>
<el-option
v-for=
"item in orderList"
:key=
"item.value"
:label=
"item.value"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"提单号"
prop=
"ladingbillId"
>
<el-input
v-model=
"form.ladingbillId"
placeholder=
"请输入提单号"
/>
<el-select
v-model=
"form.ladingbillId"
filterable
remote
reserve-keyword
placeholder=
"请输入提单号"
:remote-method=
"getBillList"
:loading=
"loading"
>
<el-option
v-for=
"item in billList"
:key=
"item.value"
:label=
"item.value"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"投诉内容"
prop=
"content"
>
<el-input
v-model=
"form.content"
type=
"textarea"
placeholder=
"请输入内容"
/>
...
...
@@ -186,6 +214,7 @@ import {getCustomerSelect} from '@/api/ecw/customer'
import
CustomerFollow
from
"
../../../components/CustomerFollow
"
import
DictSelector
from
'
@/components/DictSelector
'
import
{
DICT_TYPE
,
getDictDataLabel
,
getDictDatas
}
from
'
@/utils/dict
'
import
{
getBillNoSearch
,
getOrderNoSearch
}
from
'
@/api/ecw/order
'
export
default
{
name
:
"
CustomerComplaint
"
,
...
...
@@ -248,7 +277,10 @@ export default {
// 处理
handle
:
{
dialogVisible
:
false
}
},
billList
:
[],
orderList
:
[]
};
},
created
()
{
...
...
@@ -259,6 +291,22 @@ export default {
})
},
methods
:
{
getBillList
(
key
){
getBillNoSearch
({
key
,
pageNo
:
1
,
pageSize
:
20
}).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
billList
=
r
.
data
.
list
}
})
},
getOrderList
(
key
){
getOrderNoSearch
({
key
,
pageNo
:
1
,
pageSize
:
20
}).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
orderList
=
r
.
data
.
list
}
})
},
/** 查询列表 */
getList
()
{
this
.
loading
=
true
;
...
...
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