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
218e83e0
Commit
218e83e0
authored
Aug 08, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
控货日志
parent
ce038c18
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
1 deletion
+61
-1
orderCargoControl.js
src/api/ecw/orderCargoControl.js
+9
-1
cargoControl.vue
src/views/ecw/order/cargoControl.vue
+6
-0
CargoLogList.vue
src/views/ecw/order/components/CargoLogList.vue
+46
-0
No files found.
src/api/ecw/orderCargoControl.js
View file @
218e83e0
...
@@ -149,3 +149,11 @@ export function exportCargoControl(params){
...
@@ -149,3 +149,11 @@ export function exportCargoControl(params){
params
params
})
})
}
}
// 控货日志
export
function
getControlLogList
(
orderId
){
return
request
({
url
:
'
/order/order-control-log/list/
'
+
orderId
,
method
:
'
get
'
})
}
src/views/ecw/order/cargoControl.vue
View file @
218e83e0
...
@@ -145,6 +145,7 @@
...
@@ -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=
"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>
<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
>
</
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>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
v-hasPermi=
"['ecw:cargo_control:show']"
>
{{$t('查看')}}
</el-button>
</template>
</template>
</el-table-column>
</el-table-column>
...
@@ -157,6 +158,8 @@
...
@@ -157,6 +158,8 @@
<release
v-if=
"showReleaseOrderId"
:order-id=
"showReleaseOrderId"
@
close=
"showReleaseOrderId=null"
@
success=
"onReleaseSuccess"
/>
<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"
/>
<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"
/>
<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>
</div>
</template>
</template>
...
@@ -173,9 +176,11 @@ import { getCargoControlOrderPage, batchReview, orderReview, getPickRleaseInfo,
...
@@ -173,9 +176,11 @@ import { getCargoControlOrderPage, batchReview, orderReview, getPickRleaseInfo,
import
TransferCargo
from
'
@/views/ecw/order/components/TransferCargo
'
import
TransferCargo
from
'
@/views/ecw/order/components/TransferCargo
'
import
Fallback
from
'
./components/Fallback
'
import
Fallback
from
'
./components/Fallback
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
CargoLogList
from
"
@/views/ecw/order/components/CargoLogList.vue
"
;
export
default
{
export
default
{
name
:
"
EcwOrderCargocontrol
"
,
name
:
"
EcwOrderCargocontrol
"
,
components
:
{
components
:
{
CargoLogList
,
CustomerSelector
,
ProductSelector
,
Selector
,
Transfer
,
Release
,
CargoControlEdit
,
TransferCargo
,
Fallback
CustomerSelector
,
ProductSelector
,
Selector
,
Transfer
,
Release
,
CargoControlEdit
,
TransferCargo
,
Fallback
},
},
data
()
{
data
()
{
...
@@ -215,6 +220,7 @@ export default {
...
@@ -215,6 +220,7 @@ export default {
showTransferCargoOrderId
:
null
,
// 调货ID
showTransferCargoOrderId
:
null
,
// 调货ID
showFallbackOrder
:
null
,
// 调货订单
showFallbackOrder
:
null
,
// 调货订单
pickInfo
:
null
,
// 当前操作的提货信息
pickInfo
:
null
,
// 当前操作的提货信息
showLogOrderId
:
null
,
// 显示控货日志的订单ID
};
};
},
},
computed
:
{
computed
:
{
...
...
src/views/ecw/order/components/CargoLogList.vue
0 → 100644
View file @
218e83e0
<
template
>
<el-dialog
:title=
"$t('控货日志')"
visible
:before-close=
"closeDialog"
:close-on-click-modal=
"false"
width=
"800px"
>
<el-table
:data=
"list"
>
<el-table-column
:label=
"$t('操作时间')"
prop=
"createTime"
width=
"200"
></el-table-column>
<el-table-column
:label=
"$t('操作人')"
prop=
"creatorName"
width=
"200"
></el-table-column>
<el-table-column
:label=
"$t('操作人类型')"
prop=
"content"
>
<template
slot-scope=
"
{row}">
{{
row
.
userType
==
1
?
$t
(
'
会员
'
)
:
$t
(
'
管理员
'
)
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('操作类型')"
prop=
"type"
></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
'
export
default
{
props
:{
orderId
:
Number
},
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