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
35b4af4d
Commit
35b4af4d
authored
Dec 02, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
特需金额为空或为0无需生成应收明细,无需做必填判断,只有金额大于0才需要必填币种、付款类型
parent
763a4c6b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
8 deletions
+16
-8
specialNeeds.vue
src/views/ecw/order/components/specialNeeds.vue
+16
-8
No files found.
src/views/ecw/order/components/specialNeeds.vue
View file @
35b4af4d
...
...
@@ -87,6 +87,8 @@ export default {
p1
.
push
(
item
)
}
})
let
p2
=
p1
.
filter
(
i
=>
Number
(
i
.
transFee
)
>
0
)
if
(
p2
.
every
(
i
=>
!!
i
.
payType
)){
specialNeedCreate
(
p1
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
$emit
(
'
update:show
'
,
false
)
...
...
@@ -94,6 +96,12 @@ export default {
this
.
$message
.
success
(
'
提交成功
'
);
}
})
}
else
{
let
v
=
p2
.
map
(
i
=>
i
.
advanceType
);
console
.
log
(
this
.
getDictDatas
(
this
.
DICT_TYPE
.
ORDER_SPECIAL_NEEDS
),
'
this.getDictDatas(this.DICT_TYPE.ORDER_SPECIAL_NEEDS)
'
)
let
v2
=
this
.
getDictDatas
(
this
.
DICT_TYPE
.
ORDER_SPECIAL_NEEDS
).
filter
(
i
=>
v
.
includes
(
i
.
value
))
this
.
$modal
.
notifyWarning
(
`请选择"
${
v2
.
map
(
i
=>
i
.
label
).
join
(
'
,
'
)}
"的付款类型。`
)
}
},
},
watch
:{
...
...
@@ -105,7 +113,7 @@ export default {
orderId
:
this
.
orderId
,
transFee
:
''
,
//预计金额
transCurrency
:
1
,
//运输费币种
payType
:
'
1
'
payType
:
''
})
})
//特需回显
...
...
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