Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
partners
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
物业总平台
partners
Commits
b5705237
提交
b5705237
authored
8月 21, 2023
作者:
何忠建
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
提现流水联调
上级
57e191af
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
414 行增加
和
283 行删除
+414
-283
api.js
src/api/api.js
+2
-0
SettlementDetails.vue
src/views/benefiting/SettlementDetails.vue
+1
-0
SettlementList.vue
src/views/benefiting/SettlementList.vue
+3
-112
CommunityLlist.vue
src/views/community/CommunityLlist.vue
+1
-1
ShopsDetails.vue
src/views/shops/ShopsDetails.vue
+22
-6
SelectCommunityModal.vue
src/views/shops/modules/SelectCommunityModal.vue
+0
-1
SelectShopsModal.vue
src/views/shops/modules/SelectShopsModal.vue
+19
-19
WithdrawalDetails.vue
src/views/withdrawal/WithdrawalDetails.vue
+286
-0
WithdrawalList.vue
src/views/withdrawal/WithdrawalList.vue
+80
-144
没有找到文件。
src/api/api.js
浏览文件 @
b5705237
...
...
@@ -6,6 +6,7 @@ import {UI_CACHE_DB_DICT_DATA } from "@/store/mutation-types"
const
partnersShopByDepId
=
(
params
)
=>
getAction
(
"/property-central/partners/partnersShop/queryById"
,
params
);
const
partnersShopAudit
=
(
params
)
=>
postAction
(
"/property-central/partners/partnersShop/audit"
,
params
);
const
partnersShopOperateApi
=
(
params
)
=>
getAction
(
`/property-central/partners/partnersShop/operate/
${
params
.
id
}
/
${
params
.
status
}
`
,{});
const
getQrCode
=
(
params
)
=>
getAction
(
"/property-central/shop/shopInfo/getQrCode"
,
params
);
//对账
const
shareBenefitShopByDepId
=
(
params
)
=>
getAction
(
"/property-central/partners/shareBenefit/queryById"
,
params
);
...
...
@@ -117,6 +118,7 @@ export {
partnersShopByDepId
,
partnersShopAudit
,
partnersShopOperateApi
,
getQrCode
,
getDataStatisticsApi
,
shareBenefitShopByDepId
,
shareBenefitList
,
...
...
src/views/benefiting/SettlementDetails.vue
浏览文件 @
b5705237
...
...
@@ -224,6 +224,7 @@ export default {
model
:
{},
info
:
{},
detailInfo
:
{},
loading
:
false
,
labelCol
:
{
xs
:
{
span
:
24
},
sm
:
{
span
:
6
},
...
...
src/views/benefiting/SettlementList.vue
浏览文件 @
b5705237
...
...
@@ -5,8 +5,8 @@
<a-form
layout=
"inline"
@
keyup
.
enter
.
native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"5"
:sm=
"8"
>
<a-form-item
label=
"
订单编
号"
>
<j-input
placeholder=
"请输入
订单编
号"
v-model=
"queryParam.balanceNum"
></j-input>
<a-form-item
label=
"
结算单
号"
>
<j-input
placeholder=
"请输入
结算单
号"
v-model=
"queryParam.balanceNum"
></j-input>
</a-form-item>
</a-col>
<a-col
:md=
"5"
:sm=
"8"
>
...
...
@@ -133,116 +133,7 @@ export default {
url
:
{
list
:
'/property-central/partners/shareBalance/list'
,
},
dataSource
:
[
{
id
:
'JD239423'
,
creditCode
:
'张三'
,
propertyName
:
'2000'
,
reconciliationBeginDate
:
'2023-01-01'
,
reconciliationEndDate
:
'5'
,
reconciliationAmount
:
'345.23'
,
updateTime
:
'2023-04-05'
,
empowerCommunityNum
:
'admin'
,
auditStatus
:
'已结算'
,
companyAuditStatus
:
'微信'
,
},
{
id
:
'JD453454'
,
creditCode
:
'张三'
,
propertyName
:
'2000'
,
reconciliationBeginDate
:
'2023-04-06'
,
reconciliationEndDate
:
'10'
,
reconciliationAmount
:
'1345.45'
,
updateTime
:
'2023-05-05'
,
empowerCommunityNum
:
'admin'
,
auditStatus
:
'已结算'
,
companyAuditStatus
:
'微信'
,
},
{
id
:
'JD567454'
,
creditCode
:
'张三'
,
propertyName
:
'2000'
,
reconciliationBeginDate
:
'2023-02-05'
,
reconciliationEndDate
:
'2'
,
reconciliationAmount
:
'34234'
,
updateTime
:
'2023-02-06'
,
empowerCommunityNum
:
'admin'
,
auditStatus
:
'未结算'
,
companyAuditStatus
:
'微信'
,
},
{
id
:
'KF343455'
,
creditCode
:
'张三'
,
propertyName
:
'2000'
,
reconciliationBeginDate
:
'2022-11-01'
,
reconciliationEndDate
:
'3'
,
reconciliationAmount
:
'34'
,
updateTime
:
'2023-06-07'
,
empowerCommunityNum
:
'admin'
,
auditStatus
:
'已结算'
,
companyAuditStatus
:
'微信'
,
},
{
id
:
'KD435345'
,
creditCode
:
'张三'
,
propertyName
:
'2000'
,
reconciliationBeginDate
:
'2022-01-21'
,
reconciliationEndDate
:
'3'
,
reconciliationAmount
:
'654'
,
updateTime
:
'2023-05-06'
,
empowerCommunityNum
:
'admin'
,
auditStatus
:
'未结算'
,
companyAuditStatus
:
'微信'
,
},
{
id
:
'LG345352'
,
creditCode
:
'张三'
,
propertyName
:
'2000'
,
reconciliationBeginDate
:
'2022-01-10'
,
reconciliationEndDate
:
'20'
,
reconciliationAmount
:
'897.98'
,
updateTime
:
'2023-05-08'
,
empowerCommunityNum
:
'admin'
,
auditStatus
:
'未结算'
,
companyAuditStatus
:
'微信'
,
},
{
id
:
'MG345354'
,
creditCode
:
'张三'
,
propertyName
:
'2000'
,
reconciliationBeginDate
:
'2023-01-04'
,
reconciliationEndDate
:
'20'
,
reconciliationAmount
:
'234'
,
updateTime
:
'2023-05-05'
,
empowerCommunityNum
:
'admin'
,
auditStatus
:
'未结算'
,
companyAuditStatus
:
'微信'
,
},
{
id
:
'LB345353'
,
creditCode
:
'张三'
,
propertyName
:
'2000'
,
reconciliationBeginDate
:
'2023-02-01'
,
reconciliationEndDate
:
'2'
,
reconciliationAmount
:
'1000'
,
updateTime
:
'2023-04-04'
,
empowerCommunityNum
:
'admin'
,
auditStatus
:
'未结算'
,
companyAuditStatus
:
'微信'
,
},
{
id
:
'LC234234'
,
creditCode
:
'张三'
,
propertyName
:
'2000'
,
reconciliationBeginDate
:
'2023-01-23'
,
reconciliationEndDate
:
'5'
,
reconciliationAmount
:
'3443'
,
updateTime
:
'2023-01-02'
,
empowerCommunityNum
:
'admin'
,
auditStatus
:
'未结算'
,
companyAuditStatus
:
'转账'
,
},
],
dataSource
:
[],
confirmLoading
:
false
,
chargeList
:
[
{
type
:
2
,
name
:
'结算待审核'
},
...
...
src/views/community/CommunityLlist.vue
浏览文件 @
b5705237
...
...
@@ -71,7 +71,7 @@ export default {
{
title
:
'商铺数量'
,
align
:
'center'
,
dataIndex
:
'
num3
'
,
dataIndex
:
'
shopNum
'
,
},
{
title
:
'联系人'
,
...
...
src/views/shops/ShopsDetails.vue
浏览文件 @
b5705237
...
...
@@ -78,7 +78,7 @@
</a-col>
</a-row>
</a-card>
<a-card
title=
"合同附件"
>
<a-card
title=
"合同附件"
style=
"margin-top: 10px;"
>
<a-row>
<a-col
:span=
"24"
>
<a-form-model-item
label=
"合同附件"
:labelCol=
"
{ xs:{ span: 24 }, sm:{ span: 3 } }" :wrapperCol="wrapperCol">
...
...
@@ -89,14 +89,14 @@
</a-card>
</a-form-model>
</j-form-container>
<a-card
title=
"商铺收款二维码"
>
<a-card
title=
"商铺收款二维码"
v-if=
"codeImg"
style=
"margin-top: 10px;"
>
<a-row>
<a-col
:span=
"24"
>
<img
style=
"width: 300px; height: auto;"
src=
"../../assets/logo.pn
g"
>
<img
style=
"width: 300px; height: auto;"
:src=
"codeIm
g"
>
</a-col>
</a-row>
</a-card>
<a-card
title=
"
审核记录"
v-if=
"recordList.length > 0
"
>
<a-card
title=
"
操作信息"
v-if=
"recordList.length > 0"
style=
"margin-top: 10px;
"
>
<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">
</a-table>
...
...
@@ -110,14 +110,14 @@
<
script
>
const
mapZoom
=
[
5
,
8
,
10
,
12
]
let
timer
=
null
import
{
partnersShopByDepId
,
partnersShopAudit
}
from
'@/api/api'
import
{
partnersShopByDepId
,
partnersShopAudit
,
getQrCode
}
from
'@/api/api'
import
{
httpAction
,
getAction
}
from
'@/api/manage'
import
SelectCommunityModal
from
'./modules/SelectCommunityModal'
import
SelectShopsModal
from
'./modules/SelectShopsModal'
export
default
{
name
:
'ShopsDetails'
,
inject
:
[],
inject
:
[
'closeCurrent'
],
components
:
{
SelectCommunityModal
,
SelectShopsModal
,
...
...
@@ -134,6 +134,7 @@ export default {
shopCode
:
''
,
},
shopsInfo
:
{},
codeImg
:
''
,
labelCol
:
{
xs
:
{
span
:
24
},
sm
:
{
span
:
6
},
...
...
@@ -217,6 +218,9 @@ export default {
this
.
recordList
=
result
.
recordList
this
.
model
=
Object
.
assign
({},
result
.
partnersShop
)
this
.
shopsInfo
=
Object
.
assign
({},
result
.
shopInfo
)
if
(
this
.
shopsInfo
&&
this
.
shopsInfo
.
shopCode
){
this
.
getQrCode
(
this
.
shopsInfo
.
shopCode
)
}
this
.
shopsInfo
.
registAdress
=
result
.
shopInfo
.
provinceName
+
result
.
shopInfo
.
cityName
+
result
.
shopInfo
.
countyName
if
(
this
.
shopsInfo
.
provinceName
)
{
this
.
getLongitude
(
...
...
@@ -229,7 +233,19 @@ export default {
)
}
},
async
getQrCode
(
shopCode
)
{
let
params
=
{
shopCode
:
shopCode
,
platformType
:
'partner'
}
let
{
res
}
=
await
getQrCode
(
params
)
console
.
log
(
res
)
if
(
res
&&
res
!=
undefined
){
this
.
codeImg
=
window
.
URL
.
createObjectURL
(
new
Blob
([
res
]));
}
},
toReturn
()
{
this
.
closeCurrent
()
this
.
$router
.
go
(
-
1
)
},
//选择小区
...
...
src/views/shops/modules/SelectCommunityModal.vue
浏览文件 @
b5705237
...
...
@@ -40,7 +40,6 @@
:dataSource=
"dataSource1"
:pagination=
"ipagination"
:loading=
"loading"
:scroll=
"
{ y: 240 }"
:rowSelection=
"
{selectedRowKeys: selectedRowKeys,onSelect:onSelect,onChange: onSelectChange,type:'radio'}"
@change="handleTableChange">
...
...
src/views/shops/modules/SelectShopsModal.vue
浏览文件 @
b5705237
...
...
@@ -26,7 +26,7 @@
<!-- table区域-begin -->
<div>
<a-table
size=
"small"
bordered
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource1"
:pagination=
"ipagination"
:loading=
"loading"
:scroll=
"
{ y: 240 }"
:pagination=
"ipagination"
:loading=
"loading"
:rowSelection=
"
{selectedRowKeys: selectedRowKeys,onSelect:onSelect,onChange: onSelectChange,type:'radio'}"
@change="handleTableChange">
...
...
@@ -74,24 +74,24 @@ export default {
return
text
.
creditCode
},
},
{
title
:
'联系人'
,
dataIndex
:
'shopInfo'
,
key
:
'shopInfo'
,
align
:
'center'
,
customRender
:
function
(
text
)
{
return
text
.
contactName
},
},
{
title
:
'电话'
,
dataIndex
:
'shopInfo'
,
key
:
'shopInfo'
,
align
:
'center'
,
customRender
:
function
(
text
)
{
return
text
.
contactPhone
},
},
//
{
//
title: '联系人',
//
dataIndex: 'shopInfo',
//
key: 'shopInfo',
//
align: 'center',
//
customRender: function (text) {
//
return text.contactName
//
},
//
},
//
{
//
title: '电话',
//
dataIndex: 'shopInfo',
//
key: 'shopInfo',
//
align: 'center',
//
customRender: function (text) {
//
return text.contactPhone
//
},
//
},
],
//数据集
...
...
src/views/withdrawal/WithdrawalDetails.vue
0 → 100644
浏览文件 @
b5705237
<
template
>
<a-spin
:spinning=
"confirmLoading"
>
<div
class=
"title-top"
>
<h3>
{{
title
}}
</h3>
<div
class=
"button"
>
<a-button
@
click=
"toReturn"
>
返回
</a-button>
<a-button
type=
"primary"
@
click=
"toReconciliation()"
v-if=
"pageType == 'add'"
>
申请结算
</a-button>
</div>
</div>
<j-form-container
:disabled=
"true"
v-if=
"pageType == 'detail'"
>
<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=
"detailInfo.balanceNum"
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=
"detailInfo.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=
"detailInfo.createBy"
placeholder=
"提交人"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"结算总金额"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-input
v-model=
"detailInfo.balanceMoney"
placeholder=
"结算总金额"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"账单数量"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-input
v-model=
"detailInfo.balanceCount"
placeholder=
"账单数量"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"结算方式"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-input
v-model=
"detailInfo.balanceWay"
placeholder=
"结算方式"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"银行卡"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-input
v-model=
"detailInfo.bankCard"
placeholder=
"银行卡"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"结算日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-input
v-model=
"detailInfo.balanceDate"
placeholder=
"结算日期"
/>
</a-form-model-item>
</a-col>
</a-row>
</a-card>
</a-form-model>
</j-form-container>
<a-card
title=
"对账信息"
style=
"margin: 10px 0;"
>
<!--
<a-button
slot=
"extra"
type=
"primary"
@
click=
"onStatements()"
v-if=
"pageType == 'add'"
>
选择对账单
</a-button>
-->
<div>
<a-table
ref=
"table"
size=
"middle"
:scroll=
"
{x:true}" bordered rowKey="id" :columns="columns"
:dataSource="shareBenefitsList" :pagination="false" :loading="loading" class="j-table-force-nowrap">
<span
slot=
"orderSource"
slot-scope=
"text, record"
>
<template
v-if=
"record.orderSource === 'miniapp'"
>
小程序
</
template
>
</span>
<span
slot=
"reconciliationStatus"
slot-scope=
"text, record"
>
<a-tag
color=
"orange"
v-if=
"record.reconciliationStatus === 1"
>
未对账
</a-tag>
<a-tag
color=
"blue"
v-else-if=
"record.reconciliationStatus === 2"
>
对账待审核
</a-tag>
<a-tag
color=
"green"
v-else-if=
"record.reconciliationStatus === 3"
>
已对账
</a-tag>
<a-tag
color=
"red"
v-else-if=
"record.reconciliationStatus === 4"
>
对账驳回
</a-tag>
</span>
</a-table>
</div>
</a-card>
<a-card
title=
"操作信息"
v-if=
"recordList.length > 0"
>
<a-table
ref=
"table"
size=
"middle"
:scroll=
"{x:true}"
bordered
rowKey=
"id"
:columns=
"recordColumns"
: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 === 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
>
const
mapZoom
=
[
5
,
8
,
10
,
12
]
let
timer
=
null
import
{
shareBalanceByDepId
}
from
'@/api/api'
import
{
httpAction
}
from
'@/api/manage'
//import { JeecgListMixin } from '@/mixins/JeecgListMixin'
const
columns
=
[
{
title
:
'订单编号'
,
dataIndex
:
'orderNum'
,
key
:
'orderNum'
,
align
:
'center'
,
},
{
title
:
'提交时间'
,
dataIndex
:
'createTime'
,
key
:
'createTime'
,
align
:
'center'
,
},
{
title
:
'买家名称'
,
dataIndex
:
'buyerName'
,
key
:
'buyerName'
,
align
:
'center'
,
},
{
title
:
'分利金额'
,
dataIndex
:
'shareMoney'
,
key
:
'shareMoney'
,
align
:
'center'
,
},
{
title
:
'订单金额'
,
dataIndex
:
'totalMoney'
,
key
:
'totalMoney'
,
align
:
'center'
,
},
// {
// title: '支付方式',
// dataIndex: 'payWay',
// key: 'payWay',
// align: 'center',
// },
{
title
:
'订单来源'
,
dataIndex
:
'orderSource'
,
scopedSlots
:
{
customRender
:
'orderSource'
},
key
:
'orderSource'
,
align
:
'center'
,
},
{
title
:
'订单状态'
,
dataIndex
:
'reconciliationStatus'
,
scopedSlots
:
{
customRender
:
'reconciliationStatus'
},
key
:
'reconciliationStatus'
,
align
:
'center'
,
},
{
title
:
'所属平台'
,
dataIndex
:
'propertyName'
,
key
:
'propertyName'
,
align
:
'center'
,
},
{
title
:
'所属小区'
,
dataIndex
:
'communityName'
,
key
:
'communityName'
,
align
:
'center'
,
},
]
export
default
{
name
:
'SettlementDetails'
,
inject
:
[
'closeCurrent'
],
data
()
{
return
{
title
:
'详情'
,
pageType
:
''
,
pcaa
:
this
.
$Jpcaa
,
model
:
{},
info
:
{},
detailInfo
:
{},
loading
:
false
,
labelCol
:
{
xs
:
{
span
:
24
},
sm
:
{
span
:
6
},
},
wrapperCol
:
{
xs
:
{
span
:
24
},
sm
:
{
span
:
16
},
},
visibleStatements
:
false
,
confirmLoading
:
false
,
shareBenefitsList
:
[],
selectionRows
:
[],
selectedRowKeys
:
[],
visibleReconciliation
:
false
,
url
:
{
queryById
:
'/property-central/partners/shareBalance/queryById'
,
add
:
'/property-central/partners/shareBalance/add'
,
//list: '/property-central/partners/shareBenefit/listBalance',
},
columns
:
columns
,
dataStatements
:
[],
recordList
:[],
recordColumns
:
[
{
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'
,
},
],
}
},
created
()
{
this
.
pageType
=
this
.
$route
.
query
.
type
if
(
this
.
$route
.
query
.
type
==
'add'
)
{
this
.
title
=
'新增'
}
else
if
(
this
.
$route
.
query
.
type
==
'detail'
)
{
this
.
title
=
'详情'
}
if
(
this
.
$route
.
query
.
id
)
{
this
.
getPageDetail
()
}
},
methods
:
{
async
getPageDetail
()
{
let
{
result
}
=
await
shareBalanceByDepId
({
id
:
this
.
$route
.
query
.
id
})
this
.
recordList
=
result
.
list
this
.
detailInfo
=
result
.
shareBalance
this
.
shareBenefitsList
=
result
.
shareBenefitsList
},
toReturn
()
{
this
.
closeCurrent
()
this
.
$router
.
go
(
-
1
)
},
handleCancel
(
e
)
{
this
.
visibleReconciliation
=
false
},
},
mounted
()
{},
}
</
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
>
\ No newline at end of file
src/views/withdrawal/WithdrawalList.vue
浏览文件 @
b5705237
...
...
@@ -6,12 +6,21 @@
<a-row
:gutter=
"24"
>
<a-col
:md=
"5"
:sm=
"8"
>
<a-form-item
label=
"结算单号"
>
<j-input
placeholder=
"请输入结算单号"
v-model=
"queryParam.
propertyName
"
></j-input>
<j-input
placeholder=
"请输入结算单号"
v-model=
"queryParam.
balanceNum
"
></j-input>
</a-form-item>
</a-col>
<!--
<a-col
:md=
"5"
:sm=
"8"
>
<a-form-item
label=
"状态"
>
<a-select
style=
"width: 100%"
v-model=
"queryParam.balanceStatus"
placeholder=
"请选择状态"
>
<a-select-option
v-for=
"item in chargeList"
:key=
"item.type"
:value=
"item.type"
>
{{
item
.
name
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
-->
<a-col
:md=
"7"
:sm=
"10"
>
<a-form-item
label=
"时间"
>
<a-range-picker
@
change=
"onChangeData"
/>
<a-form-item
label=
"订单时间"
>
<a-date-picker
placeholder=
"订单时间"
format=
"YYYY-MM-DD HH:mm:ss"
v-model=
"queryParam.createTime"
:show-time=
"
{ format: 'HH:mm:ss' }" @change="onChange">
</a-date-picker>
</a-form-item>
</a-col>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
...
...
@@ -23,203 +32,130 @@
</a-row>
</a-form>
</div>
<!-- 操作按钮区域 -->
<!--
<div
class=
"table-operator"
>
<a-button
@
click=
"propertyDetails(1)"
type=
"primary"
>
申请结算
</a-button>
</div>
-->
<!-- table区域-begin -->
<div>
<a-table
ref=
"table"
size=
"middle"
:scroll=
"
{x:true}" bordered rowKey="id" :columns="columns"
:dataSource="dataSource
1
" :pagination="ipagination" :loading="loading" class="j-table-force-nowrap"
:dataSource="dataSource" :pagination="ipagination" :loading="loading" class="j-table-force-nowrap"
@change="handleTableChange">
<span
slot=
"balanceStatus"
slot-scope=
"text, record"
>
<a-tag
color=
"blue"
v-if=
"record.balanceStatus === 2"
>
结算待审核
</a-tag>
<a-tag
color=
"green"
v-else-if=
"record.balanceStatus === 3"
>
已结算
</a-tag>
<a-tag
color=
"red"
v-else-if=
"record.balanceStatus === 4"
>
结算驳回
</a-tag>
</span>
<span
slot=
"action"
slot-scope=
"text, record"
>
<a
type=
"primary"
@
click=
"propertyDetails(2,record.id)"
>
详情
</a>
</span>
</a-table>
</div>
<!-- table区域-end -->
</a-card>
</
template
>
<
script
>
import
{
auditPropertyApi
,
freezeOrPropertyApi
}
from
'@/api/api'
//
import { auditPropertyApi, freezeOrPropertyApi } from '@/api/api'
import
{
JeecgListMixin
}
from
'@/mixins/JeecgListMixin'
const
columns
=
[
{
title
:
'结算单号'
,
dataIndex
:
'
id
'
,
key
:
'
id
'
,
dataIndex
:
'
balanceNum
'
,
key
:
'
balanceNum
'
,
align
:
'center'
,
},
{
title
:
'提交时间'
,
dataIndex
:
'
reconciliationBeginDat
e'
,
key
:
'
reconciliationBeginDat
e'
,
dataIndex
:
'
createTim
e'
,
key
:
'
createTim
e'
,
align
:
'center'
,
},
{
title
:
'提交人'
,
dataIndex
:
'cre
ditCode
'
,
key
:
'cre
ditCode
'
,
dataIndex
:
'cre
ateBy
'
,
key
:
'cre
ateBy
'
,
align
:
'center'
,
},
{
title
:
'结算总金额'
,
dataIndex
:
'
propertyName
'
,
key
:
'
propertyName
'
,
dataIndex
:
'
balanceMoney
'
,
key
:
'
balanceMoney
'
,
align
:
'center'
,
},
// {
// title: '账单数量',
// dataIndex: 'balanceCount',
// key: 'balanceCount',
// align: 'center',
// },
{
title
:
'结算方式'
,
dataIndex
:
'
companyAuditStatus
'
,
key
:
'
companyAuditStatus
'
,
dataIndex
:
'
balanceWay
'
,
key
:
'
balanceWay
'
,
align
:
'center'
,
},
{
title
:
'结算状态'
,
dataIndex
:
'auditStatus'
,
key
:
'auditStatus'
,
dataIndex
:
'balanceStatus'
,
scopedSlots
:
{
customRender
:
'balanceStatus'
},
key
:
'balanceStatus'
,
align
:
'center'
,
},
{
title
:
'
备注
'
,
dataIndex
:
'
empowerCommunityNum
'
,
key
:
'empowerCommunityNum'
,
title
:
'
操作
'
,
dataIndex
:
'
action
'
,
scopedSlots
:
{
customRender
:
'action'
}
,
align
:
'center'
,
fixed
:
'right'
,
width
:
150
,
},
]
export
default
{
components
:
{
},
name
:
'
Withdrawal
List'
,
components
:
{},
name
:
'
Settlement
List'
,
mixins
:
[
JeecgListMixin
],
data
()
{
return
{
// 表头
model
:
{},
labelCol
:
{
xs
:
{
span
:
24
},
sm
:
{
span
:
6
},
},
wrapperCol
:
{
xs
:
{
span
:
24
},
sm
:
{
span
:
16
},
},
columns
:
columns
,
loading
:
false
,
url
:
{
list
:
'/property-central/p
roperty/propertyAdv
/list'
,
list
:
'/property-central/p
artners/shareBalance
/list'
,
},
dataSource1
:
[
{
id
:
'JD239423'
,
creditCode
:
'张三'
,
propertyName
:
'2000'
,
reconciliationBeginDate
:
'2023-01-01'
,
reconciliationEndDate
:
'5'
,
reconciliationAmount
:
'345.23'
,
updateTime
:
'2023-04-05'
,
empowerCommunityNum
:
'admin'
,
auditStatus
:
'已结算'
,
companyAuditStatus
:
'微信'
,
},
{
id
:
'JD453454'
,
creditCode
:
'张三'
,
propertyName
:
'2000'
,
reconciliationBeginDate
:
'2023-04-06'
,
reconciliationEndDate
:
'10'
,
reconciliationAmount
:
'1345.45'
,
updateTime
:
'2023-05-05'
,
empowerCommunityNum
:
'admin'
,
auditStatus
:
'已结算'
,
companyAuditStatus
:
'微信'
,
},
{
id
:
'JD567454'
,
creditCode
:
'张三'
,
propertyName
:
'2000'
,
reconciliationBeginDate
:
'2023-02-05'
,
reconciliationEndDate
:
'2'
,
reconciliationAmount
:
'34234'
,
updateTime
:
'2023-02-06'
,
empowerCommunityNum
:
'admin'
,
auditStatus
:
'未结算'
,
companyAuditStatus
:
'微信'
,
},
{
id
:
'KF343455'
,
creditCode
:
'张三'
,
propertyName
:
'2000'
,
reconciliationBeginDate
:
'2022-11-01'
,
reconciliationEndDate
:
'3'
,
reconciliationAmount
:
'34'
,
updateTime
:
'2023-06-07'
,
empowerCommunityNum
:
'admin'
,
auditStatus
:
'已结算'
,
companyAuditStatus
:
'微信'
,
},
{
id
:
'KD435345'
,
creditCode
:
'张三'
,
propertyName
:
'2000'
,
reconciliationBeginDate
:
'2022-01-21'
,
reconciliationEndDate
:
'3'
,
reconciliationAmount
:
'654'
,
updateTime
:
'2023-05-06'
,
empowerCommunityNum
:
'admin'
,
auditStatus
:
'未结算'
,
companyAuditStatus
:
'微信'
,
},
{
id
:
'LG345352'
,
creditCode
:
'张三'
,
propertyName
:
'2000'
,
reconciliationBeginDate
:
'2022-01-10'
,
reconciliationEndDate
:
'20'
,
reconciliationAmount
:
'897.98'
,
updateTime
:
'2023-05-08'
,
empowerCommunityNum
:
'admin'
,
auditStatus
:
'未结算'
,
companyAuditStatus
:
'微信'
,
},
{
id
:
'MG345354'
,
creditCode
:
'张三'
,
propertyName
:
'2000'
,
reconciliationBeginDate
:
'2023-01-04'
,
reconciliationEndDate
:
'20'
,
reconciliationAmount
:
'234'
,
updateTime
:
'2023-05-05'
,
empowerCommunityNum
:
'admin'
,
auditStatus
:
'未结算'
,
companyAuditStatus
:
'微信'
,
},
{
id
:
'LB345353'
,
creditCode
:
'张三'
,
propertyName
:
'2000'
,
reconciliationBeginDate
:
'2023-02-01'
,
reconciliationEndDate
:
'2'
,
reconciliationAmount
:
'1000'
,
updateTime
:
'2023-04-04'
,
empowerCommunityNum
:
'admin'
,
auditStatus
:
'未结算'
,
companyAuditStatus
:
'微信'
,
},
{
id
:
'LC234234'
,
creditCode
:
'张三'
,
propertyName
:
'2000'
,
reconciliationBeginDate
:
'2023-01-23'
,
reconciliationEndDate
:
'5'
,
reconciliationAmount
:
'3443'
,
updateTime
:
'2023-01-02'
,
empowerCommunityNum
:
'admin'
,
auditStatus
:
'未结算'
,
companyAuditStatus
:
'转账'
,
},
dataSource
:
[
],
visibleReconciliation
:
false
,
confirmLoading
:
false
,
chargeList
:
[
{
type
:
2
,
name
:
'结算待审核'
},
{
type
:
3
,
name
:
'已结算'
},
{
type
:
4
,
name
:
'结算驳回'
},
],
}
},
methods
:
{
onChangeData
(
date
,
dateString
)
{
if
(
dateString
.
length
>
0
)
{
this
.
queryParam
.
createTime_begin
=
dateString
[
0
]
this
.
queryParam
.
createTime_end
=
dateString
[
1
]
}
else
{
this
.
queryParam
.
createTime_begin
=
''
this
.
queryParam
.
createTime_end
=
''
onChange
(
date
,
dateString
)
{
this
.
queryParam
.
createTime
=
dateString
},
initPageParams
(
params
)
{
params
[
'platformType'
]
=
'partner'
,
params
[
'balanceStatus'
]
=
3
},
propertyDetails
(
type
,
id
)
{
if
(
type
==
2
)
{
this
.
$router
.
push
({
path
:
'/withdrawal/WithdrawalDetails?type=detail&id='
+
id
,
})
}
},
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论