1178232204@qq.com 3 anni fa
parent
commit
030f31d9d5
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      src/js/dept/qcListCopyDept.js

+ 3 - 3
src/js/dept/qcListCopyDept.js

@@ -382,15 +382,15 @@ $(".abnormalClear").on("click", function (e) {
         data_desc = ["behospitalDate"]
     }
     data_asc = [];
-    if (from == 2 || from == 13) {
+    if (from == 2 ) {
         deptId = deptListDept[0] && deptListDept[0].deptId;
         deptName = deptListDept[0] && deptListDept[0].deptName;
         deptNameTemp = deptListDept[0] && deptListDept[0].deptName;
         deptIdTemp = deptListDept[0] && deptListDept[0].deptId;
         $('.selectDept').html(deptName).append(`<img class="arrow" src=${iconDown} alt="下拉">`);
     }
-    if (from == 4 || from == 9 || from == 8) {
-        deptIdTemp = deptIdPram = deptIdPram
+    if (from == 4 || from == 9 || from == 8 || from == 13) {
+        deptIdTemp = deptIdPram = deptId
         deptName = deptNameTemp = deptNamePram
     }
     // if (docName) {