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
6095b166
Commit
6095b166
authored
May 29, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
空运增加渠道筛选
parent
a24b6b1c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
29 deletions
+27
-29
index.vue
src/views/ecw/order/index.vue
+14
-2
penddingList.vue
src/views/ecw/order/penddingList.vue
+6
-0
stockingList.vue
src/views/ecw/order/stockingList.vue
+7
-27
No files found.
src/views/ecw/order/index.vue
View file @
6095b166
...
@@ -112,6 +112,10 @@
...
@@ -112,6 +112,10 @@
<el-option
:label=
"$t('海外仓')"
:value=
"2"
></el-option>
<el-option
:label=
"$t('海外仓')"
:value=
"2"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<!--空运多一个出货渠道筛选-->
<el-form-item
:label=
"$t('出货渠道')"
prop=
"channelId"
v-if=
"channelList.length"
>
<selector
:options=
"channelList"
:label-field=
"$l('name')"
value-field=
"channelId"
v-model=
"queryParams.channelId"
></selector>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
{{
$t
(
'
重置
'
)
}}
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
{{
$t
(
'
重置
'
)
}}
</el-button>
...
@@ -523,6 +527,7 @@ import PickupLog from './components/PickupLog'
...
@@ -523,6 +527,7 @@ import PickupLog from './components/PickupLog'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
SplitRevoke
from
"
@/views/ecw/order/components/SplitRevoke
"
;
import
SplitRevoke
from
"
@/views/ecw/order/components/SplitRevoke
"
;
import
{
getChannelList
}
from
"
@/api/ecw/channel
"
;
export
default
{
export
default
{
name
:
"
EcwOrderIndex
"
,
name
:
"
EcwOrderIndex
"
,
components
:
{
components
:
{
...
@@ -597,6 +602,8 @@ export default {
...
@@ -597,6 +602,8 @@ export default {
statistics
:
null
,
// 统计数据
statistics
:
null
,
// 统计数据
splitRevokeOrderId
:
null
,
// 撤销拆单的订单ID
splitRevokeOrderId
:
null
,
// 撤销拆单的订单ID
// 渠道列表,空运需要渠道筛选
channelList
:[]
};
};
},
},
watch
:{
watch
:{
...
@@ -645,9 +652,9 @@ export default {
...
@@ -645,9 +652,9 @@ export default {
}
}
return
queryParams
return
queryParams
},
},
batchWarehouseAdjustment
(){
/*
batchWarehouseAdjustment(){
return this.multipleSelection.length > 0 && this.multipleSelection.every(e => e.status === 5)
return this.multipleSelection.length > 0 && this.multipleSelection.every(e => e.status === 5)
},
},
*/
include
(){
include
(){
return
(
state
,
arr
)
=>
{
return
(
state
,
arr
)
=>
{
return
arr
.
indexOf
(
state
)
>
-
1
return
arr
.
indexOf
(
state
)
>
-
1
...
@@ -670,8 +677,13 @@ export default {
...
@@ -670,8 +677,13 @@ export default {
getWarehouseList
().
then
(
res
=>
this
.
warehouseList
=
res
.
data
)
getWarehouseList
().
then
(
res
=>
this
.
warehouseList
=
res
.
data
)
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
// 如果是空运(专线空运和海空联运)则获取渠道
if
(
this
.
transportId
==
3
||
this
.
transportId
==
4
){
getChannelList
().
then
(
res
=>
this
.
channelList
=
res
.
data
)
}
},
},
methods
:
{
methods
:
{
// 取消拆单申请
// 取消拆单申请
splitRevoke
(
row
){
splitRevoke
(
row
){
this
.
splitRevokeOrderId
=
row
.
orderId
this
.
splitRevokeOrderId
=
row
.
orderId
...
...
src/views/ecw/order/penddingList.vue
View file @
6095b166
...
@@ -92,6 +92,9 @@
...
@@ -92,6 +92,9 @@
<el-option
:label=
"$t('海外仓')"
:value=
"2"
></el-option>
<el-option
:label=
"$t('海外仓')"
:value=
"2"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('出货渠道')"
prop=
"number"
>
<selector
:options=
"channelList"
:label-field=
"$l('name')"
value-field=
"channelId"
v-model=
"queryParams.channelId"
></selector>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
{{
$t
(
'
重置
'
)
}}
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
{{
$t
(
'
重置
'
)
}}
</el-button>
...
@@ -228,6 +231,7 @@ import PickupLog from './components/PickupLog'
...
@@ -228,6 +231,7 @@ import PickupLog from './components/PickupLog'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
SplitRevoke
from
"
@/views/ecw/order/components/SplitRevoke
"
;
import
SplitRevoke
from
"
@/views/ecw/order/components/SplitRevoke
"
;
import
{
getChannelList
}
from
"
@/api/ecw/channel
"
;
export
default
{
export
default
{
name
:
"
EcwPeddingList
"
,
name
:
"
EcwPeddingList
"
,
components
:
{
components
:
{
...
@@ -274,6 +278,7 @@ export default {
...
@@ -274,6 +278,7 @@ export default {
rows
:
20
,
rows
:
20
,
},
},
currencyList
:[],
currencyList
:[],
channelList
:[]
};
};
},
},
watch
:{
watch
:{
...
@@ -311,6 +316,7 @@ export default {
...
@@ -311,6 +316,7 @@ export default {
getWarehouseList
().
then
(
res
=>
this
.
warehouseList
=
res
.
data
)
getWarehouseList
().
then
(
res
=>
this
.
warehouseList
=
res
.
data
)
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
getChannelList
().
then
(
res
=>
this
.
channelList
=
res
.
data
)
},
},
methods
:
{
methods
:
{
/** 查询列表 */
/** 查询列表 */
...
...
src/views/ecw/order/stockingList.vue
View file @
6095b166
...
@@ -92,6 +92,9 @@
...
@@ -92,6 +92,9 @@
<el-option
:label=
"$t('海外仓')"
:value=
"2"
></el-option>
<el-option
:label=
"$t('海外仓')"
:value=
"2"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('出货渠道')"
prop=
"number"
>
<selector
:options=
"channelList"
:label-field=
"$l('name')"
value-field=
"channelId"
v-model=
"queryParams.channelId"
></selector>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
{{
$t
(
'
重置
'
)
}}
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
{{
$t
(
'
重置
'
)
}}
</el-button>
...
@@ -189,33 +192,7 @@ import { getProductAttrList } from '@/api/ecw/productAttr'
...
@@ -189,33 +192,7 @@ import { getProductAttrList } from '@/api/ecw/productAttr'
import
CustomerSelector
from
'
@/components/CustomerSelector
'
import
CustomerSelector
from
'
@/components/CustomerSelector
'
import
specialNeeds
from
'
@/views/ecw/order/components/specialNeeds
'
;
import
specialNeeds
from
'
@/views/ecw/order/components/specialNeeds
'
;
import
{
import
{
getOrderPage
}
from
"
@/api/ecw/order
"
;
createOrder
,
updateOrder
,
deleteOrder
,
getOrder
,
getOrderPage
,
exportOrderExcel
,
orderSpecialNeed
,
cancelOrder
,
recoveryOrder
,
getMyOrderPage
,
deptOrderPage
,
orderStatistics
,
orderMyStatistics
,
orderDeptStatistics
,
orderExportSearch
,
orderExportMySearch
,
orderExportDeptSearch
,
exportAbnormal
,
exportHeavyOrder
,
exportReturnOrder
,
exportSaleRepay
,
exportCustomsDatas
,
exportShippingDatas
,
exportShipFee
,
exportUnload
}
from
"
@/api/ecw/order
"
;
import
PrintTag
from
'
./components/PrintTag
'
import
PrintTag
from
'
./components/PrintTag
'
import
PrintWarehouseReceipt
from
'
./components/PrintWarehouseReceipt
'
import
PrintWarehouseReceipt
from
'
./components/PrintWarehouseReceipt
'
import
PrintLadingBill
from
'
./components/PrintLadingBill
'
import
PrintLadingBill
from
'
./components/PrintLadingBill
'
...
@@ -229,6 +206,7 @@ import PickupLog from './components/PickupLog'
...
@@ -229,6 +206,7 @@ import PickupLog from './components/PickupLog'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
SplitRevoke
from
"
@/views/ecw/order/components/SplitRevoke
"
;
import
SplitRevoke
from
"
@/views/ecw/order/components/SplitRevoke
"
;
import
{
getChannelList
}
from
"
@/api/ecw/channel
"
;
export
default
{
export
default
{
name
:
"
EcwOrderStockinglist
"
,
name
:
"
EcwOrderStockinglist
"
,
components
:
{
components
:
{
...
@@ -275,6 +253,7 @@ export default {
...
@@ -275,6 +253,7 @@ export default {
rows
:
20
,
rows
:
20
,
},
},
currencyList
:[],
currencyList
:[],
channelList
:[]
};
};
},
},
watch
:{
watch
:{
...
@@ -312,6 +291,7 @@ export default {
...
@@ -312,6 +291,7 @@ export default {
getWarehouseList
().
then
(
res
=>
this
.
warehouseList
=
res
.
data
)
getWarehouseList
().
then
(
res
=>
this
.
warehouseList
=
res
.
data
)
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
getChannelList
().
then
(
res
=>
this
.
channelList
=
res
.
data
)
},
},
methods
:
{
methods
:
{
/** 查询列表 */
/** 查询列表 */
...
...
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