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