Browse Source

回车事件处理

hella_online_20241114
yufei_wang 2 weeks ago
parent
commit
8b88cf57c4
  1. 2
      src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionJobMain/index.vue
  2. 2
      src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRecordMain/index.vue
  3. 2
      src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue
  4. 3
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue
  5. 2
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestOrderMTypeMain/index.vue
  6. 3
      src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/index.vue

2
src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionJobMain/index.vue

@ -76,7 +76,7 @@ import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
import { formatDate } from '@/utils/formatTime' import { formatDate } from '@/utils/formatTime'
import { usePageLoading } from '@/hooks/web/usePageLoading' import { usePageLoading } from '@/hooks/web/usePageLoading'
const { loadStart, loadDone } = usePageLoading() const { loadStart, loadDone } = usePageLoading()
// //
defineOptions({ name: 'UnplannedissueJobMainSpare' }) defineOptions({ name: 'UnplannedissueJobMainSpare' })
const message = useMessage() // const message = useMessage() //

2
src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRecordMain/index.vue

@ -71,7 +71,7 @@ import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
import { formatDate } from '@/utils/formatTime' import { formatDate } from '@/utils/formatTime'
import { usePageLoading } from '@/hooks/web/usePageLoading' import { usePageLoading } from '@/hooks/web/usePageLoading'
const { loadStart, loadDone } = usePageLoading() const { loadStart, loadDone } = usePageLoading()
// //
defineOptions({ name: 'UnplannedissueRecordMainSpare' }) defineOptions({ name: 'UnplannedissueRecordMainSpare' })
const message = useMessage() // const message = useMessage() //

2
src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue

@ -94,7 +94,7 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { formatDate } from '@/utils/formatTime' import { formatDate } from '@/utils/formatTime'
import { usePageLoading } from '@/hooks/web/usePageLoading' import { usePageLoading } from '@/hooks/web/usePageLoading'
const { loadStart, loadDone } = usePageLoading() const { loadStart, loadDone } = usePageLoading()
// //
defineOptions({ name: 'UnplannedissueRequestMainSpare' }) defineOptions({ name: 'UnplannedissueRequestMainSpare' })
const message = useMessage() // const message = useMessage() //

3
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue

@ -1007,7 +1007,8 @@ const tableSelectionDelete = (selection) => {
} }
const onEnter = async (field,value)=>{ const onEnter = async (field,value)=>{
console.log(field,value) console.log(field,value)
getSearchTableData(value,true) formRef.value.setDefaultBlurValue(field,value)
// getSearchTableData(value,true)
} }
// //
const submitForm = async (formType, submitData) => { const submitForm = async (formType, submitData) => {

2
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestOrderMTypeMain/index.vue

@ -736,7 +736,7 @@ const tableSelectionDelete = (selection) => {
} }
const onEnter = async (field,value)=>{ const onEnter = async (field,value)=>{
console.log(field,value) console.log(field,value)
getSearchTableData(value,true) formRef.value.setDefaultBlurValue(field,value)
} }
// //
const submitForm = async (formType, submitData) => { const submitForm = async (formType, submitData) => {

3
src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/index.vue

@ -220,7 +220,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
} }
const onEnter = async (field,value)=>{ const onEnter = async (field,value)=>{
console.log(field,value) console.log(field,value)
getSearchTableData(value,true) formRef.value.setDefaultBlurValue(field,value)
// getSearchTableData(value,true)
} }
const updateTableData = (tableList)=>{ const updateTableData = (tableList)=>{
console.log('tableList',tableList) console.log('tableList',tableList)

Loading…
Cancel
Save