niexiting
10 months ago
2 changed files with 31 additions and 55 deletions
@ -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> |
@ -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…
Reference in new issue