|
@ -6,25 +6,28 @@ |
|
|
<com-blank-view @goScan='openFg' v-if="!dataContent"></com-blank-view> |
|
|
<com-blank-view @goScan='openFg' v-if="!dataContent"></com-blank-view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="" v-if="dataContent"> |
|
|
<view class="" v-if="dataContent"> |
|
|
<view class="cell_box uni-flex uni-row"> |
|
|
<view class="page-header"> |
|
|
<view class="cell_info"> |
|
|
<view class="header-view"> |
|
|
<view class="text_lightblue">完工库位</view> |
|
|
<view class="cell_box uni-flex uni-row"> |
|
|
<view style="font-size: 30rpx; margin-top: 13rpx;" >{{dataContent.fgLocationCode}} |
|
|
<view class="cell_info"> |
|
|
</view> |
|
|
<view class="text_lightblue">完工库位</view> |
|
|
|
|
|
<view style="font-size: 30rpx; margin-top: 13rpx;">{{dataContent.fgLocationCode}} |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
<view class="cell_info"> |
|
|
<view class="cell_info"> |
|
|
<view class="text_lightblue">计划数</view> |
|
|
<view class="text_lightblue">计划数</view> |
|
|
<view>{{dataContent.planQty}}{{dataContent.uom}}</view> |
|
|
<view>{{dataContent.planQty}}{{dataContent.uom}}</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class='split_line'></view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="" style="padding-top: 10rpx; padding-bottom: 10rpx; margin-left: 10rpx;"> |
|
|
<view class="" style="padding: 10rpx; margin-left: 10rpx;"> |
|
|
<item :dataContent="dataContent"></item> |
|
|
<item :dataContent="dataContent"></item> |
|
|
</view> |
|
|
</view> |
|
|
<view class='split_line'></view> |
|
|
<view class='split_line'></view> |
|
|
<view class="uni-flex uni-row space-between" style="align-items: center"> |
|
|
<view class="uni-flex uni-row space-between" style="align-items: center;padding: 0 10rpx;"> |
|
|
<view style="word-break: break-all;"> |
|
|
<view style="word-break: break-all;"> |
|
|
<batch :batch="dataContent.batch"></batch> |
|
|
<batch :batch="dataContent.batch"></batch> |
|
|
<view class="card_view "> |
|
|
<view class="card_view "> |
|
@ -34,8 +37,8 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view style="word-break: break-all; font-size: 35rpx; font-weight: bold;"> |
|
|
<view style="word-break: break-all; font-size: 35rpx; font-weight: bold;"> |
|
|
<text v-if="dataContent.handleQty>0" style="color: #FFA500;">{{dataContent.handleQty}}/</text> |
|
|
<text v-if="dataContent.handleQty>0" style="color: #FFA500;">{{dataContent.handleQty}}/</text> |
|
|
<!-- {{dataContent.packQtyHint}} --> |
|
|
<!-- {{dataContent.packQtyHint}} --> |
|
|
<text class="text_recommend" >{{dataContent.packQtyHint}}</text> |
|
|
<text class="text_recommend">{{dataContent.packQtyHint}}</text> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
@ -47,7 +50,7 @@ |
|
|
<uni-swipe-action> |
|
|
<uni-swipe-action> |
|
|
<uni-swipe-action-item :right-options="options" @click="swipeClick($event,item,index)"> |
|
|
<uni-swipe-action-item :right-options="options" @click="swipeClick($event,item,index)"> |
|
|
<view class="uni-flex uni-row " |
|
|
<view class="uni-flex uni-row " |
|
|
style="margin-left: 30rpx; margin-top: 10rpx; margin-bottom: 10rpx;" > |
|
|
style="margin-left: 30rpx; margin-top: 10rpx; margin-bottom: 10rpx;"> |
|
|
<light :lightCode='item.content'></light> |
|
|
<light :lightCode='item.content'></light> |
|
|
<!-- <view class="auto-wrap" style="font-size: 35rpx;font-weight: bold; width: 100%;"> |
|
|
<!-- <view class="auto-wrap" style="font-size: 35rpx;font-weight: bold; width: 100%;"> |
|
|
<text style="font-size: 30rpx;color: #B66463;">唯一码 </text> |
|
|
<text style="font-size: 30rpx;color: #B66463;">唯一码 </text> |
|
@ -124,7 +127,8 @@ |
|
|
pack, |
|
|
pack, |
|
|
winScanButton, |
|
|
winScanButton, |
|
|
winScanFgLabel, |
|
|
winScanFgLabel, |
|
|
comFgCard,light |
|
|
comFgCard, |
|
|
|
|
|
light |
|
|
}, |
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
@ -187,7 +191,7 @@ |
|
|
batch: result.batch, |
|
|
batch: result.batch, |
|
|
packUnit: result.packUnit, |
|
|
packUnit: result.packUnit, |
|
|
workStationCode: result.workStationCode, |
|
|
workStationCode: result.workStationCode, |
|
|
fgLocationCode:result.fgLocationCode, |
|
|
fgLocationCode: result.fgLocationCode, |
|
|
subList: [] |
|
|
subList: [] |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@ -318,7 +322,7 @@ |
|
|
throw new Error("未查找到单据信息") |
|
|
throw new Error("未查找到单据信息") |
|
|
} |
|
|
} |
|
|
uni.hideLoading() |
|
|
uni.hideLoading() |
|
|
this.showCommitSuccessMessage("提交成功<br>生成装配收货记录<br>"+list[0].requestNumber, list) |
|
|
this.showCommitSuccessMessage("提交成功<br>生成装配收货记录<br>" + list[0].requestNumber, list) |
|
|
|
|
|
|
|
|
} catch (error) { |
|
|
} catch (error) { |
|
|
uni.hideLoading() |
|
|
uni.hideLoading() |
|
@ -462,14 +466,10 @@ |
|
|
|
|
|
|
|
|
.header { |
|
|
.header { |
|
|
position: fixed; |
|
|
position: fixed; |
|
|
/* #ifdef H5 */ |
|
|
|
|
|
top: 88rpx; |
|
|
|
|
|
/* #endif */ |
|
|
|
|
|
left: 0; |
|
|
left: 0; |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
background-color: #fff; |
|
|
background-color: #fff; |
|
|
z-index: 10; |
|
|
z-index: 10; |
|
|
padding: 10rpx; |
|
|
|
|
|
/* 确保头部在内容之上 */ |
|
|
/* 确保头部在内容之上 */ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|