|
|
@ -1,20 +1,14 @@ |
|
|
|
<template> |
|
|
|
<view :class="detail.scaned?'scan_view':''" style="background-color: #ffffff;"> |
|
|
|
<view class="uni-flex uni-row space-between uni-inline-item"> |
|
|
|
<view class="uni-flex uni-row space-between "> |
|
|
|
<!-- uni-inline-item 暂时拿掉--> |
|
|
|
<view> |
|
|
|
<pack v-if="isShowPack" :packingCode="detail.packingNumber"></pack> |
|
|
|
<batch v-if="isShowBatch" :batch="detail.batch"></batch> |
|
|
|
<location v-if="isShowFromLocation" |
|
|
|
title="来源库位" |
|
|
|
:locationCode="detail.fromLocationCode"> |
|
|
|
<location v-if="isShowLocation" title="来源库位" :locationCode="detail.fromLocationCode"> |
|
|
|
</location> |
|
|
|
<location v-if="isShowToLocation" title="目标库位" :locationCode="detail.toLocationCode"> |
|
|
|
</location> |
|
|
|
<view class=""> |
|
|
|
<location v-if="isShowToLocation&&detail.toLocationCode!=null" |
|
|
|
title="目标库位" |
|
|
|
:locationCode="detail.toLocationCode"> |
|
|
|
</location> |
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<recommend-qty v-if="detail.handleQty==null || detail.handleQty==undefined" :dataContent="detail" |
|
|
@ -22,13 +16,10 @@ |
|
|
|
<compare-qty v-else :dataContent="detail" :recommendQty="Number(detail.qty)" |
|
|
|
:handleQty="Number(detail.handleQty)" :isShowStdPack="false"> |
|
|
|
</compare-qty> |
|
|
|
<view class="" style="font-size: 40rpx;"> |
|
|
|
<!-- <u-button @click="copy" size="mini" >复制采购标签</u-button> --> |
|
|
|
<text style="font-size: 10rpx;color: #2979ff;" @click="copy">复制采购标签</text> |
|
|
|
</view> |
|
|
|
<view class="" style="font-size: 40rpx;"> |
|
|
|
<!-- <u-button @click="copyPro" size="mini" type="primary" >复制制造标签</u-button> --> |
|
|
|
<text style="font-size: 10rpx;color: #2979ff;" @click="copyPro">复制制品标签</text> |
|
|
|
<view class="uni-flex uni-row" style="vertical-align:center"> |
|
|
|
<text style="font-size: 10rpx;color: #2979ff; " |
|
|
|
@click="copy">复制采购</text> |
|
|
|
<text style="font-size: 10rpx;color: #2979ff;" @click="copyPro">|制品</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -69,7 +60,7 @@ |
|
|
|
type: Boolean, |
|
|
|
default: true |
|
|
|
}, |
|
|
|
isShowFromLocation: { |
|
|
|
isShowLocation: { |
|
|
|
type: Boolean, |
|
|
|
default: true |
|
|
|
}, |
|
|
@ -95,7 +86,7 @@ |
|
|
|
this.$copyText(content).then( |
|
|
|
res => { |
|
|
|
uni.showToast({ |
|
|
|
title: '复制成功', |
|
|
|
title: '复制采购标签成功', |
|
|
|
icon: 'none' |
|
|
|
}) |
|
|
|
} |
|
|
@ -108,7 +99,7 @@ |
|
|
|
this.$copyText(content).then( |
|
|
|
res => { |
|
|
|
uni.showToast({ |
|
|
|
title: '复制成功', |
|
|
|
title: '复制制品标签成功', |
|
|
|
icon: 'none' |
|
|
|
}) |
|
|
|
} |
|
|
|