Commit cc96fe441b3d7fd9434c8baca15e27fdbcc671ef

Authored by 王通
1 parent 873f0345

1.新增临加班次回车保存时多保存一条记录(点击保存按钮无此情况)

src/main/resources/static/real_control_v2/fragments/line_schedule/context_menu/temp_sch/add_two_way.html
... ... @@ -294,7 +294,8 @@
294 294 var fs = $('.add-sch-form', wrap);
295 295 fs.on('success.form.fv', function (e) {
296 296 e.preventDefault();
297   - dataArray.push($(this).serializeJSON());
  297 + if (!$(this).data('valid'))
  298 + dataArray.push($(this).serializeJSON());
298 299 $(this).data('valid', true);
299 300 if (allValidSuccess()) {
300 301 //开始post
... ...