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
4b1448e3
Commit
4b1448e3
authored
Sep 18, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
8519c299
a5424043
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
123 additions
and
41 deletions
+123
-41
index.vue
src/components/OrderBaseInfo/index.vue
+6
-1
pkgPage.vue
src/views/ecw/box/shippingAir/nodePage/mergePkg/pkgPage.vue
+1
-1
preinstall.vue
src/views/ecw/box/shippingAir/nodePage/preinstall.vue
+1
-8
startUnloading.vue
...ecw/box/shippingAir/nodePage/unloading/startUnloading.vue
+1
-1
seaProcess.vue
src/views/ecw/box/shippingAir/seaProcess.vue
+1
-1
ApprovalDetail.vue
src/views/ecw/order/components/ApprovalDetail.vue
+6
-0
BoxSplitDetail.vue
src/views/ecw/order/components/BoxSplitDetail.vue
+49
-2
index.vue
src/views/ecw/order/index.vue
+8
-5
penddingList.vue
src/views/ecw/order/penddingList.vue
+7
-7
index.vue
src/views/ecw/order/special/index.vue
+1
-1
index.vue
src/views/ecw/order/stocking/index.vue
+29
-2
stockingList.vue
src/views/ecw/order/stockingList.vue
+7
-7
index.vue
src/views/ecw/productPrice/index.vue
+6
-5
No files found.
src/components/OrderBaseInfo/index.vue
View file @
4b1448e3
...
...
@@ -18,6 +18,9 @@
<el-descriptions-item
:label=
"$t('送货时间')"
>
{{
order
.
deliveryDate
||
''
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('入仓类型')"
>
{{
getDictDataLabel
(
DICT_TYPE
.
ECW_WAREHOUSING_TYPE
,
order
.
warehouseType
)
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('订单号')"
>
{{
order
.
orderNo
}}
</el-descriptions-item>
<el-descriptions-item
v-if=
"stocking"
:label=
"$t('出货渠道')"
>
{{
order
.
channelName
}}
</el-descriptions-item>
<el-descriptions-item
v-if=
"stocking"
:label=
"$t('可出特性')"
>
{{
order
.
channelAttrName
}}
</el-descriptions-item>
</el-descriptions>
</div>
</
template
>
...
...
@@ -29,7 +32,9 @@ export default {
name
:
"
orderBaseInfo
"
,
props
:
{
order
:
Object
order
:
Object
,
// 是否备货,如果页面引用需要显示可出特性和渠道
stocking
:
Boolean
},
data
()
{
...
...
src/views/ecw/box/shippingAir/nodePage/mergePkg/pkgPage.vue
View file @
4b1448e3
...
...
@@ -105,7 +105,7 @@
</
template
>
</el-input>
</el-form-item>
<el-form-item
:label=
"$t('
数量
')"
prop=
"sumNum"
:rules=
"[
<el-form-item
:label=
"$t('
箱数
')"
prop=
"sumNum"
:rules=
"[
{ required: true, message: $t('请填写数量')},
{ pattern: /^((0{1}\.\d{1,2})|([1-9]\d*\.{1}\d{1,2})|([1-9]+\d*))$/, message: $t('数量保留两位小数')}
]"
>
...
...
src/views/ecw/box/shippingAir/nodePage/preinstall.vue
View file @
4b1448e3
...
...
@@ -254,14 +254,7 @@
<
/div
>
<
div
class
=
"
table-button
"
>
<
el
-
button
v
-
if
=
"
item.relateOrderList
"
type
=
"
primary
"
size
=
"
small
"
style
=
"
margin-right: 20px;
"
@
click
=
"
getRelationOrder(item)
"
>
{{
$t
(
'
关联订单
'
)
}}
<
/el-button
>
<
el
-
dropdown
trigger
=
"
click
"
@
command
=
"
(command)=>handleGoods('all',item,command)
"
>
<
el
-
button
type
=
"
success
"
size
=
"
small
"
:
disabled
=
"
isAudit
"
>
{{
$t
(
'
分拣全部
'
)
}}
<
/el-button
>
<
el
-
dropdown
-
menu
slot
=
"
dropdown
"
v
-
if
=
"
preList.sectionGoodList
"
>
<
el
-
dropdown
-
item
:
command
=
"
part
"
v
-
for
=
"
(part, index) in preList.sectionGoodList
"
:
key
=
"
part.id
"
>
{{
$t
(
'
第{index
}
部分
'
,
{
index
:
index
+
1
}
)
}}
<
/el-dropdown-item
>
<
/el-dropdown-menu
>
<
/el-dropdown
>
<
el
-
button
v
-
if
=
"
preList.sectionGoodList
"
type
=
"
success
"
size
=
"
small
"
:
disabled
=
"
isAudit
"
@
click
=
"
handleGoods('all',item,preList.sectionGoodList[0])
"
>
{{
$t
(
'
分拣
'
)
}}
<
/el-button
>
<
/div
>
<
/el-row
>
<
el
-
table
v
-
loading
=
"
toBePreLoading
"
:
data
=
"
item.boxOrderItemList
"
border
show
-
summary
:
summary
-
method
=
"
getSummaries
"
>
...
...
src/views/ecw/box/shippingAir/nodePage/unloading/startUnloading.vue
View file @
4b1448e3
...
...
@@ -255,7 +255,7 @@ export default {
},
/* 一键卸柜 */
modifyAllUnload
()
{
this
.
$confirm
(
this
.
$t
(
"
确认
卸柜
?
"
),
this
.
$t
(
"
提示
"
),
{
this
.
$confirm
(
this
.
$t
(
"
确认
到仓
?
"
),
this
.
$t
(
"
提示
"
),
{
type
:
"
warning
"
,
})
.
then
((
_
)
=>
{
...
...
src/views/ecw/box/shippingAir/seaProcess.vue
View file @
4b1448e3
...
...
@@ -149,8 +149,8 @@ export default {
return
;
}
}
console
.
log
(
currIndex
,
this
.
currIndex
)
if
(
currIndex
>
this
.
currIndex
)
{
console
.
log
(
currIndex
,
this
.
currIndex
)
this
.
$message
.
error
(
this
.
errorMsg
);
return
;
}
...
...
src/views/ecw/order/components/ApprovalDetail.vue
View file @
4b1448e3
...
...
@@ -93,7 +93,13 @@
<
/div
>
<
/div
>
<
/el-descriptions-item
>
<
/el-descriptions
>
<!--
泡重优惠申请
-->
<
div
v
-
if
=
"
type == 29
"
style
=
"
font-size: 14px; line-height: 1.5
"
>
<
div
>
{{
$t
(
'
原泡重
'
)
}}
:{{
detail
.
orgVWeight
}}
kg
<
/div
>
<
div
>
{{
$t
(
'
新泡重
'
)
}}
:{{
detail
.
vWeight
}}
kg
<
/div
>
<
/div
>
<
/div
>
<
/template
>
...
...
src/views/ecw/order/components/BoxSplitDetail.vue
View file @
4b1448e3
...
...
@@ -69,6 +69,27 @@
<el-table-column
:label=
"$t('货值')"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
worth
}}{{
$t
(
'
元
'
)
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('成交单价')"
align=
"center"
min-width=
"220px"
v-if=
"[3,4].indexOf(order.transportId) > -1"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.charging != 1"
>
<div
class=
"flex"
>
{{
$t
(
'
运费
'
)
}}
<el-input
v-model=
"scope.row.oneSeaFreight"
disabled
size=
"mini"
style=
"width: 80px"
></el-input>
{{
currencyMap
[
scope
.
row
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
scope
.
row
.
seaFreightVolume
]
}}
</div>
<div
class=
"flex"
>
{{
$t
(
'
清关费
'
)
}}
<el-input
v-model=
"scope.row.oneClearanceFreight"
disabled
size=
"mini"
style=
"width: 80px"
></el-input>
{{
currencyMap
[
scope
.
row
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
scope
.
row
.
clearanceFreightVolume
]
}}
</div>
</
template
>
<
template
v-else
>
{{
$t
(
'
全包价
'
)
}}
<el-input
v-model=
"scope.row.oneSeaFreight"
@
change=
"updateField(scope.row, 'oneSeaFreight')"
size=
"mini"
style=
"width: 80px"
></el-input>
{{
currencyMap
[
scope
.
row
.
currencyId
]
}}
{{
unitMap
[
scope
.
row
.
clearanceFreightVolume
]
}}
</
template
>
</template>
</el-table-column>
</el-table>
</template>
<warehouse-record
v-if=
"currentWarehouseRecord"
:list=
"currentWarehouseRecord"
append-to-body
@
close=
"currentWarehouseRecord=null"
></warehouse-record>
...
...
@@ -79,8 +100,11 @@ import {getOrder} from '@/api/ecw/order'
import
{
getBoxApproval
}
from
'
@/api/ecw/box
'
import
{
getChannel
}
from
'
@/api/ecw/channel
'
import
WarehouseRecord
from
"
@/views/ecw/order/splitApply/components/WarehouseRecord
"
;
import
Template
from
"
@/views/cms/template/index.vue
"
;
import
{
getCurrencyList
}
from
"
@/api/ecw/currency
"
;
import
{
getUnitList
}
from
"
@/api/ecw/unit
"
;
export
default
{
components
:
{
WarehouseRecord
},
components
:
{
Template
,
WarehouseRecord
},
props
:{
id
:
[
String
,
Number
]
},
...
...
@@ -90,7 +114,9 @@ export default {
order
:
null
,
channel
:
null
,
// 查看入仓记录的条目
currentWarehouseRecord
:
null
currentWarehouseRecord
:
null
,
currencyList
:[],
unitList
:
[]
}
},
watch
:{
...
...
@@ -106,6 +132,22 @@ export default {
}
}
},
computed
:{
currencyMap
(){
let
map
=
{}
this
.
currencyList
.
forEach
(
item
=>
{
map
[
item
.
id
]
=
this
.
$l
(
item
,
'
title
'
)
})
return
map
},
unitMap
(){
let
map
=
{}
this
.
unitList
.
forEach
(
item
=>
{
map
[
item
.
id
]
=
this
.
$l
(
item
,
'
title
'
)
})
return
map
}
},
created
(){
if
(
this
.
id
){
this
.
getData
()
...
...
@@ -120,6 +162,11 @@ export default {
getOrder
(){
getOrder
(
this
.
detail
.
orderId
).
then
(
res
=>
{
this
.
order
=
res
.
data
if
([
3
,
4
].
indexOf
(
this
.
order
.
transportId
)
>
-
1
){
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
getUnitList
().
then
(
res
=>
this
.
unitList
=
res
.
data
)
}
})
},
getChannel
(){
...
...
src/views/ecw/order/index.vue
View file @
4b1448e3
...
...
@@ -195,13 +195,13 @@
<
template
slot-scope=
"{row}"
>
<!--入仓前是填单数据,入仓后是入仓数据,装柜审核通过等状态inwarehouseState会变成0,所以只能通过sumNum来判断-->
<component
:is=
"row.orderType
== 2
? 'el-tooltip' : 'div'"
:is=
"row.orderType
> 1
? 'el-tooltip' : 'div'"
class=
"item"
:style=
"
{
color: row.orderType
== 2
? 'red' : null
color: row.orderType
> 1
? 'red' : null
}"
effect="dark"
:content="
(row.wvolume||0)+'m³
'"
:content="
row.orderType===2 ? (row.wvolume||0)+'m³' : (row.vweight || 0) + 'kg
'"
placement="bottom">
<div
v-if=
"row.sumNum > 0"
>
{{
row
.
sumVolume
}}
m³ /
{{
row
.
sumWeight
}}
Kg
</div>
<div
v-else
>
{{
row
.
costVO
.
totalVolume
}}
m³ /
{{
row
.
costVO
.
totalWeight
}}
Kg
</div>
...
...
@@ -445,14 +445,17 @@
</
template
>
<!--开始备货-->
<!--需要异常处理后才能备货 https://zentao.test.jdshangmen.com/bug-view-4736.html-->
<
template
v-if=
"
include(scope.row.airShipment, [2])
include(scope.row.airShipment, [2]) &&
scope.row.abnormalState === 0
"
>
<el-dropdown-item
@
click.native=
"$router.push(
{path:'/order/stocking?id=' + scope.row.orderId})" v-hasPermi="['ecw:order:stocking']">
{{
$t
(
'
开始备货
'
)
}}
</el-dropdown-item>
</
template
>
<!--修改备货-->
<
template
v-if=
"
include(scope.row.airShipment, [3, 4, 10])
include(scope.row.airShipment, [3, 4, 10]) &&
scope.row.abnormalState === 0
"
>
<el-dropdown-item
@
click.native=
"$router.push(
{path:'/order/stocking?action=update
&
id=' + scope.row.orderId})" v-hasPermi="['ecw:order:stocking_update']">
{{
$t
(
'
修改备货
'
)
}}
</el-dropdown-item>
</
template
>
...
...
src/views/ecw/order/penddingList.vue
View file @
4b1448e3
...
...
@@ -136,14 +136,14 @@
<
template
slot-scope=
"{row}"
>
<!--入仓前是填单数据,入仓后是入仓数据,装柜审核通过等状态inwarehouseState会变成0,所以只能通过sumNum来判断-->
<component
:is=
"row.orderType == 2
? 'el-tooltip' : 'div'"
class=
"item"
:style=
"
{
color: row.orderType
== 2
? 'red' : null
:is=
"row.orderType > 1
? 'el-tooltip' : 'div'"
class=
"item"
:style=
"
{
color: row.orderType
> 1
? 'red' : null
}"
effect="dark"
:content="(row.wvolume||0)+'m³
'"
placement="bottom">
effect="dark"
:content="row.orderType===2 ? (row.wvolume||0)+'m³' : (row.vweight || 0) + 'kg
'"
placement="bottom">
<div
v-if=
"row.sumNum > 0"
>
{{
row
.
sumVolume
}}
m³ /
{{
row
.
sumWeight
}}
Kg
</div>
<div
v-else
>
{{
row
.
costVO
.
totalVolume
}}
m³ /
{{
row
.
costVO
.
totalWeight
}}
Kg
</div>
</component>
...
...
src/views/ecw/order/special/index.vue
View file @
4b1448e3
...
...
@@ -115,7 +115,7 @@
-->
<el-button
v-hasPermi=
"['ecw:order:heavy']"
type=
"primary"
@
click=
"showPreferentialType=4"
v-if=
"order.transportId === 1 || order.transportId === 2"
>
{{$t('申请重货标准优惠')}}
</el-button>
<
template
v-else
>
<el-button
v-hasPermi=
"['ecw:order:bulky2']"
type=
"primary"
@
click=
"showPreferentialType=29"
>
{{
$t
(
'
申请泡重优惠
'
)
}}
</el-button>
<el-button
v-
if=
"order.orderType == 3"
v-
hasPermi=
"['ecw:order:bulky2']"
type=
"primary"
@
click=
"showPreferentialType=29"
>
{{
$t
(
'
申请泡重优惠
'
)
}}
</el-button>
<el-button
v-hasPermi=
"['ecw:order:bulky']"
type=
"primary"
@
click=
"showPreferentialType=5"
>
{{
$t
(
'
申请泡货标准优惠
'
)
}}
</el-button>
</
template
>
<el-button
type=
"primary"
@
click=
"$tab.closePage()"
>
{{$t('关闭窗口')}}
</el-button>
...
...
src/views/ecw/order/stocking/index.vue
View file @
4b1448e3
...
...
@@ -3,7 +3,7 @@
<div
class=
"app-container"
>
<h2>
{{
title
}}
-
{{
order
.
orderNo
}}
</h2>
<order-base-info
:order=
"order"
></order-base-info>
<order-base-info
:order=
"order"
stocking
></order-base-info>
<h2>
{{
$t
(
'
货物信息
'
)
}}
</h2>
<el-table
...
...
@@ -53,6 +53,14 @@
:label=
"$t('快递单号')"
>
{{ row.expressNo || (row.warehouseInInfoVO ? row.warehouseInInfoVO.expressNo : '') }}
</el-table-column>
<el-table-column
v-slot=
"{row}"
:label=
"$t('商品特性')"
>
<
template
v-if=
"row.prodAttrIds"
>
{{
showAttr
(
row
.
prodAttrIds
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
:label=
"$t('最后操作时间')"
>
...
...
@@ -185,11 +193,14 @@ import imageUpload from "@/components/ImageUpload";
import
{
parseTime
}
from
"
@/utils/ruoyi
"
import
ImageAndVideoUpload
from
'
@/components/ImageAndVideoUpload
'
import
Package
from
'
./components/Package
'
import
Template
from
"
@/views/cms/template/index.vue
"
;
import
{
getProductAttrList
}
from
"
@/api/ecw/productAttr
"
;
export
default
{
name
:
"
Stocking
"
,
components
:
{
Template
,
orderBaseInfo
,
WarehouseAreaDialog
,
PrintTag
,
...
...
@@ -208,6 +219,7 @@ export default {
this
.
getOrder
()
}
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
getProductAttrList
().
then
(
res
=>
this
.
productAttrList
=
res
.
data
)
},
data
()
{
...
...
@@ -261,7 +273,8 @@ export default {
// 当前打包的订单商品项
packageOrderItem
:
null
,
// 打包商品的入仓商品项
packageWarehouseItem
:
null
packageWarehouseItem
:
null
,
productAttrList
:
[]
}
},
...
...
@@ -294,6 +307,8 @@ export default {
},
getOrder
(){
return
getOrder
(
this
.
orderId
).
then
(
r
=>
{
// 获取渠道可出特性文案用户订单基础信息显示
r
.
data
.
channelAttrName
=
this
.
showAttr
(
r
.
data
.
channelAttrId
)
this
.
order
=
r
.
data
this
.
form
.
sumVolume
=
this
.
order
.
sumVolume
this
.
form
.
sumWeight
=
this
.
order
.
sumWeight
...
...
@@ -395,6 +410,18 @@ export default {
},
warehouseId
(){
return
this
.
order
?.
logisticsInfoDto
?.
startWarehouseId
},
// 显示特性
showAttr
(){
return
attrIds
=>
{
if
(
!
attrIds
)
return
''
let
attrArr
=
attrIds
.
split
(
"
,
"
).
map
(
item
=>
+
item
)
let
arr
=
[]
this
.
productAttrList
.
forEach
(
item
=>
{
if
(
attrArr
.
indexOf
(
item
.
id
)
>
-
1
)
arr
.
push
(
this
.
$l
(
item
,
'
attrName
'
))
})
return
arr
.
join
(
"
,
"
)
}
}
}
}
...
...
src/views/ecw/order/stockingList.vue
View file @
4b1448e3
...
...
@@ -134,14 +134,14 @@
<
template
slot-scope=
"{row}"
>
<!--入仓前是填单数据,入仓后是入仓数据,装柜审核通过等状态inwarehouseState会变成0,所以只能通过sumNum来判断-->
<component
:is=
"row.orderType == 2
? 'el-tooltip' : 'div'"
class=
"item"
:style=
"
{
color: row.orderType
== 2
? 'red' : null
:is=
"row.orderType > 1
? 'el-tooltip' : 'div'"
class=
"item"
:style=
"
{
color: row.orderType
> 1
? 'red' : null
}"
effect="dark"
:content="(row.wvolume||0)+'m³
'"
placement="bottom">
effect="dark"
:content="row.orderType===2 ? (row.wvolume||0)+'m³' : (row.vweight || 0) + 'kg
'"
placement="bottom">
<div
v-if=
"row.sumNum > 0"
>
{{
row
.
sumVolume
}}
m³ /
{{
row
.
sumWeight
}}
Kg
</div>
<div
v-else
>
{{
row
.
costVO
.
totalVolume
}}
m³ /
{{
row
.
costVO
.
totalWeight
}}
Kg
</div>
</component>
...
...
src/views/ecw/productPrice/index.vue
View file @
4b1448e3
...
...
@@ -16,11 +16,11 @@
<dict-selector
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
v-model=
"queryParams.transportType"
formatter=
"number"
clearable
/>
</el-form-item>
<!--海运不显示渠道-->
<el-form-item
:label=
"$t('出货渠道')"
prop=
"shippingChannelId"
v-if=
"type
== 'air
'"
>
<el-select
v-model=
"queryParams.shippingChannelId"
clearable
>
<el-option
v-for=
"item in channelList"
:key=
"item.id"
:label=
"$l(item, 'name')"
:value=
"item.channelId"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('出货渠道')"
prop=
"shippingChannelId"
v-if=
"type
!== 'sea
'"
>
<el-select
v-model=
"queryParams.shippingChannelId"
clearable
>
<el-option
v-for=
"item in channelList"
:key=
"item.id"
:label=
"$l(item, 'name')"
:value=
"item.channelId"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('始发地')"
prop=
"startCityId"
>
<el-select
v-model=
"queryParams.startCityId"
clearable
>
<el-option
v-for=
"city in startCityList"
:key=
"city.id"
:label=
"$l(city, 'title')"
:value=
"city.id"
/>
...
...
@@ -538,6 +538,7 @@ export default {
}
this.handleQuery()
*/
this
.
getList
()
}
,
watch
:{
'
$route.query.product_id
'
(){
...
...
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