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
6c74122f
Commit
6c74122f
authored
Jul 31, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退仓详情
parent
616499bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
4 deletions
+21
-4
warehouseDetails.vue
src/views/ecw/order/components/warehouseDetails.vue
+21
-4
No files found.
src/views/ecw/order/components/warehouseDetails.vue
View file @
6c74122f
...
@@ -73,18 +73,24 @@
...
@@ -73,18 +73,24 @@
{{
FeeDetails
.
remarks
}}
{{
FeeDetails
.
remarks
}}
</div>
</div>
</div>
</div>
<div
v-if=
"type === 3"
>
<p>
申请理由
</p>
<div>
{{
FeeDetails
.
details
&&
FeeDetails
.
details
.
reason
?
FeeDetails
.
details
.
reason
:
''
}}
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
warehouseApprovalGetByFormId
,
warehouseAreaPositionList
}
from
"
@/api/ecw/batchSingleApplication
"
;
import
{
warehouseApprovalGetByFormId
,
warehouseAreaPositionList
}
from
"
@/api/ecw/batchSingleApplication
"
;
import
{
applicationGetOrderByProcessId
}
from
"
@/api/ecw/order
"
;
import
{
applicationGetOrderByProcessId
,
getOrder
}
from
"
@/api/ecw/order
"
;
import
{
getChannelList
}
from
'
@/api/ecw/channel
'
;
import
{
getChannelList
}
from
'
@/api/ecw/channel
'
;
export
default
{
export
default
{
props
:{
props
:{
type
:{
type
:{
type
:
Number
,
type
:
Number
,
default
:
2
,
default
:
1
,
},
},
processId
:{
processId
:{
type
:[
Number
,
String
],
type
:[
Number
,
String
],
...
@@ -104,25 +110,36 @@ export default {
...
@@ -104,25 +110,36 @@ export default {
warehouseAreaPositionList
().
then
(
r
=>
this
.
warehouseList
=
r
.
data
)
warehouseAreaPositionList
().
then
(
r
=>
this
.
warehouseList
=
r
.
data
)
switch
(
this
.
type
){
switch
(
this
.
type
){
case
1
:
case
1
:
//调仓
warehouseApprovalGetByFormId
({
formId
:
this
.
processId
}).
then
(
r
=>
{
warehouseApprovalGetByFormId
({
formId
:
this
.
processId
}).
then
(
r
=>
{
this
.
FeeDetails
=
r
.
data
this
.
FeeDetails
=
r
.
data
this
.
FeeDetails
.
details
=
JSON
.
parse
(
r
.
data
.
details
)
this
.
FeeDetails
.
details
=
JSON
.
parse
(
r
.
data
.
details
)
});
});
break
;
break
;
case
2
:
case
2
:
// 费用申请
applicationGetOrderByProcessId
({
processId
:
this
.
processId
}).
then
(
r
=>
this
.
FeeDetails
=
r
.
data
)
applicationGetOrderByProcessId
({
processId
:
this
.
processId
}).
then
(
r
=>
this
.
FeeDetails
=
r
.
data
)
break
;
break
;
case
3
:
//退仓
warehouseApprovalGetByFormId
({
formId
:
this
.
processId
}).
then
(
res
=>
{
getOrder
(
res
.
data
.
orderIds
).
then
(
r
=>
{
this
.
FeeDetails
=
r
.
data
this
.
FeeDetails
.
details
=
JSON
.
parse
(
res
.
data
.
details
)
})
});
break
;
}
}
},
},
methods
:{
methods
:{
selectWarehouse
(
val
){
selectWarehouse
(
val
){
if
(
this
.
warehouseList
.
length
>
0
){
if
(
this
.
warehouseList
.
length
>
0
&&
!!
val
){
return
this
.
warehouseList
.
find
(
e
=>
e
.
id
===
val
).
titleZh
return
this
.
warehouseList
.
find
(
e
=>
e
.
id
===
val
).
titleZh
}
}
return
''
return
''
},
},
selectChannel
(
val
){
selectChannel
(
val
){
if
(
this
.
channelList
.
length
>
0
)
return
this
.
channelList
.
find
(
e
=>
e
.
channelId
===
val
).
nameEn
if
(
this
.
channelList
.
length
>
0
&&
!!
val
)
return
this
.
channelList
.
find
(
e
=>
e
.
channelId
===
val
).
nameEn
return
''
return
''
}
}
}
}
...
...
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