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
b43ee9e3
Commit
b43ee9e3
authored
Nov 23, 2022
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户延期回显更新
parent
773bfaf5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
4 deletions
+24
-4
delay.vue
src/views/ecw/customer/delay.vue
+24
-4
No files found.
src/views/ecw/customer/delay.vue
View file @
b43ee9e3
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
<!-- 只有不需要预付才需要审核 -->
<!-- 只有不需要预付才需要审核 -->
<template>
<template>
<div
class=
"page-title"
>
{{
$t
(
'
审批流程
'
)
}}
</div>
<div
class=
"page-title"
>
{{
$t
(
'
审批流程
'
)
}}
</div>
<work-flow
xmlkey=
"quotation_customer_delay_public"
v-model=
"
handlerParams.ccIds
"
/>
<work-flow
xmlkey=
"quotation_customer_delay_public"
v-model=
"
ccIdArr
"
/>
</
template
>
</
template
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<!-- bpmStatus
<!-- bpmStatus
...
@@ -81,9 +81,15 @@
...
@@ -81,9 +81,15 @@
showWorkFlow
:
false
,
// 是否显示工作流
showWorkFlow
:
false
,
// 是否显示工作流
dateRangeCreateTime
:[],
dateRangeCreateTime
:[],
pickerOptions
:
{
pickerOptions
:
{
}
},
ccIdArr
:[]
};
};
},
},
watch
:{
ccIdArr
(){
this
.
$set
(
this
.
handlerParams
,
'
ccIds
'
,
this
.
ccIdArr
.
join
(
'
,
'
))
}
},
created
()
{
created
()
{
if
(
this
.
$route
.
query
.
id
){
if
(
this
.
$route
.
query
.
id
){
this
.
getData
(
this
.
$route
.
query
.
id
)
this
.
getData
(
this
.
$route
.
query
.
id
)
...
@@ -105,6 +111,16 @@
...
@@ -105,6 +111,16 @@
if
(
!
that
.
handlerParams
.
orgEstimateEnterOpenSeaTime
){
if
(
!
that
.
handlerParams
.
orgEstimateEnterOpenSeaTime
){
that
.
handlerParams
.
orgEstimateEnterOpenSeaTime
=
that
.
getNowDate
(
that
.
customerData
.
enterOpenSeaTime
)
that
.
handlerParams
.
orgEstimateEnterOpenSeaTime
=
that
.
getNowDate
(
that
.
customerData
.
enterOpenSeaTime
)
}
}
if
(
that
.
handlerParams
.
estimateEnterOpenSeaTime
){
that
.
handlerParams
.
estimateEnterOpenSeaTime
=
that
.
getTime
(
that
.
handlerParams
.
estimateEnterOpenSeaTime
)
}
if
(
that
.
handlerParams
.
ccIds
){
var
ids
=
that
.
handlerParams
.
ccIds
.
split
(
'
,
'
)
ids
.
map
(
v
=>
{
that
.
ccIdArr
.
push
(
parseInt
(
v
))
})
}
console
.
log
(
that
.
handlerParams
)
console
.
log
(
that
.
handlerParams
)
}
else
{
}
else
{
that
.
handlerParams
=
{
that
.
handlerParams
=
{
...
@@ -134,8 +150,8 @@
...
@@ -134,8 +150,8 @@
// return
// return
// }
// }
var
params
=
Object
.
assign
({},
this
.
handlerParams
)
var
params
=
Object
.
assign
({},
this
.
handlerParams
)
var
ccIds
=
Array
.
isArray
(
this
.
handlerParams
.
ccIds
)
?
this
.
handlerParams
.
ccIds
.
join
(
'
,
'
)
:
this
.
handlerParams
.
ccIds
//
var ccIds = Array.isArray(this.handlerParams.ccIds) ? this.handlerParams.ccIds.join(',') : this.handlerParams.ccIds
params
.
ccIds
=
ccIds
//
params.ccIds = ccIds
params
.
voucher
=
Array
.
isArray
(
this
.
handlerParams
.
voucher
)
?
this
.
handlerParams
.
voucher
.
join
(
'
,
'
)
:
this
.
handlerParams
.
voucher
params
.
voucher
=
Array
.
isArray
(
this
.
handlerParams
.
voucher
)
?
this
.
handlerParams
.
voucher
.
join
(
'
,
'
)
:
this
.
handlerParams
.
voucher
this
.
$set
(
this
.
handlerParams
,
'
createTime
'
,
this
.
formatDate
())
this
.
$set
(
this
.
handlerParams
,
'
createTime
'
,
this
.
formatDate
())
params
.
estimateEnterOpenSeaTime
=
this
.
getNowDate
(
this
.
handlerParams
.
estimateEnterOpenSeaTime
)
params
.
estimateEnterOpenSeaTime
=
this
.
getNowDate
(
this
.
handlerParams
.
estimateEnterOpenSeaTime
)
...
@@ -144,6 +160,10 @@
...
@@ -144,6 +160,10 @@
this
.
$store
.
dispatch
(
'
tagsView/delCurrentView
'
)
this
.
$store
.
dispatch
(
'
tagsView/delCurrentView
'
)
})
})
},
},
getTime
(
dateTime
){
var
date
=
new
Date
(
dateTime
);
return
date
.
getTime
()
},
getNowDate
(
time
)
{
getNowDate
(
time
)
{
if
(
time
){
if
(
time
){
var
date
=
new
Date
(
time
);
var
date
=
new
Date
(
time
);
...
...
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