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;