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
d3cd94e3
Commit
d3cd94e3
authored
1 year ago
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
d8c648d6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
324 additions
and
0 deletions
+324
-0
detailList.vue
...cialModule/PrestorageManagement/components/detailList.vue
+142
-0
prestoreList.vue
...nts/FinancialModule/PrestorageManagement/prestoreList.vue
+174
-0
config.js
src/router/config.js
+8
-0
No files found.
src/components/FinancialModule/PrestorageManagement/components/detailList.vue
0 → 100644
View file @
d3cd94e3
<
style
scoped
>
</
style
>
<
template
>
<el-dialog
title=
"使用明细"
:visible
.
sync=
"showDetail"
center
@
close=
"cancelBtn"
>
<div
class=
"page_fnDm page_RecPayQuery"
>
<div
class=
"_fnDm_content"
v-loading=
'loading'
>
<el-table
ref=
"multipleTable"
:data=
"DataList"
tooltip-effect=
"dark"
style=
"width: 100%"
>
<el-table-column
prop=
"CreateDate"
label=
"日期"
min-width=
"120"
></el-table-column>
<el-table-column
prop=
""
label=
"类型"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
Type
==
1
?
'已存入'
:
scope
.
row
.
Type
==
2
?
'待存入'
:
scope
.
row
.
Type
==
3
?
'退回'
:
scope
.
row
.
Type
==
4
?
'使用'
:
''
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"Money"
label=
"进出金额"
></el-table-column>
<el-table-column
prop=
""
label=
"关联单号"
>
<
template
slot-scope=
"scope"
>
<span
style=
"cursor: pointer;color: #00C6FF;"
@
click=
"openDetails(scope.row.FrID)"
>
{{
scope
.
row
.
FrID
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
""
label=
"单号状态"
>
<
template
slot-scope=
"scope"
>
<span
style=
"font-size: 12px;"
>
<i
v-if=
"scope.row.Status===2"
class=
"iconfont icon-yiqueren"
style=
"color: #4BCA81;font-size: 12px;"
>
{{
scope
.
row
.
StatusName
}}
</i>
<i
v-if=
"scope.row.Status===4"
class=
"iconfont icon-yiquxiao"
style=
"color: #4BCA81"
>
{{
scope
.
row
.
StatusName
}}
</i>
<i
v-if=
"scope.row.Status===1"
class=
"iconfont icon-daiqueren"
style=
"color: #959595;font-size: 12px;"
>
{{
scope
.
row
.
StatusName
}}
</i>
<i
v-if=
"scope.row.Status===3"
class=
"iconfont icon-shenhebohui"
style=
"color: #E95252"
>
{{
scope
.
row
.
StatusName
}}
</i>
<i
v-if=
"scope.row.Status===0"
class=
"iconfont icon-zancun"
style=
"color: #FF9C01"
>
{{
scope
.
row
.
StatusName
}}
</i>
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"CreateName"
label=
"操作人"
min-width=
"130"
></el-table-column>
</el-table>
<div
style=
"padding-bottom:15px"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
'total'
>
</el-pagination>
</div>
</div>
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
class=
"hollowFixedBtn"
@
click=
"cancelBtn"
>
{{$t('pub.cancelBtn')}}
</el-button>
<el-button
class=
"normalBtn"
type=
"primary"
@
click=
"cancelBtn"
>
{{$t('pub.sureBtn')}}
</el-button>
</div>
</el-dialog>
</template>
<
script
>
import
Vue
from
'vue'
export
default
{
props
:[
'ClientId'
],
data
(){
return
{
showDetail
:
true
,
DataList
:[],
msg
:{
pageIndex
:
1
,
pageSize
:
10
,
DepositCustomerId
:
''
,
},
loading
:
false
,
total
:
0
,
productionDate
:[]
}
},
created
(){
},
components
:
{
},
mounted
(){
let
userInfo
=
this
.
getLocalStorage
();
this
.
msg
.
DepositCustomerId
=
this
.
ClientId
this
.
getPageList
();
var
that
=
this
;
},
methods
:{
// 单据详情
openDetails
(
FrID
)
{
this
.
cancelBtn
()
let
query
=
{
id
:
FrID
,
blank
:
"y"
,
};
this
.
$router
.
push
({
path
:
"/FinancialDocumentsDetail"
,
query
});
},
cancelBtn
(){
this
.
$emit
(
'cancel'
)
},
getPageList
(){
// 获取列表数据
this
.
loading
=
true
;
this
.
apipost
(
'Financial_post_GetFinanceDepositLogPageList'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
if
(
this
.
total
==
0
){
this
.
DataList
=
[];
}
else
{
this
.
DataList
=
data
;
}
this
.
loading
=
false
;
}
else
{
this
.
loading
=
false
;
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
timeAdd
(){
// 日期格式
if
(
!
this
.
productionDate
){
this
.
msg
.
StartTime
=
''
;
this
.
msg
.
EndTime
=
''
;
return
}
this
.
msg
.
StartTime
=
this
.
productionDate
[
0
];
this
.
msg
.
EndTime
=
this
.
productionDate
[
1
];
},
method5
:
function
()
{
let
time
=
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
var
fileName
=
`成本月结表
${
time
}
.xls`
;
this
.
GetLocalFile
(
"Financial_get_GetCostMonthALLExport"
,
this
.
msg
,
fileName
);
}
,
handleCurrentChange
(
val
)
{
//翻页
this
.
msg
.
pageIndex
=
val
;
this
.
getPageList
();
},
resetPageIndex
(){
// 重置页码
this
.
msg
.
pageIndex
=
1
;
this
.
getPageList
();
},
}
}
</
script
>
This diff is collapsed.
Click to expand it.
src/components/FinancialModule/PrestorageManagement/prestoreList.vue
0 → 100644
View file @
d3cd94e3
<
style
scoped
>
</
style
>
<
template
>
<div
class=
"page_fnDm page_RecPayQuery"
@
keyup
.
enter=
"resetPageIndex()"
>
<div
class=
"query-box"
>
<el-form
class=
"_info_box clearfix"
label-width=
"110px"
>
<el-row
style=
"padding:15px 20px 0 0;"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"客户/电话:"
>
<el-input
placeholder=
""
class=
""
v-model=
"msg.RemitterName"
@
keyup
.
native=
"checkInteger(msg,'FrID')"
maxlength=
"8"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"ID:"
>
<el-input
placeholder=
""
class=
""
v-model=
"msg.ClientIdStr"
@
keyup
.
native=
"checkInteger(msg,'FrID')"
maxlength=
"8"
placeholder=
"多个ID英文逗号(',')分隔"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"使用日期:"
>
<el-date-picker
class=
"h34"
@
change=
"timeAdd(1)"
v-model=
"productionDate"
type=
"daterange"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
</el-form>
<ul
class=
"clearfix"
>
<li
class=
"hight_query"
>
<button
class=
"hollowFixedBtn"
@
click=
"resetPageIndex()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
<!--
<button
class=
"normalBtn"
@
click=
"method5()"
>
导出
</button>
-->
</li>
</ul>
</div>
<div
style=
"color: red;font-size: 13px;text-align: right;margin-bottom: 10px;"
>
注:待存入是未出纳审核,不计入已存入
</div>
<div
class=
"_fnDm_content"
v-loading=
'loading'
>
<el-table
ref=
"multipleTable"
:data=
"DataList"
tooltip-effect=
"dark"
style=
"width: 100%"
>
<el-table-column
prop=
"CustomerName"
label=
"客户"
></el-table-column>
<el-table-column
prop=
"CustomerName"
label=
"联系人/电话"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
Contact
+
'/'
+
scope
.
row
.
ContactNumber
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"Income"
label=
"已存入"
></el-table-column>
<el-table-column
prop=
""
label=
"待存入"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
WaitIncome
?
scope
.
row
.
WaitIncome
:
'-'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"Refund"
label=
"退款"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
Refund
?
scope
.
row
.
Refund
:
'-'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"UseMoney"
label=
"已使用"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.UseMoney"
style=
"cursor: pointer;color: #00C6FF;"
@
click=
"seeDeta(scope.row)"
>
{{
scope
.
row
.
UseMoney
}}
</span>
<template
v-else
>
-
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
""
label=
"期末余额"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.DepositMoney"
>
{{
scope
.
row
.
DepositMoney
+
'('
+
scope
.
row
.
DepositCurrencyName
+
')'
}}
</
template
>
<
template
v-else
>
-
</
template
>
</template>
</el-table-column>
</el-table>
<div
style=
"padding-bottom:15px"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
'total'
>
</el-pagination>
</div>
</div>
<detailList
v-if=
"showdetail"
:ClientId=
"detailObj&&detailObj.CustomerId"
@
cancel=
"showdetail=false"
></detailList>
</div>
</template>
<
script
>
import
Vue
from
'vue'
import
detailList
from
"./components/detailList.vue"
;
export
default
{
components
:
{
detailList
},
data
(){
return
{
detailObj
:
null
,
showdetail
:
false
,
DataList
:[],
msg
:{
pageIndex
:
1
,
pageSize
:
10
,
RemitterName
:
''
,
ClientIdStr
:
''
,
QStartDate
:
''
,
QEndDate
:
''
,
},
loading
:
false
,
total
:
0
,
productionDate
:[]
}
},
created
(){
},
mounted
(){
let
userInfo
=
this
.
getLocalStorage
();
this
.
getPageList
();
var
that
=
this
;
},
methods
:{
seeDeta
(
row
){
this
.
detailObj
=
row
this
.
showdetail
=
true
},
getPageList
(){
// 获取列表数据
this
.
loading
=
true
;
this
.
apipost
(
'Financial_post_GetFinanceDepositPageList'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
if
(
this
.
total
==
0
){
this
.
DataList
=
[];
}
else
{
this
.
DataList
=
data
;
}
this
.
loading
=
false
;
}
else
{
this
.
loading
=
false
;
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
timeAdd
(){
// 日期格式
if
(
!
this
.
productionDate
){
this
.
msg
.
QStartDate
=
''
;
this
.
msg
.
QEndDate
=
''
;
return
}
this
.
msg
.
QStartDate
=
this
.
productionDate
[
0
];
this
.
msg
.
QEndDate
=
this
.
productionDate
[
1
];
},
method5
:
function
()
{
let
time
=
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
var
fileName
=
`成本月结表
${
time
}
.xls`
;
this
.
GetLocalFile
(
"Financial_get_GetCostMonthALLExport"
,
this
.
msg
,
fileName
);
}
,
handleCurrentChange
(
val
)
{
//翻页
this
.
msg
.
pageIndex
=
val
;
this
.
getPageList
();
},
resetPageIndex
(){
// 重置页码
this
.
msg
.
pageIndex
=
1
;
this
.
getPageList
();
},
}
}
</
script
>
This diff is collapsed.
Click to expand it.
src/router/config.js
View file @
d3cd94e3
...
...
@@ -3236,6 +3236,14 @@ export default {
title
:
'财务单据审核'
},
},
{
// 客户预存管理
path
:
'/prestoreList'
,
name
:
'prestoreList'
,
component
:
resolve
=>
require
([
'@/components/FinancialModule/PrestorageManagement/prestoreList'
],
resolve
),
meta
:
{
title
:
'客户预存管理'
},
},
{
// 销售 销售任务详情
path
:
'/saleTaskDetail'
,
name
:
'saleTaskDetail'
,
...
...
This diff is collapsed.
Click to expand it.
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