10 changed files with 714 additions and 203 deletions
@ -1,12 +1,35 @@ |
|||
import request from '@/utils/requester.js' |
|||
|
|||
export default { |
|||
login: (params = {}) => request.post("/sysuser/login", params), |
|||
login: (params = {}) => request.post("/wxmpapi/sysuser/login", params), |
|||
sayhello: (params = {}) => request.get("/sayb", params), |
|||
getSalesReport: (params = {}) => request.get("/system/reportCenter/getSalesReport", params), |
|||
getGoodsOnWay: (params = {}) => request.get("/system/reportCenter/getGoodsOnWay", params), |
|||
getThresholdAnalysis: (params = {}) => request.get("/system/risk/getThresholdAnalysis", params), |
|||
|
|||
// 查看预警信息
|
|||
selectBusinessRiskInfo: (params = {}) => request.post("/v1/businessData/selectBusinessRiskInfo", params) |
|||
selectBusinessRiskInfo: (params = {}) => request.post("/wxmpapi/v1/businessData/selectBusinessRiskInfo", params), |
|||
|
|||
// 获取审核报告内容
|
|||
getReportInfo: (params = {}) => request.post("/reportwxmpapi/v1/csmcashreport/getCsmReportByComSid", params), |
|||
// 获取今日回款明细
|
|||
getCsmReportTodayByComSid: (params = {}) => request.post( |
|||
"/reportwxmpapi/v1/csmcashreportcashed/getCsmReportTodayByComSid", |
|||
params), |
|||
// 获取昨日销售报表
|
|||
getCsmReportYesterdayByComSid: (params = {}) => request.post( |
|||
"/reportwxmpapi/v1/csmcashreportsales/getCsmReportYesterdayByComSid", |
|||
params), |
|||
|
|||
// 库存汇总表
|
|||
getReportInventoryDayGather: (params = {}) => request.get("/reportwxmpapi/reportinventory//getReportInventoryDayGather/" + |
|||
params, |
|||
params), |
|||
// 仓库库存明细表
|
|||
getReportInventoryDayStore: (params = {}) => request.get( |
|||
"/reportwxmpapi/reportinventory/getReportInventoryDayStore/" + params, params), |
|||
// 烟草仓库库存明细表
|
|||
getReportInventoryDayToStore: (params = {}) => request.get( |
|||
"/reportwxmpapi/reportinventory/getReportInventoryDayToStore/" + params, params) |
|||
|
|||
} |
@ -0,0 +1,198 @@ |
|||
<template> |
|||
|
|||
<view style="margin-left: 20px; margin-right: 20px;padding-bottom: 50px"> |
|||
<view |
|||
style="display: flex;width: 100%;justify-content: center;size: 25px;font-family: sans-serif;font-weight: 600;margin-top: 20px;"> |
|||
每日回款审核报告 |
|||
</view> |
|||
|
|||
<view style="margin-top: 20px;font-family: sans-serif;font-weight: 600;">石家庄汇融农村合作银行振头支行:</view> |
|||
|
|||
<view style=" line-height: 30px; margin-top: 10px;text-indent:2em;"> |
|||
<text style="font-family: sans-serif;font-weight: 600;">{{info.companyName}}</text> |
|||
<text>昨日销售及今日回款情况如下:昨日销售总计:</text> |
|||
<text style="font-family: sans-serif;font-weight: 600;">{{info.totalSales}}</text> |
|||
<text> 元,今日应回款:</text> |
|||
<text style="font-family: sans-serif;font-weight: 600;">{{info.collection}}</text> |
|||
<text> 元,今日实际回款:</text> |
|||
<text style="font-family: sans-serif;font-weight: 600;">{{info.actualCollection}}</text> |
|||
<text> 元,回款差额:</text> |
|||
<text style="font-family: sans-serif;font-weight: 600;">{{info.difference}}</text> |
|||
<text> 元,未回款原因平台扣除手续费、服务费等。具体原因详见附件今日回款明细。</text> |
|||
|
|||
<view > |
|||
<text>截至</text> |
|||
<text style="font-family: sans-serif;font-weight: 600;">{{info.endTime}}</text> |
|||
<text>,今日支付完毕款项后,账户余额为:</text> |
|||
<text style="font-family: sans-serif;font-weight: 600;">{{info.balance}}</text> |
|||
<text> 元。</text> |
|||
</view> |
|||
|
|||
</view> |
|||
|
|||
<view style="display: flex;flex-direction: column;margin-top: 15px; line-height: 30px;"> |
|||
<text style="size: 25px;font-family: sans-serif;font-weight: 600;">审核结果:</text> |
|||
<text style="text-indent:2em;">{{info.auditResult}}</text> |
|||
<!-- <view> |
|||
<text |
|||
style="margin-top: 10px;text-indent:2em;">实际回款资金已按要求回到{{info.companyName}}{{info.account}}(账号为</text> |
|||
<text style="font-family: sans-serif;font-weight: 600;">{{info.accountNumber}}</text> |
|||
<text>)。</text> |
|||
</view> --> |
|||
|
|||
</view> |
|||
|
|||
|
|||
<view style="display: flex;flex-direction: column;width: 100%;align-items: flex-end; margin-top: 30px;"> |
|||
|
|||
<text style="font-family: sans-serif;font-weight: 600;">{{info.reviewedBy}}</text> |
|||
<text style="margin-top:10px ; font-family: sans-serif;font-weight: 600;">{{info.date}}</text> |
|||
|
|||
</view> |
|||
|
|||
|
|||
<view style="margin-top: 50px; display: flex; flex-direction: column;"> |
|||
<text style="size: 25px;font-family: sans-serif;font-weight: 600;padding-bottom: 10px;">附件:今日回款明细</text> |
|||
<uni-table ref="table1" border stripe emptyText="暂无更多数据"> |
|||
<uni-tr> |
|||
<uni-th align="center">销售日期</uni-th> |
|||
<uni-th align="center">支付渠道</uni-th> |
|||
<uni-th align="center">金额(元)</uni-th> |
|||
<uni-th align="center">对应公司主体</uni-th> |
|||
<uni-th align="center">回款金额</uni-th> |
|||
<uni-th align="center">回款差额</uni-th> |
|||
<uni-th align="center">备注</uni-th> |
|||
</uni-tr> |
|||
<uni-tr v-for="(item, index) in tableData1" :key="index"> |
|||
<uni-td align="center">{{ item.salesDate }}</uni-td> |
|||
<uni-td align="center">{{ item.payChannels }}</uni-td> |
|||
<uni-td align="center">{{ item.money }}</uni-td> |
|||
<uni-td align="center">{{ item.mainBody }}</uni-td> |
|||
<uni-td align="center">{{ item.collection }}</uni-td> |
|||
<uni-td align="center">{{ item.different }}</uni-td> |
|||
<uni-td align="center">{{ item.notes }}</uni-td> |
|||
</uni-tr> |
|||
|
|||
</uni-table> |
|||
|
|||
</view> |
|||
|
|||
<view style="margin-top: 30px; display: flex; flex-direction: column;"> |
|||
<text style="size: 25px;font-family: sans-serif;font-weight: 600;padding-bottom: 10px;">附件:昨日销售报表</text> |
|||
|
|||
<uni-table ref="table2" border stripe emptyText="暂无更多数据"> |
|||
|
|||
<uni-tr> |
|||
<uni-th align="center">支付渠道</uni-th> |
|||
<uni-th align="center">金额(元)</uni-th> |
|||
<uni-th align="center">对应公司主体</uni-th> |
|||
<uni-th align="center">到账周期</uni-th> |
|||
</uni-tr> |
|||
<uni-tr v-for="(item, index) in tableData2" :key="index"> |
|||
<uni-td align="center">{{ item.payChannels }}</uni-td> |
|||
<uni-td align="center">{{ item.money }}</uni-td> |
|||
<uni-td align="center">{{ item.mainBody }}</uni-td> |
|||
<uni-td align="center">{{ item.cycle }}</uni-td> |
|||
</uni-tr> |
|||
|
|||
</uni-table> |
|||
</view> |
|||
|
|||
|
|||
|
|||
</view> |
|||
|
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
data() { |
|||
return { |
|||
queryParams: { |
|||
dataDate: "", |
|||
companyName: "" |
|||
}, |
|||
loading1: false, |
|||
loading2: false, |
|||
info: { |
|||
companyName: "", |
|||
totalSales: "", |
|||
collection: "", |
|||
actualCollection: "", |
|||
different: "", |
|||
endTime: "", |
|||
balance: "", |
|||
account: "", |
|||
accountNumber: "", |
|||
reviewedBy: "", |
|||
date: "", |
|||
}, |
|||
|
|||
tableData1: [ |
|||
// { |
|||
// "salesDate": "2023年6月7日", |
|||
// "payChannels": "批发-京东", |
|||
// "money": "397.09", |
|||
// "mainBody": "源蜂-汇融", |
|||
// "collection": "357.87", |
|||
// "different": "39.22", |
|||
// "notes": "6.7回小时购150.12" |
|||
// }, |
|||
], |
|||
tableData2: [ |
|||
// { |
|||
// "payChannels": "现金", |
|||
// "money": "63094.88", |
|||
// "mainBody": "-", |
|||
// "cycle": "每月19号归集" |
|||
// }, |
|||
], |
|||
}; |
|||
}, |
|||
onLoad(option) { |
|||
|
|||
this.queryParams = { |
|||
dataDate: option.dataDate, |
|||
companyName: option.companyName |
|||
} |
|||
|
|||
console.log('1111', this.queryParams) |
|||
this.getData() |
|||
|
|||
}, |
|||
methods: { |
|||
getData() { |
|||
console.log('getData', this.queryParams) |
|||
this.$api.getReportInfo(this.queryParams).then((resp) => { |
|||
console.log('1111>>>>>>', resp) |
|||
|
|||
this.info = resp |
|||
|
|||
}).catch(e => { |
|||
console.log('eeeee', e) |
|||
}) |
|||
|
|||
this.$api.getCsmReportTodayByComSid(this.queryParams).then((resp) => { |
|||
console.log('2222>>>>>>', resp) |
|||
this.loading1 = true |
|||
this.tableData1 = resp |
|||
|
|||
}).catch(e => { |
|||
console.log('eeeee', e) |
|||
}) |
|||
|
|||
this.$api.getCsmReportYesterdayByComSid(this.queryParams).then((resp) => { |
|||
console.log('3333>>>>>>', resp) |
|||
this.loading2 = true |
|||
this.tableData2 = resp |
|||
|
|||
}).catch(e => { |
|||
console.log('eeeee', e) |
|||
}) |
|||
}, |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style> |
|||
</style> |
@ -0,0 +1,200 @@ |
|||
<template> |
|||
|
|||
<view style="margin-left: 20px; margin-right: 20px;padding-bottom: 50px"> |
|||
<view style="display: flex; width: 100%;justify-content: center; size: 25px;font-family: sans-serif;font-weight: 600;margin: 10px;">{{date}}</view> |
|||
|
|||
<view style="margin-top: 20px; display: flex; flex-direction: column;"> |
|||
<text style="size: 25px;font-family: sans-serif;font-weight: 600;padding-bottom: 10px;">库存日报汇总表</text> |
|||
<text>编号:{{logInfo.serialNumber}}</text> |
|||
<text>上报时间:{{logInfo.reportTime}}</text> |
|||
<text style="margin-bottom: 10px;">货值合计:{{logInfo.countAmount}}</text> |
|||
|
|||
<uni-table ref="table1" border stripe emptyText="暂无更多数据"> |
|||
<uni-tr> |
|||
<!-- <uni-th align="center">序号</uni-th> --> |
|||
<uni-th align="center" width="180">仓库类型</uni-th> |
|||
<uni-th align="center"width="80">仓库数量</uni-th> |
|||
<uni-th align="center"width="80">品种数量</uni-th> |
|||
<uni-th align="center"width="100">品种货值</uni-th> |
|||
</uni-tr> |
|||
<uni-tr v-for="(item, index) in tableData1" :key="index"> |
|||
<!-- <uni-td align="center">{{ index+1}}</uni-td> --> |
|||
<uni-td align="center">{{ item.storeType }}</uni-td> |
|||
<uni-td align="center">{{ item.storeNumber }}</uni-td> |
|||
<uni-td align="center">{{ item.productCountNumber }}</uni-td> |
|||
<uni-td align="center">{{ item.productAmount }}</uni-td> |
|||
</uni-tr> |
|||
|
|||
</uni-table> |
|||
|
|||
</view> |
|||
|
|||
<view style="margin-top: 50px; display: flex; flex-direction: column;"> |
|||
<text style="size: 25px;font-family: sans-serif;font-weight: 600;padding-bottom: 10px;">仓库库存明细表</text> |
|||
<text>商品数量合计:{{logInfo2.countProductNumber}}</text> |
|||
<text style="margin-bottom: 10px;">商品货值合计:{{logInfo2.countAmount}}</text> |
|||
<uni-table ref="table1" border stripe emptyText="暂无更多数据"> |
|||
<uni-tr> |
|||
<!-- <uni-th align="center" width="50">序号</uni-th> --> |
|||
<uni-th align="center" width="180">仓库名称</uni-th> |
|||
<uni-th align="center" width="80">商品数量</uni-th> |
|||
<uni-th align="center" width="100">商品货值</uni-th> |
|||
</uni-tr> |
|||
<uni-tr v-for="(item, index) in tableData2" :key="index"> |
|||
<!-- <uni-td align="center">{{ index+1 }}</uni-td> --> |
|||
<uni-td align="center">{{ item.storeCodeName }}</uni-td> |
|||
<uni-td align="center">{{ item.productCountNumber }}</uni-td> |
|||
<uni-td align="center">{{ item.productAmount }}</uni-td> |
|||
</uni-tr> |
|||
|
|||
</uni-table> |
|||
|
|||
</view> |
|||
|
|||
<view style="margin-top: 50px; display: flex; flex-direction: column;"> |
|||
<text style="size: 25px;font-family: sans-serif;font-weight: 600;padding-bottom: 10px;">烟草库存明细表</text> |
|||
<text>商品数量合计:{{logInfo3.countProductNumber}}</text> |
|||
<text style="margin-bottom: 10px;">商品货值合计:{{logInfo3.countAmount}}</text> |
|||
<uni-table ref="table1" border stripe emptyText="暂无更多数据"> |
|||
<uni-tr> |
|||
<!-- <uni-th align="center">序号</uni-th> --> |
|||
<uni-th align="center" width="180">仓库名称</uni-th> |
|||
<uni-th align="center" width="80">品种数量</uni-th> |
|||
<uni-th align="center" width="100">品种货值</uni-th> |
|||
</uni-tr> |
|||
<uni-tr v-for="(item, index) in tableData3" :key="index"> |
|||
<!-- <uni-td align="center">{{ index+1 }}</uni-td> --> |
|||
<uni-td align="center">{{ item.storeCodeName }}</uni-td> |
|||
<uni-td align="center">{{ item.productCountNumber }}</uni-td> |
|||
<uni-td align="center">{{ item.productAmount }}</uni-td> |
|||
</uni-tr> |
|||
|
|||
</uni-table> |
|||
|
|||
</view> |
|||
</view> |
|||
|
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
data() { |
|||
return { |
|||
date: "2023-06-25", |
|||
logInfo: { |
|||
serialNumber: "", |
|||
reportTime: "", |
|||
countAmount: "", |
|||
}, |
|||
logInfo2: { |
|||
countProductNumber: "", |
|||
countAmount: "", |
|||
}, |
|||
logInfo3: { |
|||
countProductNumber: "", |
|||
countAmount: "", |
|||
}, |
|||
tableData1: [], |
|||
tableData2: [], |
|||
tableData3: [], |
|||
}; |
|||
}, |
|||
onLoad(option) { |
|||
|
|||
// this.date = option.orderDate |
|||
|
|||
// console.log('1111', this.queryParams) |
|||
this.getData() |
|||
|
|||
}, |
|||
methods: { |
|||
getData() { |
|||
console.log('getData', this.date) |
|||
this.$api.getReportInventoryDayGather(this.date).then((resp) => { |
|||
console.log('1111>>>>>>', resp) |
|||
|
|||
this.tableData1 = resp.list |
|||
this.logInfo = { |
|||
serialNumber: resp.serialNumber, |
|||
reportTime: resp.reportTime, |
|||
countAmount: resp.countAmount, |
|||
} |
|||
|
|||
}).catch(e => { |
|||
console.log('eeeee', e) |
|||
}) |
|||
|
|||
this.$api.getReportInventoryDayStore(this.date).then((resp) => { |
|||
console.log('2222>>>>>>', resp) |
|||
this.tableData2 = resp.list |
|||
this.logInfo2 = { |
|||
countProductNumber: resp.countProductNumber, |
|||
countAmount: resp.countAmount, |
|||
} |
|||
}).catch(e => { |
|||
console.log('eeeee', e) |
|||
}) |
|||
|
|||
this.$api.getReportInventoryDayToStore(this.date).then((resp) => { |
|||
console.log('3333>>>>>>', resp) |
|||
this.tableData3 = resp.list |
|||
this.logInfo3 = { |
|||
countProductNumber: resp.countProductNumber, |
|||
countAmount: resp.countAmount, |
|||
} |
|||
}).catch(e => { |
|||
console.log('eeeee', e) |
|||
}) |
|||
}, |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss"> |
|||
.title { |
|||
width: 100%; |
|||
height: 100rpx; |
|||
background: white; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: space-around; |
|||
} |
|||
|
|||
.titleSel { |
|||
color: #5f6fee; |
|||
font-size: 32rpx; |
|||
display: flex; |
|||
flex-direction: column; |
|||
align-items: center; |
|||
} |
|||
|
|||
|
|||
.headerLineSel { |
|||
background: #5f6fee; |
|||
height: 6rpx; |
|||
width: 220rpx; |
|||
margin-top: 10rpx; |
|||
} |
|||
|
|||
.headerLineUnsel { |
|||
background: #fff; |
|||
height: 6rpx; |
|||
width: 40rpx; |
|||
position: relative; |
|||
margin-top: 10rpx; |
|||
} |
|||
|
|||
.swiper { |
|||
width: 100%; |
|||
flex: 1; |
|||
height: 100vh; |
|||
overflow: scroll; |
|||
} |
|||
|
|||
.recordItem { |
|||
margin-top: 10rpx; |
|||
background-color: white; |
|||
padding-bottom: 20rpx; |
|||
padding-top: 20rpx; |
|||
} |
|||
</style> |
Loading…
Reference in new issue