Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
790a7085
Commit
790a7085
authored
Sep 21, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
d00aad5b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
5 deletions
+43
-5
BillModule.vue
...ponents/FinancialModule/FinancialSubmodule/BillModule.vue
+8
-2
ReceivablesModule.vue
.../FinancialModule/FinancialSubmodule/ReceivablesModule.vue
+2
-2
PrintPage.vue
src/components/PrintPage.vue
+33
-1
No files found.
src/components/FinancialModule/FinancialSubmodule/BillModule.vue
View file @
790a7085
...
...
@@ -98,7 +98,7 @@
<el-tooltip
class=
"item"
effect=
"dark"
content=
"追加团款"
placement=
"top"
>
<span
v-if=
"GetDetail.OtherType == 1"
class=
"zhuiClass zhuiClassdetails"
>
追
</span>
</el-tooltip>
<p
class=
"rb_tit"
style=
"font-size: 16px !important;"
>
{{
GetDetail
.
CompanyName
}}
(
{{
GetDetail
.
BranchName
}}
)
</p>
<p
class=
"rb_tit"
style=
"font-size: 16px !important;"
>
{{
titleName
?
titleName
:
GetDetail
.
CompanyName
}}
(
{{
GetDetail
.
BranchName
}}
)
</p>
<p
class=
"rb_stit"
>
<span
:class=
"isPrintPage?'_rb_stit_print':''"
>
{{
GetDetail
.
FinanceName
}}
</span>
<i
v-if=
"name===1"
>
{{
$t
(
'fnc.yewulian'
)
}}
</i>
...
...
@@ -335,7 +335,7 @@
<
script
>
import
{
connect
}
from
'net'
;
export
default
{
props
:[
"ID"
,
"width"
,
"color"
,
"isPrintPage"
,
"name"
,
"OrderSource"
],
//接收参数 ID width color
props
:[
"ID"
,
"width"
,
"color"
,
"isPrintPage"
,
"name"
,
"OrderSource"
,
"titleName"
],
//接收参数 ID width color
data
(){
return
{
loading
:
false
,
...
...
@@ -444,6 +444,12 @@ export default {
this
.
Financial_post_GetDetail
(
this
.
ID
)
},
deep
:
true
},
titleName
:
{
handler
:
function
(
val
,
oldVal
)
{
this
.
titleName
=
val
},
deep
:
true
}
}
}
...
...
src/components/FinancialModule/FinancialSubmodule/ReceivablesModule.vue
View file @
790a7085
...
...
@@ -74,7 +74,7 @@
<div
class=
"Receipt_box"
:class=
"[GetDetail.Type==1|| GetDetail.Type==5?'':'color_blur',isPrintPage?'_PrintPageStyle':'']"
:style=
"
{width:width,backgroundColor:color}" @click.stop v-loading='loading'>
<!--
<p
style=
"font-size:48px;"
@
click=
"senCashierDetaildMsg"
>
{{
Num
}}
</p>
//测试传值代码 -->
<p
class=
"rb_tit"
style=
"font-size: 16px !important;"
>
{{
GetDetail
.
CompanyName
}}
(
{{
GetDetail
.
BranchName
}}
)
</p>
<p
class=
"rb_tit"
style=
"font-size: 16px !important;"
>
{{
titleName
?
titleName
:
GetDetail
.
CompanyName
}}
(
{{
GetDetail
.
BranchName
}}
)
</p>
<p
class=
"rb_stit"
style=
"position:relative"
>
<span
:class=
"isPrintPage?'_rb_stit_print':''"
>
{{
GetDetail
.
FinanceName
}}
</span>
<!--
<i
v-if=
"name===1"
>
(客户联)
</i>
-->
...
...
@@ -297,7 +297,7 @@
</template>
<
script
>
export
default
{
props
:[
"ID"
,
"width"
,
"color"
,
"isPrintPage"
,
"name"
,
"Num"
,
"OrderSource"
],
//接收参数 ID width color isPrintPage
props
:[
"ID"
,
"width"
,
"color"
,
"isPrintPage"
,
"name"
,
"Num"
,
"OrderSource"
,
"titleName"
],
//接收参数 ID width color isPrintPage
data
(){
return
{
loading
:
false
,
...
...
src/components/PrintPage.vue
View file @
790a7085
...
...
@@ -20,13 +20,38 @@
margin-left:-145px;
}
} */
._PrintPage_box
{
position
:
relative
;
}
._PrintPage_box
.SetDiv
{
position
:
absolute
;
top
:
10px
;
color
:
#106BAF
;
left
:
-290px
;
}
._PrintPage_box
.SetDiv
span
{
color
:
#106BAF
;
cursor
:
pointer
;
font-size
:
15px
;
}
</
style
>
<
template
v-loading=
"loading"
>
<div
class=
"_PrintPage"
>
<div
class=
"_PrintPage_box"
>
<template
v-if=
"type==='2'&&(Merge==='0'||Merge===null)"
>
<div
class=
"SetDiv"
>
<el-select
size=
"mini"
v-model=
"titleName"
placeholder=
"请选择抬头名称"
style=
"width: 150px;"
>
<el-option
v-for=
"item in optionsList"
:key=
"item.value"
:label=
"item.Name"
:value=
"item.value"
>
</el-option>
</el-select>
</div>
<div
class=
"_border_1"
v-for=
"(item,index) in loopNumT"
>
<my-Bill
:ID=
"id"
:width=
"widthSon"
:isPrintPage=
"true"
:color=
"colorSon"
:OrderSource=
"OrderSource"
:name=
'index+1'
></my-Bill>
<my-Bill
:ID=
"id"
:width=
"widthSon"
:isPrintPage=
"true"
:color=
"colorSon"
:OrderSource=
"OrderSource"
:name=
'index+1'
:titleName=
"titleName"
></my-Bill>
</div>
</
template
>
<
template
v-else-if=
"type==='1'&&(Merge==='0'||Merge===null)"
>
...
...
@@ -55,6 +80,13 @@ import myGZBill from "./FinancialModule/FinancialSubmodule/GZBillModule.vue";
export
default
{
data
(){
return
{
titleName
:
''
,
optionsList
:[
{
Name
:
'和平'
,
value
:
'四川和平国际旅行社'
},
{
Name
:
'微途'
,
value
:
'成都微途科技有限公司'
},
{
Name
:
'欧亚'
,
value
:
'成都欧亚旅行社'
},
{
Name
:
'兆鸿'
,
value
:
'四川兆鸿文化传播有限公司'
},
],
loading
:
true
,
id
:
null
,
type
:
null
,
...
...
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