You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
134 lines
7.3 KiB
134 lines
7.3 KiB
<!--pages/process/index.wxml-->
|
|
<wxs module="formate" src="../../formate.wxs"></wxs>
|
|
<cu-custom bgColor="bg-white">
|
|
<view slot="content" style="color:black;font-size:36rpx">工作台</view>
|
|
</cu-custom>
|
|
|
|
<scroll-view scroll-y style="height: {{height}}rpx;">
|
|
<view style="height:250rpx;background-color:#008AFF;border-radius: 0rpx 0rpx 12rpx 12rpx;">
|
|
<view class="flex flex-center" style="padding:32rpx 28rpx;justify-content: flex-start">
|
|
<image style="width:100rpx;height:100rpx" src="/assets/image/icon_logo.png"></image>
|
|
<view class="text-xxl text-bold name">{{userInfo.factoryName || '未注册工厂'}}</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view style="padding: 0rpx 28rpx;margin-top:-90rpx">
|
|
<view class="bg-white" style="border-radius: 20rpx;padding: 24rpx 0rpx 8rpx 0rpx">
|
|
<view class="flex flex-justify" style="padding: 0rpx 28rpx 24rpx 28rpx">
|
|
<view class="text-black text-sg text-bold">收货统计</view>
|
|
<view class="flex flex-center" bindtap="showSheet" style="padding: 2rpx 0rpx">
|
|
<view class="text-black text-sm" style="margin-right:8rpx">{{vdateString}}</view>
|
|
<van-icon name="arrow-down" />
|
|
</view>
|
|
</view>
|
|
<view class="flex" style="padding:0rpx 0rpx 24rpx 0rpx">
|
|
<view style="flex:1;padding:0rpx 32rpx;margin-right:12rpx">
|
|
<view class="flex flex-center" style="justify-content: flex-start">
|
|
<view style="height:24rpx;width:6rpx;background:#007AFF"></view>
|
|
<view class="text-black text-sm" style="margin-left: 12rpx">收货重量</view>
|
|
</view>
|
|
<view class="text-xxl text-bold" style="margin:12rpx 0rpx">{{formate.formateWeight(totalInfo.totalWeight)}}吨</view>
|
|
<view class="text-gray text-sm">查看收货详情</view>
|
|
</view>
|
|
<view style="flex:1;padding:0rpx 32rpx;margin-left:12rpx">
|
|
<view class="flex flex-center" style="justify-content: flex-start">
|
|
<view style="height:24rpx;width:6rpx;background:#FF8413"></view>
|
|
<view class="text-black text-sm" style="margin-left: 12rpx">收货金额</view>
|
|
</view>
|
|
<view class="text-xxl text-bold text-price" style="margin:12rpx 0rpx">{{formate.formateAmount(totalInfo.totalMoney)}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view style="padding: 0rpx 28rpx;margin-top:24rpx">
|
|
<view class="bg-white" style="border-radius: 20rpx;padding: 24rpx 0rpx">
|
|
<view class="flex flex-justify" style="padding: 0rpx 28rpx 8rpx 28rpx">
|
|
<view class="text-black text-sg text-bold">收货订单</view>
|
|
<view class="flex flex-center" style="padding:4rpx 0rpx 4rpx 4rpx" bindtap="orderList">
|
|
<view class="text-gray text-sm" style="margin-right:8rpx">查看全部订单</view>
|
|
<van-icon name="arrow" color="#aaa"/>
|
|
</view>
|
|
</view>
|
|
<van-grid column-num="4" border="{{fasle}}">
|
|
<van-grid-item wx:for="{{ tabList }}" wx:key="index" data-status="{{item.status}}" bind:click="checkList" text="{{item.name}}">
|
|
<van-icon slot="icon" name="{{ item.icon }}" size="68rpx" info="{{item.badge}}" />
|
|
</van-grid-item>
|
|
</van-grid>
|
|
</view>
|
|
</view>
|
|
|
|
<!-- <view style="padding: 0rpx 28rpx;margin-top:24rpx">
|
|
<view class="bg-white" style="border-radius: 20rpx;padding: 24rpx 0rpx 8rpx 0rpx">
|
|
<view class="flex flex-justify" style="padding: 0rpx 28rpx 24rpx 28rpx">
|
|
<view class="text-black text-sg text-bold">出货统计</view>
|
|
<view class="flex flex-center">
|
|
<view class="text-black text-sm" style="margin-right:8rpx">今日</view>
|
|
<van-icon name="arrow-down" />
|
|
</view>
|
|
</view>
|
|
<view class="flex" style="padding:0rpx 0rpx 24rpx 0rpx">
|
|
<view style="flex:1;padding:0rpx 32rpx;margin-right:12rpx">
|
|
<view class="flex flex-center" style="justify-content: flex-start">
|
|
<view style="height:24rpx;width:6rpx;background:#007AFF"></view>
|
|
<view class="text-black text-sm" style="margin-left: 12rpx">收货重量</view>
|
|
</view>
|
|
<view class="text-xxl text-bold" style="margin:12rpx 0rpx">30.000吨</view>
|
|
<view class="text-gray text-sm">查看收货详情</view>
|
|
</view>
|
|
<view style="flex:1;padding:0rpx 32rpx;margin-left:12rpx" bindtap="orderList">
|
|
<view class="flex flex-center" style="justify-content: flex-start">
|
|
<view style="height:24rpx;width:6rpx;background:#FF8413"></view>
|
|
<view class="text-black text-sm" style="margin-left: 12rpx">收货金额</view>
|
|
</view>
|
|
<view class="text-xxl text-bold text-price" style="margin:12rpx 0rpx">10998.23</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view> -->
|
|
|
|
<!-- <view style="padding: 0rpx 28rpx;margin-top:24rpx">
|
|
<view class="bg-white" style="border-radius: 20rpx;padding: 24rpx 0rpx">
|
|
<view class="text-black text-sg text-bold" style="padding: 0rpx 28rpx 12rpx 28rpx">库存管理</view>
|
|
<van-grid column-num="4" border="{{fasle}}">
|
|
<van-grid-item wx:for="{{ tabList2 }}" wx:key="index" data-status="{{item.status}}" bind:click="outList" text="{{item.name}}">
|
|
<van-icon slot="icon" name="{{ item.icon }}" size="68rpx" info="{{item.badge}}" />
|
|
</van-grid-item>
|
|
</van-grid>
|
|
</view>
|
|
</view> -->
|
|
|
|
<view style="padding: 0rpx 28rpx;margin-top:24rpx" wx:if="{{!totalInfo.creditLine}}">
|
|
<image style="width:694rpx;height:200rpx" src="/assets/image/icon-banner.png" bindtap="toAuths"></image>
|
|
</view>
|
|
<view style="padding: 0rpx 28rpx;margin-top:24rpx" wx:else>
|
|
<view class="bg-white" style="border-radius: 20rpx;padding: 24rpx 0rpx 8rpx 0rpx">
|
|
<view class="flex flex-justify" style="padding: 0rpx 28rpx 24rpx 28rpx">
|
|
<view class="text-black text-sg text-bold">千鸟代付额度</view>
|
|
</view>
|
|
<view class="flex" style="padding:0rpx 0rpx 24rpx 0rpx" bindtap="agentList">
|
|
<view style="flex:1;padding:0rpx 32rpx;margin-right:12rpx">
|
|
<view class="flex flex-center" style="justify-content: flex-start">
|
|
<view style="height:24rpx;width:6rpx;background:#007AFF"></view>
|
|
<view class="text-black text-sm" style="margin-left: 12rpx">剩余代付额度</view>
|
|
</view>
|
|
<view class="text-xxl text-bold text-price" style="margin:12rpx 0rpx">{{totalInfo.availableCreditLine || 0}}</view>
|
|
<view class="text-gray text-sm">查看代付详情</view>
|
|
</view>
|
|
<view style="flex:1;padding:0rpx 32rpx;margin-left:12rpx">
|
|
<view class="flex flex-center" style="justify-content: flex-start">
|
|
<view style="height:24rpx;width:6rpx;background:#FF8413"></view>
|
|
<view class="text-black text-sm" style="margin-left: 12rpx">待付款金额</view>
|
|
</view>
|
|
<view class="text-xxl text-bold text-price" style="margin:12rpx 0rpx">{{totalInfo.usedCreditLine || 0}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view style="height:24rpx;"></view>
|
|
|
|
</scroll-view>
|
|
|
|
<!-- <van-action-sheet show="{{ show }}" actions="{{ actions }}" bind:close="onClose" bind:select="onSelect" z-index="22"/> -->
|
|
<van-calendar show="{{ show }}" type="range" row-height="50" color="#008AFF" z-index="22" min-date="{{ minDate }}" max-date="{{ maxDate }}" default-date="{{ vdate }}" top="{{ 1500 }}" show-subtitle="{{ false }}" show-confirm="{{ false }}" bind:close="onClose" bind:confirm="onSelect"/>
|