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
a741ccc9
Commit
a741ccc9
authored
Oct 19, 2022
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增收款单bug
parent
ddcc0718
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
creatCollection.vue
src/views/ecw/financial/creatCollection.vue
+5
-2
receiptDetail.vue
src/views/ecw/financial/receiptDetail.vue
+1
-1
No files found.
src/views/ecw/financial/creatCollection.vue
View file @
a741ccc9
...
@@ -1136,13 +1136,16 @@ export default {
...
@@ -1136,13 +1136,16 @@ export default {
this
.
$modal
.
msgError
(
this
.
$t
(
'
请添加未收客户款项
'
));
this
.
$modal
.
msgError
(
this
.
$t
(
'
请添加未收客户款项
'
));
return
return
}
}
params
.
receiptAccountList
.
length
=
params
.
receiptAccountList
.
length
-
1
// params.receiptAccountList.length = params.receiptAccountList.length - 1
params
.
receiptAccountList
.
splice
(
params
.
receiptAccountList
.
length
-
1
,
1
)
params
.
receiptAccountList
.
map
(
v
=>
{
params
.
receiptAccountList
.
map
(
v
=>
{
delete
v
.
discountTotal
delete
v
.
discountTotal
v
.
writeOffRate
=
Number
(
v
.
writeOffRate
)
v
.
writeOffRate
=
Number
(
v
.
writeOffRate
)
return
v
return
v
}
)
}
)
delete
params
.
receivableDetail
delete
params
.
receivableDetail
if
(
addType
===
1
)
{
if
(
addType
===
1
)
{
let
fieldsToValidate
=
[
'
customerId
'
,
'
departmentId
'
,
'
salesmanId
'
];
// 部分字段校验 保存草稿用
let
fieldsToValidate
=
[
'
customerId
'
,
'
departmentId
'
,
'
salesmanId
'
];
// 部分字段校验 保存草稿用
Promise
.
all
(
Promise
.
all
(
...
...
src/views/ecw/financial/receiptDetail.vue
View file @
a741ccc9
...
@@ -806,7 +806,7 @@ export default {
...
@@ -806,7 +806,7 @@ export default {
}
)
}
)
.
then
(()
=>
{
.
then
(()
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
'
核销成功
'
));
this
.
$modal
.
msgSuccess
(
this
.
$t
(
'
核销成功
'
));
this
.
$
router
.
back
(
);
this
.
$
store
.
dispatch
(
'
tagsView/delCurrentView
'
);
}
)
}
)
.
catch
(()
=>
{
}
);
.
catch
(()
=>
{
}
);
}
,
}
,
...
...
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