|
@ -93,6 +93,7 @@ import * as InventoryinitRequestDetailApi from '@/api/wms/inventoryinitRequestDe |
|
|
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() |
|
|
// 库存初始化申请 |
|
|
// 库存初始化申请 |
|
|
defineOptions({ name: 'InventoryinitRequestMain' }) |
|
|
defineOptions({ name: 'InventoryinitRequestMain' }) |
|
@ -130,6 +131,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
newRow['packUnit'] = item['defaultPackUnit'] |
|
|
newRow['packUnit'] = item['defaultPackUnit'] |
|
|
newRow['packQty'] = item['defaultPackQty'] |
|
|
newRow['packQty'] = item['defaultPackQty'] |
|
|
newRow['uom'] = item['uom'] |
|
|
newRow['uom'] = item['uom'] |
|
|
|
|
|
newRow['batch'] = formatTime(new Date(), 'yyyyMMdd') |
|
|
tableData.value.push(newRow) |
|
|
tableData.value.push(newRow) |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|