Browse Source

物料降级信息管理

master_hella_20240701
yufei0306 7 months ago
parent
commit
e3261fa413
  1. 16
      src/views/wms/basicDataManage/itemManage/relegateRequest/relegateRequestMain.data.ts

16
src/views/wms/basicDataManage/itemManage/relegateRequest/relegateRequestMain.data.ts

@ -2,7 +2,8 @@ import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter } from '@/utils/formatTime' import { dateFormatter } from '@/utils/formatTime'
import * as getRequestsettingApi from '@/api/wms/requestsetting/index' import * as getRequestsettingApi from '@/api/wms/requestsetting/index'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from "@/api/wms/itembasic";
import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data' import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data'
import {Warehouse} from "@/views/wms/basicDataManage/factoryModeling/warehouse/warehouse.data"; import {Warehouse} from "@/views/wms/basicDataManage/factoryModeling/warehouse/warehouse.data";
@ -298,6 +299,19 @@ export const RelegateRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
tableForm:{
isInpuFocusShow: false, // 开启查询弹窗
searchListPlaceholder: '请选择物料代码',
searchField: 'code',
searchTitle: '物料基础信息',
searchAllSchemas: Itembasic.allSchemas,
searchPage: ItembasicApi.getItembasicPage,
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
},
form: { form: {
componentProps: { componentProps: {
isSearchList: true, isSearchList: true,

Loading…
Cancel
Save