update carton list and editor

This commit is contained in:
tzw
2024-02-01 18:07:40 +06:30
parent eff1ae4688
commit 24f2dc110c
20 changed files with 1951 additions and 954 deletions

View File

@@ -36,7 +36,7 @@ class Carton {
String? mixCartonNumber;
String? cartonSizeID;
String? cartonSizeName;
double? cartonWeight;
double cartonWeight;
int rate;
int weight;
@@ -158,7 +158,7 @@ class Carton {
this.mixBoxType,
this.mixCartons = const [],
this.mixCartonIDs = const [],
this.cartonWeight});
this.cartonWeight =0});
Map<String, dynamic> toMap() {
List _cargoTypes = cargoTypes.map((c) => c.toMap()).toList();