Bladeren bron

工序齐套-工序需求物料修改

hh 3 weken geleden
bovenliggende
commit
6f41eecb0c
1 gewijzigde bestanden met toevoegingen van 13 en 6 verwijderingen
  1. 13 6
      entry/src/main/ets/view/wms/OperationMaterialKitOneStep.ets

+ 13 - 6
entry/src/main/ets/view/wms/OperationMaterialKitOneStep.ets

@@ -321,11 +321,18 @@ export struct OperationMaterialKitOneStep {
                         .fontColor($r('app.color.FFFFFF'))
                         .maxLines(1)
 
-                      Text((material.kitNum? material.kitNum : 0) + '/' + (material.storageNum ? material.storageNum : 0) + (material.unit ? material.unit : ''))
-                        .fontSize($r('app.float.fontSize_16'))
-                        .fontWeight(FontWeight.Bold)
-                        .fontColor($r('app.color.FFFFFF'))
-                        .maxLines(1)
+                      Row() {
+                        Text((material.kitNum? material.kitNum : 0) + '/' + (material.storageNum ? material.storageNum : 0) + '/' + (material.num ? material.num : 0))
+                          .fontSize($r('app.float.fontSize_16'))
+                          .fontWeight(FontWeight.Bold)
+                          .fontColor($r('app.color.FFFFFF'))
+                          .maxLines(1)
+                        Text(material.unit ? material.unit : '')
+                          .fontSize($r('app.float.fontSize_16'))
+                          .fontWeight(FontWeight.Lighter)
+                          .fontColor($r('app.color.FFFFFF'))
+                      }
+
                     }
                     .width('100%')
                     .justifyContent(FlexAlign.SpaceBetween)
@@ -335,7 +342,7 @@ export struct OperationMaterialKitOneStep {
                         .fontWeight(FontWeight.Lighter)
                         .fontColor($r('app.color.FFFFFF'))
                         .maxLines(1)
-                      Text('齐套/入库数量')
+                      Text('齐套/入库数量/需求')
                         .fontSize($r('app.float.fontSize_12'))
                         .fontWeight(FontWeight.Lighter)
                         .fontColor($r('app.color.60FFFFFF'))