14 changed files with 458 additions and 141 deletions
Unified View
Diff Options
-
1components/icon/index.wxss
-
30pages/formate.wxs
-
1pages/process/index/index.js
-
42pages/storage/order-create/index.js
-
39pages/storage/order-create/index.wxml
-
43pages/storage/order-info/index.js
-
2pages/storage/order-info/index.json
-
287pages/storage/order-info/index.wxml
-
6pages/storage/order-list/index.js
-
44pages/storage/order-settlement/index.js
-
37pages/storage/order-settlement/index.wxml
-
26pages/storage/pound-info/index.js
-
32pages/storage/pound-info/index.wxml
-
9pages/storage/pound-list/index.wxml
@ -1,93 +1,242 @@ |
|||||
<!--pages/storage/index/index.wxml--> |
<!--pages/storage/index/index.wxml--> |
||||
|
<wxs module="formate" src="../../formate.wxs"></wxs> |
||||
<cu-custom bgColor="bg-white" isBack="{{true}}"> |
<cu-custom bgColor="bg-white" isBack="{{true}}"> |
||||
<view slot="content">出货详情</view> |
<view slot="content">出货详情</view> |
||||
</cu-custom> |
</cu-custom> |
||||
|
|
||||
<view wx:if="{{form}}"> |
|
||||
<van-index-anchor index="出货信息" /> |
|
||||
<van-cell center> |
|
||||
<view slot="title" class="flex flex-justify"> |
|
||||
<view class="text-black">收货方名称</view> |
|
||||
<view class="text-gray">{{form.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> |
|
||||
</van-cell> |
|
||||
<van-cell wx:if="{{form.packageNumber}}"> |
|
||||
<view slot="title" class="flex flex-justify"> |
|
||||
<view class="text-black">纸品包数</view> |
|
||||
<view class="text-gray">{{form.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> |
|
||||
</van-cell> |
|
||||
<van-cell wx:if="{{form.driverName}}"> |
|
||||
<view slot="title" class="flex flex-justify"> |
|
||||
<view class="text-black">司机姓名</view> |
|
||||
<view class="text-gray">{{ form.driverName || ''}}</view> |
|
||||
</view> |
|
||||
</van-cell> |
|
||||
<van-field label="备注" type="textarea" input-align="right" readonly autosize border="{{ false }}" /> |
|
||||
</view> |
|
||||
<view class="margin-top"></view> |
|
||||
<van-collapse value="{{ activeNames }}" bind:change="onChange" wx:if="{{form}}"> |
|
||||
<van-collapse-item title="过磅信息" content-class="collapse-item" name="1"> |
|
||||
<van-cell wx:if="{{form.emptyWeighingPicture && form.emptyWeighingPicture.length}}"> |
|
||||
|
<van-notice-bar color="#1989fa" background="#008AFF" left-icon="info-o" text="{{ statusOrder(orderInfo.status) }}" wx:if="{{orderInfo}}"/> |
||||
|
<view wx:if="{{orderInfo.status == 0 || orderInfo.status == 1 || orderInfo.status == 3}}"> |
||||
|
<view wx:if="{{orderInfo}}"> |
||||
|
<van-index-anchor index="出货信息" /> |
||||
|
<van-cell center> |
||||
<view slot="title" class="flex flex-justify"> |
<view slot="title" class="flex flex-justify"> |
||||
<view class="text-black">第一次过磅(皮重)</view> |
|
||||
<view class="text-gray">{{form.factoryCustomerName}}</view> |
|
||||
|
<view class="text-black">收货方名称</view> |
||||
|
<view class="text-gray">{{orderInfo.consigneeName || ''}}</view> |
||||
</view> |
</view> |
||||
</van-cell> |
</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" |
|
||||
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 center> |
||||
|
<view slot="title" class="flex flex-justify"> |
||||
|
<view class="text-black">废纸品类</view> |
||||
|
<view class="text-gray">{{orderInfo.productName || ''}}</view> |
||||
|
</view> |
||||
|
</van-cell> |
||||
|
<van-cell wx:if="{{orderInfo.packageNumber}}"> |
||||
|
<view slot="title" class="flex flex-justify"> |
||||
|
<view class="text-black">纸品包数</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">{{orderInfo.plateNumber || ''}}</view> |
||||
|
</view> |
||||
|
</van-cell> |
||||
|
<van-cell wx:if="{{orderInfo.driverName}}"> |
||||
<view slot="title" class="flex flex-justify"> |
<view slot="title" class="flex flex-justify"> |
||||
<view class="text-black">第二次过磅(毛重)</view> |
|
||||
<view class="text-gray">重量(公斤):34250</view> |
|
||||
|
<view class="text-black">司机姓名</view> |
||||
|
<view class="text-gray">{{ orderInfo.driverName || ''}}</view> |
||||
</view> |
</view> |
||||
</van-cell> |
</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" |
|
||||
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" /> |
|
||||
|
<van-field label="备注" type="textarea" input-align="right" readonly autosize border="{{ false }}" /> |
||||
|
</view> |
||||
|
<view class="margin-top"></view> |
||||
|
<van-collapse value="{{ activeNames }}" bind:change="onChange" wx:if="{{poundInfo}}"> |
||||
|
<van-collapse-item title="过磅信息" content-class="collapse-item" name="1"> |
||||
|
<van-cell wx:if="{{poundInfo.firstWeight}}"> |
||||
|
<view slot="title" class="flex flex-justify"> |
||||
|
<view class="text-black">第一次过磅(皮重)</view> |
||||
|
<view class="text-gray">{{formate.minWeight(poundInfo.firstWeight, poundInfo.secondWeight)}}</view> |
||||
|
</view> |
||||
|
</van-cell> |
||||
|
<view class="bg-white flex flex-justify" style="padding:24rpx 32rpx" wx:if="{{poundInfo.emptyWeighingPicture.length}}"> |
||||
|
<van-image wx:for="{{poundInfo.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="{{poundInfo.secondWeight}}"> |
||||
|
<view slot="title" class="flex flex-justify"> |
||||
|
<view class="text-black">第二次过磅(毛重)</view> |
||||
|
<view class="text-gray">重量(公斤):{{formate.maxWeight(poundInfo.firstWeight, poundInfo.secondWeight)}}</view> |
||||
|
</view> |
||||
|
</van-cell> |
||||
|
<view class="bg-white flex flex-justify" style="padding:24rpx 32rpx" wx:if="{{poundInfo.totalWeighingPicture.length}}"> |
||||
|
<van-image wx:for="{{poundInfo.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> |
||||
|
<van-cell wx:if="{{poundInfo.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="{{poundInfo.operaterId}}"> |
||||
|
<view slot="title" class="flex flex-justify"> |
||||
|
<view class="text-black">过磅人</view> |
||||
|
<view class="text-gray">{{poundInfo.operaterName}}</view> |
||||
</view> |
</view> |
||||
</van-image> |
|
||||
|
</van-cell> |
||||
|
</van-collapse-item> |
||||
|
</van-collapse> |
||||
|
</view> |
||||
|
<view wx:elif="{{orderInfo.status == 2}}"> |
||||
|
<view wx:if="{{form}}"> |
||||
|
<van-index-anchor index="结算信息" /> |
||||
|
<van-cell center> |
||||
|
<view slot="title" class="flex flex-justify"> |
||||
|
<view class="text-black">纸品品类</view> |
||||
|
<view class="text-gray">{{orderInfo.categoryName || ''}}</view> |
||||
|
</view> |
||||
|
</van-cell> |
||||
|
<van-cell center> |
||||
|
<view slot="title" class="flex flex-justify"> |
||||
|
<view class="text-black">结算单价(元/吨)</view> |
||||
|
<view class="text-gray">{{orderInfo.settleUnitPrice || ''}}</view> |
||||
|
</view> |
||||
|
</van-cell> |
||||
|
<van-cell wx:if="{{orderInfo.packageNumber}}"> |
||||
|
<view slot="title" class="flex flex-justify"> |
||||
|
<view class="text-black">净重(吨)</view> |
||||
|
<view class="text-gray">{{formate.formateWeight(orderInfo.netWeight)}}</view> |
||||
|
</view> |
||||
|
</van-cell> |
||||
|
<van-cell center> |
||||
|
<view class="flex flex-justify text-black"> |
||||
|
<view class="text-black">结算重量(吨)</view> |
||||
|
<view class="text-gray">{{formate.formateWeight(orderInfo.settleWeight)}}</view> |
||||
|
</view> |
||||
|
</van-cell> |
||||
|
<van-cell wx:if="{{orderInfo.deductPercent}}"> |
||||
|
<view slot="title" class="flex flex-justify"> |
||||
|
<view class="text-black">扣点(%)</view> |
||||
|
<view class="text-gray">{{ orderInfo.deductPercent || ''}}</view> |
||||
|
</view> |
||||
|
</van-cell> |
||||
|
<van-cell wx:if="{{orderInfo.otherFee}}"> |
||||
|
<view slot="title" class="flex flex-justify"> |
||||
|
<view class="text-black">其他费用(元)</view> |
||||
|
<view class="text-gray">{{ orderInfo.otherFee}}</view> |
||||
|
</view> |
||||
|
</van-cell> |
||||
|
<van-cell> |
||||
|
<view slot="title" class="flex flex-justify"> |
||||
|
<view class="text-black">结算金额(元)</view> |
||||
|
<view class="text-gray">{{ orderInfo.settlePrice}}</view> |
||||
|
</view> |
||||
|
</van-cell> |
||||
|
<view class="bg-white" style="padding: 20rpx 32rpx" wx:if="{{fileList.length}}"> |
||||
|
<view class="flex flex-justify" style="padding-bottom: 20rpx"> |
||||
|
<text class="text-black">纸厂磅单</text> |
||||
|
</view> |
||||
|
<van-uploader file-list="{{ fileList }}" deletable="{{false}}" show-upload="{{false}}" /> |
||||
</view> |
</view> |
||||
<van-cell wx:if="{{form.totalWeighingPicture && form.totalWeighingPicture.length}}"> |
|
||||
|
</view> |
||||
|
<view class="margin-top"></view> |
||||
|
<van-collapse value="{{ activeNames }}" bind:change="onChange" wx:if="{{poundInfo}}"> |
||||
|
<van-collapse-item title="出货信息" content-class="collapse-item" name="2"> |
||||
|
<van-cell center> |
||||
<view slot="title" class="flex flex-justify"> |
<view slot="title" class="flex flex-justify"> |
||||
<view class="text-black">净重(公斤)</view> |
|
||||
<view class="text-gray">{{form.createTime}}</view> |
|
||||
|
<view class="text-black">收货方名称</view> |
||||
|
<view class="text-gray">{{orderInfo.consigneeName || ''}}</view> |
||||
</view> |
</view> |
||||
</van-cell> |
</van-cell> |
||||
<van-cell wx:if="{{form.totalWeighingPicture && form.totalWeighingPicture.length}}"> |
|
||||
|
<van-cell center> |
||||
<view slot="title" class="flex flex-justify"> |
<view slot="title" class="flex flex-justify"> |
||||
<view class="text-black">过磅人</view> |
|
||||
<view class="text-gray">{{form.createTime}}</view> |
|
||||
|
<view class="text-black">废纸品类</view> |
||||
|
<view class="text-gray">{{orderInfo.productName || ''}}</view> |
||||
</view> |
</view> |
||||
</van-cell> |
</van-cell> |
||||
|
<van-cell wx:if="{{orderInfo.packageNumber}}"> |
||||
|
<view slot="title" class="flex flex-justify"> |
||||
|
<view class="text-black">纸品包数</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">{{orderInfo.plateNumber || ''}}</view> |
||||
|
</view> |
||||
|
</van-cell> |
||||
|
<van-cell wx:if="{{orderInfo.driverName}}"> |
||||
|
<view slot="title" class="flex flex-justify"> |
||||
|
<view class="text-black">司机姓名</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> |
</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 == 1}}"> |
|
||||
<van-button id="refuse" type="danger" custom-style="height:88rpx;width:254rpx" bind:click="submitForm" wx:if="{{form.status == 1}}">审核不通过</van-button> |
|
||||
<van-button id="agree" type="info" custom-style="margin-left:32rpx;height:88rpx;width:400rpx" bind:click="submitForm" wx:if="{{form.status == 1}}">审核通过</van-button> |
|
||||
|
<van-collapse-item title="过磅信息" content-class="collapse-item" name="1"> |
||||
|
<van-cell wx:if="{{poundInfo.firstWeight}}"> |
||||
|
<view slot="title" class="flex flex-justify"> |
||||
|
<view class="text-black">第一次过磅(皮重)</view> |
||||
|
<view class="text-gray">{{formate.minWeight(poundInfo.firstWeight, poundInfo.secondWeight)}}</view> |
||||
|
</view> |
||||
|
</van-cell> |
||||
|
<view class="bg-white flex flex-justify" style="padding:24rpx 32rpx" wx:if="{{poundInfo.emptyWeighingPicture.length}}"> |
||||
|
<van-image wx:for="{{poundInfo.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="{{poundInfo.secondWeight}}"> |
||||
|
<view slot="title" class="flex flex-justify"> |
||||
|
<view class="text-black">第二次过磅(毛重)</view> |
||||
|
<view class="text-gray">重量(公斤):{{formate.maxWeight(poundInfo.firstWeight, poundInfo.secondWeight)}}</view> |
||||
|
</view> |
||||
|
</van-cell> |
||||
|
<view class="bg-white flex flex-justify" style="padding:24rpx 32rpx" wx:if="{{poundInfo.totalWeighingPicture.length}}"> |
||||
|
<van-image wx:for="{{poundInfo.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> |
||||
|
<van-cell wx:if="{{poundInfo.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="{{poundInfo.operaterId}}"> |
||||
|
<view slot="title" class="flex flex-justify"> |
||||
|
<view class="text-black">过磅人</view> |
||||
|
<view class="text-gray">{{poundInfo.operaterName}}</view> |
||||
|
</view> |
||||
|
</van-cell> |
||||
|
</van-collapse-item> |
||||
|
</van-collapse> |
||||
|
</view> |
||||
|
<view style="height:{{136 + safeBottom}}rpx;" wx:if="{{orderInfo.status == 0 || orderInfo.status == 1}}"></view> |
||||
|
<view class="cu-bar bg-white foot" style="height:{{120 + safeBottom}}rpx;padding:0rpx 32rpx {{safeBottom}}rpx 32rpx;" wx:if="{{orderInfo.status == 0 || orderInfo.status == 1}}"> |
||||
|
<van-button id="refuse" type="danger" custom-style="height:88rpx;width:254rpx" bind:click="submitForm" wx:if="{{orderInfo.status == 0}}">审核不通过</van-button> |
||||
|
<van-button id="agree" type="info" custom-style="margin-left:32rpx;height:88rpx;width:400rpx" bind:click="submitForm" wx:if="{{orderInfo.status == 0}}">审核通过</van-button> |
||||
|
<van-button type="info" custom-style="height:88rpx;width:686rpx" bind:click="settleForm" wx:if="{{orderInfo.status == 1}}">收款结算</van-button> |
||||
</view> |
</view> |
||||
|
|
||||
<van-dialog id="van-dialog" /> |
<van-dialog id="van-dialog" /> |
||||
<notification id="qn-notification"/> |
<notification id="qn-notification"/> |
||||
|
<wxs module="statusOrder"> |
||||
|
function statusOrder(status) { |
||||
|
if(status == 0){ |
||||
|
return '待审核' |
||||
|
} else if(status == 1){ |
||||
|
return '待收款' |
||||
|
} else if(status == 2){ |
||||
|
return '已完成' |
||||
|
} else if(status == 3){ |
||||
|
return '已关闭' |
||||
|
} |
||||
|
} |
||||
|
module.exports = statusOrder |
||||
|
</wxs> |
||||
@ -1,58 +1,58 @@ |
|||||
<!--pages/storage/index/index.wxml--> |
<!--pages/storage/index/index.wxml--> |
||||
|
<wxs module="formate" src="../../formate.wxs"></wxs> |
||||
<cu-custom bgColor="bg-white" isBack="{{true}}"> |
<cu-custom bgColor="bg-white" isBack="{{true}}"> |
||||
<view slot="content">磅单处理</view> |
<view slot="content">磅单处理</view> |
||||
</cu-custom> |
</cu-custom> |
||||
|
|
||||
<van-cell wx:if="{{form.emptyWeighingPicture && form.emptyWeighingPicture.length}}"> |
|
||||
|
<van-cell wx:if="{{form.firstWeight}}"> |
||||
<view slot="title" class="flex flex-justify"> |
<view slot="title" class="flex flex-justify"> |
||||
<view class="text-black">第一次过磅(皮重)</view> |
<view class="text-black">第一次过磅(皮重)</view> |
||||
<view class="text-gray">重量(公斤):{{form.factoryCustomerName}}</view> |
|
||||
|
<view class="text-gray">重量(公斤):{{formate.minWeight(form.firstWeight, form.secondWeight)}}</view> |
||||
</view> |
</view> |
||||
</van-cell> |
</van-cell> |
||||
<view class="bg-white flex flex-justify" style="padding:24rpx 32rpx" wx:if="{{form.emptyWeighingPicture && form.emptyWeighingPicture.length}}"> |
|
||||
|
<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" |
<van-image wx:for="{{form.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"> |
|
||||
|
data-url="{{item}}" fit="cover" data-type="0" src="{{item}}" bind:click="viewImage"> |
||||
<view class="image-load" slot="loading"> |
<view class="image-load" slot="loading"> |
||||
<van-loading type="spinner" size="32" /> |
<van-loading type="spinner" size="32" /> |
||||
</view> |
</view> |
||||
</van-image> |
</van-image> |
||||
</view> |
</view> |
||||
<van-cell wx:if="{{form.totalWeighingPicture && form.totalWeighingPicture.length}}"> |
|
||||
|
<van-cell wx:if="{{form.secondWeight}}"> |
||||
<view slot="title" class="flex flex-justify"> |
<view slot="title" class="flex flex-justify"> |
||||
<view class="text-black">第二次过磅(毛重)</view> |
<view class="text-black">第二次过磅(毛重)</view> |
||||
<view class="text-gray">重量(公斤):34250</view> |
|
||||
|
<view class="text-gray">重量(公斤):{{formate.maxWeight(form.firstWeight, form.secondWeight)}}</view> |
||||
</view> |
</view> |
||||
</van-cell> |
</van-cell> |
||||
<view class="bg-white flex flex-justify" style="padding:24rpx 32rpx" wx:if="{{form.totalWeighingPicture && form.totalWeighingPicture.length}}"> |
|
||||
|
<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" |
<van-image wx:for="{{form.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"> |
|
||||
|
data-url="{{item}}" fit="cover" data-type="1" src="{{item}}" bind:click="viewImage"> |
||||
<view class="image-load" slot="loading"> |
<view class="image-load" slot="loading"> |
||||
<van-loading type="spinner" size="32" /> |
<van-loading type="spinner" size="32" /> |
||||
</view> |
</view> |
||||
</van-image> |
</van-image> |
||||
</view> |
</view> |
||||
<view class="bg-white flex justify-end" style="padding-right:32rpx" wx:if="{{form.totalWeighingPicture && form.totalWeighingPicture.length}}"> |
|
||||
|
<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> |
<van-button plain type="info" size="small" bind:click="repeatForm">重新过磅</van-button> |
||||
</view> |
</view> |
||||
|
|
||||
<van-cell wx:if="{{form.totalWeighingPicture && form.totalWeighingPicture.length}}"> |
|
||||
|
<van-cell wx:if="{{form.netWeight}}"> |
||||
<view slot="title" class="flex flex-justify"> |
<view slot="title" class="flex flex-justify"> |
||||
<view class="text-black">净重(公斤)</view> |
<view class="text-black">净重(公斤)</view> |
||||
<view class="text-gray">{{form.createTime}}</view> |
|
||||
|
<view class="text-gray">{{form.netWeight}}</view> |
||||
</view> |
</view> |
||||
</van-cell> |
</van-cell> |
||||
<van-cell wx:if="{{form.totalWeighingPicture && form.totalWeighingPicture.length}}"> |
|
||||
|
<van-cell wx:if="{{form.operaterId}}"> |
||||
<view slot="title" class="flex flex-justify"> |
<view slot="title" class="flex flex-justify"> |
||||
<view class="text-black">过磅人</view> |
<view class="text-black">过磅人</view> |
||||
<view class="text-gray">{{form.createTime}}</view> |
|
||||
|
<view class="text-gray">{{form.operaterName}}</view> |
||||
</view> |
</view> |
||||
</van-cell> |
</van-cell> |
||||
|
|
||||
|
|
||||
<view style="height:{{136 + safeBottom}}rpx;" wx:if="{{ form }}"></view> |
<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}}"> |
|
||||
|
<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="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.totalWeighingPicture && form.totalWeighingPicture.length}}">关联出货单</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> |
</view> |
||||
|
|
||||
<van-dialog id="van-dialog" /> |
<van-dialog id="van-dialog" /> |
||||
Write
Preview
Loading…
Cancel
Save