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
938ba950
Commit
938ba950
authored
Oct 09, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务的收据功能
parent
f0551b0b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
899 additions
and
4 deletions
+899
-4
index.js
src/api/finance/index.js
+43
-0
SJBillModule.vue
src/pages/financial/components/SJBillModule.vue
+358
-0
mySJModule.vue
src/pages/financial/components/mySJModule.vue
+318
-0
FinancialDocumentsDetail.vue
...s/financial/financalDocument/FinancialDocumentsDetail.vue
+38
-3
PrintPage.vue
src/pages/financial/financalDocument/PrintPage.vue
+10
-1
receiptManager.vue
src/pages/financial/financalDocument/receiptManager.vue
+126
-0
routes.js
src/router/routes.js
+6
-0
No files found.
src/api/finance/index.js
View file @
938ba950
...
...
@@ -438,6 +438,49 @@ export function setSellStudyAbroadSendEmployee(data) {
})
}
/**
* 获取收据详情
*/
export
function
getReceiptInfoForFinanceId
(
data
)
{
return
request
({
url
:
'/Finance/GetReceiptInfoForFinanceId'
,
method
:
'post'
,
data
})
}
/**
* 新增修改收据信息
*/
export
function
setReceiptInfo
(
data
)
{
return
request
({
url
:
'/Finance/SetReceiptInfo'
,
method
:
'post'
,
data
})
}
/**
* 新增修改收据信息
*/
export
function
delReceiptInfo
(
data
)
{
return
request
({
url
:
'/Finance/DelReceiptInfo'
,
method
:
'post'
,
data
})
}
/**
* 获取收据分页列表
*/
export
function
getReceiptInfoPageList
(
data
)
{
return
request
({
url
:
'/Finance/GetReceiptInfoPageList'
,
method
:
'post'
,
data
})
}
src/pages/financial/components/SJBillModule.vue
0 → 100644
View file @
938ba950
This diff is collapsed.
Click to expand it.
src/pages/financial/components/mySJModule.vue
0 → 100644
View file @
938ba950
This diff is collapsed.
Click to expand it.
src/pages/financial/financalDocument/FinancialDocumentsDetail.vue
View file @
938ba950
...
...
@@ -771,6 +771,7 @@
cursor
:
pointer
;
text-decoration
:
underline
;
}
</
style
>
...
...
@@ -1076,6 +1077,16 @@
</div>
</div>
</div>
<div
v-if=
"ConfigInfo && ConfigInfo.Enable==1 && getreceipt() "
>
<p
class=
"_splic"
>
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
</p>
<div
class=
"_tit _tit2 w890px ConfigInfoStyle"
>
<mySJModule
:FrID=
'ID'
:GetDetail=
"GetDetail"
></mySJModule>
</div>
</div>
<p
class=
"_splic"
>
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
</p>
...
...
@@ -1359,6 +1370,7 @@
</div>
</
template
>
</el-dialog>
<a
id=
'groupTourOrder_DownLoad'
target=
"_blank"
style=
"display:none"
>
1不要删除
</a>
<classinfo-form
v-if=
"isShowClassInfo"
:seting-obj=
"classObjOption"
@
close=
"closeClass"
@
success=
"refreshClass"
>
</classinfo-form>
...
...
@@ -1384,13 +1396,15 @@
import
huijiBill
from
"../components/huijiBill.vue"
;
import
czBillModule
from
"../components/czBillModule.vue"
;
import
mySJModule
from
"../components/mySJModule.vue"
;
import
{
UploadSelfFile
}
from
'../../../api/common/common'
import
{
getClassNameList
,
queryStudyNameList
queryStudyNameList
,
getReceiptConfigInfo
}
from
'../../../api/finance/index'
import
classinfoForm
from
'../../../components/course/classinfo-form'
;
import
viewquotationForm
from
'../../../components/sale/viewquotation-form'
;
...
...
@@ -1477,6 +1491,8 @@
isShowviewQuo
:
false
,
//是否显示预览报价单
rId
:
0
,
showbohui
:
false
,
//5-10新加
ConfigInfo
:
null
,
//收据配置数据
}
},
components
:
{
...
...
@@ -1496,6 +1512,7 @@
'myJiPiaoBill'
:
myJiPiaoBill
,
'huijiBill'
:
huijiBill
,
"czBillModule"
:
czBillModule
,
"mySJModule"
:
mySJModule
,
'classinfo-form'
:
classinfoForm
,
'viewquotationForm'
:
viewquotationForm
},
...
...
@@ -2289,13 +2306,31 @@
this
.
OpenNewUrl
(
'/financial/financalDocument/FinancialDocumentsDetail'
,
{
"id"
:
item
});
}
},
getReceiptif
(){
getReceiptConfigInfo
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
ConfigInfo
=
res
.
Data
;
}
})
},
getreceipt
(){
if
(
this
.
ConfigInfo
.
TempleteIds
.
indexOf
(
this
.
GetDetail
.
TemplateId
)
!=-
1
){
return
true
}
else
{
return
false
}
},
},
mounted
()
{
this
.
GetAuth
();
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
qjGroupId
=
this
.
QjGroupId
();
this
.
Financial_post_GetDetail
(
this
.
ID
)
this
.
getReceiptif
()
//获取收据配置
this
.
queryMsg
.
FinanceId
=
this
.
$route
.
query
.
id
;
if
(
this
.
$route
.
query
.
Conditon
)
{
this
.
returnCode
=
this
.
$route
.
query
.
Conditon
;
...
...
src/pages/financial/financalDocument/PrintPage.vue
View file @
938ba950
...
...
@@ -39,6 +39,12 @@
<my-GZ-Bill
:ID=
"id"
:width=
"widthSon"
:isPrintPage=
"true"
:color=
"colorSon"
:OrderSource=
"OrderSource"
:name=
'index+1'
></my-GZ-Bill>
</div>
</
template
>
<!-- 收据3 -->
<
template
v-if=
"type==='3'"
>
<div
class=
"_border_1"
v-for=
"(item,index) in loopNumT"
>
<my-SJ-Bill
:ID=
"id"
:width=
"widthSon"
:isPrintPage=
"true"
:color=
"colorSon"
:OrderSource=
"OrderSource"
:name=
'index+1'
></my-SJ-Bill>
</div>
</
template
>
<
template
v-if=
"Merge==='1'"
>
<div
class=
"_border_1"
v-for=
"(item,index) in loopNumN"
>
<my-HB-Bill
v-on:helloPP=
"numAdd"
:Num=
"num"
:ID=
"id"
:width=
"widthSon"
:isPrintPage=
"true"
:color=
"colorSon"
:name=
'index+1'
></my-HB-Bill>
...
...
@@ -52,6 +58,7 @@
import
myrbvBill
from
"../components/ReceivablesModule.vue"
;
import
myhrBill
from
"../components/MergeBillModule.vue"
;
import
myGZBill
from
"../components/GZBillModule.vue"
;
import
mySJBill
from
"../components/SJBillModule.vue"
;
export
default
{
data
(){
return
{
...
...
@@ -71,7 +78,9 @@
'my-Bill'
:
myBill
,
'my-RVB-Bill'
:
myrbvBill
,
'my-HB-Bill'
:
myhrBill
,
'my-GZ-Bill'
:
myGZBill
'my-GZ-Bill'
:
myGZBill
,
'my-SJ-Bill'
:
mySJBill
,
},
methods
:{
numAdd
(){
this
.
num
=
this
.
num
+
1
...
...
src/pages/financial/financalDocument/receiptManager.vue
0 → 100644
View file @
938ba950
<
style
>
@import
"../css/cssReset.css"
;
</
style
>
<
template
>
<div
class=
'flexOne page-body'
>
<div
class=
"query-box"
>
<ul>
<li>
<span>
<em>
财务单据
</em>
<el-input
type=
"text"
v-model=
"msg.FinanceId"
placeholder=
"请输入财务单据"
></el-input>
</span>
</li>
<li>
<span>
<em>
收据状态
</em>
<el-select
v-model=
"msg.State"
filterable
clearable
>
<el-option
label=
"不限"
:value=
"0"
></el-option>
<el-option
label=
"已认领"
:value=
"1"
></el-option>
<el-option
label=
"未认领"
:value=
"2"
></el-option>
</el-select>
</span>
</li>
<li>
<span><em>
收据编码
</em>
<el-input
type=
"text"
v-model=
"msg.ReceiptNo"
placeholder=
"请输入收据编码"
></el-input>
</span>
</li>
<li>
<span><em>
交款人
</em>
<el-input
type=
"text"
v-model=
"msg.Remitter"
placeholder=
"请输入交款人"
></el-input>
</span>
</li>
<li>
<q-btn
color=
"primary"
size=
"11px"
label=
"查询"
@
click=
"handleCurrentChange(1)"
/>
</li>
</ul>
</div>
<div
class=
"cm_content"
>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<th
width=
"250"
>
财务单据
</th>
<th
>
收据编码
</th>
<th
>
交款人
</th>
<th
width=
"100"
>
金额
</th>
<th>
收款事由
</th>
<th>
状态
</th>
<th>
认领码
</th>
<th>
甲鹤用户
</th>
<th>
经办人
</th>
<th>
开票日期
</th>
</tr>
<tr
v-for=
"item in dataList"
>
<td>
<span
style=
"cursor: pointer;text-decoration: underline;"
@
click=
"goFinancialDetail(item)"
>
{{
item
.
FinanceId
}}
</span>
</td>
<td>
{{
item
.
ReceiptNo
}}
</td>
<td>
{{
item
.
Remitter
}}
</td>
<td>
{{
item
.
Money
}}
</td>
<td>
{{
item
.
Remark
}}
</td>
<td>
{{
item
.
State
==
1
?
'已认领'
:
'未认领'
}}
</td>
<td>
{{
item
.
ClaimCode
}}
</td>
<td>
{{
item
.
UserName
}}
</td>
<td>
{{
item
.
CreateByName
}}
</td>
<td>
{{
item
.
CreateTime
}}
</td>
</tr>
</table>
<div
class=
"noDataNotice"
v-if=
"dataList && dataList.length
<1
"
>
<i
class=
"iconfont icon-kong"
></i>
<p>
{{
$t
(
"active.ld_noData"
)
}}
</p>
</div>
</div>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"msg.pageIndex"
:page-size=
"msg.pageSize"
layout=
"total,prev, pager, next, jumper"
:total=
"msg.total"
></el-pagination>
</div>
</
template
>
<
script
>
import
{
getReceiptInfoPageList
,
}
from
'../../../api/finance/index'
export
default
{
data
()
{
return
{
msg
:
{
pageIndex
:
1
,
pageSize
:
10
,
FinanceId
:
''
,
State
:
0
,
ReceiptNo
:
''
,
Remitter
:
''
,
total
:
0
},
loading
:
false
,
dataList
:
[],
}
},
methods
:
{
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
getList
()
{
//获取列表
this
.
loading
=
true
;
getReceiptInfoPageList
(
this
.
msg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
loading
=
false
;
this
.
dataList
=
res
.
Data
.
PageData
;
this
.
msg
.
total
=
res
.
Data
.
Count
;
}
})
},
goFinancialDetail
(
item
){
this
.
OpenNewUrl
(
"/financial/financalDocument/FinancialDocumentsDetail"
,
{
id
:
item
.
FinanceId
});
},
},
mounted
()
{
this
.
getList
();
}
}
</
script
>
\ No newline at end of file
src/router/routes.js
View file @
938ba950
...
...
@@ -561,6 +561,11 @@ const routes = [{
component
:
()
=>
import
(
"pages/financial/financalDocument/InAndOutDdetails.vue"
)
},
{
path
:
"/financial/financalDocument/receiptManager"
,
//财务收据管理
component
:
()
=>
import
(
"pages/financial/financalDocument/receiptManager.vue"
)
},
{
...
...
@@ -1377,6 +1382,7 @@ const routes = [{
},
{
path
:
'/AssetsShenpi'
,
//资产管理审批
name
:
'AssetsShenpi'
,
...
...
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