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
12eeb9de
Commit
12eeb9de
authored
Aug 29, 2024
by
yujinyao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
全部订单多选查询
parent
4daaff38
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
12 deletions
+14
-12
index.vue
src/components/RoutersSelector/index.vue
+2
-2
request.js
src/utils/request.js
+1
-1
index.vue
src/views/ecw/order/index.vue
+11
-9
No files found.
src/components/RoutersSelector/index.vue
View file @
12eeb9de
...
@@ -15,13 +15,13 @@
...
@@ -15,13 +15,13 @@
<el-option
v-for=
"item in countryList"
:key=
"item.id"
:label=
"$l(item, 'title')"
:value=
"item.id"
/>
<el-option
v-for=
"item in countryList"
:key=
"item.id"
:label=
"$l(item, 'title')"
:value=
"item.id"
/>
</el-select>
</el-select>
{{$t('目的
地
')}}:
{{$t('目的
城市
')}}:
<!--
<!--
<el-select :placeholder="$t('请选择目的地')" v-model="importCity" clearable>
<el-select :placeholder="$t('请选择目的地')" v-model="importCity" clearable>
<el-option v-for="item in importCityList" :key="item.id" :label="item.titleZh" :value="item.id" />
<el-option v-for="item in importCityList" :key="item.id" :label="item.titleZh" :value="item.id" />
</el-select>
</el-select>
-->
-->
<el-select
:placeholder=
"$t('请选择目的
地
')"
v-model=
"destCityId"
clearable
>
<el-select
:placeholder=
"$t('请选择目的
城市
')"
v-model=
"destCityId"
clearable
>
<el-option
v-for=
"item in AddressCity"
:key=
"item.shi"
:label=
"item.shiName"
:value=
"item.shi"
/>
<el-option
v-for=
"item in AddressCity"
:key=
"item.shi"
:label=
"item.shiName"
:value=
"item.shi"
/>
</el-select>
</el-select>
{{$t('目的仓')}}:
{{$t('目的仓')}}:
...
...
src/utils/request.js
View file @
12eeb9de
...
@@ -19,7 +19,7 @@ const service = axios.create({
...
@@ -19,7 +19,7 @@ const service = axios.create({
(
localStorage
.
VUE_APP_BASE_API
||
process
.
env
.
VUE_APP_BASE_API
)
+
(
localStorage
.
VUE_APP_BASE_API
||
process
.
env
.
VUE_APP_BASE_API
)
+
"
/admin-api/
"
,
// 此处的 /admin-api/ 地址,原因是后端的基础路径为 /admin-api/
"
/admin-api/
"
,
// 此处的 /admin-api/ 地址,原因是后端的基础路径为 /admin-api/
// 超时
// 超时
timeout
:
1000
*
3
0
,
timeout
:
1000
*
6
0
,
});
});
// 如果是生产环境则打印提示
// 如果是生产环境则打印提示
...
...
src/views/ecw/order/index.vue
View file @
12eeb9de
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
:placeholder=
"$t('请输入订单号、唛头、提单号')"
:placeholder=
"$t('请输入订单号、唛头、提单号')"
clearable
clearable
@
keyup.enter.native=
"handleQuery"
@
keyup.enter.native=
"handleQuery"
onkeyup=
"this.value=this.value.replace(/\s+/g, '')"
>
>
<template
slot=
"prepend"
>
<template
slot=
"prepend"
>
<dict-selector
<dict-selector
...
@@ -34,7 +35,7 @@
...
@@ -34,7 +35,7 @@
:placeholder=
"$t('发货人')"
:placeholder=
"$t('发货人')"
clearable
clearable
@
keyup.enter.native=
"handleQuery"
@
keyup.enter.native=
"handleQuery"
onkeyup=
"this.value=this.value.replace(/
(^\s*)|(\s*$)/g,
'')"
onkeyup=
"this.value=this.value.replace(/
\s+/g,
'')"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('收货人')"
prop=
"consigneeKey"
>
<el-form-item
:label=
"$t('收货人')"
prop=
"consigneeKey"
>
...
@@ -43,7 +44,7 @@
...
@@ -43,7 +44,7 @@
:placeholder=
"$t('收货人')"
:placeholder=
"$t('收货人')"
clearable
clearable
@
keyup.enter.native=
"handleQuery"
@
keyup.enter.native=
"handleQuery"
onkeyup=
"this.value=this.value.replace(/
(^\s*)|(\s*$)/g,
'')"
onkeyup=
"this.value=this.value.replace(/
\s+/g,
'')"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
""
>
<el-form-item
label=
""
>
...
@@ -213,7 +214,8 @@
...
@@ -213,7 +214,8 @@
<el-form-item
:label=
"$t('订单状态')"
prop=
"status"
>
<el-form-item
:label=
"$t('订单状态')"
prop=
"status"
>
<dict-selector
<dict-selector
:type=
"DICT_TYPE.ORDER_STATUS"
:type=
"DICT_TYPE.ORDER_STATUS"
v-model=
"queryParams.status"
multiple
v-model=
"queryParams.statusList"
@
keyup.enter.native=
"handleQuery"
@
keyup.enter.native=
"handleQuery"
:filter=
"statusDictFilter"
:filter=
"statusDictFilter"
clearable
clearable
...
@@ -261,7 +263,7 @@
...
@@ -261,7 +263,7 @@
:placeholder=
"$t('快递单号')"
:placeholder=
"$t('快递单号')"
clearable
clearable
@
keyup.enter.native=
"handleQuery"
@
keyup.enter.native=
"handleQuery"
onkeyup=
"this.value=this.value.replace(/
(^\s*)|(\s*$)/g,
'')"
onkeyup=
"this.value=this.value.replace(/
\s+/g,
'')"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('外部仓')"
prop=
"number"
>
<el-form-item
:label=
"$t('外部仓')"
prop=
"number"
>
...
@@ -281,7 +283,7 @@
...
@@ -281,7 +283,7 @@
<dict-selector
<dict-selector
:type=
"DICT_TYPE.ORDER_ABNORMAL_STATE"
:type=
"DICT_TYPE.ORDER_ABNORMAL_STATE"
multiple
multiple
v-model=
"queryParams.abnormalState"
v-model=
"queryParams.abnormalState
List
"
@
keyup.enter.native=
"handleQuery"
@
keyup.enter.native=
"handleQuery"
clearable
clearable
@
change=
"handleQuery"
@
change=
"handleQuery"
...
@@ -291,7 +293,7 @@
...
@@ -291,7 +293,7 @@
<dict-selector
<dict-selector
:type=
"DICT_TYPE.ECW_ORDER_APPROVAL_TYPE"
:type=
"DICT_TYPE.ECW_ORDER_APPROVAL_TYPE"
multiple
multiple
v-model=
"queryParams.auditType"
v-model=
"queryParams.auditType
List
"
@
keyup.enter.native=
"handleQuery"
@
keyup.enter.native=
"handleQuery"
clearable
clearable
@
change=
"handleQuery"
@
change=
"handleQuery"
...
@@ -1675,16 +1677,16 @@ export default {
...
@@ -1675,16 +1677,16 @@ export default {
}
}
//目的国
//目的国
if
(
this
.
destCountryId
!=
null
&&
this
.
destCountryId
!=
""
)
{
if
(
this
.
destCountryId
!=
null
&&
this
.
destCountryId
!=
""
)
{
queryParams
.
destCountryId
=
this
.
destCountryId
;
queryParams
.
destCountryId
s
=
this
.
destCountryId
;
}
}
if
(
this
.
objectiveId
!=
null
&&
this
.
objectiveId
!=
""
)
{
if
(
this
.
objectiveId
!=
null
&&
this
.
objectiveId
!=
""
)
{
//目的城市
//目的城市
queryParams
.
objectiveId
=
this
.
objectiveId
;
queryParams
.
objectiveId
s
=
this
.
objectiveId
;
}
}
if
(
this
.
destWarehouseId
!=
null
&&
this
.
destWarehouseId
!=
""
)
{
if
(
this
.
destWarehouseId
!=
null
&&
this
.
destWarehouseId
!=
""
)
{
//目的仓
//目的仓
queryParams
.
destWarehouseId
=
this
.
destWarehouseId
;
queryParams
.
destWarehouseId
s
=
this
.
destWarehouseId
;
}
}
return
queryParams
;
return
queryParams
;
...
...
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