|
@@ -1,28 +1,29 @@
|
|
|
<template>
|
|
<template>
|
|
|
<view class="app-content">
|
|
<view class="app-content">
|
|
|
<view class="ex-page">
|
|
<view class="ex-page">
|
|
|
- <view class="top-bar">
|
|
|
|
|
- <DateSelect class="bar" top="0" @selectDateFn="selectDateFn" />
|
|
|
|
|
- </view>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <!-- <view class="top-bar"><DateSelect class="bar" top="0" @selectDateFn="selectDateFn" /></view> -->
|
|
|
|
|
+ <view class="top-bar" style="margin-left:100upx;">今天</view>
|
|
|
<view class="main-view">
|
|
<view class="main-view">
|
|
|
<view class="space-view ex-table">
|
|
<view class="space-view ex-table">
|
|
|
<block>
|
|
<block>
|
|
|
<t-table :headerBackgroundColor="'#F0F2F6'">
|
|
<t-table :headerBackgroundColor="'#F0F2F6'">
|
|
|
- <t-tr header><t-th>收款方式</t-th><t-th>收入金额</t-th><t-th>退款金额</t-th></t-tr>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <t-tr header><t-th>渠道</t-th><t-th>笔数</t-th><t-th>金额</t-th><t-th>操作</t-th></t-tr>
|
|
|
<view v-for="(item, index) in profile" :key="index">
|
|
<view v-for="(item, index) in profile" :key="index">
|
|
|
<t-tr>
|
|
<t-tr>
|
|
|
<t-td><view>{{item.name}}</view></t-td>
|
|
<t-td><view>{{item.name}}</view></t-td>
|
|
|
|
|
+ <t-td><view>123</view></t-td>
|
|
|
<t-td><view>{{item.kd}}</view></t-td>
|
|
<t-td><view>{{item.kd}}</view></t-td>
|
|
|
- <t-td><view>{{item.refund}}</view></t-td>
|
|
|
|
|
|
|
+ <t-td>
|
|
|
|
|
+ <view>
|
|
|
|
|
+ <button class="admin-button-com middel blue" @click="getDetail()">查明细</button>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </t-td>
|
|
|
</t-tr>
|
|
</t-tr>
|
|
|
</view>
|
|
</view>
|
|
|
-
|
|
|
|
|
</t-table>
|
|
</t-table>
|
|
|
</block>
|
|
</block>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="act-income">扣除退款后收入:¥{{income}}</view>
|
|
|
|
|
|
|
+ <view class="act-income">合计 ¥{{income}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -38,7 +39,9 @@ import {mapActions, mapGetters} from "vuex";
|
|
|
export default {
|
|
export default {
|
|
|
components: { SelectList, AppWrapperEmpty,ShopSelect,DateSelect},
|
|
components: { SelectList, AppWrapperEmpty,ShopSelect,DateSelect},
|
|
|
mixins: [list],
|
|
mixins: [list],
|
|
|
- computed: { ...mapGetters(["getDictionariesInfo","getLoginInfo"]) },
|
|
|
|
|
|
|
+ computed: {
|
|
|
|
|
+ ...mapGetters(["getDictionariesInfo","getLoginInfo"])
|
|
|
|
|
+ },
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
isShow:false,
|
|
isShow:false,
|
|
@@ -51,26 +54,6 @@ export default {
|
|
|
showTimeDropdown: false,
|
|
showTimeDropdown: false,
|
|
|
nowShop: "",
|
|
nowShop: "",
|
|
|
showShopDropdown: false,
|
|
showShopDropdown: false,
|
|
|
- columns: [
|
|
|
|
|
- {
|
|
|
|
|
- name: "姓名",
|
|
|
|
|
- dataIndex: "name",
|
|
|
|
|
- color: "info"
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- name: "开单额",
|
|
|
|
|
- dataIndex: "amount",
|
|
|
|
|
- color: "info",
|
|
|
|
|
- width: 120,
|
|
|
|
|
- align: "center"
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- name: "开单数",
|
|
|
|
|
- dataIndex: "num",
|
|
|
|
|
- color: "info",
|
|
|
|
|
- align: "center"
|
|
|
|
|
- }
|
|
|
|
|
- ],
|
|
|
|
|
dataList: [],
|
|
dataList: [],
|
|
|
params:{
|
|
params:{
|
|
|
itemId: '',
|
|
itemId: '',
|
|
@@ -95,6 +78,9 @@ export default {
|
|
|
this.shopId = this.getLoginInfo.shopId;
|
|
this.shopId = this.getLoginInfo.shopId;
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ getDetail(){
|
|
|
|
|
+ this.$util.confirmModal({title:'明细',content:'批发:30,零售50,欠款 90,欠款 90,欠款 90,欠款 90,欠款 90'},() => { })
|
|
|
|
|
+ },
|
|
|
...mapActions(['setUserShopAll']),
|
|
...mapActions(['setUserShopAll']),
|
|
|
//选择分店
|
|
//选择分店
|
|
|
selectShopFn(val){
|
|
selectShopFn(val){
|
|
@@ -152,10 +138,12 @@ export default {
|
|
|
background-color: #fff;
|
|
background-color: #fff;
|
|
|
}
|
|
}
|
|
|
.act-income{
|
|
.act-income{
|
|
|
- margin-left:60upx;
|
|
|
|
|
margin-top:30upx;
|
|
margin-top:30upx;
|
|
|
- font-size:30upx;
|
|
|
|
|
|
|
+ margin-bottom:30upx;
|
|
|
|
|
+ font-size:25upx;
|
|
|
color:rgb(92, 91, 91);
|
|
color:rgb(92, 91, 91);
|
|
|
|
|
+ text-align:center;
|
|
|
|
|
+ font-weight:bold;
|
|
|
}
|
|
}
|
|
|
.ex-info {
|
|
.ex-info {
|
|
|
padding: 30upx;
|
|
padding: 30upx;
|