diff --git a/scanpages/hj/barcode_search.vue b/scanpages/hj/barcode_search.vue index 86add79..325af03 100644 --- a/scanpages/hj/barcode_search.vue +++ b/scanpages/hj/barcode_search.vue @@ -249,11 +249,11 @@ const loadMore = () => { } /** - * 打开标签预览与打印(与材料详情一致:图内编码为 MaterialCode) + * 打开标签预览与打印(与材料详情一致:图内编码为 BarCode) * @param {object} item */ const handlePrint = (item) => { - const code = item.MaterialCode || '' + const code = item.BarCode || '' if (!code) { uni.showToast({ title: '缺少材料编码', icon: 'none' }) return