Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
shops
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
物业总平台
shops
Commits
88901a12
提交
88901a12
authored
8月 25, 2023
作者:
赵明
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
结算管理
上级
7f5e1fa4
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
227 行增加
和
6 行删除
+227
-6
api.js
src/api/api.js
+8
-0
static.js
src/assets/static.js
+7
-0
Analysis.vue
src/views/dashboard/Analysis.vue
+1
-1
IndexChart.vue
src/views/dashboard/IndexChart.vue
+3
-5
ReconciliationDetails.vue
...views/settlement/reconciliation/ReconciliationDetails.vue
+208
-0
reconciliationList.vue
src/views/settlement/reconciliation/reconciliationList.vue
+0
-0
settlementDetails.vue
src/views/settlement/settlements/settlementDetails.vue
+0
-0
settlementList.vue
src/views/settlement/settlements/settlementList.vue
+0
-0
没有找到文件。
src/api/api.js
浏览文件 @
88901a12
...
...
@@ -117,6 +117,11 @@ function getDictItemsFromCache(dictCode) {
}
}
//分利-申请对账
const
settlementApi
=
(
params
)
=>
postAction
(
"/property-central/partners/shareBenefit/reconciliation"
,
params
);
//分利-对账详情
const
settlementDetailApi
=
(
params
)
=>
getAction
(
"/property-central/partners/shareBenefit/queryById"
,
params
);
const
shareBalanceByDepId
=
(
params
)
=>
getAction
(
"/property-central/partners/shareBalance/queryById"
,
params
);
//系统通告
const
doReleaseData
=
(
params
)
=>
getAction
(
"/sys/annountCement/doReleaseData"
,
params
);
const
doReovkeData
=
(
params
)
=>
getAction
(
"/sys/annountCement/doReovkeData"
,
params
);
...
...
@@ -227,6 +232,9 @@ export {
dispatchCommunityRepairApi
,
querycommunityComplaintApi
,
auditCommunityComplaintApi
,
settlementApi
,
settlementDetailApi
,
shareBalanceByDepId
}
...
...
src/assets/static.js
浏览文件 @
88901a12
...
...
@@ -69,6 +69,13 @@ export const PAYMENT_METOD = [
{
label
:
'未支付'
,
value
:
1
},
{
label
:
'微信'
,
value
:
2
},
]
//对账状态
export
const
RECONCILIATION_STATUS
=
[
{
label
:
'未对账'
,
value
:
1
},
{
label
:
'对账待审核'
,
value
:
2
},
{
label
:
'对账通过完成'
,
value
:
3
},
{
label
:
'对账拒绝'
,
value
:
4
},
]
/**
* 翻译字段值对应的文本
* @param children
...
...
src/views/dashboard/Analysis.vue
浏览文件 @
88901a12
...
...
@@ -136,7 +136,7 @@ export default {
})
}
else
if
(
type
==
4
)
{
this
.
$router
.
push
({
path
:
'/
information/worker'
,
path
:
'/
settlement/reconciliation'
})
}
},
...
...
src/views/dashboard/IndexChart.vue
浏览文件 @
88901a12
<
template
>
<div
class=
"page-header-index-wide"
>
<div
class=
"map-box"
>
<h3
class=
"box-title"
>
社区分布数量图
</h3>
<div
ref=
"mapEcharts"
class=
"map-echart"
style=
"height: 500px"
></div>
</div>
<div
class=
"map-box"
>
<h3
class=
"box-title"
>
社区分布数量图
</h3>
<div
ref=
"mapEcharts"
class=
"map-echart"
style=
"height: 500px"
></div>
</div>
</
template
>
...
...
src/views/settlement/reconciliation/ReconciliationDetails.vue
0 → 100644
浏览文件 @
88901a12
<
template
>
<a-spin
:spinning=
"confirmLoading"
>
<div
class=
"title-top"
>
<h3>
{{
title
}}
</h3>
<div
class=
"button"
>
<a-button
@
click=
"toReturn"
>
返回
</a-button>
</div>
</div>
<j-form-container
:disabled=
"true"
>
<a-form-model
ref=
"form"
:model=
"model"
slot=
"detail"
>
<a-card
title=
"基本信息"
>
<a-row>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"订单编号"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-input
v-model=
"model.orderNum"
placeholder=
"订单编号"
></a-input>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"提交时间"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-input
v-model=
"model.createTime"
placeholder=
"提交时间"
></a-input>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"买家名称"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-input
v-model=
"model.buyerName"
placeholder=
"买家名称"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"分利金额"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-input
v-model=
"model.shareMoney"
placeholder=
"分利金额"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"订单金额"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-input
v-model=
"model.totalMoney"
placeholder=
"订单金额"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"支付方式"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-input
v-model=
"model.payWay"
placeholder=
"支付方式"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"订单来源"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-input
v-model=
"model.orderSourceName"
placeholder=
"订单来源"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"订单状态"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-input
v-model=
"model.reconciliationStatusName"
placeholder=
"订单状态"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"所属平台"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-input
v-model=
"model.propertyName"
placeholder=
"所属平台"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"所属小区"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-input
v-model=
"model.communityName"
placeholder=
"所属小区"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"商铺名称"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-input
v-model=
"model.shopName"
placeholder=
"商铺名称"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"合作伙伴名称"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-input
v-model=
"model.partnersName"
placeholder=
"合作伙伴名称"
/>
</a-form-model-item>
</a-col>
</a-row>
</a-card>
</a-form-model>
</j-form-container>
<a-card
title=
"操作信息"
v-if=
"recordList.length > 0"
>
<a-table
ref=
"table"
size=
"middle"
:scroll=
"
{x:true}" bordered rowKey="id" :columns="columns"
:dataSource="recordList" :pagination="false" :loading="loading" class="j-table-force-nowrap">
<span
slot=
"payStatus"
slot-scope=
"text, record"
>
<template
v-if=
"record"
></
template
>
已付款
</span>
<span
slot=
"reconciliationStatus"
slot-scope=
"text, record"
>
<a-tag
v-if=
"record.reconciliationStatus === 1"
>
未对账
</a-tag>
<a-tag
v-else-if=
"record.reconciliationStatus === 2"
>
对账待审核
</a-tag>
<a-tag
v-else-if=
"record.reconciliationStatus === 3"
>
已对账
</a-tag>
<a-tag
v-else-if=
"record.reconciliationStatus === 4"
>
对账驳回
</a-tag>
</span>
</a-table>
</a-card>
</a-spin>
</template>
<
script
>
import
{
settlementDetailApi
}
from
'@/api/api'
export
default
{
name
:
'ReconciliationDetails'
,
inject
:
[
'closeCurrent'
],
data
()
{
return
{
title
:
'详情'
,
model
:
{},
labelCol
:
{
xs
:
{
span
:
24
},
sm
:
{
span
:
6
},
},
wrapperCol
:
{
xs
:
{
span
:
24
},
sm
:
{
span
:
16
},
},
confirmLoading
:
false
,
url
:
{
queryById
:
'/property-central/property/propertySettled/queryById'
,
},
loading
:
false
,
recordList
:
[],
columns
:
[
{
title
:
'操作人'
,
dataIndex
:
'createBy'
,
key
:
'createBy'
,
align
:
'center'
,
},
{
title
:
'操作时间'
,
dataIndex
:
'createTime'
,
key
:
'createTime'
,
align
:
'center'
,
},
{
title
:
'订单状态'
,
dataIndex
:
'reconciliationStatus'
,
scopedSlots
:
{
customRender
:
'reconciliationStatus'
},
key
:
'reconciliationStatus'
,
align
:
'center'
,
},
{
title
:
'付款状态'
,
dataIndex
:
'payStatus'
,
scopedSlots
:
{
customRender
:
'payStatus'
},
key
:
'payStatus'
,
align
:
'center'
,
},
{
title
:
'备注'
,
dataIndex
:
'remarks'
,
key
:
'remarks'
,
align
:
'center'
,
},
],
}
},
methods
:
{
async
getPageDetail
()
{
let
{
result
}
=
await
settlementDetailApi
({
id
:
this
.
$route
.
query
.
id
})
this
.
recordList
=
result
.
list
this
.
model
=
result
.
shareBenefit
if
(
this
.
model
.
orderSource
==
'miniapp'
)
{
this
.
model
.
orderSourceName
=
'小程序'
}
if
(
this
.
model
.
reconciliationStatus
==
1
)
{
this
.
model
.
reconciliationStatusName
=
'未对账'
}
else
if
(
this
.
model
.
reconciliationStatus
==
2
)
{
this
.
model
.
reconciliationStatusName
=
'对账待审核'
}
else
if
(
this
.
model
.
reconciliationStatus
==
3
)
{
this
.
model
.
reconciliationStatusName
=
'已对账'
}
else
if
(
this
.
model
.
reconciliationStatus
==
4
)
{
this
.
model
.
reconciliationStatusName
=
'对账驳回'
}
},
toReturn
()
{
this
.
closeCurrent
()
this
.
$router
.
go
(
-
1
)
},
},
mounted
()
{
if
(
this
.
$route
.
query
.
id
)
{
this
.
getPageDetail
()
}
},
}
</
script
>
<
style
lang=
"less"
scoped
>
.title-top {
background: #fff;
padding: 0 25px;
line-height: 50px;
height: 50px;
margin-bottom: 5px;
h3 {
font-weight: bold;
display: inline-block;
}
.button {
float: right;
.ant-btn {
margin-left: 15px;
}
}
}
</
style
>
<
style
>
.area-select
{
width
:
100%
!important
;
}
</
style
>
src/views/settlement/reconciliation/reconciliationList.vue
浏览文件 @
88901a12
差异被折叠。
点击展开。
src/views/settlement/settlements/settlementDetails.vue
浏览文件 @
88901a12
差异被折叠。
点击展开。
src/views/settlement/settlements/settlementList.vue
浏览文件 @
88901a12
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论