Revision 0f221387
Von Sven Schöling vor fast 3 Jahren hinzugefügt
js/kivi.DeliveryOrder.js | ||
---|---|---|
121 | 121 |
|
122 | 122 |
$.post("controller.pl", |
123 | 123 |
kivi.serialize({ |
124 |
action: "DeliveryOrder/pack_stock_information", |
|
124 |
action: "DeliveryOrder/update_stock_information", |
|
125 |
unit: $("#" + row).find("[name$=unit]").val(), |
|
125 | 126 |
stock_info: data, |
126 | 127 |
row: row |
127 | 128 |
}), |
128 | 129 |
(data) => { |
129 |
$("#" + row + " .data-stock-info").val(data); |
|
130 |
$("#" + row + " .data-stock-info").val(data.stock_info); |
|
131 |
$("#" + row + " .data-stock-qty").text(data.stock_qty) |
|
130 | 132 |
$("#stock_in_out_dialog").dialog("close"); |
131 | 133 |
} |
132 | 134 |
); |
Auch abrufbar als: Unified diff
DeliveryOrder: besseres update nach stock dialog