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
0189e440
Commit
0189e440
authored
Mar 10, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
控货和订单列表的权限
parent
0de4a95f
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
60 additions
and
39 deletions
+60
-39
cargoControl.vue
src/views/ecw/order/cargoControl.vue
+11
-11
detail.vue
src/views/ecw/order/detail.vue
+3
-3
index.vue
src/views/ecw/order/index.vue
+46
-25
No files found.
src/views/ecw/order/cargoControl.vue
View file @
0189e440
...
...
@@ -113,31 +113,31 @@
<
template
slot-scope=
"scope"
>
<!--控货中,已入仓-->
<template
v-if=
"[0,2].indexOf(scope.row.cargoControlStatus) > -1 && scope.row.sumNum > 0"
>
<el-button
type=
"text"
size=
"mini"
@
click=
"showReleaseOrderId=scope.row.orderId"
>
{{
$t
(
'
放货
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"showTransferOrder = scope.row"
>
{{
$t
(
'
控货权转移
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"showReleaseOrderId=scope.row.orderId"
v-hasPermi=
"['ecw:cargo_control:release']"
>
{{
$t
(
'
放货
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"showTransferOrder = scope.row"
v-hasPermi=
"['ecw:cargo_control:transfer']"
>
{{
$t
(
'
控货权转移
'
)
}}
</el-button>
</
template
>
<!--部分控货-->
<
template
v-if=
"scope.row.cargoControlStatus == 2"
>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
>
{{
$t
(
'
修改
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
>
{{
$t
(
'
取消
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"review(scope.row)"
v-if=
"scope.row.isToReview"
>
{{
$t
(
'
放货复核
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
v-hasPermi=
"['ecw:cargo_control:update']"
>
{{
$t
(
'
修改
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
v-hasPermi=
"['ecw:cargo_control:cancel']"
>
{{
$t
(
'
取消
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"review(scope.row)"
v-if=
"scope.row.isToReview"
v-hasPermi=
"['ecw:cargo_control:review']"
>
{{
$t
(
'
放货复核
'
)
}}
</el-button>
</
template
>
<!--已全部放货,但是未复核-->
<
template
v-if=
"scope.row.cargoControlStatus == 1 && scope.row.isToReview"
>
<el-button
type=
"text"
size=
"mini"
@
click=
"review(scope.row)"
>
{{
$t
(
'
放货复核
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
>
{{
$t
(
'
修改
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
>
{{
$t
(
'
取消
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"review(scope.row)"
v-hasPermi=
"['ecw:cargo_control:review']"
>
{{
$t
(
'
放货复核
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
v-hasPermi=
"['ecw:cargo_control:update']"
>
{{
$t
(
'
修改
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
v-hasPermi=
"['ecw:cargo_control:cancel']"
>
{{
$t
(
'
取消
'
)
}}
</el-button>
</
template
>
<!--已完成放货,且没有待复核;真正的放货完成-->
<
template
v-if=
"scope.row.cargoControlStatus == 1 && !scope.row.isToReview"
>
<!--
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
>
{{
$t
(
'
查看
'
)
}}
</el-button>
-->
<el-button
type=
"text"
size=
"mini"
@
click=
"cargoTransfer(scope.row)"
>
{{
$t
(
'
调货
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"showFallbackOrder=scope.row"
v-if=
"scope.row.isReleaseAfterGoods"
>
{{
$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>
</
template
>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
>
{{$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>
</el-table>
...
...
src/views/ecw/order/detail.vue
View file @
0189e440
...
...
@@ -217,9 +217,9 @@
</el-tab-pane>
<el-tab-pane
:label=
"$t('运单资料/提货单')"
name=
"three"
>
<!--inWarehouseState 1待入库,2多了,3少了,4到齐-->
<el-button
type=
"text"
@
click=
"showWarehouseReceipt=true"
:disabled=
"order.inWarehouseState == 0 && order.shipmentState == 0"
>
{{$t('查看入仓单')}}
</el-button>
<el-button
type=
"text"
@
click.native=
"showLadingBill=true"
:disabled=
"!order.ladingState"
>
{{$t('查看提货单')}}
</el-button>
<el-button
:disabled=
"!order.packingListUrl"
type=
"text"
@
click=
"downloadPackingList"
>
{{$t('装箱单')}}
</el-button>
<el-button
v-hasPermi=
"['ecw:order:show_receipt']"
type=
"text"
@
click=
"showWarehouseReceipt=true"
:disabled=
"order.inWarehouseState == 0 && order.shipmentState == 0"
>
{{$t('查看入仓单')}}
</el-button>
<el-button
v-hasPermi=
"['ecw:order:show_landing']"
type=
"text"
@
click.native=
"showLadingBill=true"
:disabled=
"!order.ladingState"
>
{{$t('查看提货单')}}
</el-button>
<el-button
v-hasPermi=
"['ecw:order:show_packing']"
:disabled=
"!order.packingListUrl"
type=
"text"
@
click=
"downloadPackingList"
>
{{$t('装箱单')}}
</el-button>
</el-tab-pane>
<el-tab-pane
:label=
"$t('费用明细')"
name=
"four"
>
<el-table
:data=
"feeList"
>
...
...
src/views/ecw/order/index.vue
View file @
0189e440
This diff is collapsed.
Click to expand it.
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