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
c004a661
Commit
c004a661
authored
Nov 17, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
799ebf75
77ab0cc0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
1074 additions
and
838 deletions
+1074
-838
AccountPageList.vue
src/pages/financial/AccountPageList.vue
+97
-0
AccountType.vue
src/pages/financial/AccountType.vue
+4
-5
CashAccount.vue
src/pages/financial/CashAccount.vue
+18
-56
CompanyAccount.vue
src/pages/financial/CompanyAccount.vue
+21
-15
PlatformAccount.vue
src/pages/financial/PlatformAccount.vue
+22
-30
accountingWork.vue
src/pages/financial/accountingWork.vue
+18
-22
CapitalAllocation.vue
src/pages/financial/financalDocument/CapitalAllocation.vue
+18
-8
FinancialDocuments.vue
src/pages/financial/financalDocument/FinancialDocuments.vue
+17
-20
RecPayQuery.vue
src/pages/financial/financalDocument/RecPayQuery.vue
+17
-7
invoicesManager.vue
src/pages/financial/financalDocument/invoicesManager.vue
+16
-8
paySetting.vue
src/pages/financial/paySetting.vue
+801
-647
sellCommissionRules.vue
src/pages/financial/sellCommissionRules.vue
+18
-19
routes.js
src/router/routes.js
+5
-0
erpindex.js
src/utils/erpindex.js
+2
-1
No files found.
src/pages/financial/AccountPageList.vue
0 → 100644
View file @
c004a661
<
style
>
@import
"css/cssReset.css"
;
.page_AccountPageList
tr
th
,
.page_AccountPageList
tr
td
{
padding
:
10px
20px
;
text-align
:
left
;
}
</
style
>
<
template
>
<div
class=
"flexOne page_AccountPageList"
>
<div
class=
'query-box'
>
<ul>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"返回"
@
click=
"goUrl()"
/>
</li>
</ul>
</div>
<table
class=
"singeRowTable"
style=
"border:1px solid #E6E6E6;"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<th
width=
'200px'
>
{{
$t
(
'fnc.bieming'
)
}}
</th>
<th>
{{
$t
(
'fnc.zhanghuleixing'
)
}}
</th>
<th>
{{
$t
(
'hotel.hotel_Currency'
)
}}
</th>
<th>
{{
$t
(
'fnc.yueacc'
)
}}
</th>
<th>
{{
$t
(
'fnc.bwbyue'
)
}}
</th>
<th>
{{
$t
(
'admin.admin_czPerson'
)
}}
</th>
<th
width=
'200px'
>
{{
$t
(
'fnc.caozuoriqi'
)
}}
</th>
</tr>
<tr
v-for=
"(item,index) in dataList"
:key=
"index"
>
<td>
{{
item
.
Alias
}}
</td>
<td>
{{
item
.
AccountTypeName
}}
</td>
<td>
{{
item
.
CurrencyName
}}
</td>
<td>
¥
{{
item
.
Initialbalance
}}
</td>
<td>
¥
{{
item
.
RBNInitialbalance
}}
</td>
<td>
{{
item
.
emName
}}
</td>
<td>
{{
item
.
CreateDate
}}
</td>
</tr>
</table>
<div>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
msg.pageSize
:total=
total
>
</el-pagination>
</div>
</div>
</
template
>
<
script
>
export
default
{
data
(){
return
{
dataList
:[],
loading
:
false
,
total
:
0
,
currentPage
:
1
,
msg
:{
PageIndex
:
1
,
pageSize
:
15
,
BackId
:
0
,
TypeId
:
0
,
ID
:
0
,
BankType
:
0
,
},
}
},
created
(){
this
.
msg
.
BackId
=
this
.
$route
.
query
.
BackId
;
this
.
msg
.
TypeId
=
this
.
$route
.
query
.
TypeId
;
},
mounted
(){
this
.
getList
()
},
methods
:{
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
resetPageIndex
(){
this
.
msg
.
pageIndex
=
1
;
this
.
currentPage
=
1
},
getList
(){
this
.
loading
=
true
;
this
.
apipost
(
'FinancialInstitutions_post_GetAccountList'
,
this
.
msg
,
r
=>
{
if
(
r
.
data
.
resultCode
==
1
){
this
.
total
=
r
.
data
.
data
.
count
;
this
.
dataList
=
r
.
data
.
data
.
pageData
;
}
this
.
loading
=
false
;
},
null
)
},
goUrl
(){
this
.
$router
.
go
(
-
1
)
}
}
}
</
script
>
src/pages/financial/AccountType.vue
View file @
c004a661
...
@@ -704,12 +704,11 @@
...
@@ -704,12 +704,11 @@
});
});
},
},
goUrl
(
path
,
id
)
{
goUrl
(
path
,
id
)
{
var
tempStr
=
'/financial/'
+
path
+
'?TypeId='
+
id
;
console
.
log
(
tempStr
)
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
path
,
path
:
tempStr
query
:
{
});
'TypeId'
:
id
}
})
}
}
},
},
mounted
()
{
mounted
()
{
...
...
src/pages/financial/CashAccount.vue
View file @
c004a661
...
@@ -209,57 +209,13 @@
...
@@ -209,57 +209,13 @@
<el-input
v-model=
"addMsg.Initialbalance"
class=
""
></el-input>
<el-input
v-model=
"addMsg.Initialbalance"
class=
""
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<!--
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
label=
"收款负责人:"
prop=
"InCharge"
class=
"_fuzeren"
>
<el-select
v-model=
"addMsg.InCharge"
filterable
remote
reserve-keyword
placeholder=
"请输入关键词"
:remote-method=
"remoteMethod"
@
focus=
"Charge=1"
:loading=
"loading2"
>
<el-option
v-for=
"item in showEmployeeList"
:key=
"item.empId"
:label=
"`$
{item.name}`"
:value="item.empId">
<span
style=
"float: left; font-size: 12px"
>
{{
item
.
name
}}
</span>
<span
style=
"float: right; font-size: 12px; margin-right:20px;"
>
{{
item
.
departmentName
}}
</span>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
label=
"支款负责人:"
prop=
"OutCharge"
class=
"_fuzeren"
>
<el-select
v-model=
"addMsg.OutCharge"
filterable
remote
reserve-keyword
placeholder=
"请输入关键词"
:remote-method=
"remoteMethod2"
@
focus=
"Charge=2"
:loading=
"loading2"
>
<el-option
v-for=
"item in showEmployeeList2"
:key=
"item.empId"
:label=
"`$
{item.name}`"
:value="item.empId">
<span
style=
"float: left; font-size: 12px"
>
{{
item
.
name
}}
</span>
<span
style=
"float: right; font-size: 12px; margin-right:20px;"
>
{{
item
.
departmentName
}}
</span>
</el-option>
</el-select>
</el-form-item>
</el-col>
-->
<el-col
:span=
"4"
:gutter=
"35"
class=
"_BranchIdS"
>
<el-col
:span=
"4"
:gutter=
"35"
class=
"_BranchIdS"
>
<el-form-item
:label=
"$t('fnc.ssgongsi')"
prop=
"BranchIdS"
>
<el-form-item
:label=
"$t('fnc.ssgongsi')"
prop=
"BranchIdS"
>
<el-select
filterable
v-model=
'addMsg.BranchIdS'
>
<el-select
filterable
v-model=
'addMsg.BranchIdS'
>
<el-option
v-for=
'item in CompanyList'
<el-option
v-for=
'item in CompanyList'
:label=
'item.
B
Name'
:label=
'item.
S
Name'
:value=
'item.Id'
:value=
'item.
S
Id'
:key=
'item.Id'
:key=
'item.
S
Id'
:disabled=
"item.disabled"
>
:disabled=
"item.disabled"
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -349,6 +305,9 @@
...
@@ -349,6 +305,9 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getSchoolPage
}
from
'../../api/school/index'
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
...
@@ -455,6 +414,13 @@
...
@@ -455,6 +414,13 @@
CostTypeID
:
''
CostTypeID
:
''
},
},
costType
:[],
costType
:[],
schoolMsg
:{
pageIndex
:
1
,
pageSize
:
12
,
rowsPerPage
:
12
,
SName
:
""
,
Status
:
'-1'
}
}
}
},
methods
:{
},
methods
:{
goUrlNew
(
item
)
{
goUrlNew
(
item
)
{
...
@@ -570,15 +536,11 @@
...
@@ -570,15 +536,11 @@
},
err
=>
{})
},
err
=>
{})
},
},
getCompanyList
(){
//获取公司列表
getCompanyList
(){
//获取公司列表
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
getSchoolPage
(
this
.
schoolMsg
).
then
(
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
CompanyList
=
res
.
Data
.
PageData
;
let
data
=
res
.
data
.
data
;
}).
catch
(()
=>
{
data
.
forEach
(
x
=>
{
x
.
disabled
=
false
;
})
})
this
.
CompanyList
=
data
;
}
else
{}
},
err
=>
{})
},
},
editCurency
(
id
){
// 修改根据ID 获取信息
editCurency
(
id
){
// 修改根据ID 获取信息
this
.
apipost
(
'BankAccount_post_GetCashAccount'
,{
ID
:
id
},
res
=>
{
this
.
apipost
(
'BankAccount_post_GetCashAccount'
,{
ID
:
id
},
res
=>
{
...
...
src/pages/financial/CompanyAccount.vue
View file @
c004a661
...
@@ -102,9 +102,9 @@
...
@@ -102,9 +102,9 @@
<el-option
:label=
'$t("pub.unlimitedSel")'
value=
'-1'
></el-option>
<el-option
:label=
'$t("pub.unlimitedSel")'
value=
'-1'
></el-option>
<!--
<el-option
label=
'通用'
value=
'-1'
></el-option>
-->
<!--
<el-option
label=
'通用'
value=
'-1'
></el-option>
-->
<el-option
v-for=
'item in CompanyList'
<el-option
v-for=
'item in CompanyList'
:label=
'item.
B
Name'
:label=
'item.
S
Name'
:value=
'item.Id'
:value=
'item.
S
Id'
:key=
'item.Id'
>
:key=
'item.
S
Id'
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -277,9 +277,9 @@
...
@@ -277,9 +277,9 @@
<el-form-item
:label=
"$t('fnc.ssgongsi')"
prop=
"BranchIdS"
>
<el-form-item
:label=
"$t('fnc.ssgongsi')"
prop=
"BranchIdS"
>
<el-select
filterable
v-model=
'addMsg.BranchIdS'
>
<el-select
filterable
v-model=
'addMsg.BranchIdS'
>
<el-option
v-for=
'item in CompanyList'
<el-option
v-for=
'item in CompanyList'
:label=
'item.
B
Name'
:label=
'item.
S
Name'
:value=
'item.Id'
:value=
'item.
S
Id'
:key=
'item.Id'
:key=
'item.
S
Id'
:disabled=
"item.disabled"
>
:disabled=
"item.disabled"
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -369,6 +369,9 @@
...
@@ -369,6 +369,9 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getSchoolPage
}
from
'../../api/school/index'
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
...
@@ -483,6 +486,13 @@ export default {
...
@@ -483,6 +486,13 @@ export default {
CostTypeID
:
''
CostTypeID
:
''
},
},
costType
:[],
costType
:[],
schoolMsg
:{
pageIndex
:
1
,
pageSize
:
12
,
rowsPerPage
:
12
,
SName
:
""
,
Status
:
'-1'
}
}
}
},
methods
:{
},
methods
:{
regNum
(
n
,
t
){
// 判断数字 n 值 t 类型
regNum
(
n
,
t
){
// 判断数字 n 值 t 类型
...
@@ -598,15 +608,11 @@ export default {
...
@@ -598,15 +608,11 @@ export default {
},
err
=>
{})
},
err
=>
{})
},
},
getCompanyList
(){
//获取公司列表
getCompanyList
(){
//获取公司列表
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
getSchoolPage
(
this
.
schoolMsg
).
then
(
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
CompanyList
=
res
.
Data
.
PageData
;
let
data
=
res
.
data
.
data
;
}).
catch
(()
=>
{
data
.
forEach
(
x
=>
{
x
.
disabled
=
false
;
})
})
this
.
CompanyList
=
data
;
}
else
{}
},
err
=>
{})
},
},
editCurency
(
id
){
// 修改根据ID 获取信息
editCurency
(
id
){
// 修改根据ID 获取信息
this
.
apipost
(
'bankaccount_post_Get'
,{
ID
:
id
},
res
=>
{
this
.
apipost
(
'bankaccount_post_Get'
,{
ID
:
id
},
res
=>
{
...
...
src/pages/financial/PlatformAccount.vue
View file @
c004a661
...
@@ -170,9 +170,9 @@
...
@@ -170,9 +170,9 @@
<el-select
filterable
v-model=
"addMsg.BranchIdS"
collapse-tags
>
<el-select
filterable
v-model=
"addMsg.BranchIdS"
collapse-tags
>
<el-option
<el-option
v-for=
"item in CompanyList"
v-for=
"item in CompanyList"
:label=
"item.
B
Name"
:label=
"item.
S
Name"
:value=
"item.Id"
:value=
"item.
S
Id"
:key=
"item.Id"
:key=
"item.
S
Id"
:disabled=
"item.disabled"
:disabled=
"item.disabled"
></el-option>
></el-option>
</el-select>
</el-select>
...
@@ -315,6 +315,9 @@
...
@@ -315,6 +315,9 @@
</template>
</template>
<
script
>
<
script
>
import
Vue
from
'vue'
import
Vue
from
'vue'
import
{
getSchoolPage
}
from
'../../api/school/index'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -475,7 +478,14 @@ export default {
...
@@ -475,7 +478,14 @@ export default {
Source
:
2
,
Source
:
2
,
CostTypeID
:
""
CostTypeID
:
""
},
},
costType
:
[]
costType
:
[],
schoolMsg
:{
pageIndex
:
1
,
pageSize
:
12
,
rowsPerPage
:
12
,
SName
:
""
,
Status
:
'-1'
}
};
};
},
},
methods
:
{
methods
:
{
...
@@ -860,31 +870,12 @@ export default {
...
@@ -860,31 +870,12 @@ export default {
err
=>
{}
err
=>
{}
);
);
},
},
getCompanyList
(
t
,
info
)
{
getCompanyList
()
{
if
(
t
){
getSchoolPage
(
this
.
schoolMsg
).
then
(
res
=>
{
this
.
CompanyList
.
push
({
this
.
CompanyList
=
res
.
Data
.
PageData
;
BName
:
info
.
BranchName
,
}).
catch
(()
=>
{
Id
:
info
.
RB_Branch_id
})
})
return
}
//获取公司列表
this
.
apipost
(
"admin_get_BranchGetList"
,
this
.
getCompanyMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
data
.
forEach
(
x
=>
{
x
.
disabled
=
false
;
});
this
.
CompanyList
=
data
;
this
.
initColums
();
}
else
{
}
},
err
=>
{}
);
},
},
editCurency
(
id
)
{
editCurency
(
id
)
{
// 修改根据ID 获取信息
// 修改根据ID 获取信息
...
@@ -1190,7 +1181,7 @@ export default {
...
@@ -1190,7 +1181,7 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
this
.
msg
.
pageSize
=
this
.
calcPageSize
(
40
);
//
this.msg.pageSize = this.calcPageSize(40);
// let userInfo = this.getLocalStorage();
// let userInfo = this.getLocalStorage();
// this.getCompanyMsg.RB_Group_Id = userInfo.RB_Group_id; //集团ID
// this.getCompanyMsg.RB_Group_Id = userInfo.RB_Group_id; //集团ID
// var branchId = userInfo.RB_Branch_id;
// var branchId = userInfo.RB_Branch_id;
...
@@ -1201,6 +1192,7 @@ export default {
...
@@ -1201,6 +1192,7 @@ export default {
// this.getCompanyList(2,userInfo);
// this.getCompanyList(2,userInfo);
// this.msg.RB_Branch_Id = branchId;
// this.msg.RB_Branch_Id = branchId;
// }
// }
this
.
getCompanyList
();
this
.
getList
();
this
.
getList
();
this
.
initColums
();
this
.
initColums
();
...
...
src/pages/financial/accountingWork.vue
View file @
c004a661
...
@@ -147,9 +147,9 @@
...
@@ -147,9 +147,9 @@
<el-form-item
:label=
"$t('fnc.ssuogongsi')+':'"
prop=
"BranchId"
>
<el-form-item
:label=
"$t('fnc.ssuogongsi')+':'"
prop=
"BranchId"
>
<el-select
filterable
v-model=
'addMsg.BranchId'
>
<el-select
filterable
v-model=
'addMsg.BranchId'
>
<el-option
v-for=
'item in CompanyList'
<el-option
v-for=
'item in CompanyList'
:label=
'item.
B
Name'
:label=
'item.
S
Name'
:value=
'item.Id'
:value=
'item.
S
Id'
:key=
'item.Id'
:key=
'item.
S
Id'
:disabled=
"item.disabled"
>
:disabled=
"item.disabled"
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -206,19 +206,6 @@
...
@@ -206,19 +206,6 @@
<el-radio
v-model=
"addMsg.Direct"
:label=
"3"
>
{{$t('fnc.shouzhi')}}
</el-radio>
<el-radio
v-model=
"addMsg.Direct"
:label=
"3"
>
{{$t('fnc.shouzhi')}}
</el-radio>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<!-- <el-col :span="12">
<el-form-item label="适用费用" class="_treeselect">
<treeselect
class=""
v-model="CostIdS"
value-consists-of="LEAF_PRIORITY"
placeholder="请选择"
:multiple="true"
:options="CostTypeList"
noChildrenText=''
:normalizer="normalizer"/>
</el-form-item>
</el-col> -->
</el-row>
</el-row>
</el-form>
</el-form>
</div>
</div>
...
@@ -228,6 +215,9 @@
...
@@ -228,6 +215,9 @@
<
script
>
<
script
>
import
Treeselect
from
'@riophae/vue-treeselect'
import
Treeselect
from
'@riophae/vue-treeselect'
import
'@riophae/vue-treeselect/dist/vue-treeselect.css'
import
'@riophae/vue-treeselect/dist/vue-treeselect.css'
import
{
getSchoolPage
}
from
'../../api/school/index'
export
default
{
export
default
{
components
:
{
Treeselect
},
components
:
{
Treeselect
},
data
(){
data
(){
...
@@ -300,6 +290,13 @@
...
@@ -300,6 +290,13 @@
Status
:
'0'
,
Status
:
'0'
,
},
},
SingleList
:[],
SingleList
:[],
schoolMsg
:{
pageIndex
:
1
,
pageSize
:
12
,
rowsPerPage
:
12
,
SName
:
""
,
Status
:
'-1'
}
}
}
},
created
(){
},
created
(){
let
userInfo
=
this
.
getLocalStorage
();
let
userInfo
=
this
.
getLocalStorage
();
...
@@ -520,12 +517,11 @@
...
@@ -520,12 +517,11 @@
this
.
$refs
[
formName
].
resetFields
();
this
.
$refs
[
formName
].
resetFields
();
},
},
getCompanyList
(){
//获取公司列表
getCompanyList
(){
//获取公司列表
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
getSchoolPage
(
this
.
schoolMsg
).
then
(
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
CompanyList
=
res
.
Data
.
PageData
;
let
data
=
res
.
data
.
data
}).
catch
(()
=>
{
this
.
CompanyList
=
res
.
data
.
data
;
}
else
{}
})
},
err
=>
{})
},
},
},
mounted
(){
},
mounted
(){
this
.
getList
();
this
.
getList
();
...
...
src/pages/financial/financalDocument/CapitalAllocation.vue
View file @
c004a661
...
@@ -73,9 +73,9 @@
...
@@ -73,9 +73,9 @@
<el-select
v-model=
"msg.RB_Branch_Id"
:placeholder=
"$t('rule.company')"
@
change=
"getDepartmentMsg.RB_Branch_Id = msg.RB_Branch_Id, getDepartment(),msg.RB_Depart_Id = -2"
>
<el-select
v-model=
"msg.RB_Branch_Id"
:placeholder=
"$t('rule.company')"
@
change=
"getDepartmentMsg.RB_Branch_Id = msg.RB_Branch_Id, getDepartment(),msg.RB_Depart_Id = -2"
>
<el-option
:value=
"-1"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
:value=
"-1"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in CompanyList'
<el-option
v-for=
'item in CompanyList'
:label=
'item.
B
Name'
:label=
'item.
S
Name'
:value=
'item.Id'
:value=
'item.
S
Id'
:key=
'item.Id'
>
:key=
'item.
S
Id'
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -218,6 +218,9 @@
...
@@ -218,6 +218,9 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getSchoolPage
}
from
'../../../api/school/index'
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
...
@@ -267,6 +270,13 @@
...
@@ -267,6 +270,13 @@
total
:
0
,
total
:
0
,
currentPage
:
0
,
currentPage
:
0
,
btnShow
:
false
,
btnShow
:
false
,
schoolMsg
:{
pageIndex
:
1
,
pageSize
:
12
,
rowsPerPage
:
12
,
SName
:
""
,
Status
:
'-1'
}
}
}
},
},
created
(){
created
(){
...
@@ -316,11 +326,11 @@
...
@@ -316,11 +326,11 @@
this
.
msg
.
EmployeeId
=
this
.
EmId
;
this
.
msg
.
EmployeeId
=
this
.
EmId
;
this
.
GetLocalFile
(
"Financial_get_OutToFundTransfer"
,
this
.
msg
,
this
.
$t
(
'fnc.zjdbbiao'
)
+
".xls"
);}
,
this
.
GetLocalFile
(
"Financial_get_OutToFundTransfer"
,
this
.
msg
,
this
.
$t
(
'fnc.zjdbbiao'
)
+
".xls"
);}
,
getCompanyList
:
function
()
{
//获取公司列表
getCompanyList
:
function
()
{
//获取公司列表
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
getSchoolPage
(
this
.
schoolMsg
).
then
(
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
CompanyList
=
res
.
Data
.
PageData
;
this
.
CompanyList
=
res
.
data
.
data
;
}).
catch
(()
=>
{
}
else
{}
}
,
err
=>
{}
)
})
},
},
getDepartment
:
function
()
{
//获取部门列表
getDepartment
:
function
()
{
//获取部门列表
this
.
apipost
(
'admin_get_DepartmentGetList'
,
this
.
getDepartmentMsg
,
res
=>
{
this
.
apipost
(
'admin_get_DepartmentGetList'
,
this
.
getDepartmentMsg
,
res
=>
{
...
...
src/pages/financial/financalDocument/FinancialDocuments.vue
View file @
c004a661
...
@@ -590,7 +590,7 @@
...
@@ -590,7 +590,7 @@
class=
"iconfont icon-gengduo"
></i></em>
class=
"iconfont icon-gengduo"
></i></em>
</span>
</span>
<button
class=
"hollowFixedBtn"
@
click=
"resetPageIndex(),getPageList()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"resetPageIndex(),getPageList()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
<button
class=
"normalBtn"
@
click=
"goUrl
Add
('ChoiceAddFinancialDocuments')"
>
{{
$t
(
'pub.addBtn'
)
}}
</button>
<button
class=
"normalBtn"
@
click=
"goUrl
Weituo
('ChoiceAddFinancialDocuments')"
>
{{
$t
(
'pub.addBtn'
)
}}
</button>
<button
class=
"normalBtn"
v-if=
"checkboxShow"
@
click=
"Financial_post_SetBatch"
>
{{
$t
(
'fnc.piltijiao'
)
}}
</button>
<button
class=
"normalBtn"
v-if=
"checkboxShow"
@
click=
"Financial_post_SetBatch"
>
{{
$t
(
'fnc.piltijiao'
)
}}
</button>
<button
class=
"normalBtn"
@
click=
"method5()"
>
{{
$t
(
'visa.v_daochu'
)
}}
</button>
<button
class=
"normalBtn"
@
click=
"method5()"
>
{{
$t
(
'visa.v_daochu'
)
}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"goUrlWeituo('WorkEntrustmentMy')"
>
{{
$t
(
'fnc.gzweituo'
)
}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"goUrlWeituo('WorkEntrustmentMy')"
>
{{
$t
(
'fnc.gzweituo'
)
}}
</button>
...
@@ -681,7 +681,7 @@
...
@@ -681,7 +681,7 @@
@
change=
"getDepartmentMsg.RB_Branch_Id=msg.RB_Branch_Id,msg.RB_Depart_Id='',getDepartment()"
@
change=
"getDepartmentMsg.RB_Branch_Id=msg.RB_Branch_Id,msg.RB_Depart_Id='',getDepartment()"
class=
"w150"
>
class=
"w150"
>
<el-option
:value=
"-1"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
:value=
"-1"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in CompanyList'
:label=
'item.
BName'
:value=
'item.Id'
:key=
'item.
Id'
>
<el-option
v-for=
'item in CompanyList'
:label=
'item.
SName'
:value=
'item.SId'
:key=
'item.S
Id'
>
</el-option>
</el-option>
</el-select>
</el-select>
</span>
</span>
...
@@ -1230,6 +1230,9 @@
...
@@ -1230,6 +1230,9 @@
import
myrbvBill
from
"../components/ReceivablesModule.vue"
;
import
myrbvBill
from
"../components/ReceivablesModule.vue"
;
import
myhrBill
from
"../components/MergeBillModule.vue"
;
import
myhrBill
from
"../components/MergeBillModule.vue"
;
import
myGZBill
from
"../components/GZBillModule.vue"
;
import
myGZBill
from
"../components/GZBillModule.vue"
;
import
{
getSchoolPage
}
from
'../../../api/school/index'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -1403,10 +1406,13 @@
...
@@ -1403,10 +1406,13 @@
IsAdvanceFinance
:
1
,
IsAdvanceFinance
:
1
,
},
},
costList
:
[],
costList
:
[],
schoolMsg
:{
pageIndex
:
1
,
pageSize
:
12
,
rowsPerPage
:
12
,
SName
:
""
,
Status
:
'-1'
}
}
}
},
},
created
()
{
created
()
{
...
@@ -2152,11 +2158,11 @@
...
@@ -2152,11 +2158,11 @@
},
err
=>
{})
},
err
=>
{})
},
},
getCompanyList
()
{
//获取公司列表
getCompanyList
()
{
//获取公司列表
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
getSchoolPage
(
this
.
schoolMsg
).
then
(
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
CompanyList
=
res
.
Data
.
PageData
;
this
.
CompanyList
=
res
.
data
.
data
;
}).
catch
(()
=>
{
}
else
{}
}
,
err
=>
{}
)
})
},
},
Financial_post_GetConditionList
()
{
//获取财务单据枚举列表
Financial_post_GetConditionList
()
{
//获取财务单据枚举列表
this
.
apipost
(
'Financial_post_GetConditionList'
,
{},
res
=>
{
this
.
apipost
(
'Financial_post_GetConditionList'
,
{},
res
=>
{
...
@@ -2299,15 +2305,6 @@
...
@@ -2299,15 +2305,6 @@
path
:
tempStr
path
:
tempStr
});
});
},
},
goUrlAdd
(
path
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
blank
:
'y'
,
tab
:
'选择财务单据类型'
}
})
},
goEit
(
type
,
id
,
edit
,
Conditon
,
pageIndex
,
item
)
{
goEit
(
type
,
id
,
edit
,
Conditon
,
pageIndex
,
item
)
{
let
path
=
''
;
let
path
=
''
;
if
(
type
===
1
)
{
if
(
type
===
1
)
{
...
...
src/pages/financial/financalDocument/RecPayQuery.vue
View file @
c004a661
...
@@ -500,7 +500,7 @@
...
@@ -500,7 +500,7 @@
@
change=
"getDepartmentMsg.RB_Branch_Id=msg.RB_Branch_Id,msg.RB_Depart_Id='',msg.UpdateBy='',getDepartment()"
@
change=
"getDepartmentMsg.RB_Branch_Id=msg.RB_Branch_Id,msg.RB_Depart_Id='',msg.UpdateBy='',getDepartment()"
class=
""
>
class=
""
>
<el-option
:value=
"-1"
label=
"不限"
></el-option>
<el-option
:value=
"-1"
label=
"不限"
></el-option>
<el-option
v-for=
'item in CompanyList'
:label=
'item.
BName'
:value=
'item.Id'
:key=
'item.
Id'
>
<el-option
v-for=
'item in CompanyList'
:label=
'item.
SName'
:value=
'item.SId'
:key=
'item.S
Id'
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -705,6 +705,9 @@
...
@@ -705,6 +705,9 @@
import
myrbvBill
from
"../components/ReceivablesModule.vue"
;
import
myrbvBill
from
"../components/ReceivablesModule.vue"
;
import
myhrBill
from
"../components/MergeBillModule.vue"
;
import
myhrBill
from
"../components/MergeBillModule.vue"
;
import
Vue
from
'vue'
import
Vue
from
'vue'
import
{
getSchoolPage
}
from
'../../../api/school/index'
// 自定义列组件
// 自定义列组件
Vue
.
component
(
'table-BranchName'
,
{
//查看操作按钮
Vue
.
component
(
'table-BranchName'
,
{
//查看操作按钮
template
:
`<span>{{rowData.BranchName}}</span>`
,
template
:
`<span>{{rowData.BranchName}}</span>`
,
...
@@ -1341,7 +1344,14 @@
...
@@ -1341,7 +1344,14 @@
],
],
pageSize
:
5
,
pageSize
:
5
,
pageIndex
:
1
,
pageIndex
:
1
,
heightQueryBox
:
false
heightQueryBox
:
false
,
schoolMsg
:{
pageIndex
:
1
,
pageSize
:
12
,
rowsPerPage
:
12
,
SName
:
""
,
Status
:
'-1'
}
}
}
},
},
created
()
{
created
()
{
...
@@ -1726,11 +1736,11 @@
...
@@ -1726,11 +1736,11 @@
},
err
=>
{})
},
err
=>
{})
},
},
getCompanyList
()
{
//获取公司列表
getCompanyList
()
{
//获取公司列表
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
getSchoolPage
(
this
.
schoolMsg
).
then
(
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
CompanyList
=
res
.
Data
.
PageData
;
this
.
CompanyList
=
res
.
data
.
data
;
}).
catch
(()
=>
{
}
else
{}
}
,
err
=>
{}
)
})
},
},
Financial_post_GetConditionList
()
{
//获取财务单据枚举列表
Financial_post_GetConditionList
()
{
//获取财务单据枚举列表
this
.
apipost
(
'Financial_post_GetConditionList'
,
{},
res
=>
{
this
.
apipost
(
'Financial_post_GetConditionList'
,
{},
res
=>
{
...
...
src/pages/financial/financalDocument/invoicesManager.vue
View file @
c004a661
...
@@ -130,7 +130,7 @@
...
@@ -130,7 +130,7 @@
<el-form-item
label=
"公司"
>
<el-form-item
label=
"公司"
>
<el-select
v-model=
"msg.RB_Branch_Id"
filterable
>
<el-select
v-model=
"msg.RB_Branch_Id"
filterable
>
<el-option
:value=
"-1"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
:value=
"-1"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in
companyList'
:label=
'item.BName'
:value=
'item.Id'
:key=
'item.
Id'
></el-option>
<el-option
v-for=
'item in
CompanyList'
:label=
'item.SName'
:value=
'item.SId'
:key=
'item.S
Id'
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -252,12 +252,15 @@
...
@@ -252,12 +252,15 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
getSchoolPage
}
from
'../../../api/school/index'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
active
:
1
,
active
:
1
,
RB_Group_Id
:
''
,
RB_Group_Id
:
''
,
c
ompanyList
:[],
C
ompanyList
:[],
msg
:
{
msg
:
{
TCID
:
0
,
TCID
:
0
,
TCNUM
:
''
,
TCNUM
:
''
,
...
@@ -279,6 +282,13 @@
...
@@ -279,6 +282,13 @@
loading
:
false
,
loading
:
false
,
currentPage
:
0
,
currentPage
:
0
,
total
:
0
,
total
:
0
,
schoolMsg
:{
pageIndex
:
1
,
pageSize
:
12
,
rowsPerPage
:
12
,
SName
:
""
,
Status
:
'-1'
}
};
};
},
},
methods
:
{
methods
:
{
...
@@ -369,13 +379,11 @@
...
@@ -369,13 +379,11 @@
this
.
currentPage
=
1
;
this
.
currentPage
=
1
;
},
},
getBranchList
(){
getBranchList
(){
getSchoolPage
(
this
.
schoolMsg
).
then
(
res
=>
{
this
.
CompanyList
=
res
.
Data
.
PageData
;
}).
catch
(()
=>
{
this
.
RB_Group_Id
=
this
.
getLocalStorage
().
RB_Group_id
;
})
this
.
apipost
(
'admin_get_BranchGetList'
,
{
RB_Group_Id
:
this
.
RB_Group_Id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
companyList
=
res
.
data
.
data
;
}
},
null
)
}
}
},
},
mounted
()
{
mounted
()
{
...
...
src/pages/financial/paySetting.vue
View file @
c004a661
This diff is collapsed.
Click to expand it.
src/pages/financial/sellCommissionRules.vue
View file @
c004a661
...
@@ -111,8 +111,8 @@
...
@@ -111,8 +111,8 @@
<el-option
:label=
"$t('fnc.jttongyong')"
value=
"-1"
></el-option>
<el-option
:label=
"$t('fnc.jttongyong')"
value=
"-1"
></el-option>
<el-option
<el-option
v-for=
"(item, index) in CompanyList"
v-for=
"(item, index) in CompanyList"
:label=
"item.
B
Name"
:label=
"item.
S
Name"
:value=
"item.
Id.toString()
"
:value=
"item.
SId
"
:key=
"index"
:key=
"index"
></el-option>
></el-option>
</el-select>
</el-select>
...
@@ -255,6 +255,9 @@
...
@@ -255,6 +255,9 @@
</template>
</template>
<
script
>
<
script
>
import
Vue
from
"vue"
;
import
Vue
from
"vue"
;
import
{
getSchoolPage
}
from
'../../api/school/index'
export
default
{
export
default
{
data
()
{
data
()
{
var
checkVariable
=
(
rule
,
value
,
callback
)
=>
{
var
checkVariable
=
(
rule
,
value
,
callback
)
=>
{
...
@@ -310,7 +313,14 @@
...
@@ -310,7 +313,14 @@
RB_Group_Id
:
0
RB_Group_Id
:
0
},
},
desctionsResources
:[],
desctionsResources
:[],
desctions
:[]
desctions
:[],
schoolMsg
:{
pageIndex
:
1
,
pageSize
:
12
,
rowsPerPage
:
12
,
SName
:
""
,
Status
:
'-1'
}
};
};
},
},
methods
:
{
methods
:
{
...
@@ -625,22 +635,11 @@
...
@@ -625,22 +635,11 @@
},
},
getCompanyList
()
{
getCompanyList
()
{
//获取公司列表
//获取公司列表
this
.
apipost
(
getSchoolPage
(
this
.
schoolMsg
).
then
(
res
=>
{
"admin_get_BranchGetList"
,
this
.
CompanyList
=
res
.
Data
.
PageData
;
this
.
getCompanyMsg
,
}).
catch
(()
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
})
let
data
=
res
.
data
.
data
;
data
.
forEach
(
x
=>
{
x
.
disabled
=
false
;
});
this
.
CompanyList
=
data
;
this
.
getline
();
}
else
{
}
},
err
=>
{}
);
},
},
getline
()
{
getline
()
{
let
msg
=
{
pageIndex
:
0
,
pageSize
:
100
};
let
msg
=
{
pageIndex
:
0
,
pageSize
:
100
};
...
...
src/router/routes.js
View file @
c004a661
...
@@ -122,6 +122,11 @@ const routes = [{
...
@@ -122,6 +122,11 @@ const routes = [{
component
:
()
=>
component
:
()
=>
import
(
"pages/financial/AccountType.vue"
)
import
(
"pages/financial/AccountType.vue"
)
},
},
{
path
:
"/financial/AccountPageList"
,
//关联账户
component
:
()
=>
import
(
"pages/financial/AccountPageList.vue"
)
},
{
{
path
:
"/financial/CostType"
,
//费用类型
path
:
"/financial/CostType"
,
//费用类型
component
:
()
=>
component
:
()
=>
...
...
src/utils/erpindex.js
View file @
c004a661
...
@@ -84,7 +84,8 @@ export default{
...
@@ -84,7 +84,8 @@ export default{
let
mallUrl
=
""
;
//商城API
let
mallUrl
=
""
;
//商城API
let
locationName
=
window
.
location
.
hostname
;
let
locationName
=
window
.
location
.
hostname
;
// domainUrl = "http://127.0.0.1";
// domainUrl = "http://127.0.0.1";
domainUrl
=
"http://192.168.1.13:8083"
;
// domainUrl = "http://192.168.1.13:8083";
domainUrl
=
"http://192.168.1.48:8015"
;
//domainUrl = "http://192.168.1.21:8069";
//domainUrl = "http://192.168.1.21:8069";
let
javaUrldo
=
""
;
let
javaUrldo
=
""
;
...
...
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