|
@ -1,5 +1,5 @@ |
|
|
<template> |
|
|
<template> |
|
|
<view class="card_view" v-if="ShowPackingNumber"> |
|
|
<view class="card_view" v-if="ShowPackingNumber || isShowPackingNumberProps"> |
|
|
<text class="card_packing_code">{{ title }}</text> |
|
|
<text class="card_packing_code">{{ title }}</text> |
|
|
<text class="card_content">{{ packingCode }}</text> |
|
|
<text class="card_content">{{ packingCode }}</text> |
|
|
</view> |
|
|
</view> |
|
@ -17,6 +17,11 @@ const props = defineProps({ |
|
|
title: { |
|
|
title: { |
|
|
type: String, |
|
|
type: String, |
|
|
default: '包装' |
|
|
default: '包装' |
|
|
|
|
|
}, |
|
|
|
|
|
// 采购订单单独显示的包装号 |
|
|
|
|
|
isShowPackingNumberProps:{ |
|
|
|
|
|
type:Boolean, |
|
|
|
|
|
default:false |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
const ShowPackingNumber = ref(true) |
|
|
const ShowPackingNumber = ref(true) |
|
|