From 5202489224228e5acab93c407c95ca51481ef311 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Thu, 20 Jun 2024 13:22:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hybrid/html/point.html | 24 +++++++----- src/pages/point/index.vue | 40 ++++++-------------- src/pages/purchaseReceipt/job/receiptJob.vue | 2 +- 3 files changed, 27 insertions(+), 39 deletions(-) diff --git a/src/hybrid/html/point.html b/src/hybrid/html/point.html index bd147d80..82a76ddb 100644 --- a/src/hybrid/html/point.html +++ b/src/hybrid/html/point.html @@ -17,6 +17,7 @@ .box { font-size: 14px; display: flex; + margin-top: 60px; } @@ -35,38 +36,41 @@ border-right: 1px solid #b1b1b1; width: 60px; padding: 0px 5px; - height: 67px; - line-height: 67px; + height: 58px; + line-height: 58px; } .value { border-bottom: 1px solid #b1b1b1; border-right: 1px solid #b1b1b1; padding: 0px 5px; - height: 67px; + height: 58px; flex: 1; width: 0px; display: flex; align-items: center; - word-wrap: break-word; + word-break: break-all; } .right { - width: 200px; + width: 300px; } .image { - width: 100%; - height: 202px; + width: calc(100% - 1px); + height: 176px; border-bottom: 1px solid #b1b1b1; border-top: 1px solid #b1b1b1; border-right: 1px solid #b1b1b1; } .image img { - width: calc(100% - 4px); - height: calc(100% - 4px); - margin: 2px; + width: 172px; + height: 172px; + border: 1px solid #b1b1b1; + /* width: calc(100% - 4px); + height: calc(100% - 4px); */ + margin: 1px; } diff --git a/src/pages/point/index.vue b/src/pages/point/index.vue index 62bbe201..33d42430 100644 --- a/src/pages/point/index.vue +++ b/src/pages/point/index.vue @@ -185,35 +185,19 @@ async onShow() { // 获取数据 // this.data = [{ - // itemNumber: '555555', - // itemName: 'hahah', - // referenceOrderRow: '55', - // referenceOrderCode: '55', - // supplierCode: '555', - // packageCode: '9999-8888', - // amount: '55', + // itemCode:'065.051-01M', // 物品代码 + // itemName: 'PCCLARNATEA1225BLACK9999', // 物品名称 + // packName: '包装名称',// 包装名称 + // packageCode: 'PS0513-000003', // 包装号 + // batch:'20240514',//批次 + // parentNumber:'PS0513-000003',//父包装号 + // itemType:'物料类型',//物料类型 + // asnNumber:'123232',//ASN + // supplierCode: 'Fewewq', // 供应商 + // qty: '100', // 数量 + // printTimes:'2019-09-09 09:09:00', // 打印时间 // barcodeString: 'HMQ;V1.0;Dwork1-line1;F;R2024-04-03T08:28:41;B20240403;PPN0403-000005;I399.960-12;Q5.000000;UEA;', // barcodeBase64: '' - // }, { - // itemNumber: '66', - // itemName: 'hahah', - // referenceOrderRow: '66', - // referenceOrderCode: '666', - // supplierCode: '66', - // packageCode: '66666', - // amount: '666666', - // barcodeString: 'HMQ;V1.0;Dwork1-line1;F;R2024-04-03T08:28:41;B20240403;PPN0403-000005;I399.960-12;Q5.000000;UEA;', - // barcodeBase64: '' - // }, { - // itemNumber: '66', - // itemName: 'hahah', - // referenceOrderRow: '66', - // referenceOrderCode: '666', - // supplierCode: '66', - // packageCode: '66666', - // amount: '666666', - // barcodeString: 'HMQ;V1.0;Dwork1-line1;F;R2024-04-03T08:28:41;', - // barcodeBase64: '' // }] this.$nextTick(async () => { // 获取二维码图片临时路径 @@ -280,7 +264,7 @@ width: 0px; display: flex; align-items: center; - word-wrap: break-word; + word-break: break-all; } .right { diff --git a/src/pages/purchaseReceipt/job/receiptJob.vue b/src/pages/purchaseReceipt/job/receiptJob.vue index e46ac344..e79aa364 100644 --- a/src/pages/purchaseReceipt/job/receiptJob.vue +++ b/src/pages/purchaseReceipt/job/receiptJob.vue @@ -20,7 +20,7 @@ - +