Browse Source

工单资料

liuhairui 1 year ago
parent
commit
5bc1772016
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/view/yunyin/shengchanguanli/gongdanziliao.vue

+ 6 - 1
src/view/yunyin/shengchanguanli/gongdanziliao.vue

@@ -6,7 +6,7 @@
           <!--按钮部分-->
           <el-form ref="elSearchFormRef"  class="demo-form-inline" :rules="searchRule" @keyup.enter="onSubmit">
             <el-form-item>
-              <el-input v-model="searchInfo"  placeholder="搜索工单编号、产品代号" style="width: 180px;"></el-input>
+              <el-input v-model="searchInfo"  placeholder="搜索工单编号、产品代号" style="width: 180px;" @keyup.enter.native="handleSearch"></el-input>
               <el-button type="primary" icon="search" @click="onSubmit" title="搜索"  ></el-button>
               <el-button type="primary" icon="edit"   @click="ontlssclick"       class="bt" title="按工序投料反馈,试算某产量的投料">U8投料试算</el-button>
               <el-button type="primary" class="bt" icon="edit"  @click="jsfjClick">技术附件</el-button>
@@ -3059,6 +3059,11 @@ const searchInfo = ref('')
 const onSubmit = () => {
   _cha_WorkList();
 };
+const handleSearch = () => {
+  console.log(1231)
+  _cha_WorkList();
+};
+
 const _cha_WorkList = async (node) => {
   if(searchInfo.value === ''){
     ElMessage({type: 'warning',message: '请输入搜索的信息'})