MaiXinRong 9 месяцев назад
Родитель
Сommit
03f20ebe6a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/public/js/shenpi.js

+ 1 - 1
app/public/js/shenpi.js

@@ -697,7 +697,7 @@ $(document).ready(function () {
         const copyFlow = [];
         const flow = $('li.d-flex', $(this).siblings('.lc-show'));
         for (const f of flow) {
-            const audit_type = $('select', f).val();
+            const audit_type = $('select', f).val() || 1;
             const auditors = $('.remove-audit', f);
             if (auditors.length === 0) continue;
             const aid = [];