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 @@
...
@@ -228,19 +228,23 @@
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
let
cmd
=
"/api/user/SetDistributorRemitAudit"
;
let
cmd
=
"/api/user/SetDistributorRemitAudit"
;
this
.
loading
=
true
this
.
apipost
(
cmd
,
this
.
addMsg
,
this
.
apipost
(
cmd
,
this
.
addMsg
,
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
getList
();
this
.
getList
();
this
.
Success
(
res
.
data
.
message
)
this
.
Success
(
res
.
data
.
message
)
this
.
reasonDig
=
false
;
this
.
reasonDig
=
false
;
this
.
loading
=
false
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
this
.
loading
=
false
}
}
},
},
null
null
);
);
}
else
{
}
else
{
return
false
;
return
false
;
}
}
...
...
src/components/orderMan/afterSalesOrder.vue
View file @
8ec255ff
...
@@ -693,18 +693,24 @@ export default {
...
@@ -693,18 +693,24 @@ export default {
},
},
SaleForRefunds
(){
SaleForRefunds
(){
this
.
loading
=
true
this
.
apipost
(
'/api/order/SetOrderAfterSaleForRefunds'
,
this
.
dkMsg
,
this
.
apipost
(
'/api/order/SetOrderAfterSaleForRefunds'
,
this
.
dkMsg
,
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
getList
();
this
.
getList
();
this
.
Success
(
res
.
data
.
message
)
this
.
Success
(
res
.
data
.
message
)
this
.
dkDig
=
false
;
this
.
dkDig
=
false
;
this
.
loading
=
false
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
this
.
loading
=
false
}
}
},
},
null
null
);
);
},
},
// 打款
// 打款
dkOpenDig
(
item
){
dkOpenDig
(
item
){
...
...
src/components/orderMan/orderList.vue
View file @
8ec255ff
...
@@ -614,6 +614,7 @@
...
@@ -614,6 +614,7 @@
hszDig
:
false
,
hszDig
:
false
,
hszMsg
:
{},
hszMsg
:
{},
btnLoad
:
false
,
btnLoad
:
false
,
}
}
},
},
created
()
{
created
()
{
...
@@ -797,18 +798,23 @@
...
@@ -797,18 +798,23 @@
this
.
pendMgs
.
OrderId
=
item
.
OrderId
;
this
.
pendMgs
.
OrderId
=
item
.
OrderId
;
this
.
pendMgs
.
Type
=
type
;
this
.
pendMgs
.
Type
=
type
;
this
.
pendMgs
.
Remark
=
''
;
this
.
pendMgs
.
Remark
=
''
;
},
},
// 待处理调用接口
// 待处理调用接口
pendingForm
(){
pendingForm
(){
this
.
loading
=
true
;
this
.
apipost
(
'/api/order/SetOrderApplyForCancelAudit'
,
this
.
pendMgs
,
this
.
apipost
(
'/api/order/SetOrderApplyForCancelAudit'
,
this
.
pendMgs
,
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
pendD
=
false
this
.
pendD
=
false
;
this
.
loading
=
false
;
this
.
getList
();
this
.
getList
();
this
.
Success
(
res
.
data
.
message
)
this
.
Success
(
res
.
data
.
message
)
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
this
.
loading
=
false
;
}
}
},
},
...
@@ -1142,19 +1148,26 @@
...
@@ -1142,19 +1148,26 @@
text
=
'确认取消?客人付款金额将原路退回。'
text
=
'确认取消?客人付款金额将原路退回。'
}
}
that
.
Confirm
(
text
,
function
()
{
that
.
Confirm
(
text
,
function
()
{
that
.
loading
=
true
that
.
apipost
(
that
.
apipost
(
"/api/order/SetOrderForcedToCancel"
,
"/api/order/SetOrderForcedToCancel"
,
{
OrderId
:
item
.
OrderId
},
{
OrderId
:
item
.
OrderId
},
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
loading
=
false
that
.
Success
(
res
.
data
.
message
);
that
.
Success
(
res
.
data
.
message
);
that
.
getList
();
that
.
getList
();
}
else
{
}
else
{
that
.
Error
(
res
.
data
.
message
);
that
.
Error
(
res
.
data
.
message
);
that
.
loading
=
false
}
}
},
},
);
);
});
});
},
},
handleClick
(
val
)
{
handleClick
(
val
)
{
let
dataId
=
val
.
$attrs
.
dataId
;
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