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
e1051afe
Commit
e1051afe
authored
Jan 17, 2022
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务单据复制
parent
db70e5a8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
5 deletions
+37
-5
FinancialDocuments.vue
src/pages/financial/financalDocument/FinancialDocuments.vue
+7
-1
addFinancialDocuments.vue
...ages/financial/financalDocument/addFinancialDocuments.vue
+15
-2
addReceivablesDocuments.vue
...es/financial/financalDocument/addReceivablesDocuments.vue
+15
-2
No files found.
src/pages/financial/financalDocument/FinancialDocuments.vue
View file @
e1051afe
...
...
@@ -1038,6 +1038,10 @@
<i
v-if=
"active==2 && istransaction == true"
class=
"iconfont icon-jiaoyi"
@
click=
"showjiaoyi(item.FrID)"
></i>
</el-tooltip>
<el-tooltip
class=
"item"
content=
"复制"
placement=
"top"
v-if=
"item.Type==1 || item.Type==2"
>
<i
class=
"iconfont icon-jiaoyi"
v-if=
"item.Type==1 || item.Type==2"
@
click=
"goEit(item.Type,item.FrID,true,active,msg.pageIndex, item,true)"
></i>
</el-tooltip>
</td>
</tr>
</table>
...
...
@@ -2446,7 +2450,7 @@
path
:
tempStr
});
},
goEit
(
type
,
id
,
edit
,
Conditon
,
pageIndex
,
item
)
{
goEit
(
type
,
id
,
edit
,
Conditon
,
pageIndex
,
item
,
iscopy
=
false
)
{
//iscopy是否复制 现在只做type为1和2
let
path
=
''
;
if
(
type
===
1
)
{
path
=
'addReceivablesDocuments'
...
...
@@ -2458,6 +2462,7 @@
"edit"
:
edit
,
"Conditon"
:
Conditon
,
"pageIndex"
:
pageIndex
,
'iscopy'
:
iscopy
,
blank
:
'y'
,
tab
:
'修改财务单据'
}
...
...
@@ -2475,6 +2480,7 @@
"edit"
:
edit
,
"Conditon"
:
Conditon
,
"pageIndex"
:
pageIndex
,
'iscopy'
:
iscopy
,
blank
:
'y'
,
tab
:
'修改财务单据'
}
...
...
src/pages/financial/financalDocument/addFinancialDocuments.vue
View file @
e1051afe
...
...
@@ -815,7 +815,8 @@
@click="AddFinancial(1)">{{$t('fnc.zancun')}}</button> -->
<q-btn
color=
"primary"
size=
"11px"
:label=
"$t('fnc.zancun')"
@
click=
"AddFinancial(1)"
style=
"marginRight:10px"
v-if=
"GetDetail.Status==0||GetDetail.Status==3||msg.FrID==0"
/>
<!-- <button class="normalBtn" @click="AddFinancial()">{{$t('fnc.tijiao')}}</button> -->
<q-btn
color=
"primary"
size=
"11px"
:label=
"$t('fnc.tijiao')"
@
click=
"AddFinancial()"
style=
"marginRight:10px"
/>
<q-btn
color=
"primary"
size=
"11px"
v-if=
"!iscopy"
:label=
"$t('fnc.tijiao')"
@
click=
"AddFinancial()"
style=
"marginRight:10px"
/>
<q-btn
color=
"primary"
size=
"11px"
v-if=
"iscopy"
label=
"复制"
@
click=
"AddFinancial()"
style=
"marginRight:10px"
/>
<!-- <button class="hollowFixedBtn" @click="AuditOrRefund()">{{$t('pub.returnBack')}}</button> -->
<q-btn
text-color=
"primary"
size=
"11px"
:label=
"$t('pub.returnBack')"
@
click=
"AuditOrRefund()"
/>
</div>
...
...
@@ -1012,6 +1013,7 @@
Status
:
'-1'
},
costmode
:
true
,
iscopy
:
false
,
//是否是复制
}
},
methods
:
{
...
...
@@ -1320,7 +1322,15 @@
this
.
msg
.
OtherType
=
this
.
czmsg
.
OtherType
;
this
.
msg
.
ReTCID
=
this
.
czmsg
.
ReTCID
;
}
this
.
msg
.
GuestId
=
this
.
$route
.
query
.
GuestId
this
.
msg
.
GuestId
=
this
.
$route
.
query
.
GuestId
;
if
(
this
.
iscopy
){
//如果是复制赋值为0
this
.
msg
.
FrID
=
0
;
if
(
this
.
msg
.
vorcherInos
.
length
>
0
){
//如果是复制的话 收据ID 为0
this
.
msg
.
vorcherInos
.
forEach
(
x
=>
{
x
.
ID
=
0
})
}
}
this
.
apipost
(
'Financial_post_Set'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
//清除旅客名单数据
...
...
@@ -2136,6 +2146,9 @@
if
(
this
.
$route
.
query
.
Conditon
)
{
this
.
returnCode
=
this
.
$route
.
query
.
Conditon
;
}
if
(
this
.
$route
.
query
.
iscopy
){
this
.
iscopy
=
this
.
$route
.
query
.
iscopy
//复制的值
}
// this.admin_get_DepartmentGetList();
...
...
src/pages/financial/financalDocument/addReceivablesDocuments.vue
View file @
e1051afe
...
...
@@ -652,7 +652,8 @@
@click="AddFinancial(1)">{{$t('fnc.zancun')}}</button> -->
<q-btn
color=
"primary"
size=
"11px"
:label=
"$t('fnc.zancun')"
@
click=
"AddFinancial(1)"
style=
"marginRight:10px"
v-if=
"GetDetail.Status==0||GetDetail.Status==3||msg.FrID==0"
/>
<!-- <button class="normalBtn" @click="AddFinancial()">{{$t('fnc.tijiao')}}</button> -->
<q-btn
color=
"primary"
size=
"11px"
:label=
"$t('fnc.tijiao')"
@
click=
"AddFinancial()"
style=
"marginRight:10px"
/>
<q-btn
color=
"primary"
size=
"11px"
v-if=
"!iscopy"
:label=
"$t('fnc.tijiao')"
@
click=
"AddFinancial()"
style=
"marginRight:10px"
/>
<q-btn
color=
"primary"
size=
"11px"
v-if=
"iscopy"
label=
"复制"
@
click=
"AddFinancial()"
style=
"marginRight:10px"
/>
<!-- <button class="hollowFixedBtn" @click="AuditOrRefund()">返回</button> -->
<q-btn
text-color=
"primary"
size=
"11px"
label=
"返回"
@
click=
"AuditOrRefund()"
/>
</div>
...
...
@@ -856,7 +857,7 @@
Status
:
'-1'
},
costmode
:
true
,
iscopy
:
false
,
//是否是复制
}
},
methods
:
{
...
...
@@ -1349,6 +1350,14 @@
this
.
msg
.
PlatformAccountId
=
this
.
platformAccount
;
this
.
loading
=
true
;
this
.
msg
.
GuestId
=
this
.
$route
.
query
.
GuestId
if
(
this
.
iscopy
){
//如果是复制赋值为0
this
.
msg
.
FrID
=
0
;
if
(
this
.
msg
.
vorcherInos
.
length
>
0
){
//如果是复制的话 收据ID 为0
this
.
msg
.
vorcherInos
.
forEach
(
x
=>
{
x
.
ID
=
0
})
}
}
this
.
apipost
(
'Financial_post_Set'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$confirm
(
this
.
$t
(
'tips.czcgsfjxzhidan'
),
this
.
$t
(
'tips.tips'
),
{
...
...
@@ -1900,6 +1909,10 @@
this
.
returnCode
=
this
.
$route
.
query
.
Conditon
;
}
this
.
BankAccount_post_GetAccountType
();
if
(
this
.
$route
.
query
.
iscopy
){
this
.
iscopy
=
this
.
$route
.
query
.
iscopy
//复制的值
}
},
components
:
{
"my-FlowChartModule"
:
myFlowChartModule
,
...
...
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