|
|
|
@ -3,14 +3,14 @@ |
|
|
|
<view slot="content">出货结算</view> |
|
|
|
</cu-custom> |
|
|
|
|
|
|
|
<view wx:if="{{form}}"> |
|
|
|
<view wx:if="{{orderInfo}}"> |
|
|
|
<van-cell center is-link bind:click="showCategory"> |
|
|
|
<view slot="title" class="flex flex-justify"> |
|
|
|
<view class="flex flex-center text-black"> |
|
|
|
<view class="text-red text-xxl" style="line-height: 10px; padding-top: 10px">*</view> |
|
|
|
<text>废纸品类</text> |
|
|
|
</view> |
|
|
|
<view class="text-gray">{{form.productName || '请选择废纸品类'}}</view> |
|
|
|
<view class="text-gray">{{form.categoryName || '请选择废纸品类'}}</view> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
<van-cell> |
|
|
|
@ -50,8 +50,8 @@ |
|
|
|
<van-cell> |
|
|
|
<view slot="title" class="flex flex-justify"> |
|
|
|
<view class="text-black">其他费用(元)</view> |
|
|
|
<input id="otherPrice" type="digit" placeholder-style="color:#aaa" style="text-align: right" maxlength="8" |
|
|
|
placeholder="请输入其他费用" value="{{form.otherPrice || ''}}" bindinput="bindInput" /> |
|
|
|
<input id="otherFee" type="digit" placeholder-style="color:#aaa" style="text-align: right" maxlength="8" |
|
|
|
placeholder="请输入其他费用" value="{{form.otherFee || ''}}" bindinput="bindInput" /> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
<van-cell> |
|
|
|
@ -70,91 +70,93 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="margin-top"></view> |
|
|
|
<van-collapse value="{{ activeNames }}" bind:change="onChange" wx:if="{{form}}"> |
|
|
|
<van-collapse value="{{ activeNames }}" bind:change="onChange" wx:if="{{orderInfo}}"> |
|
|
|
<van-collapse-item title="出货信息" content-class="collapse-item" name="2"> |
|
|
|
<van-cell center> |
|
|
|
<view slot="title" class="flex flex-justify"> |
|
|
|
<view class="text-black">收货方名称</view> |
|
|
|
<view class="text-gray">{{form.factoryName || ''}}</view> |
|
|
|
<view class="text-gray">{{orderInfo.factoryName || ''}}</view> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
<van-cell center> |
|
|
|
<view slot="title" class="flex flex-justify"> |
|
|
|
<view class="text-black">废纸品类</view> |
|
|
|
<view class="text-gray">{{form.productName || ''}}</view> |
|
|
|
<view class="text-gray">{{orderInfo.categoryName || ''}}</view> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
<van-cell wx:if="{{form.packageNumber}}"> |
|
|
|
<van-cell wx:if="{{orderInfo.packageNumber}}"> |
|
|
|
<view slot="title" class="flex flex-justify"> |
|
|
|
<view class="text-black">纸品包数</view> |
|
|
|
<view class="text-gray">{{form.packageNumber || ''}}</view> |
|
|
|
<view class="text-gray">{{orderInfo.packageNumber || ''}}</view> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
<van-cell center> |
|
|
|
<view class="flex flex-justify text-black"> |
|
|
|
<view class="text-black">车牌号码</view> |
|
|
|
<view class="text-gray">{{form.plateNumber || ''}}</view> |
|
|
|
<view class="text-gray">{{orderInfo.plateNumber || ''}}</view> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
<van-cell wx:if="{{form.driverName}}"> |
|
|
|
<van-cell wx:if="{{orderInfo.driverName}}"> |
|
|
|
<view slot="title" class="flex flex-justify"> |
|
|
|
<view class="text-black">司机姓名</view> |
|
|
|
<view class="text-gray">{{ form.driverName || ''}}</view> |
|
|
|
<view class="text-gray">{{ orderInfo.driverName || ''}}</view> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
<van-field label="备注" type="textarea" input-align="right" readonly autosize border="{{ false }}" /> |
|
|
|
</van-collapse-item> |
|
|
|
<view class="margin-top"></view> |
|
|
|
<van-collapse-item title="过磅信息" content-class="collapse-item" name="1"> |
|
|
|
<van-cell wx:if="{{form.emptyWeighingPicture && form.emptyWeighingPicture.length}}"> |
|
|
|
<van-cell wx:if="{{orderInfo.emptyWeighingPicture && orderInfo.emptyWeighingPicture.length}}"> |
|
|
|
<view slot="title" class="flex flex-justify"> |
|
|
|
<view class="text-black">第一次过磅(皮重)</view> |
|
|
|
<view class="text-gray">{{form.factoryCustomerName}}</view> |
|
|
|
<view class="text-gray">{{orderInfo.factoryCustomerName}}</view> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
<view class="bg-white flex flex-justify" style="padding:24rpx 32rpx" wx:if="{{form.emptyWeighingPicture && form.emptyWeighingPicture.length}}"> |
|
|
|
<van-image wx:for="{{form.emptyWeighingPicture}}" wx:key="index" use-loading-slot width="320rpx" height="240rpx" |
|
|
|
<view class="bg-white flex flex-justify" style="padding:24rpx 32rpx" wx:if="{{orderInfo.emptyWeighingPicture && orderInfo.emptyWeighingPicture.length}}"> |
|
|
|
<van-image wx:for="{{orderInfo.emptyWeighingPicture}}" wx:key="index" use-loading-slot width="320rpx" height="240rpx" |
|
|
|
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> |
|
|
|
<van-cell wx:if="{{form.totalWeighingPicture && form.totalWeighingPicture.length}}"> |
|
|
|
<van-cell wx:if="{{orderInfo.totalWeighingPicture && orderInfo.totalWeighingPicture.length}}"> |
|
|
|
<view slot="title" class="flex flex-justify"> |
|
|
|
<view class="text-black">第二次过磅(毛重)</view> |
|
|
|
<view class="text-gray">重量(公斤):34250</view> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
<view class="bg-white flex flex-justify" style="padding:24rpx 32rpx" wx:if="{{form.totalWeighingPicture && form.totalWeighingPicture.length}}"> |
|
|
|
<van-image wx:for="{{form.totalWeighingPicture}}" wx:key="index" use-loading-slot width="320rpx" height="240rpx" |
|
|
|
<view class="bg-white flex flex-justify" style="padding:24rpx 32rpx" wx:if="{{orderInfo.totalWeighingPicture && orderInfo.totalWeighingPicture.length}}"> |
|
|
|
<van-image wx:for="{{orderInfo.totalWeighingPicture}}" wx:key="index" use-loading-slot width="320rpx" height="240rpx" |
|
|
|
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> |
|
|
|
<van-cell wx:if="{{form.totalWeighingPicture && form.totalWeighingPicture.length}}"> |
|
|
|
<van-cell wx:if="{{orderInfo.totalWeighingPicture && orderInfo.totalWeighingPicture.length}}"> |
|
|
|
<view slot="title" class="flex flex-justify"> |
|
|
|
<view class="text-black">净重(公斤)</view> |
|
|
|
<view class="text-gray">{{form.createTime}}</view> |
|
|
|
<view class="text-gray">{{orderInfo.createTime}}</view> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
<van-cell wx:if="{{form.totalWeighingPicture && form.totalWeighingPicture.length}}"> |
|
|
|
<van-cell wx:if="{{orderInfo.totalWeighingPicture && orderInfo.totalWeighingPicture.length}}"> |
|
|
|
<view slot="title" class="flex flex-justify"> |
|
|
|
<view class="text-black">过磅人</view> |
|
|
|
<view class="text-gray">{{form.createTime}}</view> |
|
|
|
<view class="text-gray">{{orderInfo.createTime}}</view> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
</van-collapse-item> |
|
|
|
</van-collapse> |
|
|
|
|
|
|
|
<view style="height:{{136 + safeBottom}}rpx;" wx:if="{{form }}"></view> |
|
|
|
<view class="cu-bar bg-white foot" style="height:{{120 + safeBottom}}rpx;padding:0rpx 32rpx {{safeBottom}}rpx 32rpx;" wx:if="{{form && form.status == 2}}"> |
|
|
|
<van-button type="info" custom-style="height:88rpx;width:686" bind:click="settlementForm" wx:if="{{form.status == 2}}">确认收款</van-button> |
|
|
|
<view style="height:{{136 + safeBottom}}rpx;" wx:if="{{orderInfo }}"></view> |
|
|
|
<view class="cu-bar bg-white foot" style="height:{{120 + safeBottom}}rpx;padding:0rpx 32rpx {{safeBottom}}rpx 32rpx;" wx:if="{{orderInfo && orderInfo.status == 2}}"> |
|
|
|
<van-button type="danger" custom-style="height:88rpx;width:254rpx" bind:click="closeForm">关闭订单</van-button> |
|
|
|
<van-button type="info" custom-style="margin-left:32rpx;height:88rpx;width:400rpx" bind:click="settlementForm">确认收款</van-button> |
|
|
|
</view> |
|
|
|
|
|
|
|
<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"/> |