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
f0294804
Commit
f0294804
authored
Sep 04, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加渠道包装重量超限异常
parent
35fb8344
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
5 deletions
+17
-5
index.vue
src/views/ecw/order/exception/index.vue
+1
-0
pending.vue
src/views/ecw/order/pending.vue
+1
-0
prepayDeal.vue
src/views/ecw/order/prepayDeal.vue
+4
-4
weightDeal.vue
src/views/ecw/order/weightDeal.vue
+11
-1
No files found.
src/views/ecw/order/exception/index.vue
View file @
f0294804
...
@@ -254,6 +254,7 @@
...
@@ -254,6 +254,7 @@
<el-button
v-else-if=
"scope.row.orderExceptionType=='in_warehousing_diff_exception'"
v-hasPermi=
"['ecw:exception:inWarehousingException']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='in_warehousing_diff_exception'"
v-hasPermi=
"['ecw:exception:inWarehousingException']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='stock_up_exception'"
v-hasPermi=
"['ecw:exception:stockUpException']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='stock_up_exception'"
v-hasPermi=
"['ecw:exception:stockUpException']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='channel_exception'"
v-hasPermi=
"['ecw:exception:channelException']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='channel_exception'"
v-hasPermi=
"['ecw:exception:channelException']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='channel_packaging_overweight_exception'"
v-hasPermi=
"['ecw:exception:channelPackagingException']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/ecw/order/pending.vue
View file @
f0294804
...
@@ -173,6 +173,7 @@
...
@@ -173,6 +173,7 @@
<el-button
v-else-if=
"scope.row.orderExceptionType=='in_warehousing_diff_exception'"
v-hasPermi=
"['ecw:exception:inWarehousingException']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='in_warehousing_diff_exception'"
v-hasPermi=
"['ecw:exception:inWarehousingException']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='stock_up_exception'"
v-hasPermi=
"['ecw:exception:stockUpException']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='stock_up_exception'"
v-hasPermi=
"['ecw:exception:stockUpException']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='channel_exception'"
v-hasPermi=
"['ecw:exception:channelException']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='channel_exception'"
v-hasPermi=
"['ecw:exception:channelException']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='channel_packaging_overweight_exception'"
v-hasPermi=
"['ecw:exception:channelPackagingException']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/ecw/order/prepayDeal.vue
View file @
f0294804
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<div
v-if=
"shopData&&['goods_add_exception','line_loop_exception','overweight_exception','stock_up_exception','in_warehousing_diff_exception','channel_exception','not_shipping_channel_exception'].indexOf(orderExceptionData.orderExceptionType) == -1"
>
<div
v-if=
"shopData&&['goods_add_exception','line_loop_exception','overweight_exception','stock_up_exception','in_warehousing_diff_exception','channel_exception','not_shipping_channel_exception'
,'channel_packaging_overweight_exception'
].indexOf(orderExceptionData.orderExceptionType) == -1"
>
<el-row>
<el-row>
<el-form-item
:label=
"$t('产品名称')+':'"
>
<el-form-item
:label=
"$t('产品名称')+':'"
>
{{
shopData
.
prodTitleZh
||
''
}}
{{
shopData
.
prodTitleZh
||
''
}}
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
{{
orderData
?
getRouterNameById
():
''
}}
{{
orderData
?
getRouterNameById
():
''
}}
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<el-row
:span=
"12"
v-if=
"orderExceptionData.orderExceptionType=='overweight_exception'"
>
<el-row
:span=
"12"
v-if=
"orderExceptionData.orderExceptionType=='overweight_exception'
||orderExceptionData.orderException=='channel_packaging_overweight_exception'
"
>
<el-form-item
:label=
"$t('异常描述')+':'"
>
<el-form-item
:label=
"$t('异常描述')+':'"
>
<!--
<dict-tag
:type=
"DICT_TYPE.ORDER_ERROR_TYPE"
:value=
"orderExceptionData.orderExceptionType"
/>
-->
<!--
<dict-tag
:type=
"DICT_TYPE.ORDER_ERROR_TYPE"
:value=
"orderExceptionData.orderExceptionType"
/>
-->
<!--
{{
orderExceptionData
.
orderExceptionDescVO
?
orderExceptionData
.
orderExceptionDescVO
.
descZh
:
'
无
'
}}
-->
<!--
{{
orderExceptionData
.
orderExceptionDescVO
?
orderExceptionData
.
orderExceptionDescVO
.
descZh
:
'
无
'
}}
-->
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<!-- 单证异常,发货人异常,其他异常 不显示这部分内容 -->
<!-- 单证异常,发货人异常,其他异常 不显示这部分内容 -->
<div
v-if=
"['order_doc_exception','order_consignor_exception', 'order_other_exception','overweight_exception'].indexOf(orderExceptionData.orderExceptionType) == -1"
>
<div
v-if=
"['order_doc_exception','order_consignor_exception', 'order_other_exception','overweight_exception'
,'channel_packaging_overweight_exception'
].indexOf(orderExceptionData.orderExceptionType) == -1"
>
<!-- 预付异常,提货异常,代收货款是针对整个订单的 -->
<!-- 预付异常,提货异常,代收货款是针对整个订单的 -->
<template
v-if=
"['order_pay_exception','order_pick_up_exception', 'order_cod_exception','not_customer_service_exception'].indexOf(orderExceptionData.orderExceptionType) > -1"
>
<template
v-if=
"['order_pay_exception','order_pick_up_exception', 'order_cod_exception','not_customer_service_exception'].indexOf(orderExceptionData.orderExceptionType) > -1"
>
<el-row>
<el-row>
...
@@ -174,7 +174,7 @@
...
@@ -174,7 +174,7 @@
<
/el-table
>
<
/el-table
>
<!--
单证异常,发货人异常,其他异常的表格
-->
<!--
单证异常,发货人异常,其他异常的表格
-->
<
el
-
table
v
-
if
=
"
['order_doc_exception', 'order_consignor_exception', 'order_other_exception','fee_exception','overweight_exception'].indexOf(orderExceptionData.orderExceptionType) > -1
"
v
-
loading
=
"
loading
"
border
:
data
=
"
orderData.orderItemVOList
"
>
<
el
-
table
v
-
if
=
"
['order_doc_exception', 'order_consignor_exception', 'order_other_exception','fee_exception','overweight_exception'
,'channel_packaging_overweight_exception'
].indexOf(orderExceptionData.orderExceptionType) > -1
"
v
-
loading
=
"
loading
"
border
:
data
=
"
orderData.orderItemVOList
"
>
<
el
-
table
-
column
:
label
=
"
$t('序号')
"
align
=
"
center
"
prop
=
"
id
"
type
=
"
index
"
>
<
el
-
table
-
column
:
label
=
"
$t('序号')
"
align
=
"
center
"
prop
=
"
id
"
type
=
"
index
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
scope
.
$index
+
1
}}
<
/span
>
<
span
>
{{
scope
.
$index
+
1
}}
<
/span
>
...
...
src/views/ecw/order/weightDeal.vue
View file @
f0294804
...
@@ -4,6 +4,9 @@
...
@@ -4,6 +4,9 @@
<el-card>
<el-card>
<div
slot=
"header"
class=
"card-title"
>
{{
$t
(
'
查看
'
)
}}
</div>
<div
slot=
"header"
class=
"card-title"
>
{{
$t
(
'
查看
'
)
}}
</div>
<el-descriptions
:column=
"4"
>
<el-descriptions
:column=
"4"
>
<el-descriptions-item
:label=
"$t('订单号')"
>
{{
orderData
.
orderNo
||
''
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('唛头')"
>
<el-descriptions-item
:label=
"$t('唛头')"
>
{{
orderData
.
marks
?
orderData
.
marks
:
$t
(
'
无
'
)
}}
{{
orderData
.
marks
?
orderData
.
marks
:
$t
(
'
无
'
)
}}
</el-descriptions-item>
</el-descriptions-item>
...
@@ -16,8 +19,9 @@
...
@@ -16,8 +19,9 @@
<el-descriptions-item
:label=
"$t('送货日期')"
>
<el-descriptions-item
:label=
"$t('送货日期')"
>
<span>
{{
orderData
.
deliveryDate
||
$t
(
'
无
'
)
}}
</span>
<span>
{{
orderData
.
deliveryDate
||
$t
(
'
无
'
)
}}
</span>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('运输方式')"
>
<el-descriptions-item
:label=
"$t('运输方式')"
:span=
"2"
>
<dict-tag
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"orderData.transportId"
/>
<dict-tag
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"orderData.transportId"
/>
<span
v-if=
"getDictData(DICT_TYPE.ECW_TRANSPORT_TYPE, orderData.transportId).cssClass == 'channel'"
style=
"margin-left:10px"
>
{{
$t
(
'
出货渠道
'
)
}}
:
{{
orderData
.
channelName
}}
</span>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('始发地')"
:span=
"2"
>
<el-descriptions-item
:label=
"$t('始发地')"
:span=
"2"
>
{{
orderData
.
logisticsInfoDto
?
orderData
.
logisticsInfoDto
.
startTitleZh
:
$t
(
'
无
'
)
}}
{{
orderData
.
logisticsInfoDto
?
orderData
.
logisticsInfoDto
.
startTitleZh
:
$t
(
'
无
'
)
}}
...
@@ -150,6 +154,7 @@ import {getExceptionById,handlerExceptionByExceptionId,getOrderExcptionResult} f
...
@@ -150,6 +154,7 @@ import {getExceptionById,handlerExceptionByExceptionId,getOrderExcptionResult} f
import
{
DICT_TYPE
}
from
'
@/utils/dict
'
import
{
DICT_TYPE
}
from
'
@/utils/dict
'
import
{
getOrder
}
from
'
@/api/ecw/order
'
import
{
getOrder
}
from
'
@/api/ecw/order
'
import
{
getProductBrankPage
}
from
'
@/api/ecw/productBrank
'
import
{
getProductBrankPage
}
from
'
@/api/ecw/productBrank
'
import
{
getDictData
,
getDictDatas
}
from
'
@/utils/dict
'
export
default
{
export
default
{
name
:
"
WeightDeal
"
,
name
:
"
WeightDeal
"
,
...
@@ -182,6 +187,11 @@ export default {
...
@@ -182,6 +187,11 @@ export default {
this
.
branklist
=
data
.
data
.
list
this
.
branklist
=
data
.
data
.
list
})
})
},
},
computed
:{
getDictData
(){
return
(
type
,
value
)
=>
getDictData
(
type
,
value
)
||
{}
},
},
methods
:
{
methods
:
{
/** 查询列表 */
/** 查询列表 */
getList
()
{
getList
()
{
...
...
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