From 42fd347bcc8ae73cfee841effc4cc0789bdff6fc Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Fri, 6 Sep 2024 12:03:42 +0800 Subject: [PATCH] =?UTF-8?q?HL-5869=E7=BF=BB=E5=8C=85=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E5=AD=97=E5=8F=B7=E5=8A=A0=E5=A4=A7=E5=8A=A0?= =?UTF-8?q?=E7=B2=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hybrid/html/point.html | 15 ++++++-- src/pages/point/index.vue | 72 ++++++++++++++++++++++++++------------ 2 files changed, 63 insertions(+), 24 deletions(-) diff --git a/src/hybrid/html/point.html b/src/hybrid/html/point.html index 566ccd06..3f381dbf 100644 --- a/src/hybrid/html/point.html +++ b/src/hybrid/html/point.html @@ -30,9 +30,19 @@ .left-item { display: flex; } - .bold-font{ + + .bold-font { + font-weight: bold; + } + .font-30 { + font-size: 30px; + } + .font-20 { + font-size: 20px; + } + .bold-label { font-weight: bold; - font-size: 28rpx; + font-size: 15px; } .label { @@ -54,6 +64,7 @@ display: flex; align-items: center; word-break: break-all; + justify-content: center; } .right { diff --git a/src/pages/point/index.vue b/src/pages/point/index.vue index ee1de5eb..5acc47bd 100644 --- a/src/pages/point/index.vue +++ b/src/pages/point/index.vue @@ -4,8 +4,8 @@ - 物品代码 - {{item.itemCode}} + 物品代码 + {{item.itemCode}} 物品名称 @@ -24,16 +24,16 @@ {{item.productionLineCode}} - 父包装号 - {{item.parentNumber}} + 父包装号 + {{item.parentNumber}} ASN {{item.asnNumber}} - 数量 - {{item.qty}} + 数量 + {{item.qty}} @@ -121,44 +121,44 @@ str += `

-
物品代码
-
${item.itemCode}
+
物品代码
+
${item.itemCode}
物品名称
-
${item.itemName}
+
${item.itemName}
包装名称
-
${item.packName}
+
${item.packName}
包装号
-
${item.packageCode}
+
${item.packageCode}
` if (item.productionLineCode && item.productionLineCode.length > 0) { str += `
生产线
-
${item.productionLineCode}
+
${item.productionLineCode}
` } else { str += `
-
父包装号
-
${item.parentNumber}
+
父包装号
+
${item.parentNumber}
ASN
-
${item.asnNumber}
+
${item.asnNumber}
` } str += `
数量
-
${item.qty}
+
${item.qty}
@@ -167,17 +167,17 @@
批次
-
${item.batch}
+
${item.batch}
物料类型
-
${item.itemType}
+
${item.itemType}
` if (!(item.productionLineCode && item.productionLineCode.length > 0)) { str += `
供应商
-
${item.supplierCode}
+
${item.supplierCode}
` } @@ -185,7 +185,7 @@
打印时间
-
${item.printTimes}
+
${item.printTimes}
` @@ -240,6 +240,25 @@ this.originData = JSON.parse(option.points); } this.data = this.originData + +// this.data = [ +// { +// "itemCode": "250.832-02", +// "itemName": "线束1右件ZH", +// "packName": "内部周转箱", +// "packageCode": "PN20240906-0000000001", +// "batch": "20240719", +// "parentNumber": null, +// "itemType": "外购件", +// "asnNumber": "ASNS20240731-0002", +// "supplierCode": "49000599", +// "qty": 90, +// "printTimes": "2024-09-06+09:29:37", +// "productionLineCode": null, +// "barcodeString": "HPQ;V1.0;B20240719;AASNS20240731-0002;Q90.000000;I250.832-02;L;PPN20240906-0000000001;S49000599;O49000599;L12;E;UPC;", +// "barcodeBase64": "" +// } +// ] }, } @@ -272,9 +291,18 @@ .bold-font { font-weight: bold; - font-size: 28rpx; } - + .font-30 { + font-size: 30px; + } + .font-20 { + font-size: 20px; + } + + .bold-label { + font-weight: bold; + /* font-size: 15px; */ + } .value { border-bottom: 1px solid #b1b1b1; border-right: 1px solid #b1b1b1;