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
245f8fe4
Commit
245f8fe4
authored
Oct 11, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
1afb353a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
27 deletions
+7
-27
mySJModule.vue
src/pages/financial/components/mySJModule.vue
+7
-27
No files found.
src/pages/financial/components/mySJModule.vue
View file @
245f8fe4
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<div
class=
"mySJbox"
v-if=
"!loading"
>
<div
class=
"mySJbox"
v-if=
"!loading"
>
<div>
<div>
<div
style=
"font-size: 14px; color: #000;padding: 8px 15px;display: flex; justify-content: space-between;"
>
<div
style=
"font-size: 14px; color: #000;padding: 8px 15px;display: flex; justify-content: space-between;"
>
<span
style=
"border-left: 3px solid #e95252;padding-left: 10px;"
>
财务收据
<span
v-if=
"data && data.State"
:style=
"
{'font-size': '12px','color':data.State==1?'#409EFF':'#F56C6C'}">(
{{
data
.
State
==
1
?
'已
领取'
:
'未领取
'
}}
)
</span>
</span>
<span
style=
"border-left: 3px solid #e95252;padding-left: 10px;"
>
财务收据
<span
v-if=
"data && data.State"
:style=
"
{'font-size': '12px','color':data.State==1?'#409EFF':'#F56C6C'}">(
{{
data
.
State
==
1
?
'已
认领'
:
'未认领
'
}}
)
</span>
</span>
<div
style=
"display: flex;align-items: center;"
v-if=
"data && data.State "
>
<div
style=
"display: flex;align-items: center;"
v-if=
"data && data.State "
>
<span
class=
"_btn"
@
click=
"Printreceipt"
v-if=
"isoneself"
>
打印
</span>
<span
class=
"_btn"
@
click=
"Printreceipt"
v-if=
"isoneself"
>
打印
</span>
<span
class=
"_btn"
@
click=
'addreceipt'
v-if=
"data.State==2&& isoneself"
>
修改
</span>
<span
class=
"_btn"
@
click=
'addreceipt'
v-if=
"data.State==2&& isoneself"
>
修改
</span>
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
<
template
>
<
template
>
<div
id=
"proToCol"
<div
id=
"proToCol"
style=
"display: flex;flex-direction: column;align-items: center; padding: 15px;"
>
style=
"display: flex;flex-direction: column;align-items: center; padding: 15px;"
>
<img
:src=
"imgurl"
alt=
""
style=
"width:100%;"
/>
<img
:src=
"imgurl"
alt=
""
style=
"width:100%;"
ref=
'imgcode'
/>
<div
style=
"margin-top: 25px;width: 100%; display: flex; flex-direction: column; align-items: center;"
>
<div
style=
"margin-top: 25px;width: 100%; display: flex; flex-direction: column; align-items: center;"
>
<div>
成都市锦江区甲鹤外语培训学校
</div>
<div>
成都市锦江区甲鹤外语培训学校
</div>
<div>
发送给您了一个财务收据
</div>
<div>
发送给您了一个财务收据
</div>
...
@@ -307,39 +307,19 @@
...
@@ -307,39 +307,19 @@
}
}
createWeChatCodeForReceipt
(
msg
).
then
((
res
)
=>
{
createWeChatCodeForReceipt
(
msg
).
then
((
res
)
=>
{
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
this
.
sharedialog
=
true
let
address
=
process
.
env
.
API
;
let
address
=
process
.
env
.
API
;
let
aOne
=
address
.
split
(
'/api'
)[
0
];
let
aOne
=
address
.
split
(
'/api'
)[
0
];
this
.
imgUrl
=
aOne
+
res
.
Data
;
this
.
imgUrl
=
aOne
+
res
.
Data
;
this
.
$nextTick
(()
=>
{
console
.
log
(
aOne
+
res
.
Data
)
this
.
$refs
.
imgcode
.
src
=
this
.
imgUrl
;
})
console
.
log
(
this
.
imgUrl
)
console
.
log
(
this
.
imgUrl
)
// this.imgurl = this.domainManager().mallUrl + res.Data
this
.
sharedialog
=
true
tipLoadding
.
hide
();
tipLoadding
.
hide
();
}
else
{
}
else
{
tipLoadding
.
hide
();
tipLoadding
.
hide
();
}
}
});
});
// this.apipostDS(
// "/api/user/GetWeiXinQRCodeForHT", {
// Path: "/pages/index/index?id=" + this.FrID+'&JumpType=20',
// With: 430
// },
// (res) => {
// if (res.data.resultCode == 1) {
// if (res.data.data) {
// tipLoadding.hide();
// }
// } else {
// this.Error(res.data.message);
// tipLoadding.hide();
// }
// }
// );
},
},
blobToDataURL
(
blob
,
callback
)
{
blobToDataURL
(
blob
,
callback
)
{
var
a
=
new
FileReader
()
var
a
=
new
FileReader
()
...
...
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