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
290255a4
Commit
290255a4
authored
Aug 10, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/release2.2' into release2.2
parents
aa44e7e5
f8a93486
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
84 additions
and
18 deletions
+84
-18
orderCargoControl.js
src/api/ecw/orderCargoControl.js
+9
-1
selfNoReport.vue
src/views/ecw/financial/selfNoReport.vue
+18
-15
voucher.vue
src/views/ecw/financial/voucher.vue
+2
-2
cargoControl.vue
src/views/ecw/order/cargoControl.vue
+6
-0
CargoLogList.vue
src/views/ecw/order/components/CargoLogList.vue
+49
-0
No files found.
src/api/ecw/orderCargoControl.js
View file @
290255a4
...
...
@@ -148,4 +148,12 @@ export function exportCargoControl(params){
responseType
:
'
arraybuffer
'
,
params
})
}
\ No newline at end of file
}
// 控货日志
export
function
getControlLogList
(
orderId
){
return
request
({
url
:
'
/order/order-control-log/list/
'
+
orderId
,
method
:
'
get
'
})
}
src/views/ecw/financial/selfNoReport.vue
View file @
290255a4
...
...
@@ -257,10 +257,10 @@ export default {
},
// 获取列的货币名称 columnName 取值为Other, Freight, Clearance
ColumnCurrencyName
(){
return
(
columnName
)
=>
{
return
(
columnName
,
wrapper
=
true
)
=>
{
if
(
!
this
.
list
.
length
)
return
''
let
field
=
`total
${
columnName
}
FeeCurrency`
return
`(
${
this
.
list
[
0
][
'
summaryInfo
'
][
field
]}
)`
return
wrapper
?
`(
${
this
.
list
[
0
][
'
summaryInfo
'
][
field
]}
)`
:
this
.
list
[
0
][
'
summaryInfo
'
][
field
]
}
}
},
...
...
@@ -296,35 +296,38 @@ export default {
},
// 返回汇总行数据
getSummary
(){
const
FreightCurrencyName
=
this
.
ColumnCurrencyName
(
'
Freight
'
,
false
)
const
ClearanceCurrencyName
=
this
.
ColumnCurrencyName
(
'
Clearance
'
,
false
)
const
OtherCurrencyName
=
this
.
ColumnCurrencyName
(
'
Other
'
,
false
)
const
data
=
[
this
.
$t
(
'
合计
'
),
''
,
// 应收款
this
.
getTotal
(
'
receivableTotalFee
'
),
this
.
getTotal
(
'
receivableTotalFee
'
)
+
'
USD
'
,
// 应收运费
this
.
getTotal
(
'
totalReceivableFreightFee
'
),
this
.
getTotal
(
'
totalReceivableFreightFee
'
)
+
FreightCurrencyName
,
// 应收清关费
this
.
getTotal
(
'
totalReceivableClearanceFee
'
),
this
.
getTotal
(
'
totalReceivableClearanceFee
'
)
+
ClearanceCurrencyName
,
// 应收其他费用
this
.
getTotal
(
'
totalReceivableOtherFee
'
),
this
.
getTotal
(
'
totalReceivableOtherFee
'
)
+
OtherCurrencyName
,
// 目的地实收运费
this
.
getTotal
(
'
totalNetReceiptsCollectFreightFee
'
),
this
.
getTotal
(
'
totalNetReceiptsCollectFreightFee
'
)
+
FreightCurrencyName
,
// 目的地实收清关费
this
.
getTotal
(
'
totalNetReceiptsCollectClearanceFee
'
),
this
.
getTotal
(
'
totalNetReceiptsCollectClearanceFee
'
)
+
ClearanceCurrencyName
,
// 目的地实收其他费用
this
.
getTotal
(
'
totalNetReceiptsCollectOtherFee
'
),
this
.
getTotal
(
'
totalNetReceiptsCollectOtherFee
'
)
+
OtherCurrencyName
,
// 中国实收运费
this
.
getTotal
(
'
netReceiptsAdvanceFreightFee
'
),
this
.
getTotal
(
'
netReceiptsAdvanceFreightFee
'
)
+
FreightCurrencyName
,
// 中国实收清关费
this
.
getTotal
(
'
netReceiptsAdvanceClearanceFee
'
),
this
.
getTotal
(
'
netReceiptsAdvanceClearanceFee
'
)
+
ClearanceCurrencyName
,
// 中国实收其他费用
this
.
getTotal
(
'
netReceiptsAdvanceOtherFee
'
),
this
.
getTotal
(
'
netReceiptsAdvanceOtherFee
'
)
+
OtherCurrencyName
,
// 运费折扣
this
.
getTotal
(
'
discountFreightFee
'
),
this
.
getTotal
(
'
discountFreightFee
'
)
+
FreightCurrencyName
,
// 清关费折扣
this
.
getTotal
(
'
discountClearanceFee
'
),
this
.
getTotal
(
'
discountClearanceFee
'
)
+
ClearanceCurrencyName
,
// 其他费用折扣
this
.
getTotal
(
'
discountOtherFee
'
)
this
.
getTotal
(
'
discountOtherFee
'
)
+
OtherCurrencyName
,
]
console
.
log
(
'
sum
'
,
{
data
})
return
data
...
...
src/views/ecw/financial/voucher.vue
View file @
290255a4
...
...
@@ -67,8 +67,8 @@
<el-form-item
:label=
"$t('编号')"
>
<el-input
style=
"max-width: 188px"
v-model=
"queryParams.
receipt
No"
:placeholder=
"$t('
请输入订单号和提单号、
自编号')"
v-model=
"queryParams.
number
No"
:placeholder=
"$t('
订单号和提单号,
自编号')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
...
...
src/views/ecw/order/cargoControl.vue
View file @
290255a4
...
...
@@ -145,6 +145,7 @@
<el-button
type=
"text"
size=
"mini"
@
click=
"cargoTransfer(scope.row)"
v-hasPermi=
"['ecw:cargo_control:cargo_transfer']"
>
{{
$t
(
'
调货
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"showFallbackOrder=scope.row"
v-if=
"scope.row.isReleaseAfterGoods"
v-hasPermi=
"['ecw:cargo_control:fallback']"
>
{{
$t
(
'
反复核
'
)
}}
</el-button>
</
template
>
<el-button
type=
"text"
size=
"mini"
@
click=
"showLogOrderId=scope.row.orderId"
v-hasPermi=
"['ecw:cargo_control:log']"
>
{{$t('控货日志')}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
v-hasPermi=
"['ecw:cargo_control:show']"
>
{{$t('查看')}}
</el-button>
</template>
</el-table-column>
...
...
@@ -157,6 +158,8 @@
<release
v-if=
"showReleaseOrderId"
:order-id=
"showReleaseOrderId"
@
close=
"showReleaseOrderId=null"
@
success=
"onReleaseSuccess"
/>
<transfer-cargo
v-if=
"showTransferCargoOrderId"
:order-id=
"showTransferCargoOrderId"
@
close=
"showTransferCargoOrderId=null"
@
success=
"onTransferCargoSuccess"
:cargoControlPickId=
"pickInfo ? pickInfo.id : 0"
/>
<fallback
v-if=
"showFallbackOrder !== null"
:order=
"showFallbackOrder"
@
close=
"showFallbackOrder=null"
@
success=
"onFallbackSuccess"
:index=
"null"
/>
<!--控货日志-->
<cargo-log-list
v-if=
"showLogOrderId"
:order-id=
"showLogOrderId"
@
close=
"showLogOrderId=null"
/>
</div>
</template>
...
...
@@ -173,9 +176,11 @@ import { getCargoControlOrderPage, batchReview, orderReview, getPickRleaseInfo,
import
TransferCargo
from
'
@/views/ecw/order/components/TransferCargo
'
import
Fallback
from
'
./components/Fallback
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
CargoLogList
from
"
@/views/ecw/order/components/CargoLogList.vue
"
;
export
default
{
name
:
"
EcwOrderCargocontrol
"
,
components
:
{
CargoLogList
,
CustomerSelector
,
ProductSelector
,
Selector
,
Transfer
,
Release
,
CargoControlEdit
,
TransferCargo
,
Fallback
},
data
()
{
...
...
@@ -215,6 +220,7 @@ export default {
showTransferCargoOrderId
:
null
,
// 调货ID
showFallbackOrder
:
null
,
// 调货订单
pickInfo
:
null
,
// 当前操作的提货信息
showLogOrderId
:
null
,
// 显示控货日志的订单ID
};
},
computed
:
{
...
...
src/views/ecw/order/components/CargoLogList.vue
0 → 100644
View file @
290255a4
<
template
>
<el-dialog
:title=
"$t('控货日志')"
visible
:before-close=
"closeDialog"
:close-on-click-modal=
"false"
width=
"1000px"
>
<el-table
:data=
"list"
>
<el-table-column
:label=
"$t('操作时间')"
prop=
"createTime"
width=
"200"
>
<template
slot-scope=
"
{row}">
{{
row
.
createTime
|
parseTime
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('操作人')"
prop=
"creatorName"
width=
"100"
></el-table-column>
<el-table-column
:label=
"$t('操作人类型')"
prop=
"content"
width=
"100"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
userType
==
1
?
$t
(
'
会员
'
)
:
$t
(
'
管理员
'
)
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('操作类型')"
prop=
"type"
width=
"200"
></el-table-column>
<el-table-column
:label=
"$t('备注')"
prop=
"msg"
></el-table-column>
</el-table>
</el-dialog>
</template>
<
script
>
import
{
getControlLogList
,
}
from
'
@/api/ecw/orderCargoControl
'
import
{
parseTime
}
from
'
@/utils/ruoyi
'
export
default
{
props
:{
orderId
:
Number
},
filters
:
{
parseTime
},
data
(){
return
{
show
:
false
,
list
:[]
}
},
created
(){
this
.
show
=
true
this
.
loadData
()
},
methods
:{
loadData
(){
getControlLogList
(
this
.
orderId
).
then
(
res
=>
this
.
list
=
res
.
data
)
},
closeDialog
(){
this
.
show
=
false
this
.
$emit
(
'
close
'
);
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
</
style
>
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