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
1ea36fb9
Commit
1ea36fb9
authored
Oct 24, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
86cc2695
d4efe0fc
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
178 additions
and
44 deletions
+178
-44
pkgPage.vue
src/views/ecw/box/shippingAir/nodePage/mergePkg/pkgPage.vue
+1
-1
unPkgPage.vue
...views/ecw/box/shippingAir/nodePage/mergePkg/unPkgPage.vue
+1
-1
packaging-type.vue
src/views/ecw/channel/componrnts/packaging-type.vue
+24
-17
edit.vue
src/views/ecw/offer/edit.vue
+5
-5
detail.vue
src/views/ecw/order/detail.vue
+79
-11
edit.vue
src/views/ecw/order/edit.vue
+4
-4
index.vue
src/views/ecw/order/exception/index.vue
+14
-1
penddingList.vue
src/views/ecw/order/penddingList.vue
+34
-2
stockingList.vue
src/views/ecw/order/stockingList.vue
+14
-1
success.vue
src/views/ecw/order/success.vue
+2
-1
No files found.
src/views/ecw/box/shippingAir/nodePage/mergePkg/pkgPage.vue
View file @
1ea36fb9
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
<el-table-column
:label=
"$t('储位')"
align=
"center"
prop=
"positionNo"
width=
"250px"
>
<el-table-column
:label=
"$t('储位')"
align=
"center"
prop=
"positionNo"
width=
"250px"
>
<
template
slot-scope=
"{ row }"
>
<
template
slot-scope=
"{ row }"
>
<div
v-for=
"item in row.orderItemDOS"
:key=
"item.orderItemId"
>
<div
v-for=
"item in row.orderItemDOS"
:key=
"item.orderItemId"
>
{{
notset
(
getpositionNo
(
item
.
warehouseInInfoVO
.
orderLocationMergeVOSet
))
}}
{{
(
item
.
warehouseInInfoVO
&&
item
.
warehouseInInfoVO
.
orderLocationMergeVOSet
)?
notset
(
getpositionNo
(
item
.
warehouseInInfoVO
.
orderLocationMergeVOSet
)):
''
}}
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
...
src/views/ecw/box/shippingAir/nodePage/mergePkg/unPkgPage.vue
View file @
1ea36fb9
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
<el-table-column
:label=
"$t('储位')"
align=
"center"
prop=
"positionNo"
width=
"250px"
>
<el-table-column
:label=
"$t('储位')"
align=
"center"
prop=
"positionNo"
width=
"250px"
>
<
template
slot-scope=
"{ row }"
>
<
template
slot-scope=
"{ row }"
>
<div
v-for=
"item in row.orderItemDOS"
:key=
"item.orderItemId"
>
<div
v-for=
"item in row.orderItemDOS"
:key=
"item.orderItemId"
>
{{
notset
(
getpositionNo
(
item
.
warehouseInInfoVO
.
orderLocationMergeVOSet
))
}}
{{
(
item
.
warehouseInInfoVO
&&
item
.
warehouseInInfoVO
.
orderLocationMergeVOSet
)?
notset
(
getpositionNo
(
item
.
warehouseInInfoVO
.
orderLocationMergeVOSet
)):
''
}}
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
...
src/views/ecw/channel/componrnts/packaging-type.vue
View file @
1ea36fb9
<
template
>
<
template
>
<div>
<div
class=
"wrapper"
>
<template
v-if=
"!readonly"
>
<template
v-if=
"!readonly"
>
<el-row
type=
"flex"
align=
"align"
:gutter=
"10"
>
<el-row
type=
"flex"
align=
"align"
:gutter=
"10"
>
<el-col
:span=
"6"
>
空运订单重量上限
(kg)
</el-col>
<el-col
:span=
"6"
>
{{
$t
(
'
空运订单重量上限
'
)
}}
(kg)
</el-col>
<el-col
:span=
"6"
><el-input
v-model=
"value1.airWeightLimit"
></el-input></el-col>
<el-col
:span=
"6"
><el-input
v-model=
"value1.airWeightLimit"
></el-input></el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<slot></slot>
<slot></slot>
</el-col>
</el-col>
</el-row>
</el-row>
<h1>
空运清关费
</h1>
<h1>
{{
$t
(
'
空运清关费
'
)
}}
</h1>
</
template
>
</
template
>
<div
v-for=
"(item ,index) in value1[keyArr]"
>
<div
v-for=
"(item ,index) in value1[keyArr]"
>
<el-row
:gutter=
"10"
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"
4
"
>
<el-col
:span=
"
5
"
>
第{{index + 1 }}阶梯定价方案
:
{{$t('第{index}阶梯定价方案', {index: index+1})}}
:
</el-col>
</el-col>
<el-col
:span=
"6"
v-if=
"!readonly"
>
<el-col
:span=
"6"
v-if=
"!readonly"
>
<el-button
type=
"primary"
@
click=
"addInterval"
v-if=
"index === 0"
>
<el-button
type=
"primary"
@
click=
"addInterval"
v-if=
"index === 0"
>
添加区间
{{$t('添加区间')}}
</el-button>
</el-button>
<el-button
type=
"danger"
@
click=
"deleteFn(index)"
v-else
>
<el-button
type=
"danger"
@
click=
"deleteFn(index)"
v-else
>
删除
{{$t('删除')}}
</el-button>
</el-button>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"10"
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"
3
"
>
<el-col
:span=
"
5
"
>
第{{index + 1}}阶梯
{{$t('第{index}阶梯', {index: index+1})}}
</el-col>
</el-col>
<el-col
:span=
"
9
"
>
<el-col
:span=
"
15
"
>
<div
style=
"display: flex;align-items: center;"
>
<div
style=
"display: flex;align-items: center;"
>
<el-input
v-model=
"item.startNum"
></el-input>
-
<el-input
v-model=
"item.endNum"
></el-input
>
/
<el-input
v-model=
"item.startNum"
class=
"mr-10"
></el-input>
<span
class=
"mr-10"
>
-
</span>
<el-input
v-model=
"item.endNum"
class=
"mr-10"
></el-input
>
<span
class=
"mr-10"
>
/
</span>
<weight-select
@
change=
"changeWeight"
:disabled=
"index > 0"
v-model=
"item.weightUnit"
:options=
"unitList"
></weight-select>
<weight-select
@
change=
"changeWeight"
:disabled=
"index > 0"
v-model=
"item.weightUnit"
:options=
"unitList"
></weight-select>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"10"
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"
3
"
>
<el-col
:span=
"
5
"
>
空运清关费
{{$t('空运清关费')}}
</el-col>
</el-col>
<el-col
:span=
"
9
"
>
<el-col
:span=
"
15
"
>
<div
style=
"display: flex;align-items: center;"
>
<div
style=
"display: flex;align-items: center;"
>
<el-input
v-model=
"item.clearancePrice"
></el-input>
<el-input
v-model=
"item.clearancePrice"
class=
"mr-10"
></el-input>
<currency-select
@
change=
"setCurrency"
:disabled=
"index > 0"
:options=
"currencyList"
v-model=
"item.clearancePriceUnit"
></currency-select>
<currency-select
class=
"mr-10"
@
change=
"setCurrency"
:disabled=
"index > 0"
:options=
"currencyList"
v-model=
"item.clearancePriceUnit"
></currency-select>
/
<weight-select
:disabled=
"index > 0"
@
change=
"setAirFreightWeight"
:options=
"unitList"
v-model=
"item.clearanceVolumeUnit"
></weight-select>
<span
class=
"mr-10"
>
/
</span>
<weight-select
:disabled=
"index > 0"
@
change=
"setAirFreightWeight"
:options=
"unitList"
v-model=
"item.clearanceVolumeUnit"
></weight-select>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -153,6 +157,9 @@ export default {
...
@@ -153,6 +157,9 @@ export default {
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.wrapper
{
font-size
:
14px
;
}
.el-row
{
.el-row
{
margin-bottom
:
10px
;
margin-bottom
:
10px
;
display
:
flex
;
display
:
flex
;
...
...
src/views/ecw/offer/edit.vue
View file @
1ea36fb9
...
@@ -1103,11 +1103,11 @@ export default {
...
@@ -1103,11 +1103,11 @@ export default {
this
.
form
.
prodCreateReqVOList
.
forEach
(
item
=>
{
this
.
form
.
prodCreateReqVOList
.
forEach
(
item
=>
{
let
tmp
=
{...
item
}
let
tmp
=
{...
item
}
tmp
.
prodAttrIds
=
tmp
.
prodAttrArr
.
join
(
'
,
'
)
tmp
.
prodAttrIds
=
tmp
.
prodAttrArr
.
join
(
'
,
'
)
if
(
!
tmp
.
volume
)
tmp
.
volume
=
1
if
(
!
tmp
.
volume
)
tmp
.
volume
=
0
if
(
!
tmp
.
weight
)
tmp
.
weight
=
1
if
(
!
tmp
.
weight
)
tmp
.
weight
=
0
if
(
!
tmp
.
quantity
)
tmp
.
quantity
=
1
if
(
!
tmp
.
quantity
)
tmp
.
quantity
=
0
if
(
!
tmp
.
num
)
tmp
.
num
=
1
if
(
!
tmp
.
num
)
tmp
.
num
=
0
if
(
!
tmp
.
worth
)
tmp
.
worth
=
1
if
(
!
tmp
.
worth
)
tmp
.
worth
=
0
arr
.
push
(
tmp
)
arr
.
push
(
tmp
)
})
})
return
arr
return
arr
...
...
src/views/ecw/order/detail.vue
View file @
1ea36fb9
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
<el-descriptions-item
:label=
"$t('运输方式')"
>
<el-descriptions-item
:label=
"$t('运输方式')"
>
<dict-tag
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"order.transportId"
/>
<dict-tag
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"order.transportId"
/>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
v-if=
"getDictData(DICT_TYPE.ECW_TRANSPORT_TYPE, order.transportId).cssClass == 'channel'"
:label=
"$t('出货渠道')"
>
{{channelName}}
</el-descriptions-item>
<el-descriptions-item
v-if=
"getDictData(DICT_TYPE.ECW_TRANSPORT_TYPE, order.transportId).cssClass == 'channel'"
:label=
"$t('出货渠道')"
>
{{
order.
channelName}}
</el-descriptions-item>
</el-descriptions>
</el-descriptions>
</el-card>
</el-card>
...
@@ -164,6 +164,36 @@
...
@@ -164,6 +164,36 @@
</el-descriptions>
</el-descriptions>
</el-card>
</el-card>
<el-card
class=
"card"
v-if=
"[3,4].indexOf(+order.transportId) > -1"
>
<el-descriptions
class=
"mr-10"
border
:title=
"$t('空运专线')"
:column=
"2"
:labelStyle=
"{width:'110px'}"
:contentStyle=
"{width:'150px'}"
>
<el-descriptions-item
:label=
"$t('是否双清')"
>
<dict-tag
:type=
"DICT_TYPE.ECW_DOUBLE_CLEAR"
:value=
"order.doubleClear"
/>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('航空公司')"
>
{{ order.companyName||'' }}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('清关证书')"
>
{{order.isSingleTicketTransport? this.$t('是'):this.$t('否')}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('清关证书备注')"
>
{{ order.customsClearCertRemarks }}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('是否拆包')"
>
{{order.isUnpack? this.$t('是'):this.$t('否')}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('单票立刻转运')"
>
{{order.isSingleTicketTransport? this.$t('是'):this.$t('否')}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('特殊要求')"
>
<
template
v-if=
"order.packageType"
>
<dict-tag
v-for=
"packageType in order.packageType.split(',').filter(item => !!item)"
class=
"mr-10"
:key=
"packageType"
:type=
"DICT_TYPE.ORDER_SPECIAL_NEEDS"
:value=
"packageType"
/>
</
template
>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('特殊要求备注')"
>
{{order.packageRemarks}}
</el-descriptions-item>
</el-descriptions>
</el-card>
<el-card
class=
"card"
>
<el-card
class=
"card"
>
<el-tabs
v-model=
"activeName"
>
<el-tabs
v-model=
"activeName"
>
<el-tab-pane
:label=
"$t('货物详情')"
name=
"first"
>
<el-tab-pane
:label=
"$t('货物详情')"
name=
"first"
>
...
@@ -179,6 +209,11 @@
...
@@ -179,6 +209,11 @@
<dict-tag
v-else
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"row.brandType"
/>
<dict-tag
v-else
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"row.brandType"
/>
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"brand"
:label=
"$t('特性')"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
{{
showAttrText
(
row
.
warehouseInInfoVO
?
row
.
warehouseInProdAttrIds
:
row
.
prodAttrIds
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"num"
:label=
"$t('填单件数')"
width=
"90px"
/>
<el-table-column
prop=
"num"
:label=
"$t('填单件数')"
width=
"90px"
/>
<el-table-column
prop=
"sumNum"
:label=
"$t('入仓件数')"
width=
"90px"
>
<el-table-column
prop=
"sumNum"
:label=
"$t('入仓件数')"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
<
template
slot-scope=
"{row}"
>
...
@@ -415,7 +450,12 @@
...
@@ -415,7 +450,12 @@
<
/div
>
<
/div
>
<
/el-col
>
<
/el-col
>
<
el
-
col
:
span
=
"
12
"
v
-
if
=
"
feeDetail.charging != 1
"
>
<
el
-
col
:
span
=
"
12
"
v
-
if
=
"
feeDetail.charging != 1
"
>
<
div
>
{{
$t
(
'
清关费
'
)
}}
<
/div
>
<
div
>
{{
$t
(
'
清关费
'
)
}}
<
template
v
-
if
=
"
order.transportId == 3 || order.transportId == 4
"
>
{{
$t
(
'
来自{source
}
'
,
{
source
:
feeDetail
.
airClearanceSource
+
feeDetail
.
sourceName
}
)
}}
<
/template
>
<
/div
>
<
div
v
-
for
=
"
item in feeDetail.clearance
"
>
<
div
v
-
for
=
"
item in feeDetail.clearance
"
>
{{
item
.
label
}}
:
{{
item
.
value
}}
{{
item
.
label
}}
:
{{
item
.
value
}}
<
template
v
-
if
=
"
item.currency
"
>
<
template
v
-
if
=
"
item.currency
"
>
...
@@ -493,6 +533,8 @@ import FeeDetail from "@/views/ecw/order/components/FeeDetail.vue";
...
@@ -493,6 +533,8 @@ import FeeDetail from "@/views/ecw/order/components/FeeDetail.vue";
import
PackHistory
from
'
./components/PackHistory
'
;
import
PackHistory
from
'
./components/PackHistory
'
;
import
PackHistoryDetail
from
'
./components/PackHistoryDetail
'
;
import
PackHistoryDetail
from
'
./components/PackHistoryDetail
'
;
import
{
getOfferCheck
}
from
'
@/api/ecw/offer
'
import
{
getOfferCheck
}
from
'
@/api/ecw/offer
'
import
{
getSupplier
}
from
"
@/api/ecw/supplier
"
;
import
{
getProductAttrList
}
from
"
@/api/ecw/productAttr
"
;
export
default
{
export
default
{
name
:
"
detail
"
,
name
:
"
detail
"
,
...
@@ -549,7 +591,7 @@ export default {
...
@@ -549,7 +591,7 @@ export default {
showFeeSummary
:
false
,
// 是否显示费用汇总
showFeeSummary
:
false
,
// 是否显示费用汇总
shopPackId
:
null
,
//显示打包历史的ID
shopPackId
:
null
,
//显示打包历史的ID
packAfterData
:
null
,
//显示打包历史详情
packAfterData
:
null
,
//显示打包历史详情
attrList
:
[]
}
}
}
,
}
,
computed
:{
computed
:{
...
@@ -585,6 +627,18 @@ export default {
...
@@ -585,6 +627,18 @@ export default {
// 判断用户是否有查看客户详情的权限
// 判断用户是否有查看客户详情的权限
hasCustomerDetailPermi
(){
hasCustomerDetailPermi
(){
return
checkPermi
([
'
ecw:customer:index-query
'
])
return
checkPermi
([
'
ecw:customer:index-query
'
])
}
,
// 显示特性
showAttrText
(){
return
ids
=>
{
if
(
!
ids
)
return
''
ids
=
!
Array
.
isArray
(
ids
)
?
ids
.
split
(
'
,
'
)
:
ids
const
attrMap
=
{
}
this
.
attrList
.
forEach
(
item
=>
{
attrMap
[
item
.
id
]
=
this
.
$l
(
item
,
'
attrName
'
)
}
)
return
ids
.
map
(
id
=>
attrMap
[
id
]).
join
(
'
,
'
)
}
}
}
}
,
}
,
watch
:{
watch
:{
...
@@ -596,9 +650,6 @@ export default {
...
@@ -596,9 +650,6 @@ export default {
this
.
loadLogs
()
this
.
loadLogs
()
}
}
}
,
}
,
'
order.channelId
'
(){
this
.
getChannel
()
}
,
'
order.consigneeVO
'
(
val
){
'
order.consigneeVO
'
(
val
){
if
(
!
val
)
return
'
-
'
if
(
!
val
)
return
'
-
'
listByIds
({
ids
:
[
val
.
country
,
val
.
province
,
val
.
city
].
join
(
'
,
'
)
}
).
then
(
res
=>
{
listByIds
({
ids
:
[
val
.
country
,
val
.
province
,
val
.
city
].
join
(
'
,
'
)
}
).
then
(
res
=>
{
...
@@ -620,6 +671,10 @@ export default {
...
@@ -620,6 +671,10 @@ export default {
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
getUnitList
().
then
(
res
=>
this
.
unitList
=
res
.
data
)
getUnitList
().
then
(
res
=>
this
.
unitList
=
res
.
data
)
getProductAttrList
().
then
(
response
=>
{
this
.
attrList
=
response
.
data
;
}
)
}
,
}
,
methods
:
{
methods
:
{
checkPermi
,
// 检查权限
checkPermi
,
// 检查权限
...
@@ -636,6 +691,11 @@ export default {
...
@@ -636,6 +691,11 @@ export default {
handleChange
(
val
){
handleChange
(
val
){
this
.
showText
=
val
.
length
>
0
?
this
.
$t
(
'
隐藏
'
)
:
this
.
$t
(
'
显示更多
'
)
this
.
showText
=
val
.
length
>
0
?
this
.
$t
(
'
隐藏
'
)
:
this
.
$t
(
'
显示更多
'
)
}
,
}
,
getAirCompany
(){
getSupplier
(
this
.
order
.
airlineCompany
).
then
(
res
=>
{
this
.
$set
(
this
.
order
,
'
companyName
'
,
this
.
$l
(
res
.
data
,
'
company
'
))
}
)
}
,
//订单信息显示更多
//订单信息显示更多
consigneeChange
(){
consigneeChange
(){
this
.
showMore
=
!
this
.
showMore
;
this
.
showMore
=
!
this
.
showMore
;
...
@@ -721,8 +781,16 @@ export default {
...
@@ -721,8 +781,16 @@ export default {
label
:
this
.
$t
(
'
价格更新时间
'
),
label
:
this
.
$t
(
'
价格更新时间
'
),
value
:
parseTime
(
row
.
updateTime
)
value
:
parseTime
(
row
.
updateTime
)
}
)
}
)
this
.
feeDetail
=
{
freight
,
clearance
,
charging
:
row
.
charging
,
coupons
:
row
.
couponInfoVOList
}
this
.
feeDetail
=
{
freight
,
clearance
,
charging
:
row
.
charging
,
coupons
:
row
.
couponInfoVOList
,
airClearanceSource
:
row
.
airClearanceSource
==
1
?
this
.
$t
(
'
商品
'
)
:
this
.
$t
(
'
渠道
'
),
// 空运清关费来源:1 商品 2 渠道
airClearanceInfo
:
JSON
.
parse
(
row
.
airClearanceInfo
),
//空运清关费来源数据详情,
sourceName
:
row
.
airClearanceSource
==
1
?
this
.
$l
(
row
,
'
prodTitle
'
)
:
this
.
order
?.
channelName
}
}
,
}
,
closeFeeDetail
(){
closeFeeDetail
(){
this
.
showFeeDetailDialog
=
null
this
.
showFeeDetailDialog
=
null
...
@@ -734,7 +802,7 @@ export default {
...
@@ -734,7 +802,7 @@ export default {
// 执行查询
// 执行查询
getOrder
(
that
.
orderId
).
then
(
response
=>
{
getOrder
(
that
.
orderId
).
then
(
response
=>
{
that
.
order
=
response
.
data
;
that
.
order
=
response
.
data
;
// this.loadBrand
()
if
(
that
.
order
.
airlineCompany
)
that
.
getAirCompany
()
}
);
}
);
}
,
}
,
/* loadBrands(){
/* loadBrands(){
...
@@ -751,12 +819,12 @@ export default {
...
@@ -751,12 +819,12 @@ export default {
}
)
}
)
}
)
}
)
}
, */
}
, */
getChannel
(){
/*
getChannel(){
if(!this.order || !this.order.channelId || this.order.transportId == 1 || this.order.transportId == 2) return
if(!this.order || !this.order.channelId || this.order.transportId == 1 || this.order.transportId == 2) return
getChannel(this.order.channelId).then(res => {
getChannel(this.order.channelId).then(res => {
this.channelName = res.data.nameZh
this.channelName = res.data.nameZh
}
)
}
)
}
,
}
,
*/
loadFeeList
(){
loadFeeList
(){
getReceivableListByOrderId
({
id
:
this
.
orderId
}
).
then
(
res
=>
{
getReceivableListByOrderId
({
id
:
this
.
orderId
}
).
then
(
res
=>
{
this
.
feeList
=
res
.
data
this
.
feeList
=
res
.
data
...
...
src/views/ecw/order/edit.vue
View file @
1ea36fb9
...
@@ -1464,10 +1464,10 @@ export default {
...
@@ -1464,10 +1464,10 @@ export default {
let
arr
=
[]
let
arr
=
[]
this
.
form
.
orderItemVOList
.
forEach
(
item
=>
{
this
.
form
.
orderItemVOList
.
forEach
(
item
=>
{
let
tmp
=
{...
item
}
let
tmp
=
{...
item
}
if
(
!
tmp
.
volume
)
tmp
.
volume
=
1
if
(
!
tmp
.
volume
)
tmp
.
volume
=
0
if
(
!
tmp
.
weight
)
tmp
.
weight
=
1
if
(
!
tmp
.
weight
)
tmp
.
weight
=
0
if
(
!
tmp
.
quantity
)
tmp
.
quantity
=
1
if
(
!
tmp
.
quantity
)
tmp
.
quantity
=
0
if
(
!
tmp
.
num
)
tmp
.
num
=
1
if
(
!
tmp
.
num
)
tmp
.
num
=
0
tmp
.
orderType
=
item
.
orderItemType
tmp
.
orderType
=
item
.
orderItemType
arr
.
push
(
tmp
)
arr
.
push
(
tmp
)
})
})
...
...
src/views/ecw/order/exception/index.vue
View file @
1ea36fb9
...
@@ -108,6 +108,13 @@
...
@@ -108,6 +108,13 @@
<el-option
:label=
"$t('自有仓')"
:value=
"0"
></el-option>
<el-option
:label=
"$t('自有仓')"
:value=
"0"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('特需')"
prop=
"packageType"
>
<el-select
v-model=
"queryParams.packageTypeArr"
multiple
:placeholder=
"$t('请选择')"
clearable
>
<
template
v-for=
"item in getDictDatas(DICT_TYPE.ORDER_SPECIAL_NEEDS)"
>
<el-option
:label=
"$l(item, 'label')"
:value=
"item.value"
></el-option>
</
template
>
</el-select>
</el-form-item>
</el-row>
</el-row>
<el-row>
<el-row>
<el-form-item
label=
""
>
<el-form-item
label=
""
>
...
@@ -273,10 +280,12 @@ import {listServiceUser,userList} from "@/api/system/user"
...
@@ -273,10 +280,12 @@ import {listServiceUser,userList} from "@/api/system/user"
import
CustomerSelector
from
'
@/components/CustomerSelector
'
import
CustomerSelector
from
'
@/components/CustomerSelector
'
import
ProductSelector
from
'
@/components/ProductSelector
'
import
ProductSelector
from
'
@/components/ProductSelector
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
Template
from
"
@/views/cms/template/index.vue
"
;
export
default
{
export
default
{
name
:
"
EcwOrderException
"
,
name
:
"
EcwOrderException
"
,
components
:
{
components
:
{
Template
,
CustomerSelector
,
ProductSelector
CustomerSelector
,
ProductSelector
},
},
data
()
{
data
()
{
...
@@ -343,6 +352,10 @@ export default {
...
@@ -343,6 +352,10 @@ export default {
this
.
list
=
[]
this
.
list
=
[]
// 处理查询参数
// 处理查询参数
let
params
=
{...
this
.
queryParams
}
let
params
=
{...
this
.
queryParams
}
if
(
params
.
packageTypeArr
&&
params
.
packageTypeArr
.
length
){
params
.
packageType
=
params
.
packageTypeArr
.
join
(
'
,
'
)
delete
params
.
packageTypeArr
}
// 执行查询
// 执行查询
getOrderExceptionPage
(
params
).
then
(
response
=>
{
getOrderExceptionPage
(
params
).
then
(
response
=>
{
this
.
list
=
response
.
data
.
list
;
this
.
list
=
response
.
data
.
list
;
...
...
src/views/ecw/order/penddingList.vue
View file @
1ea36fb9
...
@@ -95,6 +95,13 @@
...
@@ -95,6 +95,13 @@
<el-form-item
:label=
"$t('出货渠道')"
prop=
"number"
>
<el-form-item
:label=
"$t('出货渠道')"
prop=
"number"
>
<selector
:options=
"channelList"
:label-field=
"$l('name')"
value-field=
"channelId"
v-model=
"queryParams.channelId"
></selector>
<selector
:options=
"channelList"
:label-field=
"$l('name')"
value-field=
"channelId"
v-model=
"queryParams.channelId"
></selector>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('特需')"
prop=
"packageType"
>
<el-select
v-model=
"queryParams.packageTypeArr"
multiple
:placeholder=
"$t('请选择')"
clearable
>
<template
v-for=
"item in getDictDatas(DICT_TYPE.ORDER_SPECIAL_NEEDS)"
>
<el-option
:label=
"$l(item, 'label')"
:value=
"item.value"
></el-option>
</
template
>
</el-select>
</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>
...
@@ -171,7 +178,19 @@
...
@@ -171,7 +178,19 @@
{{
scope
.
row
.
statusMsg
}}
{{
scope
.
row
.
statusMsg
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('预计运费/清关费')"
align=
"center"
prop=
"status"
>
<
template
slot-scope=
"{row}"
>
<div
v-if=
"row.costVO"
>
<template
v-for=
"item in row.costVO.feeDtoList"
>
<div
v-if=
"[1,2].indexOf(item.feeType) > -1"
>
{{
item
.
feeType
==
1
?
$t
(
'
运费
'
):
$t
(
'
清关费
'
)
}}
{{
item
.
amount
}}
{{
currencyMap
[
item
.
currencyId
]
}}
</div>
</
template
>
</div>
</template>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width actions"
width=
"150px"
>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width actions"
width=
"150px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"setCanShipment(scope.row)"
v-hasPermi=
"['ecw:order:peddingList:can_shipment']"
>
{{
$t
(
'
可出
'
)
}}
</el-button>
<el-button
type=
"text"
@
click=
"setCanShipment(scope.row)"
v-hasPermi=
"['ecw:order:peddingList:can_shipment']"
>
{{
$t
(
'
可出
'
)
}}
</el-button>
...
@@ -237,9 +256,11 @@ import { getCurrencyPage } from "@/api/ecw/currency";
...
@@ -237,9 +256,11 @@ 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
"
;
import
{
getChannelList
}
from
"
@/api/ecw/channel
"
;
import
ImageAndVideoUpload
from
"
@/components/ImageAndVideoUpload
"
;
import
ImageAndVideoUpload
from
"
@/components/ImageAndVideoUpload
"
;
import
Template
from
"
@/views/cms/template/index.vue
"
;
export
default
{
export
default
{
name
:
"
EcwPeddingList
"
,
name
:
"
EcwPeddingList
"
,
components
:
{
components
:
{
Template
,
UserSelector
,
UserSelector
,
FeeApplication
,
FeeApplication
,
BatchSingleApplication
,
BatchSingleApplication
,
...
@@ -331,6 +352,13 @@ export default {
...
@@ -331,6 +352,13 @@ export default {
}
}
let
queryParams
=
Object
.
assign
({},
this
.
queryParams
,
timeParams
)
let
queryParams
=
Object
.
assign
({},
this
.
queryParams
,
timeParams
)
return
queryParams
return
queryParams
},
currencyMap
(){
let
map
=
{}
this
.
currencyList
.
forEach
(
item
=>
{
map
[
item
.
id
]
=
this
.
$l
(
item
,
'
title
'
)
})
return
map
}
}
},
},
activated
(){
activated
(){
...
@@ -348,8 +376,12 @@ export default {
...
@@ -348,8 +376,12 @@ export default {
/** 查询列表 */
/** 查询列表 */
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
const
query
=
{...
this
.
combinedQueryParams
}
if
(
query
.
packageTypeArr
&&
query
.
packageTypeArr
.
length
){
query
.
packageType
=
query
.
packageTypeArr
.
join
(
'
,
'
)
}
// 执行查询
// 执行查询
waitingShipmentPage
(
this
.
combinedQueryParams
).
then
(
response
=>
{
waitingShipmentPage
(
query
).
then
(
response
=>
{
// 部分情况下,订单后面的操作下拉菜单会显示按钮,但是下来没有选项,在elTable组件更新的时候会导致渲染错误,所以要在更新渲染前清空一次list让table彻底重新渲染,避免部分更新导致异常
// 部分情况下,订单后面的操作下拉菜单会显示按钮,但是下来没有选项,在elTable组件更新的时候会导致渲染错误,所以要在更新渲染前清空一次list让table彻底重新渲染,避免部分更新导致异常
this
.
list
=
[]
this
.
list
=
[]
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
...
src/views/ecw/order/stockingList.vue
View file @
1ea36fb9
...
@@ -95,6 +95,13 @@
...
@@ -95,6 +95,13 @@
<el-form-item
:label=
"$t('出货渠道')"
prop=
"number"
>
<el-form-item
:label=
"$t('出货渠道')"
prop=
"number"
>
<selector
:options=
"channelList"
:label-field=
"$l('name')"
value-field=
"channelId"
v-model=
"queryParams.channelId"
></selector>
<selector
:options=
"channelList"
:label-field=
"$l('name')"
value-field=
"channelId"
v-model=
"queryParams.channelId"
></selector>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('特需')"
prop=
"packageType"
>
<el-select
v-model=
"queryParams.packageTypeArr"
multiple
:placeholder=
"$t('请选择')"
clearable
>
<template
v-for=
"item in getDictDatas(DICT_TYPE.ORDER_SPECIAL_NEEDS)"
>
<el-option
:label=
"$l(item, 'label')"
:value=
"item.value"
></el-option>
</
template
>
</el-select>
</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>
...
@@ -213,9 +220,11 @@ import {getWarehouseList} from '@/api/ecw/warehouse'
...
@@ -213,9 +220,11 @@ 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
"
;
import
{
getChannelList
}
from
"
@/api/ecw/channel
"
;
import
Template
from
"
@/views/cms/template/index.vue
"
;
export
default
{
export
default
{
name
:
"
EcwOrderStockinglist
"
,
name
:
"
EcwOrderStockinglist
"
,
components
:
{
components
:
{
Template
,
UserSelector
,
UserSelector
,
FeeApplication
,
FeeApplication
,
BatchSingleApplication
,
BatchSingleApplication
,
...
@@ -305,8 +314,12 @@ export default {
...
@@ -305,8 +314,12 @@ export default {
/** 查询列表 */
/** 查询列表 */
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
const
query
=
{...
this
.
combinedQueryParams
}
if
(
query
.
packageTypeArr
&&
query
.
packageTypeArr
.
length
){
query
.
packageType
=
query
.
packageTypeArr
.
join
(
'
,
'
)
}
// 执行查询
// 执行查询
canShipmentPage
(
this
.
combinedQueryParams
).
then
(
response
=>
{
canShipmentPage
(
query
).
then
(
response
=>
{
// 部分情况下,订单后面的操作下拉菜单会显示按钮,但是下来没有选项,在elTable组件更新的时候会导致渲染错误,所以要在更新渲染前清空一次list让table彻底重新渲染,避免部分更新导致异常
// 部分情况下,订单后面的操作下拉菜单会显示按钮,但是下来没有选项,在elTable组件更新的时候会导致渲染错误,所以要在更新渲染前清空一次list让table彻底重新渲染,避免部分更新导致异常
this
.
list
=
[]
this
.
list
=
[]
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
...
src/views/ecw/order/success.vue
View file @
1ea36fb9
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<img
src=
"../../../assets/svg/success.svg"
/>
<img
src=
"../../../assets/svg/success.svg"
/>
</div>
</div>
<div
class=
"flex-1"
>
<div
class=
"flex-1"
>
<div
class=
"title"
>
{{
$t
(
'
新
增订单生成
成功
'
)
}}
</div>
<div
class=
"title"
>
{{
$t
(
'
新
建订单
成功
'
)
}}
</div>
<div
class=
"line bold font-lg"
>
{{
$t
(
'
订单号
'
)
}}
:
{{
order
.
orderNo
}}
</div>
<div
class=
"line bold font-lg"
>
{{
$t
(
'
订单号
'
)
}}
:
{{
order
.
orderNo
}}
</div>
<div
class=
"line"
>
{{
$t
(
'
唛头
'
)
}}
:
{{
order
.
marks
}}
</div>
<div
class=
"line"
>
{{
$t
(
'
唛头
'
)
}}
:
{{
order
.
marks
}}
</div>
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
<div
class=
"line flex-1"
>
{{
$t
(
'
路线
'
)
}}
:
{{
$l
(
order
.
logisticsInfoDto
,
'
startTitle
'
)
}}
>>
{{
$l
(
order
.
logisticsInfoDto
,
'
destTitle
'
)
}}
</div>
<div
class=
"line flex-1"
>
{{
$t
(
'
路线
'
)
}}
:
{{
$l
(
order
.
logisticsInfoDto
,
'
startTitle
'
)
}}
>>
{{
$l
(
order
.
logisticsInfoDto
,
'
destTitle
'
)
}}
</div>
<div
class=
"line flex-1"
>
{{
$t
(
'
单证报关
'
)
}}
:
<dict-tag
:type=
"DICT_TYPE.ECW_CUSTOMS_TYPE"
:value=
"order.customsType"
/></div>
<div
class=
"line flex-1"
>
{{
$t
(
'
单证报关
'
)
}}
:
<dict-tag
:type=
"DICT_TYPE.ECW_CUSTOMS_TYPE"
:value=
"order.customsType"
/></div>
</div>
</div>
<div
class=
"line"
>
{{
$t
(
'
控货
'
)
}}
:
<dict-tag
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
:value=
"order.isCargoControl"
/></div>
<div
class=
"line"
>
{{
$t
(
'
商品列表
'
)
}}
:
<div
class=
"line"
>
{{
$t
(
'
商品列表
'
)
}}
:
<span
v-for=
"(item, index) in order.orderItemVOList"
:key=
"index"
>
<span
v-for=
"(item, index) in order.orderItemVOList"
:key=
"index"
>
...
...
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