소스 검색

工单资料工艺回车

liuhairui 1 년 전
부모
커밋
3216cb5ef7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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()