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
aa109fbb
Commit
aa109fbb
authored
Oct 17, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预付异常和新建订单文案
parent
095cfff5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
13 deletions
+40
-13
index.vue
src/components/RoutersSelector/index.vue
+2
-1
edit.vue
src/views/ecw/order/edit.vue
+2
-2
prepayDeal.vue
src/views/ecw/order/prepayDeal.vue
+36
-10
No files found.
src/components/RoutersSelector/index.vue
View file @
aa109fbb
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
prop=
""
>
<el-table-column
:label=
"$t('操作')"
prop=
""
>
<
template
slot=
"header"
>
<
template
slot=
"header"
>
<el-checkbox
@
change=
"toggleGroupChecker(index, $event)"
></el-checkbox>
<el-checkbox
@
change=
"toggleGroupChecker(index, $event)"
v-model=
"groupChecker[item.value]"
></el-checkbox>
</
template
>
</
template
>
<
template
slot-scope=
"{row}"
>
<
template
slot-scope=
"{row}"
>
<el-checkbox
:checked=
"getSelectedIndex(row) > -1"
@
change=
"toggleChecker(row, $event)"
></el-checkbox>
<el-checkbox
:checked=
"getSelectedIndex(row) > -1"
@
change=
"toggleChecker(row, $event)"
></el-checkbox>
...
@@ -88,6 +88,7 @@ export default {
...
@@ -88,6 +88,7 @@ export default {
selectedRoutes
:
[],
// 勾选的路线渠道
selectedRoutes
:
[],
// 勾选的路线渠道
hideMap
:
{},
// 折叠状态
hideMap
:
{},
// 折叠状态
checkAll
:
null
,
checkAll
:
null
,
groupChecker
:
{},
// 分组全选记录
}
}
},
},
...
...
src/views/ecw/order/edit.vue
View file @
aa109fbb
...
@@ -425,8 +425,8 @@
...
@@ -425,8 +425,8 @@
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<el-button
type=
"primary"
@
click=
"submitForm(0)"
v-if=
"!form.status"
>
{{
$t
(
'
保存草稿
'
)
}}
</el-button>
<!--草稿-->
<el-button
type=
"primary"
@
click=
"submitForm(0)"
v-if=
"!form.status"
>
{{
$t
(
'
保存草稿
'
)
}}
</el-button>
<!--草稿-->
<el-button
type=
"primary"
@
click=
"submitForm(2)"
v-if=
"!form.orderId || !form.status"
>
{{
$t
(
'
提交报价
'
)
}}
</el-button>
<!--待入仓-->
<el-button
type=
"primary"
@
click=
"submitForm(2)"
v-if=
"!form.orderId || !form.status"
>
{{
$t
(
'
新建订单
'
)
}}
</el-button>
<!--待入仓-->
<el-button
type=
"primary"
@
click=
"submitForm(2)"
v-else
>
{{
$t
(
'
编辑
'
)
}}
</el-button>
<!--修改-->
<el-button
type=
"primary"
@
click=
"submitForm(2)"
v-else
>
{{
$t
(
'
编辑
订单
'
)
}}
</el-button>
<!--修改-->
</
template
>
</
template
>
<el-button
@
click=
"$store.dispatch('tagsView/delCurrentView')"
>
{{$t('返回')}}
</el-button>
<el-button
@
click=
"$store.dispatch('tagsView/delCurrentView')"
>
{{$t('返回')}}
</el-button>
</el-form-item>
</el-form-item>
...
...
src/views/ecw/order/prepayDeal.vue
View file @
aa109fbb
...
@@ -32,7 +32,9 @@
...
@@ -32,7 +32,9 @@
<div
v-if=
"orderExceptionData.orderExceptionType!='order_doc_exception'&&orderExceptionData.orderExceptionType!='order_consignor_exception'&&orderExceptionData.orderExceptionType!='order_other_exception'"
>
<div
v-if=
"orderExceptionData.orderExceptionType!='order_doc_exception'&&orderExceptionData.orderExceptionType!='order_consignor_exception'&&orderExceptionData.orderExceptionType!='order_other_exception'"
>
<el-row>
<el-row>
<el-form-item
:label=
"$t('填单参数')+':'"
>
<el-form-item
:label=
"$t('填单参数')+':'"
>
<template
v-if=
"orderData && orderData.costVO"
>
{{
(
orderData
.
costVO
.
totalNum
||
0
)
+
$t
(
'
箱
'
)
+
(
orderData
.
costVO
.
totalVolume
||
0
)
+
'
m³
'
+
(
orderData
.
costVO
.
totalWeight
||
0
)
+
'
kg
'
+
(
orderData
.
costVO
.
totalQuantity
||
0
)
+
$t
(
'
个
'
)
}}
{{
(
orderData
.
costVO
.
totalNum
||
0
)
+
$t
(
'
箱
'
)
+
(
orderData
.
costVO
.
totalVolume
||
0
)
+
'
m³
'
+
(
orderData
.
costVO
.
totalWeight
||
0
)
+
'
kg
'
+
(
orderData
.
costVO
.
totalQuantity
||
0
)
+
$t
(
'
个
'
)
}}
</
template
>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<el-row>
<el-row>
...
@@ -205,8 +207,9 @@
...
@@ -205,8 +207,9 @@
<el-row
v-if=
"orderExceptionData.orderExceptionType!='order_miss_exception'&&orderExceptionData.orderExceptionType!='order_superfluous_goods_exception'&&orderExceptionData.orderExceptionType!='order_in_water_exception'&&orderExceptionData.orderExceptionType!='order_damage_exception'"
>
<el-row
v-if=
"orderExceptionData.orderExceptionType!='order_miss_exception'&&orderExceptionData.orderExceptionType!='order_superfluous_goods_exception'&&orderExceptionData.orderExceptionType!='order_in_water_exception'&&orderExceptionData.orderExceptionType!='order_damage_exception'"
>
<el-form-item
:label=
"$t('处理结果')+':'"
required
>
<el-form-item
:label=
"$t('处理结果')+':'"
required
>
<el-select
v-model=
"handlerParams.orderExceptionHandlerResult"
placeholder=
"请选择"
clearable
>
<el-select
v-model=
"handlerParams.orderExceptionHandlerResult"
placeholder=
"请选择"
clearable
>
<el-option
v-for=
"dict in getDictDatas(orderExceptionData.orderExceptionType+'_result')"
<
template
v-for=
"dict in getDictDatas(orderExceptionData.orderExceptionType+'_result')"
>
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
<el-option
v-if=
"orderFee && orderFee.result && orderFee.result.indexOf(dict.value) > -1"
:key=
"dict.value"
:label=
"$l(dict, 'label')"
:value=
"dict.value"
/>
</
template
>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
...
@@ -267,19 +270,34 @@
...
@@ -267,19 +270,34 @@
</div>
</div>
</el-form>
</el-form>
</el-card>
</el-card>
<!-- 只有不需要预付才需要审核 -->
<
template
v-if=
"showWorkFlow"
>
<div
class=
"page-title"
>
审批流程
</div>
<work-flow
xmlkey=
"commission_config"
v-model=
"handlerParams.ccIds"
/>
</
template
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
v-if=
"orderExceptionData.orderExceptionStatus!='order_pay_exception'"
>
<!-- 审核中显示 -->
<
template
v-if=
"orderExceptionData.bpmStatus == 1"
>
<el-button
type=
"primary"
@
click=
"$router.push(`/bpm/process-instance/detail?id=`+orderExceptionData.bpmId)"
>
{{
$t
(
'
审核中
'
)
}}
</el-button>
<el-button
plain
type=
"primary"
@
click=
"dialogVisible = true"
>
{{
$t
(
'
取消审核
'
)
}}
</el-button>
<el-button
plain
type=
"primary"
@
click=
"$store.dispatch('tagsView/delCurrentView')"
>
{{
$t
(
'
返回
'
)
}}
</el-button>
</
template
>
<div
v-else
>
<el-button
type=
"primary"
@
click=
"submitForm"
>
{{$t('提交')}}
</el-button>
<el-button
type=
"primary"
@
click=
"submitForm"
>
{{$t('提交')}}
</el-button>
<el-button
plain
type=
"primary"
@
click=
"$store.dispatch('tagsView/delCurrentView')"
>
{{$t('取消')}}
</el-button>
<el-button
plain
type=
"primary"
@
click=
"$store.dispatch('tagsView/delCurrentView')"
>
{{$t('取消')}}
</el-button>
</div>
</div>
<div
v-if=
"orderExceptionData.orderExceptionStatus=='order_pay_exception'&&!orderExceptionData.bpmId"
>
<!-- <div v-else-if="orderExceptionData.orderExceptionStatus!='order_pay_exception'">
<el-button type="primary" @click="submitForm">{{$t('提交')}}</el-button>
<el-button type="primary" @click="submitForm">{{$t('提交')}}</el-button>
<el-button plain type="primary" @click="$store.dispatch('tagsView/delCurrentView')">{{$t('取消')}}</el-button>
<el-button plain type="primary" @click="$store.dispatch('tagsView/delCurrentView')">{{$t('取消')}}</el-button>
</div>
</div>
<div v-else-if="orderExceptionData.orderExceptionStatus=='order_pay_exception'&&!orderExceptionData.bpmId">
<el-button type="primary" @click="submitForm">{{$t('提交')}}</el-button>
<el-button plain type="primary" @click="$store.dispatch('tagsView/delCurrentView')">{{$t('取消')}}</el-button>
</div> -->
<!-- <el-button v-if="orderExceptionData.orderExceptionStatus=='order_pay_exception'" type="primary" @click="submitForm">转交</el-button> -->
<!-- <el-button v-if="orderExceptionData.orderExceptionStatus=='order_pay_exception'" type="primary" @click="submitForm">转交</el-button> -->
<el-button
v-if=
"orderExceptionData.orderExceptionStatus=='order_pay_exception'&&orderExceptionData.bpmId"
type=
"primary"
@
click=
"$router.push(`/bpm/process-instance/detail?id=`+orderExceptionData.bpmId)"
>
{{$t('审核中
<
')}}</
el-button
>
<el-button
v-if=
"orderExceptionData.orderExceptionStatus=='order_pay_exception'&&orderExceptionData.bpmId"
plain
type=
"primary"
@
click=
"dialogVisible = true"
>
{{$t('取消审核')}}
</el-button>
<el-button
v-if=
"orderExceptionData.orderExceptionStatus=='order_pay_exception'&&orderExceptionData.bpmId"
plain
type=
"primary"
@
click=
"$store.dispatch('tagsView/delCurrentView')"
>
{{$t('返回')}}
</el-button>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -291,11 +309,11 @@
...
@@ -291,11 +309,11 @@
import
{
getCurrencyList
}
from
'
@/api/ecw/currency
'
import
{
getCurrencyList
}
from
'
@/api/ecw/currency
'
import
{
getExceptionById
,
handlerExceptionByExceptionId
,
getOrderItemById
,
getOrderFeeById
}
from
"
@/api/ecw/orderException
"
import
{
getExceptionById
,
handlerExceptionByExceptionId
,
getOrderItemById
,
getOrderFeeById
}
from
"
@/api/ecw/orderException
"
import
{
getFirstReceivableListByOrderId
}
from
'
@/api/ecw/financial
'
import
{
getFirstReceivableListByOrderId
}
from
'
@/api/ecw/financial
'
import
WorkFlow
from
'
@/components/WorkFlow
'
export
default
{
export
default
{
name
:
"
PrepayDeal
"
,
name
:
"
PrepayDeal
"
,
components
:
{
components
:
{
FileUpload
FileUpload
,
WorkFlow
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -321,6 +339,7 @@
...
@@ -321,6 +339,7 @@
preException
:[],
preException
:[],
orderFee
:[],
orderFee
:[],
currencyList
:[],
currencyList
:[],
showWorkFlow
:
false
,
// 是否显示工作流
};
};
},
},
created
()
{
created
()
{
...
@@ -332,6 +351,13 @@
...
@@ -332,6 +351,13 @@
}
}
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
},
},
watch
:{
'
handlerParams.orderExceptionHandlerResult
'
(
val
){
if
(
val
==
'
no_pay
'
){
this
.
showWorkFlow
=
true
}
}
},
computed
:
{
computed
:
{
currentMap
(){
currentMap
(){
let
map
=
{}
let
map
=
{}
...
@@ -376,7 +402,7 @@
...
@@ -376,7 +402,7 @@
getOrderFeeByIdData
(){
getOrderFeeByIdData
(){
getOrderFeeById
({
id
:
this
.
orderId
}).
then
(
response
=>
{
getOrderFeeById
({
id
:
this
.
orderId
}).
then
(
response
=>
{
this
.
orderFee
=
response
.
data
this
.
orderFee
=
response
.
data
this
.
handlerParams
.
orderExceptionHandlerResult
=
this
.
orderFee
.
result
this
.
handlerParams
.
orderExceptionHandlerResult
=
this
.
orderFee
.
result
[
0
]
})
})
},
},
getPreExceptionData
(){
getPreExceptionData
(){
...
...
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