纸通宝SAAS仓库
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.
 

59 lines
2.8 KiB

<!--pages/storage/index/index.wxml-->
<wxs module="formate" src="../../formate.wxs"></wxs>
<cu-custom bgColor="bg-white" isBack="{{true}}">
<view slot="content">磅单处理</view>
</cu-custom>
<van-cell wx:if="{{form.firstWeight}}">
<view slot="title" class="flex flex-justify">
<view class="text-black">第一次过磅(皮重)</view>
<view class="text-gray">重量(公斤):{{formate.minWeight(form.firstWeight, form.secondWeight)}}</view>
</view>
</van-cell>
<view class="bg-white flex flex-justify" style="padding:24rpx 32rpx" wx:if="{{form.emptyWeighingPicture.length}}">
<van-image wx:for="{{form.emptyWeighingPicture}}" wx:key="index" use-loading-slot width="320rpx" height="240rpx"
data-url="{{item}}" fit="cover" data-type="0" src="{{item}}" bind:click="viewImage">
<view class="image-load" slot="loading">
<van-loading type="spinner" size="32" />
</view>
</van-image>
</view>
<van-cell wx:if="{{form.secondWeight}}">
<view slot="title" class="flex flex-justify">
<view class="text-black">第二次过磅(毛重)</view>
<view class="text-gray">重量(公斤):{{formate.maxWeight(form.firstWeight, form.secondWeight)}}</view>
</view>
</van-cell>
<view class="bg-white flex flex-justify" style="padding:24rpx 32rpx" wx:if="{{form.totalWeighingPicture.length}}">
<van-image wx:for="{{form.totalWeighingPicture}}" wx:key="index" use-loading-slot width="320rpx" height="240rpx"
data-url="{{item}}" fit="cover" data-type="1" src="{{item}}" bind:click="viewImage">
<view class="image-load" slot="loading">
<van-loading type="spinner" size="32" />
</view>
</van-image>
</view>
<view class="bg-white flex justify-end" style="padding-right:32rpx" wx:if="{{form.secondWeight}}">
<van-button plain type="info" size="small" bind:click="repeatForm">重新过磅</van-button>
</view>
<van-cell wx:if="{{form.netWeight}}">
<view slot="title" class="flex flex-justify">
<view class="text-black">净重(公斤)</view>
<view class="text-gray">{{form.netWeight}}</view>
</view>
</van-cell>
<van-cell wx:if="{{form.operaterId}}">
<view slot="title" class="flex flex-justify">
<view class="text-black">过磅人</view>
<view class="text-gray">{{form.operaterName}}</view>
</view>
</van-cell>
<view style="height:{{136 + safeBottom}}rpx;" wx:if="{{ form }}"></view>
<view class="cu-bar bg-white foot justify-end" style="height:{{120 + safeBottom}}rpx;padding:0rpx 32rpx {{safeBottom}}rpx 32rpx;" wx:if="{{form}}">
<van-button type="danger" custom-style="height:88rpx;width:254rpx" bind:click="deleteForm">删除</van-button>
<van-button type="info" custom-style="margin-left:32rpx;height:88rpx;width:400rpx" bind:click="submitForm" wx:if="{{form.status == 1}}">关联出货单</van-button>
</view>
<van-dialog id="van-dialog" />
<notification id="qn-notification" />