Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
黄媛媛
ElectricitySheep
Commits
8ec255ff
Commit
8ec255ff
authored
Jun 19, 2020
by
zhangjianguo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生成财务单据时 不能多次点击
parent
150763d5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
81 additions
and
58 deletions
+81
-58
disWithdrawal.vue
src/components/UserMan/disWithdrawal.vue
+31
-27
afterSalesOrder.vue
src/components/orderMan/afterSalesOrder.vue
+11
-5
orderList.vue
src/components/orderMan/orderList.vue
+39
-26
No files found.
src/components/UserMan/disWithdrawal.vue
View file @
8ec255ff
...
...
@@ -228,19 +228,23 @@
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
let
cmd
=
"/api/user/SetDistributorRemitAudit"
;
this
.
loading
=
true
this
.
apipost
(
cmd
,
this
.
addMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
getList
();
this
.
Success
(
res
.
data
.
message
)
this
.
reasonDig
=
false
;
this
.
loading
=
false
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
loading
=
false
}
},
null
);
}
else
{
return
false
;
}
...
...
src/components/orderMan/afterSalesOrder.vue
View file @
8ec255ff
...
...
@@ -693,18 +693,24 @@ export default {
},
SaleForRefunds
(){
this
.
loading
=
true
this
.
apipost
(
'/api/order/SetOrderAfterSaleForRefunds'
,
this
.
dkMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
getList
();
this
.
Success
(
res
.
data
.
message
)
this
.
dkDig
=
false
;
this
.
loading
=
false
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
loading
=
false
}
},
null
);
},
// 打款
dkOpenDig
(
item
){
...
...
src/components/orderMan/orderList.vue
View file @
8ec255ff
...
...
@@ -614,6 +614,7 @@
hszDig
:
false
,
hszMsg
:
{},
btnLoad
:
false
,
}
},
created
()
{
...
...
@@ -797,18 +798,23 @@
this
.
pendMgs
.
OrderId
=
item
.
OrderId
;
this
.
pendMgs
.
Type
=
type
;
this
.
pendMgs
.
Remark
=
''
;
},
// 待处理调用接口
pendingForm
(){
this
.
loading
=
true
;
this
.
apipost
(
'/api/order/SetOrderApplyForCancelAudit'
,
this
.
pendMgs
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
pendD
=
false
this
.
pendD
=
false
;
this
.
loading
=
false
;
this
.
getList
();
this
.
Success
(
res
.
data
.
message
)
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
loading
=
false
;
}
},
...
...
@@ -1142,19 +1148,26 @@
text
=
'确认取消?客人付款金额将原路退回。'
}
that
.
Confirm
(
text
,
function
()
{
that
.
loading
=
true
that
.
apipost
(
"/api/order/SetOrderForcedToCancel"
,
{
OrderId
:
item
.
OrderId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
loading
=
false
that
.
Success
(
res
.
data
.
message
);
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
message
);
that
.
loading
=
false
}
},
);
});
},
handleClick
(
val
)
{
let
dataId
=
val
.
$attrs
.
dataId
;
...
...
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