mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
JS linting fxies
This commit is contained in:
parent
141b764b94
commit
bac5a16491
@ -525,7 +525,7 @@ function orderParts(parts_list, options={}) {
|
|||||||
{
|
{
|
||||||
hideLabels: true,
|
hideLabels: true,
|
||||||
}
|
}
|
||||||
)
|
);
|
||||||
|
|
||||||
var supplier_part_prefix = `
|
var supplier_part_prefix = `
|
||||||
<button type='button' class='input-group-text button-row-new-sp' pk='${pk}' title='{% trans "New supplier part" %}'>
|
<button type='button' class='input-group-text button-row-new-sp' pk='${pk}' title='{% trans "New supplier part" %}'>
|
||||||
@ -674,13 +674,10 @@ function orderParts(parts_list, options={}) {
|
|||||||
|
|
||||||
// Extract information from the row
|
// Extract information from the row
|
||||||
var data = {
|
var data = {
|
||||||
quantity: getFormFieldValue(`quantity_${pk}`, {type: 'decimal',}, opts),
|
quantity: getFormFieldValue(`quantity_${pk}`, {type: 'decimal'}, opts),
|
||||||
part: getFormFieldValue(`part_${pk}`, {}, opts),
|
part: getFormFieldValue(`part_${pk}`, {}, opts),
|
||||||
order: getFormFieldValue(`order_${pk}`, {}, opts),
|
order: getFormFieldValue(`order_${pk}`, {}, opts),
|
||||||
}
|
};
|
||||||
|
|
||||||
// $(opts.modal).find(`#order_row_${pk}`).disable();
|
|
||||||
// $(this).disable();
|
|
||||||
|
|
||||||
// Duplicate the form options, to prevent 'field_suffix' override
|
// Duplicate the form options, to prevent 'field_suffix' override
|
||||||
var row_opts = Object.assign(opts);
|
var row_opts = Object.assign(opts);
|
||||||
|
Loading…
Reference in New Issue
Block a user