Updated focus capacitor input logic
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
This commit is contained in:
@@ -37,7 +37,8 @@ class SerialValidationData extends Component
|
|||||||
'refreshEmptyInvoice' => 'loadEmptyData',
|
'refreshEmptyInvoice' => 'loadEmptyData',
|
||||||
'refreshInvoiceData' => 'loadData',
|
'refreshInvoiceData' => 'loadData',
|
||||||
'refreshMaterialInvoiceData' => 'loadMaterialData',
|
'refreshMaterialInvoiceData' => 'loadMaterialData',
|
||||||
'openCapacitorModal' => 'showCapacitorInputBox',
|
'focusCapacitor' => 'focusCapacitorInput'
|
||||||
|
//'openCapacitorModal' => 'showCapacitorInputBox',
|
||||||
];
|
];
|
||||||
|
|
||||||
public $capacitorInput = '';
|
public $capacitorInput = '';
|
||||||
@@ -48,6 +49,8 @@ class SerialValidationData extends Component
|
|||||||
|
|
||||||
public $panel_box_serial_number;
|
public $panel_box_serial_number;
|
||||||
|
|
||||||
|
public $itemcode;
|
||||||
|
|
||||||
public string $currentItemCode = '';
|
public string $currentItemCode = '';
|
||||||
|
|
||||||
public string $currentSerialNumber = '';
|
public string $currentSerialNumber = '';
|
||||||
@@ -64,6 +67,11 @@ class SerialValidationData extends Component
|
|||||||
// // $this->showCapacitorInput = false;
|
// // $this->showCapacitorInput = false;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
public function focusCapacitorInput($itemCode)
|
||||||
|
{
|
||||||
|
$this->dispatch('focus-capacitor-input', itemCode: $itemCode);
|
||||||
|
}
|
||||||
|
|
||||||
public function loadCompletedData($invoiceNumber, $plantId, $isSerial)
|
public function loadCompletedData($invoiceNumber, $plantId, $isSerial)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user