update carton from packages
This commit is contained in:
@@ -105,7 +105,9 @@ class _CargoTableState extends State<CargoTable> {
|
||||
String _t = await showDialog(
|
||||
context: context,
|
||||
builder: (_) => DialogInput(
|
||||
label: "cargo.qty", value: c.qty.toString()));
|
||||
label: "cargo.qty",
|
||||
value: c.qty.toString(),
|
||||
isQty: true));
|
||||
|
||||
if (_t == null) return;
|
||||
setState(() {
|
||||
@@ -238,10 +240,11 @@ class _CargoTableState extends State<CargoTable> {
|
||||
child: InkWell(
|
||||
onTap: () async {
|
||||
String _t = await showDialog(
|
||||
context: context,
|
||||
builder: (_) => DialogInput(
|
||||
label: "shipment.cargo.total",
|
||||
value: totalWeight.toStringAsFixed(2)));
|
||||
context: context,
|
||||
builder: (_) => DialogInput(
|
||||
label: "shipment.cargo.total",
|
||||
value: totalWeight.toStringAsFixed(2)),
|
||||
);
|
||||
|
||||
if (_t == null) return;
|
||||
setState(() {
|
||||
|
||||
Reference in New Issue
Block a user