Browse Source

YT-1763将到批次的输入方式改为选择日期

intex_online20241228
zhaoyiran 2 months ago
parent
commit
9cdb5bd35b
  1. 2
      src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue
  2. 9
      src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts

2
src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue

@ -107,6 +107,7 @@ import * as InventorychangeRequestDetailApi from '@/api/wms/inventorychangeReque
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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'
import { formatTime } from '@/utils/index'
const { loadStart, loadDone } = usePageLoading() const { loadStart, loadDone } = usePageLoading()
@ -163,6 +164,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
newRow['locationCode'] = item['locationCode'] newRow['locationCode'] = item['locationCode']
newRow['uom'] = item['uom'] newRow['uom'] = item['uom']
newRow['originFrozen'] = newRow['frozen']=='TRUE'?true:false // newRow['originFrozen'] = newRow['frozen']=='TRUE'?true:false //
newRow['toBatch'] = formatTime(new Date(), 'yyyyMMdd')
tableData.value.push(newRow) tableData.value.push(newRow)
}) })
} else { } else {

9
src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts

@ -507,11 +507,16 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[]
width: 150 width: 150
}, },
tableForm: { tableForm: {
disabled: true disabled: false,
type:'FormDate',
placeholder: '请选择到批次',
valueFormat: 'YYYYMMDD',
format: 'YYYYMMDD',
}, },
form: { form: {
componentProps: { componentProps: {
disabled: true disabled: false,
valueFormat: 'YYYYMMDD',
} }
} }
}, },

Loading…
Cancel
Save