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.
|
|
|
<template>
|
|
|
|
<view :class="dataContent.scaned?'scan_view':''">
|
|
|
|
<view class="uni-flex uni-column ">
|
|
|
|
<view class="uni-flex uni-row space-between " style="align-items: center">
|
|
|
|
<view>
|
|
|
|
<pack v-if="isShowPack && dataContent.packingNumber!=''" :packingCode="dataContent.packingNumber">
|
|
|
|
</pack>
|
|
|
|
<batch v-if="isShowBatch" :batch="dataContent.batch"></batch>
|
|
|
|
<location v-if="isShowLocation" title="来源库位" :locationCode="dataContent.fromLocationCode"></location>
|
|
|
|
</view>
|
|
|
|
<view>
|
|
|
|
<!-- <qty :isShowStatus="false"
|
|
|
|
:dataContent="dataContent"
|
|
|
|
:isShowStdPack="isShowStdPack"></qty> -->
|
|
|
|
<compare-qty :dataContent="dataContent" :recommendQty="dataContent.qty"
|
|
|
|
:handleQty="dataContent.handleQty" :isShowStdPack="isShowStdPack">
|
|
|
|
</compare-qty>
|
|
|
|
<move-status :fromInventoryStatus="fromInventoryStatus" :toInventoryStatus="toInventoryStatus" :showToInventoryStatus="allowEditStatus">
|
|
|
|
</move-status>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import pack from '@/mycomponents/balance/pack.vue'
|
|
|
|
import location from '@/mycomponents/balance/location.vue'
|
|
|
|
import batch from '@/mycomponents/balance/batch.vue'
|
|
|
|
import qty from '@/mycomponents/qty/qty.vue'
|
|
|
|
import recommendQty from '@/mycomponents/qty/recommendQty.vue'
|
|
|
|
import compareQty from '@/mycomponents/qty/compareQty.vue'
|
|
|
|
import moveStatus from '@/mycomponents/balance/moveStatus.vue'
|
|
|
|
import purchaseInfo from '@/mycomponents/purchase/purchaseInfo.vue'
|
|
|
|
import status from '@/mycomponents/status/status.vue'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
pack,
|
|
|
|
location,
|
|
|
|
batch,
|
|
|
|
qty,
|
|
|
|
recommendQty,
|
|
|
|
compareQty,
|
|
|
|
moveStatus,
|
|
|
|
purchaseInfo,
|
|
|
|
status
|
|
|
|
},
|
|
|
|
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
props: {
|
|
|
|
dataContent: {
|
|
|
|
type: Object,
|
|
|
|
default: {}
|
|
|
|
},
|
|
|
|
isShowPack: {
|
|
|
|
type: Boolean,
|
|
|
|
default: true
|
|
|
|
},
|
|
|
|
isShowBatch: {
|
|
|
|
type: Boolean,
|
|
|
|
default: true
|
|
|
|
},
|
|
|
|
isShowLocation: {
|
|
|
|
type: Boolean,
|
|
|
|
default: true
|
|
|
|
},
|
|
|
|
isShowStdPack: {
|
|
|
|
type: Boolean,
|
|
|
|
default: true
|
|
|
|
},
|
|
|
|
isShowBusiness: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false
|
|
|
|
},
|
|
|
|
scaned: {
|
|
|
|
type: Boolean,
|
|
|
|
default: true
|
|
|
|
},
|
|
|
|
fromInventoryStatus: {
|
|
|
|
type: String,
|
|
|
|
default: ""
|
|
|
|
},
|
|
|
|
toInventoryStatus: {
|
|
|
|
type: String,
|
|
|
|
default: ""
|
|
|
|
},
|
|
|
|
allowEditStatus: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false
|
|
|
|
},
|
|
|
|
},
|
|
|
|
watch: {
|
|
|
|
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
</style>
|