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.
42 lines
632 B
42 lines
632 B
<template>
|
|
<view class="card_view" v-if="ShowPackingNumber">
|
|
<text class="card_packing_code ">{{title}}</text>
|
|
<text class="card_content ">{{packingCode}}</text>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import {
|
|
getSwitchInfoByCode
|
|
} from '@/common/basic.js';
|
|
export default {
|
|
components: {
|
|
},
|
|
|
|
data() {
|
|
return {
|
|
ShowPackingNumber:true
|
|
};
|
|
},
|
|
props: {
|
|
packingCode: {
|
|
type: String,
|
|
default: ''
|
|
},
|
|
title:
|
|
{
|
|
type:String,
|
|
default: '包装'
|
|
}
|
|
},
|
|
mounted() {
|
|
this.ShowPackingNumber=getSwitchInfoByCode('ShowPackingNumber')
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
</style>
|
|
|