|
|
@ -12,6 +12,22 @@ import * as ItemPackageApi from '@/api/wms/itempackage/index' |
|
|
|
import {validateInteger} from '@/utils/validator' |
|
|
|
const { t } = useI18n() // 国际化
|
|
|
|
|
|
|
|
|
|
|
|
const PurchasePlanDetailSchemas = {...PurchasePlanDetail.allSchemas} |
|
|
|
if(PurchasePlanDetailSchemas?.tableColumns){ |
|
|
|
PurchasePlanDetailSchemas.tableColumns.splice(2, 0, { |
|
|
|
label: '送达日期', |
|
|
|
field: 'deliveryDate', |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
width: 180, |
|
|
|
formatter: dateFormatter2, |
|
|
|
sortTableDefault:2 |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
|
|
|
|
const queryParams = { |
|
|
|
pageSize: 10, |
|
|
@ -107,7 +123,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
searchListPlaceholder: '请选择要货计划单号', // 输入框占位文本
|
|
|
|
searchField: 'number', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '要货计划信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: PurchasePlanDetail.allSchemas, // 查询弹窗所需类
|
|
|
|
searchAllSchemas: PurchasePlanDetailSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition: [ |
|
|
|
{ |
|
|
|