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
868f355b
Commit
868f355b
authored
Feb 20, 2019
by
王悦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的财务单据下载功能,优化单号输入限制
parent
adb35b28
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
46 additions
and
14 deletions
+46
-14
FinancialDocuments.vue
src/components/FinancialModule/FinancialDocuments.vue
+22
-1
RecPayQuery.vue
src/components/FinancialModule/RecPayQuery.vue
+1
-1
RecPayQueryTeam.vue
src/components/FinancialModule/RecPayQueryTeam.vue
+2
-2
addFinancialDocuments.vue
src/components/FinancialModule/addFinancialDocuments.vue
+1
-1
addReceivablesDocuments.vue
src/components/FinancialModule/addReceivablesDocuments.vue
+1
-1
enrollTotalTwo.vue
src/components/SalesModule/enrollTotalTwo.vue
+1
-1
CostType.vue
src/components/systemManagement/CostType.vue
+18
-7
No files found.
src/components/FinancialModule/FinancialDocuments.vue
View file @
868f355b
...
...
@@ -114,7 +114,7 @@
<li>
<span>
<em>
单号
</em>
<el-input
placeholder=
""
class=
"w150"
type=
"number"
v-model=
"msg.FrID
"
></el-input>
<el-input
placeholder=
""
class=
"w150"
v-model=
"msg.FrID"
@
keyup
.
native=
"checkInteger(msg,'FrID')
"
></el-input>
</span>
</li>
<li
v-if=
"msg.Conditon==1"
>
...
...
@@ -356,6 +356,7 @@
<button
class=
"hollowFixedBtn"
@
click=
"resetPageIndex(),getPageList()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
<button
class=
"normalBtn"
@
click=
"goUrlAdd('ChoiceAddFinancialDocuments')"
>
新增
</button>
<button
class=
"normalBtn"
v-if=
"checkboxShow"
@
click=
"Financial_post_SetBatch"
>
批量提交
</button>
<button
class=
"normalBtn"
@
click=
"method5()"
>
导出
</button>
<button
class=
"hollowFixedBtn"
@
click=
"goUrl('WorkEntrustmentMy')"
>
工作委托
</button>
</li>
</ul>
...
...
@@ -1002,6 +1003,26 @@ export default {
}
},
err
=>
{})
},
//导出
method5
:
function
()
{
if
(
!
this
.
msg
.
ClientID
)
this
.
msg
.
ClientID
=
0
;
if
(
!
this
.
msg
.
ClientType
)
this
.
msg
.
ClientType
=
0
;
if
(
!
this
.
msg
.
CurrencyId
)
this
.
msg
.
CurrencyId
=
0
;
if
(
!
this
.
msg
.
CostTypeID
)
this
.
msg
.
CostTypeID
=
0
;
if
(
!
this
.
msg
.
TemplateId
)
this
.
msg
.
TemplateId
=
0
;
if
(
!
this
.
msg
.
RB_Branch_Id
)
this
.
msg
.
RB_Branch_Id
=-
1
;
if
(
!
this
.
msg
.
RB_Depart_Id
)
this
.
msg
.
RB_Depart_Id
=
0
;
if
(
!
this
.
msg
.
UpdateBy
)
this
.
msg
.
UpdateBy
=
0
;
if
(
!
this
.
msg
.
TCID
)
this
.
msg
.
TCID
=
0
;
if
(
!
this
.
msg
.
OrderID
)
this
.
msg
.
OrderID
=
0
;
if
(
!
this
.
msg
.
Status
)
this
.
msg
.
Status
=
0
;
if
(
!
this
.
msg
.
FrID
)
this
.
msg
.
FrID
=
0
;
if
(
!
this
.
msg
.
Conditon
)
this
.
msg
.
Conditon
=
1
;
if
(
!
this
.
msg
.
TradeWay
)
this
.
msg
.
TradeWay
=
0
;
if
(
!
this
.
msg
.
AccountType
)
this
.
msg
.
AccountType
=
0
;
this
.
msg
.
EmployeeId
=
this
.
userId
;
this
.
GetLocalFile
(
"Financial_get_OutToFinanceList"
,
this
.
msg
,
"财务报表.xls"
);
}
,
getDepartment
(){
//部门
this
.
apipost
(
'admin_get_DepartmentGetList'
,
this
.
getDepartmentMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
src/components/FinancialModule/RecPayQuery.vue
View file @
868f355b
...
...
@@ -101,7 +101,7 @@
<el-row
style=
"padding:15px 20px 0 0;"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"单号:"
>
<el-input
placeholder=
""
class=
""
v-model=
"msg.FrID"
></el-input>
<el-input
placeholder=
""
class=
""
v-model=
"msg.FrID"
@
keyup
.
native=
"checkInteger(msg,'FrID')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
...
...
src/components/FinancialModule/RecPayQueryTeam.vue
View file @
868f355b
...
...
@@ -171,8 +171,8 @@
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"单号:"
>
<el-input
placeholder=
""
class=
""
v-model=
"msg.OrderId"
></el-input>
<el-form-item
label=
"
订
单号:"
>
<el-input
placeholder=
""
class=
""
v-model=
"msg.OrderId"
@
keyup
.
native=
"checkInteger(msg,'OrderId')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
...
...
src/components/FinancialModule/addFinancialDocuments.vue
View file @
868f355b
...
...
@@ -868,7 +868,7 @@ export default {
this
.
loading
=
true
;
this
.
apipost
(
'Financial_post_Set'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
$confirm
(
'是否继续制单?'
,
'提示'
,
{
this
.
$confirm
(
'
操作成功,
是否继续制单?'
,
'提示'
,
{
confirmButtonText
:
'继续制单'
,
cancelButtonText
:
'不了,谢谢'
,
type
:
'warning'
...
...
src/components/FinancialModule/addReceivablesDocuments.vue
View file @
868f355b
...
...
@@ -1044,7 +1044,7 @@ export default {
console
.
log
(
this
.
msg
);
this
.
apipost
(
'Financial_post_Set'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
$confirm
(
'是否继续制单?'
,
'提示'
,
{
this
.
$confirm
(
'
操作成功,
是否继续制单?'
,
'提示'
,
{
confirmButtonText
:
'继续制单'
,
cancelButtonText
:
'不了,谢谢'
,
type
:
'warning'
...
...
src/components/SalesModule/enrollTotalTwo.vue
View file @
868f355b
...
...
@@ -45,7 +45,7 @@
</li>
<li>
<span><em>
订单号
</em></span>
<el-input
class=
'w200'
v-model=
'msg.tempOrderId'
></el-input>
<el-input
class=
'w200'
v-model=
'msg.tempOrderId'
@
keyup
.
native=
"checkInteger(msg,'tempOrderId')"
></el-input>
</li>
<li>
<span><em>
订单状态
</em></span>
...
...
src/components/systemManagement/CostType.vue
View file @
868f355b
...
...
@@ -144,13 +144,14 @@
<ul>
<li>
<button
class=
"hollowFixedBtn"
@
click=
"resetPageIndex(),initTableInfo()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
<button
type=
"button"
class=
"normalBtn"
@
click=
"outerVisible=true"
>
导入
</button>
<button
type=
"button"
class=
"normalBtn"
@
click=
"downMuban()"
>
下载导入模板
</button>
<
!--
<
button
type=
"button"
class=
"normalBtn"
@
click=
"outerVisible=true"
>
导入
</button>
<button
type=
"button"
class=
"normalBtn"
@
click=
"downMuban()"
>
下载导入模板
</button>
-->
<button
class=
"normalBtn"
@
click=
"addShow=true,text='新增',addFun()"
>
新增
</button>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"切换排版"
placement=
"top-end"
>
<i
v-if=
"transitionShow"
class=
"iconfont icon-biaoge"
@
click=
"switchMethod(1)"
></i>
<i
v-if=
"transitionShow2"
class=
"iconfont icon-icon-ssan"
@
click=
"switchMethod(2)"
></i>
</el-tooltip>
<!--
<button
type=
"button"
class=
"normalBtn"
@
click=
"method5()"
>
导出
</button>
-->
</li>
</ul>
</div>
...
...
@@ -168,8 +169,8 @@
<p>
摊账:
{{
item
.
IsShareAccount
===
0
?
'非摊账'
:
'摊账'
}}
</p>
<p>
营收报表:
{{
item
.
Is_Report
===
0
?
'不进入'
:
'进入'
}}
</p>
<p
class=
"_b_edit"
>
<
button
type=
"button"
class=
"el-button el-tooltip item el-button--danger is-circle"
aria-describedby=
"el-tooltip-694"
tabindex=
"0"
@
click=
"financeinfoRemove(item.ID,item.Name)"
><i
class=
"el-icon-delete"
></i></button
>
<button
type=
"button"
class=
"el-button el-tooltip item el-button--primary is-circle"
aria-describedby=
"el-tooltip-5781"
tabindex=
"0"
@
click=
"editCurency(item.ID),text='修改'"
><i
class=
"el-icon-edit"
></i></button>
<
!--
<button
type=
"button"
class=
"el-button el-tooltip item el-button--danger is-circle"
aria-describedby=
"el-tooltip-694"
tabindex=
"0"
@
click=
"financeinfoRemove(item.ID,item.Name)"
><i
class=
"el-icon-delete"
></i></button>
--
>
<button
v-if=
"msg.EmployeeID==910"
type=
"button"
class=
"el-button el-tooltip item el-button--primary is-circle"
aria-describedby=
"el-tooltip-5781"
tabindex=
"0"
@
click=
"editCurency(item.ID),text='修改'"
><i
class=
"el-icon-edit"
></i></button>
</p>
</div>
</div>
...
...
@@ -192,21 +193,25 @@
<tbody
class=
"po_content_item"
>
<tr
v-for=
"(item,index) in CostTypeTreeList"
:key=
"index"
v-loading=
"loading"
>
<td
width=
"200px"
>
<span
class=
"cursorpointer"
@
click=
"editCurency(item.ID),text='修改'"
>
{{
item
.
Name
}}
</span>
<span
class=
"cursorpointer"
v-if=
"msg.EmployeeID==910"
@
click=
"editCurency(item.ID),text='修改'"
>
{{
item
.
Name
}}
</span>
<span
class=
"cursorpointer"
v-else
>
{{
item
.
Name
}}
</span>
</td>
<template
v-if=
"item.ChildList.length>0"
>
<td
colspan=
"8"
style=
"padding:0"
>
<table
class=
"po_content_item po_content_item_two"
style=
"width: 100%;"
cellspacing=
"0"
cellpadding=
"0"
>
<tbody>
<tr
v-for=
"(son,sIndex) in item.ChildList"
>
<td
style=
""
width=
"150px"
><span
class=
"cursorpointer"
@
click=
"editCurency(son.ID),text='修改'"
>
{{
son
.
Name
}}
</span></td>
<td
style=
""
width=
"150px"
>
<span
class=
"cursorpointer"
v-if=
'msg.EmployeeID==910'
@
click=
"editCurency(son.ID),text='修改'"
>
{{
son
.
Name
}}
</span>
<span
class=
"cursorpointer"
v-else
>
{{
son
.
Name
}}
</span></td>
<template
v-if=
"son.ChildList.length>0"
>
<td
colspan=
"7"
style=
"padding:0"
>
<table
class=
"po_content_item po_content_item_str"
style=
"width: 100%"
cellspacing=
"0"
cellpadding=
"0"
>
<tbody>
<tr
v-for=
"(grSon,gsIndex) in son.ChildList"
>
<td
class=
"cursorpointer_last"
width=
"150px"
>
<span
class=
"cursorpointer"
@
click=
"editCurency(grSon.ID),text='修改'"
>
{{
grSon
.
Name
}}
<i
@
click
.
stop=
"financeinfoRemove(grSon.ID,grSon.Name)"
class=
"el-icon-delete"
></i></span></td>
<span
class=
"cursorpointer"
v-if=
'msg.EmployeeID==910'
@
click=
"editCurency(grSon.ID),text='修改'"
>
{{
grSon
.
Name
}}
<i
@
click
.
stop=
"financeinfoRemove(grSon.ID,grSon.Name)"
class=
"el-icon-delete"
></i></span>
<span
class=
"cursorpointer"
v-else
>
{{
grSon
.
Name
}}
</span></td>
<td
width=
"150px"
>
{{
grSon
.
BName
}}
</td>
<td
width=
"150px"
>
{{
grSon
.
DeName
}}
</td>
<td
width=
"150px"
>
{{
grSon
.
PName
}}
</td>
...
...
@@ -464,6 +469,7 @@
Name
:
''
,
Tier
:
0
,
ParentId
:
''
,
EmployeeID
:
-
1
,
},
addMsg
:{
ID
:
0
,
...
...
@@ -778,6 +784,10 @@
});
});
},
//导出费用类型明细报表
method5
:
function
()
{
this
.
GetLocalFile
(
"financeinfo_post_OutToCostTypeExcel"
,
this
.
msg
,
"费用类型明细报表.xls"
);
}
,
editCurency
(
id
){
// 修改信息
this
.
apipost
(
'financeinfo_post_GetCostType'
,{
ID
:
id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
@@ -995,6 +1005,7 @@
this
.
initTableInfo
();
let
userInfo
=
this
.
getLocalStorage
();
this
.
departmentMsg
.
RB_Group_Id
=
this
.
companyMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团
this
.
msg
.
EmployeeID
=
userInfo
.
EmployeeId
;
this
.
getDepartment
();
this
.
getCompany
();
this
.
getCostTypeTreeList
();
...
...
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