فهرست منبع

Merge branch 'xy3yuan1015' into test

1178232204@qq.com 3 سال پیش
والد
کامیت
3473689808
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  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)