issue solved for updating in capacitor scanned quanity in invoice validation
This commit is contained in:
@@ -157,7 +157,6 @@ class InvoiceDataTable extends Component
|
||||
$stickCount++;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if ($row['motor_scanned_status'] == 1)
|
||||
@@ -301,10 +300,8 @@ class InvoiceDataTable extends Component
|
||||
}
|
||||
|
||||
foreach ($this->invoiceData as &$row) {
|
||||
if (
|
||||
($row['code'] ?? '') === $this->currentItemCode &&
|
||||
($row['serial_number'] ?? '') === $this->currentSerialNumber
|
||||
) {
|
||||
if (($row['code'] ?? '') === $this->currentItemCode && ($row['serial_number'] ?? '') === $this->currentSerialNumber)
|
||||
{
|
||||
$row['panel_box_supplier'] = $supplier;
|
||||
$row['panel_box_item_code'] = $itemCode;
|
||||
$row['panel_box_serial_number'] = $serialNumber;
|
||||
@@ -413,8 +410,11 @@ class InvoiceDataTable extends Component
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$this->showCapacitorInput = false;
|
||||
$this->capacitorInput = '';
|
||||
$this->dispatch('updateScannedQuantity');
|
||||
//$this->loadData($this->invoiceNumber, $this->plantId);
|
||||
$this->dispatch('focus-serial-number');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user