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
Hide 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
...
...
@@ -21,19 +21,19 @@
width=
"227"
label=
"基本信息"
>
<template
slot-scope=
"scope"
>
<div
class=
"app-image"
:style=
"
{backgroundImage:'url(' + scope.row.Photo + ')',backgroundSize:'cover'}">
</div>
<div
class=
"app-image"
:style=
"
{backgroundImage:'url(' + scope.row.Photo + ')',backgroundSize:'cover'}">
</div>
<div
flex=
"dir:left cross:center"
>
{{
scope
.
row
.
UserName
}}
</div>
</div>
<img
v-if=
"scope.row.Source==1"
style=
"width:24px;height:24px"
src=
"../../assets/img/userman/wx.png"
alt=
""
class=
"platform-img"
>
</
template
>
</
template
>
</el-table-column>
<el-table-column
prop=
"Moblie"
label=
"账户信息"
>
<
template
slot-scope=
"scope"
>
<span>
提现方式:
{{
scope
.
row
.
WithdrawalWayName
}}
</span>
</
template
>
</
template
>
</el-table-column>
<el-table-column
prop=
"Moblie"
...
...
@@ -42,7 +42,7 @@
<p>
用户申请提现金额:
{{
scope
.
row
.
AppliedMoney
}}
元
</p>
<p>
手续费:
{{
scope
.
row
.
Fee
}}
元
</p>
<p>
实际打款金额:
<span
class=
"cred"
>
{{
scope
.
row
.
RemitMoney
}}
</span>
元
</p>
</
template
>
</
template
>
</el-table-column>
<el-table-column
prop=
"AuditStatusName"
...
...
@@ -62,7 +62,7 @@
<
template
slot-scope=
"scope"
>
<p
v-if=
"scope.row.AuditRemark && scope.row.AuditRemark!=''"
>
审核备注:
{{
scope
.
row
.
AuditRemark
}}
</p>
<p
v-if=
"scope.row.RemitRemark && scope.row.RemitRemark!=''"
>
打款备注:
{{
scope
.
row
.
RemitRemark
}}
</p>
</
template
>
</el-table-column>
<el-table-column
...
...
@@ -79,11 +79,11 @@
<el-tooltip
class=
"item"
effect=
"dark"
content=
"拒绝"
placement=
"top-start"
>
<img
v-if=
"scope.row.AuditStatus==1 || scope.row.AuditStatus==2"
@
click=
"openReason(3,scope.row)"
style=
"width:32px;height:32px"
src=
"../../assets/img/userman/nopass.png"
alt=
""
>
</el-tooltip>
</
template
>
</
template
>
</el-table-column>
</el-table>
</div>
<el-pagination
style=
"text-align:right"
background
@
current-change=
"handleCurrentChange"
...
...
@@ -107,8 +107,8 @@
<el-checkbox
style=
"margin-bottom:10px;;width:135px"
v-for=
"city in cities"
:label=
"city.Id"
:key=
"city.Name"
>
{{city.Name}}
</el-checkbox>
</el-checkbox-group>
</div>
</el-form>
</el-form>
<div
style=
"text-align:right;margin-top:20px"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"Export"
>
导出
</el-button>
</div>
...
...
@@ -119,7 +119,7 @@
<p
style=
"margin-bottom:10px"
>
请输入备注
</p>
<el-form-item>
<el-input
size=
"small"
v-model=
"addMsg.Remark"
></el-input>
</el-form-item>
</el-form-item>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"reasonDig = false"
>
取 消
</el-button>
...
...
@@ -130,7 +130,7 @@
</template>
<
script
>
export
default
{
data
()
{
return
{
adduserDig
:
false
,
...
...
@@ -212,7 +212,7 @@
this
.
GetDropdownList
();
},
methods
:
{
openReason
(
num
,
row
){
this
.
addMsg
.
Remark
=
''
;
this
.
addMsg
.
Type
=
num
;
...
...
@@ -223,24 +223,28 @@
this
.
msg
.
AuditStatus
=
val
.
$attrs
.
dataId
;
this
.
getList
();
},
czsubmitForm
(
formName
)
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
let
cmd
=
"/api/user/SetDistributorRemitAudit"
;
this
.
apipost
(
cmd
,
this
.
addMsg
,
this
.
loading
=
true
this
.
apipost
(
cmd
,
this
.
addMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
getList
();
this
.
Success
(
res
.
data
.
message
)
this
.
reasonDig
=
false
;
}
else
{
this
.
loading
=
false
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
this
.
loading
=
false
}
},
null
);
);
}
else
{
return
false
;
}
...
...
@@ -273,7 +277,7 @@
let
pageData
=
res
.
data
.
data
.
pageData
;
this
.
tableData
=
pageData
;
}
})
},
GetDropdownList
(){
...
...
@@ -300,7 +304,7 @@
data
.
forEach
(
item
=>
{
this
.
cityOptions
.
push
(
item
.
Id
)
})
})
},
GetMemberGradeList
(){
...
...
@@ -334,7 +338,7 @@
},
mounted
()
{
}
};
...
...
@@ -404,16 +408,16 @@
float
:
right
;
}
.disWithdrawal
.app-image
{
background-position
:
center
center
;
width
:
50px
;
background-position
:
center
center
;
width
:
50px
;
height
:
50px
;
border-radius
:
0%
;
border-radius
:
0%
;
float
:
left
;
margin-right
:
8px
;
}
.disWithdrawal
.blue
{
color
:
#409EFF
;
}
.disWithdrawal
.content
.searchInput
{
border
:
1px
solid
#DCDFE6
;
...
...
src/components/orderMan/afterSalesOrder.vue
View file @
8ec255ff
...
...
@@ -693,18 +693,24 @@ export default {
},
SaleForRefunds
(){
this
.
apipost
(
'/api/order/SetOrderAfterSaleForRefunds'
,
this
.
dkMsg
,
this
.
loading
=
true
this
.
apipost
(
'/api/order/SetOrderAfterSaleForRefunds'
,
this
.
dkMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
getList
();
this
.
Success
(
res
.
data
.
message
)
this
.
dkDig
=
false
;
}
else
{
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
()
{
...
...
@@ -793,22 +794,27 @@
);
},
pending
(
item
,
type
){
this
.
pendD
=
true
;
this
.
pendMgs
.
OrderId
=
item
.
OrderId
;
this
.
pendMgs
.
Type
=
type
;
this
.
pendMgs
.
Remark
=
''
;
this
.
pendD
=
true
;
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
;
}
},
...
...
@@ -1135,26 +1141,33 @@
// 强制取消
OrderExit2
(
item
){
let
that
=
this
;
let
text
=
''
;
if
(
item
.
OrderStatus
==
1
){
text
=
'确认取消?'
}
else
if
(
item
.
OrderStatus
==
2
){
text
=
'确认取消?客人付款金额将原路退回。'
}
that
.
Confirm
(
text
,
function
()
{
that
.
apipost
(
"/api/order/SetOrderForcedToCancel"
,
{
OrderId
:
item
.
OrderId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
},
);
});
let
text
=
''
;
if
(
item
.
OrderStatus
==
1
){
text
=
'确认取消?'
}
else
if
(
item
.
OrderStatus
==
2
){
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