|
|
@ -3,8 +3,6 @@ import { dateFormatter,dateFormatter2 } from '@/utils/formatTime' |
|
|
|
import * as SupplierApi from '@/api/wms/supplier' |
|
|
|
import { Supplier } from '@/views/wms/basicDataManage/supplierManage/supplier/supplier.data' |
|
|
|
import * as getRequestsettingApi from '@/api/wms/requestsetting/index' |
|
|
|
// import { PurchasePlanMain } from '../purchasePlanMain/purchasePlanMain.data'
|
|
|
|
import * as PurchasePlanMainApi from '@/api/wms/purchasePlanMain' |
|
|
|
import * as PurchasePlanDetailApi from '@/api/wms/purchasePlanDetail' |
|
|
|
import { PurchasePlanDetail, PurchasePlanMain } from '../purchasePlanMain/purchasePlanMain.data' |
|
|
|
import { validateHanset, validateEmail } from '@/utils/validator' |
|
|
@ -23,8 +21,8 @@ const data = await getRequestsettingApi.getRequestsettingPage(queryParams) |
|
|
|
const requestsettingData = data?.list[0] || {} |
|
|
|
|
|
|
|
// 获取当前操作人的部门
|
|
|
|
import { useUserStore } from '@/store/modules/user' |
|
|
|
import { TableColumn } from '@/types/table' |
|
|
|
import { useUserStore } from '@/store/modules/user' |
|
|
|
import { TableColumn } from '@/types/table' |
|
|
|
import { tr } from 'element-plus/es/locale' |
|
|
|
const userStore = useUserStore() |
|
|
|
const userDept = userStore.userSelfInfo.dept |
|
|
@ -64,7 +62,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '供应商信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Supplier.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: SupplierApi.getSupplierPage // 查询弹窗所需分页方法
|
|
|
|
searchPage: SupplierApi.getSupplierPageSCP // 查询弹窗所需分页方法
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
@ -94,8 +92,8 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
searchListPlaceholder: '请选择要货计划单号', // 输入框占位文本
|
|
|
|
searchField: 'number', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '要货计划信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: PurchasePlanMain.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: PurchasePlanMainApi.getPurchasePlanMainPage, // 查询弹窗所需分页方法
|
|
|
|
searchAllSchemas: PurchasePlanDetail.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition: [ |
|
|
|
{ |
|
|
|
key: 'supplierCode', |
|
|
@ -1692,4 +1690,4 @@ export const SupplierdeliverRequestPackage = useCrudSchemas(reactive<CrudSchema[ |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
])) |
|
|
|
])) |
|
|
|