Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
adbd0054
Commit
adbd0054
authored
Oct 09, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
938ba950
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
17 deletions
+23
-17
mySJModule.vue
src/pages/financial/components/mySJModule.vue
+23
-17
No files found.
src/pages/financial/components/mySJModule.vue
View file @
adbd0054
...
@@ -111,11 +111,13 @@
...
@@ -111,11 +111,13 @@
</
template
>
</
template
>
</el-dialog>
</el-dialog>
<!-- 收据的分享暂时 -->
<!-- 收据的分享暂时 -->
<el-dialog
custom-class=
'w
5
00'
title=
"分享图"
:visible
.
sync=
"sharedialog"
center
>
<el-dialog
custom-class=
'w
2
00'
title=
"分享图"
:visible
.
sync=
"sharedialog"
center
>
<
template
>
<
template
>
<el-image
style=
"width: 400px; height: 400px"
<div
class=
"courserefund_Div"
id=
"proToCol"
style=
"display: flex;flex-direction: column;align-items: center;"
>
src=
"http://192.168.20.214:8130/EduSystem/Test/Upload/Temporary/202109290408209920000000003.jpeg"
>
<img
src=
"http://192.168.20.214:8130/EduSystem/Test/Upload/Temporary/202109290408209920000000003.jpeg"
alt=
""
style=
"width:150px;"
/>
</el-image>
<div>
尊敬的客户
</div>
<div>
成都市锦江区甲鹤外语培训学校 发送给您了一个财务收据,请长按识别二维码查收
</div>
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"sharedialog=false"
>
关闭
</button>
<button
class=
"hollowFixedBtn"
@
click=
"sharedialog=false"
>
关闭
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"download()"
>
下载
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"download()"
>
下载
</button>
...
@@ -154,7 +156,7 @@
...
@@ -154,7 +156,7 @@
receiptdialog
:
false
,
//新增收据的弹窗
receiptdialog
:
false
,
//新增收据的弹窗
rules
:
{
rules
:
{
Remitter
:
[
Remitter
:
[
{
required
:
true
,
message
:
'请
选择
交款人'
,
trigger
:
'blur'
},
{
required
:
true
,
message
:
'请
输入
交款人'
,
trigger
:
'blur'
},
],
],
Remark
:
[
Remark
:
[
{
required
:
true
,
message
:
'请输入事由'
,
trigger
:
'blur'
},
{
required
:
true
,
message
:
'请输入事由'
,
trigger
:
'blur'
},
...
@@ -165,12 +167,17 @@
...
@@ -165,12 +167,17 @@
EmployeeId
:
0
,
EmployeeId
:
0
,
isoneself
:
false
,
//是否是本人操作
isoneself
:
false
,
//是否是本人操作
sharedialog
:
false
,
sharedialog
:
false
,
Money
:
0
,
Fee
:
0
,
}
}
},
watch
:
{
},
watch
:
{
},
created
()
{
},
created
()
{
this
.
addMsg
.
FinanceId
=
this
.
FrID
this
.
addMsg
.
FinanceId
=
this
.
FrID
this
.
addMsg
.
Money
=
Number
(
this
.
GetDetail
.
Money
)
+
Number
(
this
.
GetDetail
.
Fee
)
this
.
addMsg
.
Remitter
=
this
.
GetDetail
.
RemitterName
this
.
Money
=
(
this
.
GetDetail
.
Money
).
toString
().
replace
(
/,/g
,
""
)
//处理替换所有的逗号
this
.
Fee
=
(
this
.
GetDetail
.
Fee
).
toString
().
replace
(
/,/g
,
""
)
this
.
addMsg
.
Money
=
Number
(
this
.
Money
)
+
Number
(
this
.
Fee
)
let
userInfo
=
this
.
getLocalStorage
()
let
userInfo
=
this
.
getLocalStorage
()
this
.
EmployeeId
=
userInfo
.
Id
;
this
.
EmployeeId
=
userInfo
.
Id
;
if
(
this
.
EmployeeId
==
this
.
GetDetail
.
CreateBy
)
{
if
(
this
.
EmployeeId
==
this
.
GetDetail
.
CreateBy
)
{
...
@@ -223,18 +230,12 @@
...
@@ -223,18 +230,12 @@
this
.
Success
(
res
.
Message
);
this
.
Success
(
res
.
Message
);
this
.
getDetails
()
this
.
getDetails
()
this
.
receiptdialog
=
false
this
.
receiptdialog
=
false
this
.
addMsg
=
{
//初始化
this
.
addMsg
.
Remitter
=
this
.
GetDetail
.
RemitterName
;
//交款人
Id
:
0
,
this
.
addMsg
.
Remark
=
''
;
//事由
FinanceId
:
''
,
//财务单据ID
this
.
addMsg
.
Money
=
Number
(
this
.
Money
)
+
Number
(
this
.
Fee
)
ReceiptNo
:
''
,
//收据编码
Remitter
:
''
,
//交款人
Money
:
''
,
//金额
Remark
:
''
,
//事由
State
:
''
,
// 状态 1已认领 2未认领
ClaimCode
:
''
,
//认领码
}
this
.
addMsg
.
FinanceId
=
this
.
FrID
this
.
addMsg
.
FinanceId
=
this
.
FrID
this
.
addMsg
.
Money
=
Number
(
this
.
GetDetail
.
Money
)
+
Number
(
this
.
GetDetail
.
Fee
)
this
.
addMsg
.
Id
=
0
}
}
}).
catch
(()
=>
{
}).
catch
(()
=>
{
...
@@ -256,6 +257,11 @@
...
@@ -256,6 +257,11 @@
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
that
.
Success
(
res
.
Message
);
that
.
Success
(
res
.
Message
);
that
.
getDetails
()
that
.
getDetails
()
this
.
addMsg
.
Id
=
0
this
.
addMsg
.
Remitter
=
this
.
GetDetail
.
RemitterName
;
//交款人
this
.
addMsg
.
Remark
=
''
;
//事由
this
.
addMsg
.
Money
=
Number
(
this
.
Money
)
+
Number
(
this
.
Fee
)
this
.
addMsg
.
FinanceId
=
this
.
FrID
}
}
}).
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