Browse Source

增加组件

wms3.0_pda
niexiting 10 months ago
parent
commit
74312fb293
  1. 31
      mycomponents/balance/toLocation.vue
  2. 55
      mycomponents/location/toLocation.vue

31
mycomponents/balance/toLocation.vue

@ -0,0 +1,31 @@
<template>
<view class="card_view ">
<text class="card_location card_content ">{{title}}</text>
<text class="card_content ">{{locationCode}}</text>
</view>
</template>
<script>
export default {
components: {
},
data() {
return {}
},
props: {
locationCode: {
type: String,
default: ''
},
title: {
type: String,
default: '库位'
},
},
}
</script>
<style>
</style>

55
mycomponents/location/toLocation.vue

@ -1,55 +0,0 @@
<template>
<view class="" style="background-color: #fff;">
<view class="uni-flex uni-row space-between u-col-center" >
<view class="location_view" >
<text class="card_location"> 库位 </text>
<text> {{locationCode}}</text>
</view>
<view class="" v-if="recommendQty>0">
<count :countType="'recommend_handle_no_pack'"
:recommendQty="recommendQty"
:handledQty="handledQty"
:uom="uom"></count>
</view>
</view>
</view>
</template>
<script>
export default {
components: {
},
data(){
return {
}
},
props: {
locationInfo:{
type: Object,
default: {}
},
locationCode:{
type: String,
default: ''
},
recommendQty:{
type: Number,
default: 0
},
handledQty:{
type: Number,
default: 0
},
uom:{
type: String,
default: ''
}
},
}
</script>
<style>
</style>
Loading…
Cancel
Save