feat: 修复
This commit is contained in:
@@ -18,7 +18,8 @@ const todos = computed(() => {
|
||||
{ icon: 'i-carbon-shopping-bag', label: '待发货订单', count: merchantStore.stats.pendingOrders, path: '/pagesMerchant/order/list' },
|
||||
{ icon: 'i-carbon-warning', label: '库存预警', count: merchantStore.stats.lowStockGoods, path: '/pagesMerchant/goods/list' },
|
||||
{ icon: 'i-carbon-wallet', label: '待结算', count: `¥${(merchantStore.stats.pendingSettlement / 100).toFixed(0)}`, path: '/pagesMerchant/finance/index' },
|
||||
{ icon: 'i-carbon-document', label: '待提供材料', count: 1, path: '/pagesMerchant/loan/assist' }, // 模拟数据
|
||||
{ icon: 'i-carbon-document', label: '待提供材料', count: 1, path: '/pagesMerchant/loan/assist' }, // 模拟数据; 实际应从API获取
|
||||
// 实际项目中应增加获取该count的API,目前保持模拟
|
||||
].filter(item => item.count)
|
||||
})
|
||||
|
||||
|
||||
@@ -109,14 +109,14 @@ onMounted(() => {
|
||||
<view class="upload-tip">请上传与该用户的真实交易凭证</view>
|
||||
|
||||
<view class="material-types">
|
||||
<view class="type-btn" @click="handleUpload(item, 'order', '交易订单')">
|
||||
<text class="i-carbon-upload"></text> 上传订单
|
||||
</view>
|
||||
<view class="type-btn" @click="handleUpload(item, 'flow', '银行流水')">
|
||||
<text class="i-carbon-upload"></text> 上传流水
|
||||
</view>
|
||||
<view class="type-btn" @click="handleUpload(item, 'invoice', '发票')">
|
||||
<text class="i-carbon-upload"></text> 上传发票
|
||||
<text class="i-carbon-receipt"></text> 上传发票
|
||||
</view>
|
||||
<view class="type-btn" @click="handleUpload(item, 'contract', '合同')">
|
||||
<text class="i-carbon-document-pdf"></text> 上传合同
|
||||
</view>
|
||||
<view class="type-btn" @click="handleUpload(item, 'attachment', '附件')">
|
||||
<text class="i-carbon-attachment"></text> 上传附件
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user