|
|
@ -4,15 +4,15 @@ import { TableColumn } from '@/types/table' |
|
|
|
import { dateFormatter } from '@/utils/formatTime' |
|
|
|
import * as getRequestsettingApi from '@/api/wms/requestsetting/index' |
|
|
|
|
|
|
|
import * as BalanceApi from '@/api/wms/balance' |
|
|
|
import { Balance } from '@/views/wms/inventoryManage/balance/balance.data' |
|
|
|
|
|
|
|
import * as DeliverPlanMainApi from '@/api/wms/deliverPlanMain' |
|
|
|
import { DeliverPlanMain } from '../../deliverplan/deliverPlanMain/deliverPlanMain.data' |
|
|
|
|
|
|
|
import * as locationApi from '@/api/wms/location' |
|
|
|
import { Location } from '../../../basicDataManage/factoryModeling/location/location.data' |
|
|
|
|
|
|
|
import * as ItemBasicApi from '@/api/wms/itembasic' |
|
|
|
import { Itembasic } from '../../../basicDataManage/itemManage/itembasic/itembasic.data' |
|
|
|
|
|
|
|
const { t } = useI18n() // 国际化
|
|
|
|
|
|
|
|
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
|
|
|
@ -26,6 +26,7 @@ const queryParams = { |
|
|
|
|
|
|
|
// 获取当前操作人的部门
|
|
|
|
import { useUserStore } from '@/store/modules/user' |
|
|
|
import { ItemBasic } from '@/utils/disposition/formFields' |
|
|
|
const userStore = useUserStore() |
|
|
|
const userDept = userStore.userSelfInfo.dept |
|
|
|
// id 转str 否则form回显匹配不到
|
|
|
@ -569,12 +570,32 @@ export const StockupDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
disabled: true |
|
|
|
tableForm:{ |
|
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择物料代码', |
|
|
|
searchField: 'itemCode', |
|
|
|
searchTitle: '物料基础信息', |
|
|
|
searchAllSchemas: Itembasic.allSchemas, |
|
|
|
searchPage: ItemBasicApi.getItembasicPage, |
|
|
|
searchCondition: [{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
}] |
|
|
|
}, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
isSearchList: true, |
|
|
|
searchListPlaceholder: '请选择物料代码', |
|
|
|
searchField: 'itemCode', |
|
|
|
searchTitle: '物料基础信息', |
|
|
|
searchAllSchemas: Itembasic.allSchemas, |
|
|
|
searchPage: ItemBasicApi.getItembasicPage, |
|
|
|
searchCondition: [{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
}] |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|