|
@ -108,11 +108,10 @@ |
|
|
<script setup lang="ts"> |
|
|
<script setup lang="ts"> |
|
|
import download from '@/utils/download' |
|
|
import download from '@/utils/download' |
|
|
import { |
|
|
import { |
|
|
CountPlanMain, |
|
|
|
|
|
CountPlanMainRules, |
|
|
|
|
|
CountPlanDetail, |
|
|
CountPlanDetail, |
|
|
CountPlanDetailRules, |
|
|
CountPlanDetailRules, |
|
|
// CountPlanMain1 |
|
|
CountPlanMain, |
|
|
|
|
|
CountPlanMainRules, |
|
|
} from './countPlanMain.data' |
|
|
} from './countPlanMain.data' |
|
|
import * as CountPlanMainApi from '@/api/wms/countPlanMain' |
|
|
import * as CountPlanMainApi from '@/api/wms/countPlanMain' |
|
|
import * as CountPlanDetailApi from '@/api/wms/countPlanDetail' |
|
|
import * as CountPlanDetailApi from '@/api/wms/countPlanDetail' |
|
@ -134,14 +133,16 @@ import * as WarehouseApi from '@/api/wms/warehouse' |
|
|
import {Area} from '@/views/wms/basicDataManage/factoryModeling/areabasic/areabasic.data' |
|
|
import {Area} from '@/views/wms/basicDataManage/factoryModeling/areabasic/areabasic.data' |
|
|
import * as AreaApi from '@/api/wms/areabasic' |
|
|
import * as AreaApi from '@/api/wms/areabasic' |
|
|
|
|
|
|
|
|
import { Locationgroup } from '@/views/wms/basicDataManage/factoryModeling/locationgroup/locationgroup.data' |
|
|
import { |
|
|
|
|
|
Locationgroup |
|
|
|
|
|
} from '@/views/wms/basicDataManage/factoryModeling/locationgroup/locationgroup.data' |
|
|
import * as LocationgroupApi from '@/api/wms/locationgroup' |
|
|
import * as LocationgroupApi from '@/api/wms/locationgroup' |
|
|
|
|
|
|
|
|
import {Location} from '@/views/wms/basicDataManage/factoryModeling/location/location.data' |
|
|
import {Location} from '@/views/wms/basicDataManage/factoryModeling/location/location.data' |
|
|
import * as LocationApi from '@/api/wms/location' |
|
|
import * as LocationApi from '@/api/wms/location' |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
|
|
|
|
|
|
import { DICT_TYPE, getIntDictOptions, getStrDictOptions } from '@/utils/dict' |
|
|
import {DICT_TYPE, getStrDictOptions} from '@/utils/dict' |
|
|
import BasicFormWmsCount from '@/components/BasicForm/src/BasicFormWmsCount.vue' |
|
|
import BasicFormWmsCount from '@/components/BasicForm/src/BasicFormWmsCount.vue' |
|
|
|
|
|
|
|
|
// 盘点计划主 |
|
|
// 盘点计划主 |
|
@ -410,12 +411,12 @@ const openForm = async (type: string, row?: any) => { |
|
|
} |
|
|
} |
|
|
] // 重置明细数据 |
|
|
] // 重置明细数据 |
|
|
row = row ? row : {} |
|
|
row = row ? row : {} |
|
|
row.dimension = 'BY_INEVNEOTY' |
|
|
// row.dimension = 'BY_INEVNEOTY' |
|
|
CountPlanMain.allSchemas.formSchema.forEach((item) => { |
|
|
CountPlanMain.allSchemas.formSchema.forEach((item) => { |
|
|
if (item.field == 'crontab') { |
|
|
if (item.field == 'crontab') { |
|
|
item.componentProps.disabled = true |
|
|
item.componentProps.disabled = true |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
formRef.value.open(type, row) |
|
|
formRef.value.open(type, row) |
|
|
|
|
|
|
|
|
// Promise.all([getOwnerAllList(), |
|
|
// Promise.all([getOwnerAllList(), |
|
|