|
@@ -22,8 +22,8 @@
|
|
|
<view class="order_list">
|
|
<view class="order_list">
|
|
|
<!-- 总欠款统计 -->
|
|
<!-- 总欠款统计 -->
|
|
|
<view class="total-debt-header" v-if="isNormalList">
|
|
<view class="total-debt-header" v-if="isNormalList">
|
|
|
- <text class="debt-title">总欠款</text>
|
|
|
|
|
- <text class="debt-amount">¥{{info.totalDebtAmount?parseFloat(info.totalDebtAmount):0}}</text>
|
|
|
|
|
|
|
+ <text class="debt-title">总待结</text>
|
|
|
|
|
+ <text class="debt-amount">¥{{Math.abs(parseFloat(info.totalDebtAmount || 0))}}</text>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<!-- 列表内容 -->
|
|
<!-- 列表内容 -->
|
|
@@ -55,7 +55,7 @@
|
|
|
<view class="more-dropdown" v-if="activeMenuId === item.id">
|
|
<view class="more-dropdown" v-if="activeMenuId === item.id">
|
|
|
<view class="dropdown-item" hover-class="none" @click.stop="handleDebtChangeFromMenu(item)">
|
|
<view class="dropdown-item" hover-class="none" @click.stop="handleDebtChangeFromMenu(item)">
|
|
|
<text class="dropdown-icon">📋</text>
|
|
<text class="dropdown-icon">📋</text>
|
|
|
- <text class="dropdown-text">挂账变动明细</text>
|
|
|
|
|
|
|
+ <text class="dropdown-text">挂账变动明细(废弃)</text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="dropdown-item" hover-class="none" @click.stop="handleDeleteFromMenu(item)">
|
|
<view class="dropdown-item" hover-class="none" @click.stop="handleDeleteFromMenu(item)">
|
|
|
<text class="dropdown-icon">🗑</text>
|
|
<text class="dropdown-icon">🗑</text>
|
|
@@ -191,7 +191,7 @@ export default {
|
|
|
value: "0"
|
|
value: "0"
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- name: "挂账排行",
|
|
|
|
|
|
|
+ name: "待结排行",
|
|
|
sortType: "debt",
|
|
sortType: "debt",
|
|
|
value: "0"
|
|
value: "0"
|
|
|
},
|
|
},
|
|
@@ -647,7 +647,8 @@ export default {
|
|
|
box-shadow: 0 4upx 24upx rgba(0, 0, 0, 0.12);
|
|
box-shadow: 0 4upx 24upx rgba(0, 0, 0, 0.12);
|
|
|
border-radius: 12upx;
|
|
border-radius: 12upx;
|
|
|
padding: 8upx 0;
|
|
padding: 8upx 0;
|
|
|
- min-width: 220upx;
|
|
|
|
|
|
|
+ min-width: 400upx;
|
|
|
|
|
+ width: max-content;
|
|
|
border: 1upx solid #ebeef5;
|
|
border: 1upx solid #ebeef5;
|
|
|
z-index: 101;
|
|
z-index: 101;
|
|
|
|
|
|
|
@@ -674,8 +675,10 @@ export default {
|
|
|
|
|
|
|
|
.dropdown-item {
|
|
.dropdown-item {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
|
|
+ flex-direction: row;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
- padding: 20upx 24upx;
|
|
|
|
|
|
|
+ padding: 22upx 32upx;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
transition: background-color 0.2s ease;
|
|
transition: background-color 0.2s ease;
|
|
|
|
|
|
|
@@ -691,11 +694,14 @@ export default {
|
|
|
font-size: 26upx;
|
|
font-size: 26upx;
|
|
|
color: #999;
|
|
color: #999;
|
|
|
margin-right: 12upx;
|
|
margin-right: 12upx;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.dropdown-text {
|
|
.dropdown-text {
|
|
|
font-size: 26upx;
|
|
font-size: 26upx;
|
|
|
color: #555;
|
|
color: #555;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|