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

184 lines
8.4 KiB

<!--pages/process/order-check/index.wxml-->
<wxs module="formate" src="../../formate.wxs"></wxs>
<cu-custom bgColor="bg-white" isBack="{{true}}">
<view slot="content">{{title}}</view>
</cu-custom>
<view wx:if="{{form}}">
<view class="flex flex-center info_status" style="justify-content: flex-start;" wx:if="{{form.status == 2}}">
<image style="height:42rpx;width:42rpx" src="/assets/image/icon_uncheck.png"></image>
<view class="text-white text-sg" style="margin-left:12rpx">待过皮重</view>
</view>
<view class="flex flex-justify info_status" wx:elif="{{form.status == 3}}">
<view class="flex">
<image style="height:42rpx;width:42rpx" src="/assets/image/icon_uncheck.png"></image>
<view class="text-white text-sg" style="margin-left:12rpx">待过磅审核</view>
</view>
<view class="text-white" style="padding: 12rpx 0rpx 12rpx 12rpx" bindtap="priceOrder">重新定价</view>
</view>
<view class="flex flex-center info_status" style="justify-content: flex-start;" wx:elif="{{form.status == 4}}">
<image style="height:42rpx;width:42rpx" src="/assets/image/icon_payfor.png"></image>
<view class="text-white text-sg" style="margin-left:12rpx">待付款</view>
</view>
<view class="flex flex-center info_status" style="justify-content: flex-start;" wx:elif="{{form.status == 41}}">
<image style="height:42rpx;width:42rpx" src="/assets/image/icon_payfor.png"></image>
<view class="text-white text-sg" style="margin-left:12rpx">代付审核中</view>
</view>
<view class="flex flex-center info_status" style="justify-content: flex-start;" wx:elif="{{form.status == 42}}">
<image style="height:42rpx;width:42rpx" src="/assets/image/icon_payfor.png"></image>
<view class="text-white text-sg" style="margin-left:12rpx">待结算</view>
</view>
<view class="flex flex-center info_status" style="justify-content: flex-start;" wx:elif="{{form.status == 5}}">
<image style="height:42rpx;width:42rpx" src="/assets/image/icon_payfor.png"></image>
<view class="text-white text-sg" style="margin-left:12rpx">已完成</view>
</view>
<view class="flex flex-center info_status" style="justify-content: flex-start;" wx:elif="{{form.status == 6}}">
<image style="height:42rpx;width:42rpx" src="/assets/image/icon_close.png"></image>
<view class="text-white text-sg" style="margin-left:12rpx">已取消</view>
</view>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">客户姓名</view>
<view class="text-gray">{{form.factoryCustomerName}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">车牌号码</view>
<view class="text-gray">{{form.plateNumber || '- -'}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">废纸品类</view>
<view class="text-gray">{{form.productName}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">毛重(公斤)</view>
<view class="text-gray">{{form.totalWeight}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">皮重(公斤)</view>
<view class="text-gray">{{form.emptyWeight || '- -'}}</view>
</view>
</van-cell>
<van-cell>
<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.deductWeight}}">
<view slot="title" class="flex flex-justify">
<view class="text-black">扣重(公斤)</view>
<view class="text-gray">-{{form.deductWeight}}</view>
</view>
</van-cell>
<van-cell wx:if="{{form.deductPercent}}">
<view slot="title" class="flex flex-justify">
<view class="text-black">扣点(%)</view>
<view class="text-gray">{{form.deductPercent}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">定价员</view>
<view class="text-gray">{{form.inspectionPerson || ''}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">定价时间</view>
<view class="text-gray">{{form.inspectionTime || ''}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="text-black">
<view>过毛重照片</view>
<view class="flex" style="margin-top:18rpx">
<van-image wx:for="{{form.totalWeighingPicture}}" wx:key="index" use-loading-slot width="330rpx" height="240rpx"
custom-class="page-icon" data-url="{{item.url}}" fit="cover" data-type="0" src="{{item.url}}" bind:click="viewImage">
<view class="image-load" slot="loading">
<van-loading type="spinner" size="32" />
</view>
</van-image>
</view>
</view>
</van-cell>
<van-cell wx:if="{{form.emptyWeighingPicture && form.emptyWeighingPicture.length}}">
<view slot="title" class="text-black">
<view>过皮重照片</view>
<view class="flex" style="margin-top:18rpx">
<van-image wx:for="{{form.emptyWeighingPicture}}" wx:key="index" use-loading-slot width="330rpx" height="240rpx"
custom-class="page-icon" data-url="{{item.url}}" fit="cover" data-type="1" src="{{item.url}}" bind:click="viewImage">
<view class="image-load" slot="loading">
<van-loading type="spinner" size="32" />
</view>
</van-image>
</view>
</view>
</van-cell>
<van-cell wx:if="{{form.inspectionRemark}}">
<view slot="title" class="text-black">
<view>备注</view>
<view class="flex" style="margin-top:18rpx;border: 2rpx solid #f3f3f3;padding: 18rpx;">{{form.inspectionRemark}}</view>
</view>
</van-cell>
<van-index-anchor index="订单信息" />
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">单价(元/公斤)</view>
<view class="text-gray">{{formate.formateAmount(form.settleUnitPrice)}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">结算重量(公斤)</view>
<view class="text-gray">{{form.settleWeight || '- -'}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">结算金额(元)</view>
<view class="text-gray">{{formate.formateAmount(form.settlePrice, 2) || '- -'}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">下单时间</view>
<view class="text-gray">{{form.createTime || ''}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">订单编号</view>
<view class="text-gray">{{form.id}}</view>
</view>
</van-cell>
</view>
<submit-layout wx:if="{{form && form.status == 3 && !agent }}">
<van-button plain type="default" custom-style="height:88rpx;width:254rpx" bind:click="repeatOrder">重新过皮重</van-button>
<van-button type="info" custom-style="margin-left:32rpx;height:88rpx;width:400rpx" bind:click="checkOrder">通过审核</van-button>
</submit-layout>
<submit-layout wx:elif="{{form && (form.status == 4 || form.status == 42) && !agent && admin }}">
<van-button type="info" custom-style="height:88rpx;width:686rpx" bind:click="paymentOrder" wx:if="{{form.status == 4}}">进行支付</van-button>
<van-button type="info" custom-style="height:88rpx;width:686rpx" bind:click="paymentOrder" wx:if="{{form.status == 42}}">客户结算</van-button>
</submit-layout>
<view style="border-radius: 50rpx;position:fixed;bottom:160rpx;right:50rpx" wx:if="{{form && (form.status == 3 || form.status == 4 || form.status == 42)}}">
<van-button round type="info" bind:click="printOrder" custom-style="width: 100rpx;height: 100rpx;">
<van-icon name="printer" size="30px"/>
</van-button>
</view>
<vehicle-keyboard id="wux-keyboard" safeBottom="{{safeBottom}}" triplet="{{1}}" bind:change="onPlatenumber"></vehicle-keyboard>
<van-popup position="bottom" show="{{ visible }}" bind:close="onHide" z-index="29">
<van-picker show-toolbar title="选择纸品" columns="{{ columns }}" bind:cancel="onHide" bind:confirm="onConfirm" />
</van-popup>
<van-dialog id="van-dialog" />
<notification id="qn-notification"/>