Parcourir la source

工单资料工艺回车

liuhairui il y a 1 an
Parent
commit
3216cb5ef7
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/view/yunyin/shengchanguanli/components/addGongYi.vue

+ 2 - 2
src/view/yunyin/shengchanguanli/components/addGongYi.vue

@@ -199,14 +199,14 @@ const add_gyzlent = async (event,id1,id2,id3) => {
       document.getElementById(id3).focus()
     }
   }
-  if (id2 === '车间名称' && event.key==='Tab') {
+  if (id2 === '车间名称' && event.key==='Enter') {
     document.getElementById(id3).focus()
     cjdisplay.value = true
   }
   // if (id2 === '损耗系数' && event.key==='Tab') {
   //   document.getElementById(id3).focus()
   // }
-  if (id2 === '工序损耗' &&  event.key==='Tab') {
+  if (id2 === '工序损耗' &&  event.key==='Enter') {
     if(form['车间名称']){
       await getGxshList();
       _getSH()