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
0a006d75
Commit
0a006d75
authored
Sep 28, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部分Bug
parent
942535dd
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
71 additions
and
33 deletions
+71
-33
indexFutureBox.vue
src/views/ecw/box/indexFutureBox.vue
+44
-23
TransferCargo.vue
src/views/ecw/order/components/TransferCargo.vue
+15
-2
detail.vue
src/views/ecw/order/detail.vue
+1
-1
edit.vue
src/views/ecw/order/edit.vue
+2
-1
index.vue
src/views/ecw/order/index.vue
+4
-4
pending.vue
src/views/ecw/order/pending.vue
+5
-2
No files found.
src/views/ecw/box/indexFutureBox.vue
View file @
0a006d75
...
...
@@ -126,9 +126,6 @@
</el-select>
</el-form-item>
<el-form-item
label=
"运输方式"
prop=
"transportType"
>
<!-- <el-radio-group v-model="form.transportType">
<el-radio v-for="dict in transportTypes" :key="dict.value" :label="dict.value">{{dict.label}}</el-radio>
</el-radio-group> -->
<dict-selector
:type=
"DICT_TYPE.TRANSPORT_TYPE"
v-model=
"form.transportType"
form-type=
"radio"
/>
</el-form-item>
<el-form-item
label=
"出货渠道"
prop=
"shippingChannelId"
v-if=
"form.transportType == 3 || form.transportType == 4"
>
...
...
@@ -304,38 +301,62 @@ export default {
this
.
getList
();
},
watch
:{
'
form.transportType
'
(
transportId
){
if
(
!
transportId
){
this
.
$set
(
this
.
form
,
'
loadingNumber
'
,
0
)
this
.
$set
(
this
.
form
,
'
readyWarehousingNumber
'
,
0
)
this
.
$set
(
this
.
form
,
'
warehousedNumber
'
,
0
)
this
.
$set
(
this
.
form
,
'
warehousingNumber
'
,
0
)
return
'
form.transportType
'
(){
this
.
getVolume
()
},
'
form.startWarehouseId
'
(){
this
.
getVolume
()
},
'
form.destWarehouseId
'
(){
this
.
getVolume
()
},
'
form.shippingChannelId
'
(){
console
.
log
(
'
123shippingChannelId
'
)
this
.
getVolume
()
},
'
form.warehousedNumber
'
(){
//在仓 = 已入仓-已封柜
this
.
$set
(
this
.
form
,
'
warehousingNumber
'
,
Decimal
(
this
.
form
.
warehousedNumber
).
minus
(
this
.
form
.
loadingNumber
))
},
'
form.loadingNumber
'
(){
//在仓 = 已入仓-已封柜
this
.
$set
(
this
.
form
,
'
warehousingNumber
'
,
Decimal
(
this
.
form
.
warehousedNumber
).
minus
(
this
.
form
.
loadingNumber
))
}
},
methods
:
{
getVolume
(){
if
(
!
this
.
form
.
transportType
||
!
this
.
form
.
startWarehouseId
||
!
this
.
form
.
destWarehouseId
){
return
this
.
setDefaultVolume
()
}
// 空运需要选择渠道
if
((
this
.
form
.
transportType
==
3
||
this
.
form
.
transportType
==
4
)
&&
!
this
.
form
.
shippingChannelId
){
return
this
.
setDefaultVolume
()
}
let
data
=
{
transportId
:
this
.
form
.
transportType
,
channelId
:
this
.
form
.
shippingChannelId
,
departureId
:
this
.
form
.
startWarehouseId
,
objectiveId
:
this
.
form
.
destWarehouseId
}
// 获得已封柜方数
getBoxedVolume
(
{
transportId
}
).
then
(
res
=>
{
getBoxedVolume
(
data
).
then
(
res
=>
{
this
.
$set
(
this
.
form
,
'
loadingNumber
'
,
res
.
data
||
0
)
})
// 获得待入仓方数
getToBeWareHousedVolume
(
{
transportId
}
).
then
(
res
=>
{
getToBeWareHousedVolume
(
data
).
then
(
res
=>
{
this
.
$set
(
this
.
form
,
'
readyWarehousingNumber
'
,
res
.
data
||
0
)
})
// 获得已入仓方数
getWareHousedVolume
(
{
transportId
}
).
then
(
res
=>
{
getWareHousedVolume
(
data
).
then
(
res
=>
{
this
.
$set
(
this
.
form
,
'
warehousedNumber
'
,
res
.
data
||
0
)
})
},
'
form.warehousedNumber
'
(){
//在仓 = 已入仓-已封柜
this
.
$set
(
this
.
form
,
'
warehousingNumber
'
,
Decimal
(
this
.
form
.
warehousedNumber
).
minus
(
this
.
form
.
loadingNumber
))
},
'
form.loadingNumber
'
(){
//在仓 = 已入仓-已封柜
this
.
$set
(
this
.
form
,
'
warehousingNumber
'
,
Decimal
(
this
.
form
.
warehousedNumber
).
minus
(
this
.
form
.
loadingNumber
))
}
setDefaultVolume
(){
this
.
$set
(
this
.
form
,
'
loadingNumber
'
,
0
)
this
.
$set
(
this
.
form
,
'
readyWarehousingNumber
'
,
0
)
this
.
$set
(
this
.
form
,
'
warehousedNumber
'
,
0
)
this
.
$set
(
this
.
form
,
'
warehousingNumber
'
,
0
)
},
methods
:
{
/** 查询列表 */
getList
()
{
this
.
loading
=
true
;
...
...
src/views/ecw/order/components/TransferCargo.vue
View file @
0a006d75
...
...
@@ -45,12 +45,12 @@
</el-table-column>
<el-table-column
:label=
"$t('体积') + '(m³)'"
>
<
template
slot-scope=
"{row}"
>
{{
r
ow
.
sumVolume
}}
{{
r
eleaseVolme
(
row
)
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('重量') + '(kg)'"
>
<
template
slot-scope=
"{row}"
>
{{
r
ow
.
sumWeight
}}
{{
r
eleaseWeight
(
row
)
}}
</
template
>
</el-table-column>
</el-table>
...
...
@@ -80,6 +80,7 @@ import {createPick, getRleaseInfo, seasoningCondimentsSelect, updateApply} from
import
AreaCodeSelector
from
'
@/components/AreaCodeSelector
'
import
SendSmsCode
from
'
@/views/ecw/order/components/SendSmsCode
'
import
WorkFlow
from
'
@/components/WorkFlow
'
import
Decimal
from
'
decimal.js
'
export
default
{
props
:{
orderId
:
[
String
,
Number
],
...
...
@@ -111,6 +112,18 @@ export default {
this
.
formData
.
ccIds
=
val
.
join
(
'
,
'
)
}
},
computed
:{
releaseVolme
(){
return
row
=>
{
return
new
Decimal
(
row
.
sumVolume
).
mul
(
row
.
releaseNum
).
div
(
row
.
sumNum
).
toFixed
(
2
)
}
},
releaseWeight
(){
return
row
=>
{
return
new
Decimal
(
row
.
sumWeight
).
mul
(
row
.
releaseNum
).
div
(
row
.
sumNum
).
toFixed
(
2
)
}
}
},
created
(){
this
.
show
=
true
this
.
loadData
()
...
...
src/views/ecw/order/detail.vue
View file @
0a006d75
...
...
@@ -3,7 +3,7 @@
<el-card
class=
"card"
>
<div
slot=
"header"
class=
"card-title"
>
{{
$t
(
'
订单编号
'
)
}}
:
{{
order
.
orderNo
}}
<template
v-if=
"order.
containerNumber"
>
-
{{
order
.
containerNumber
}}
</
template
>
<template
v-if=
"order.
tidanNo"
>
-
{{
order
.
tidanNo
}}
</
template
>
</div>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
v-if=
"order.consignorVO"
>
...
...
src/views/ecw/order/edit.vue
View file @
0a006d75
...
...
@@ -248,7 +248,7 @@
<div>
{{fee.seaRMB || 0}}{{$t('人民币')}}
</div>
<div>
{{fee.seaUSD || 0}}{{$t('美元')}}
</div>
</el-descriptions-item>
<!--代收货款,只有非控货订单、并且线路开通了代收货款后,才显示是否代收货款选项-->
<el-descriptions-item
:label=
"$t('总清关费')"
>
<div>
{{fee.clearanceNGN || 0}}{{$t('奈拉')}}
</div>
<div>
{{fee.clearanceRMB || 0}}{{$t('人民币')}}
</div>
...
...
@@ -560,6 +560,7 @@ export default {
status
:
0
,
sendstatus
:
0
,
isCargoControl
:
false
,
isCollection
:
false
,
type
:[],
isExternalWarehouse
:
false
,
externalWarehouseDtoList
:[{}],
...
...
src/views/ecw/order/index.vue
View file @
0a006d75
...
...
@@ -10,11 +10,11 @@
<el-input
v-model=
"queryParams.marks"
placeholder=
"唛头"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
-->
<el-form-item
:label=
"$t('发货人')"
prop=
"consignor
Id
"
>
<el-input
v-model=
"queryParams.consignor
Id
"
:placeholder=
"$t('发货人')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-form-item
:label=
"$t('发货人')"
prop=
"consignor
Key
"
>
<el-input
v-model=
"queryParams.consignor
Key
"
:placeholder=
"$t('发货人')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
:label=
"$t('收货人')"
prop=
"consignee
Id
"
>
<el-input
v-model=
"queryParams.consignee
Id
"
:placeholder=
"$t('收货人')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-form-item
:label=
"$t('收货人')"
prop=
"consignee
Key
"
>
<el-input
v-model=
"queryParams.consignee
Key
"
:placeholder=
"$t('收货人')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
""
>
<dict-selector
:type=
"DICT_TYPE.ECW_BEGINTIME_TYPE_ENDTIME"
v-model=
"dateFilterType"
defaultable
style=
"width: 150px; margin-right: 5px"
/>
...
...
src/views/ecw/order/pending.vue
View file @
0a006d75
...
...
@@ -174,8 +174,11 @@ export default {
})
}
}
else
{
return
this
.
$confirm
(
this
.
$t
(
'
数据缺少orderItemId参数,确定要跳转设置路线价格么?
'
)).
then
(
res
=>
{
let
url
=
'
../../lineProject/product-price/edit
'
return
this
.
$router
.
push
(
url
)
this
.
$router
.
push
(
url
)
})
}
}
else
if
(
row
.
orderExceptionType
==
'
order_heavy_cargo_exception
'
||
row
.
orderExceptionType
==
'
order_bulky_cargo_exception
'
){
...
...
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