|
@@ -22,6 +22,12 @@
|
|
<view class="text">{{ item.name }}</view>
|
|
<view class="text">{{ item.name }}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <view class="main day" v-if="currents == 1">
|
|
|
|
+ <view class="main-item tab small" v-for="(item, index) in listNoTbasType" :key="index"
|
|
|
|
+ :class="{ tabActive: tabCurrents == index }" @click="tabClick(3, index, item.type)">
|
|
|
|
+ <view class="text">{{ item.name }}</view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
<view class="main day" v-if="currents == 2 || currents == 3">
|
|
<view class="main day" v-if="currents == 2 || currents == 3">
|
|
<view class="main-item tab" v-for="(item, index) in listReturnType" :key="index"
|
|
<view class="main-item tab" v-for="(item, index) in listReturnType" :key="index"
|
|
:class="{ tabActive: tabCurrents == index }" @click="tabClick(2, index, item.type)">
|
|
:class="{ tabActive: tabCurrents == index }" @click="tabClick(2, index, item.type)">
|
|
@@ -31,7 +37,7 @@
|
|
</view>
|
|
</view>
|
|
<tui-skeleton v-if="skeletonShow" backgroundColor="#fafafa" borderRadius="10rpx" :isLoading ="true" :loadingType="7"></tui-skeleton>
|
|
<tui-skeleton v-if="skeletonShow" backgroundColor="#fafafa" borderRadius="10rpx" :isLoading ="true" :loadingType="7"></tui-skeleton>
|
|
<view class="user-section" v-else :style="{
|
|
<view class="user-section" v-else :style="{
|
|
- top: currents == 1 ? CustomBar + 71 + 'px' : CustomBar + 105 + 'px',
|
|
|
|
|
|
+ top: CustomBar + 105 + 'px',
|
|
left: 0 + 'px'
|
|
left: 0 + 'px'
|
|
}">
|
|
}">
|
|
<view class="header-content">
|
|
<view class="header-content">
|
|
@@ -45,6 +51,9 @@
|
|
<view class="list-title-t">
|
|
<view class="list-title-t">
|
|
<view class="list-title-tip">
|
|
<view class="list-title-tip">
|
|
<text class="badges">{{ receipt.receiptType | formatReceiptType }}</text>
|
|
<text class="badges">{{ receipt.receiptType | formatReceiptType }}</text>
|
|
|
|
+ <text class="badgesa" v-if="receipt.receiptType == 2">
|
|
|
|
+ {{ receipt.newReceiptType | formatNewReceiptType }}
|
|
|
|
+ </text>
|
|
</view>
|
|
</view>
|
|
<view class="list-title-num" :style="{ color: formatColor(receipt.receiptStatus) }">{{
|
|
<view class="list-title-num" :style="{ color: formatColor(receipt.receiptStatus) }">{{
|
|
receipt.receiptStatusText
|
|
receipt.receiptStatusText
|
|
@@ -164,7 +173,8 @@
|
|
defaultAllTabs,
|
|
defaultAllTabs,
|
|
defaultServiceTabs ,
|
|
defaultServiceTabs ,
|
|
listTabsType,
|
|
listTabsType,
|
|
- listReturnType
|
|
|
|
|
|
+ listReturnType,
|
|
|
|
+ listNoTbasType
|
|
} from '@/utils/config.tabs.js'
|
|
} from '@/utils/config.tabs.js'
|
|
import {
|
|
import {
|
|
mapState,
|
|
mapState,
|
|
@@ -195,6 +205,7 @@
|
|
listTabs: [],// 收款款项类型
|
|
listTabs: [],// 收款款项类型
|
|
listTabsType: listTabsType, //收款状态:
|
|
listTabsType: listTabsType, //收款状态:
|
|
listReturnType: listReturnType, //收款状态:
|
|
listReturnType: listReturnType, //收款状态:
|
|
|
|
+ listNoTbasType: listNoTbasType, //非订单筛选类别:
|
|
date: currentDate,
|
|
date: currentDate,
|
|
currents: 0,
|
|
currents: 0,
|
|
tabCurrents: 0,
|
|
tabCurrents: 0,
|
|
@@ -498,7 +509,7 @@
|
|
},
|
|
},
|
|
tabClick(num, index, type) {
|
|
tabClick(num, index, type) {
|
|
switch (num) {
|
|
switch (num) {
|
|
- case 1:
|
|
|
|
|
|
+ case 1:// 订单款
|
|
this.isEmpty = false
|
|
this.isEmpty = false
|
|
this.pullUpOn = true
|
|
this.pullUpOn = true
|
|
this.currents = index
|
|
this.currents = index
|
|
@@ -507,10 +518,11 @@
|
|
this.listQuery.startDate = ''
|
|
this.listQuery.startDate = ''
|
|
this.listQuery.endDate = ''
|
|
this.listQuery.endDate = ''
|
|
this.listQuery.smsContent = ''
|
|
this.listQuery.smsContent = ''
|
|
|
|
+ this.listQuery.newReceiptType = ''
|
|
this.getOrderDatainit()
|
|
this.getOrderDatainit()
|
|
this.tabCurrents = 0
|
|
this.tabCurrents = 0
|
|
break
|
|
break
|
|
- case 2:
|
|
|
|
|
|
+ case 2:
|
|
this.isEmpty = false
|
|
this.isEmpty = false
|
|
this.pullUpOn = true
|
|
this.pullUpOn = true
|
|
this.tabCurrents = index
|
|
this.tabCurrents = index
|
|
@@ -519,6 +531,17 @@
|
|
this.listQuery.smsContent = ''
|
|
this.listQuery.smsContent = ''
|
|
this.listQuery.receiptStatus = type
|
|
this.listQuery.receiptStatus = type
|
|
this.getOrderDatainit()
|
|
this.getOrderDatainit()
|
|
|
|
+ break
|
|
|
|
+ case 3:// 非订单款类别选项
|
|
|
|
+ this.isEmpty = false
|
|
|
|
+ this.pullUpOn = true
|
|
|
|
+ this.tabCurrents = index
|
|
|
|
+ this.listQuery.startDate = ''
|
|
|
|
+ this.listQuery.endDate = ''
|
|
|
|
+ this.listQuery.smsContent = ''
|
|
|
|
+ this.listQuery.newReceiptType = type
|
|
|
|
+ this.getOrderDatainit()
|
|
|
|
+ break
|
|
}
|
|
}
|
|
},
|
|
},
|
|
toNoSms(url) {
|
|
toNoSms(url) {
|
|
@@ -671,7 +694,6 @@
|
|
background: #f7f7f7;
|
|
background: #f7f7f7;
|
|
margin: 0 10rpx;
|
|
margin: 0 10rpx;
|
|
padding: 0 20rpx;
|
|
padding: 0 20rpx;
|
|
-
|
|
|
|
.text {
|
|
.text {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 50rpx;
|
|
height: 50rpx;
|
|
@@ -682,8 +704,29 @@
|
|
color: #666666;
|
|
color: #666666;
|
|
text-align: center;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
+ &.small{
|
|
|
|
+ width: auto;
|
|
|
|
+ border-radius: 8rpx;
|
|
|
|
+ background: #f7f7f7;
|
|
|
|
+ margin: 0 10rpx;
|
|
|
|
+ padding: 0 18rpx;
|
|
|
|
+ .text {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 50rpx;
|
|
|
|
+ line-height: 50rpx;
|
|
|
|
+ display: block;
|
|
|
|
+ float: left;
|
|
|
|
+ font-size: $font-size-22;
|
|
|
|
+ color: #666666;
|
|
|
|
+ text-align: center;
|
|
|
|
+ }
|
|
|
|
+ &.tabActive {
|
|
|
|
+ .text {
|
|
|
|
+ color: $btn-confirm;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
-
|
|
|
|
&.active {
|
|
&.active {
|
|
.text {
|
|
.text {
|
|
color: $btn-confirm;
|
|
color: $btn-confirm;
|
|
@@ -905,6 +948,19 @@
|
|
text-align: center;
|
|
text-align: center;
|
|
color: #ffffff;
|
|
color: #ffffff;
|
|
}
|
|
}
|
|
|
|
+ .badgesa {
|
|
|
|
+ display: block;
|
|
|
|
+ float: left;
|
|
|
|
+ padding: 0 15rpx;
|
|
|
|
+ height: 40rpx;
|
|
|
|
+ line-height: 40rpx;
|
|
|
|
+ border-radius: 4rpx;
|
|
|
|
+ background: #7fba4f;
|
|
|
|
+ font-size: $font-size-24;
|
|
|
|
+ text-align: center;
|
|
|
|
+ color: #ffffff;
|
|
|
|
+ margin-left: 24rpx;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|