Browse Source

科室重置解决

1178232204@qq.com 3 years ago
parent
commit
1caa323424
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/js/dept/qcListCopyDept.js

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

@@ -440,11 +440,12 @@ $(".abnormalClear").on("click", function (e) {
         changeYear: true,
         dateFormat: "yy/mm/dd"
     }).datepicker("setDate", "");
-    if (from == 2 || from == 3 || from == 10 || from == 6 || from == 9 || from == 13) {
+    if (from == 2 || from == 3 || from == 10 || from == 6 || from == 9 ) {
         $('.selectDept ').html(deptListDept[0].deptName).append(`<img class="arrow" src=${iconDown} alt="下拉">`);
         deptName = deptNameTemp = deptListDept[0].deptName
-    } else if (from == 4 || from == 8) {
+    } else if (from == 4 || from == 8 || from == 13) {
         $('.selectDept').html(deptNamePram).append(`<img class="arrow" src=${iconDown} alt="下拉">`);
+        deptIdTemp = deptIdPram = deptId
         deptName = deptNameTemp = deptNamePram
         $('.selectDept ').attr('title', deptNamePram)
         $(".deptList").css("display", "none")