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.
39 lines
2.2 KiB
39 lines
2.2 KiB
<!--pages/process/index.wxml-->
|
|
<wxs module="formate" src="../../formate.wxs"></wxs>
|
|
<cu-custom bgColor="bg-blue">
|
|
<view slot="right" class="text-white text-xl" style="padding-left:32rpx">{{ userInfo ? (userInfo.factoryName || '未注册工厂') : ''}}</view>
|
|
</cu-custom>
|
|
|
|
<scroll-view scroll-y style="height: {{height}}rpx;">
|
|
|
|
<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="outList">
|
|
<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="{{ tabList2 }}" wx:key="index" data-status="{{item.status}}" bind:click="outList" text="{{item.name}}">
|
|
<van-icon slot="icon" name="{{ item.icon }}" size="76rpx" info="{{item.badge}}" />
|
|
</van-grid-item>
|
|
</van-grid>
|
|
</view>
|
|
</view>
|
|
<view style="height:24rpx;"></view>
|
|
</scroll-view>
|
|
|
|
<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"/>
|
|
|
|
<van-popup position="top" show="{{ visible }}" bind:close="onHide" z-index="29">
|
|
<view class="bg-white" style="margin-top:{{customBar}}px;width: 100%;">
|
|
<scroll-view scroll-y style="height:{{ 96 * (factoryList.length >= 5 ? 5 : factoryList.length)}}rpx;">
|
|
<van-cell clickable wx:for="{{factoryList}}" custom-class="fcell" wx:key="index" data-index="{{index}}" bind:click="changeFactory">
|
|
<view class="text-lg {{ item.id == factoryId ? 'text-blue' : 'text-black'}}" slot="title">{{item.name}}</view>
|
|
<van-icon slot="right-icon" name="success" size="1.3em" color="#008AFF" wx:if="{{item.id == factoryId}}"/>
|
|
</van-cell>
|
|
</scroll-view>
|
|
</view>
|
|
</van-popup>
|