Procházet zdrojové kódy

Merge branch 'xy3yuan1015' into test

1178232204@qq.com před 3 roky
rodič
revize
3473689808
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      src/js/dept/qcListCopyDept.js

+ 2 - 1
src/js/dept/qcListCopyDept.js

@@ -390,7 +390,7 @@ $(".abnormalClear").on("click", function (e) {
         $('.selectDept').html(deptName).append(`<img class="arrow" src=${iconDown} alt="下拉">`);
     }
     if (from == 4 || from == 9 || from == 8 || from == 13  || from == 10) {
-        deptIdTemp = deptIdPram = deptId
+        deptId = deptIdTemp = deptIdPram 
         deptName = deptNameTemp = deptNamePram
     }
     if (docName) {
@@ -445,6 +445,7 @@ $(".abnormalClear").on("click", function (e) {
         deptName = deptNameTemp = deptListDept[0].deptName
     } else if (from == 4 || from == 8 || from == 13  || from == 10) {
         $('.selectDept').html(deptNamePram).append(`<img class="arrow" src=${iconDown} alt="下拉">`);
+        console.log(deptIdPram);
         deptIdTemp = deptIdPram = deptId
         deptName = deptNameTemp = deptNamePram
         $('.selectDept ').attr('title', deptNamePram)