1.工艺路线工艺设置下拉选中之后自动回车2.工序定义检验人员选中默认当前登录人员
已修改3个文件
13 ■■■■■ 文件已修改
package.json 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/zlgl/gxjy.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/zzmx/gylx.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package.json
@@ -33,6 +33,7 @@
    "vue-easy-print": "0.0.8",
    "vue-print-nb": "^1.7.5",
    "vue-router": "3.0.6",
    "vuedraggable": "^2.24.3",
    "vuex": "3.1.0"
  },
  "devDependencies": {
src/views/zlgl/gxjy.vue
@@ -358,6 +358,7 @@
  StepCheckItemSelect
} from '@/api/zlgl'
import { MesOrderSelectUser } from '@/api/scgl'
import { getCookie } from '@/utils/auth'
export default {
  name: 'QXDY',
@@ -381,7 +382,7 @@
      },
      checkStandard: '', // 检验标准
      checkStandardSelect: [], // 检验标准下拉数组
      checkUser: '', // 检验人员
      checkUser: getCookie('navTabId'), // 检验人员
      checkqty: 0, // 检验数量
      checkUserSelect: [], // 检验人员下拉数组
      checkResult: '', // 检验结果
@@ -705,7 +706,7 @@
      this.JYTableData = []
      this.multipleSelection = []
      this.checkdescr = ''
      this.checkUser = ''
      this.checkUser = getCookie('navTabId')
      this.checkqty = 0
      this.checkResult = ''
      this.checkStandard = ''
src/views/zzmx/gylx.vue
@@ -249,9 +249,11 @@
                  :debounce="300"
                  :popper-append-to-body="false"
                  popper-class="autocompleteClass"
                  @select="handleSelect"
                  @select="val=>handleSelect(val,tag)"
                  @keyup.enter.native="handleInputConfirm(tag)"
                />
                <!--                @keyup.enter.native="handleInputConfirm(tag)"-->
                <!--        @blur="handleBlur2"-->
                <div
                  v-if="index!==dynamicTags.length-1"
@@ -385,10 +387,11 @@
      this.routeArr = res
    },
    // 处理下拉选择
    handleSelect(item) {
    handleSelect(item, tag) {
      this.autocompleteValue = item.value
      this.$nextTick(_ => {
        this.$refs['saveTagInput' + this.mouseFocusPosition][0].focus()
        this.handleInputConfirm(tag)
      })
    },
    // 输入框确认事件