|
|
@ -1,8 +1,12 @@ |
|
|
|
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' |
|
|
|
import { dateFormatter } from '@/utils/formatTime' |
|
|
|
const { t } = useI18n() // 国际化
|
|
|
|
import * as getRequestsettingApi from '@/api/wms/requestsetting/index' |
|
|
|
|
|
|
|
import * as IssueRecordDetailApi from '@/api/wms/issueRecordDetail' |
|
|
|
import { IssueRecordDetail } from '../../issue/issueRecordMain/issueRecordMain.data' |
|
|
|
|
|
|
|
const { t } = useI18n() // 国际化
|
|
|
|
|
|
|
|
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
|
|
|
|
const queryParams = { |
|
|
|
pageSize:10, |
|
|
@ -29,6 +33,17 @@ export const OnlinesettlementRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isSearch: true, |
|
|
|
form: { |
|
|
|
labelMessage: '该记录中物料代码、供应商代码会影响单号的选择,请在供应商物品信息中维护', |
|
|
|
componentProps: { |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择发料记录单号', // 输入框占位文本
|
|
|
|
searchField: 'number', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '发料记录', // 查询弹窗标题
|
|
|
|
searchAllSchemas: IssueRecordDetail.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: IssueRecordDetailApi.getIssueRecordDetailPage, // 查询弹窗所需分页方法
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '仓库代码', |
|
|
@ -332,6 +347,35 @@ export const OnlinesettlementRequestDetail = useCrudSchemas(reactive<CrudSchema[ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择包装号', // 输入框占位文本
|
|
|
|
searchField: 'toPackingNumber', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '发料记录', // 查询弹窗标题
|
|
|
|
searchAllSchemas: IssueRecordDetail.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: IssueRecordDetailApi.getIssueRecordDetailPage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition: [{ |
|
|
|
key:'number', |
|
|
|
value:'issueRecordNumber', |
|
|
|
isMainValue: true |
|
|
|
}] |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm:{ |
|
|
|
isInpuFocusShow: true, |
|
|
|
searchListPlaceholder: '请选择包装号', // 输入框占位文本
|
|
|
|
searchField: 'toPackingNumber', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '发料记录', // 查询弹窗标题
|
|
|
|
searchAllSchemas: IssueRecordDetail.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: IssueRecordDetailApi.getIssueRecordDetailPage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition: [{ |
|
|
|
key:'number', |
|
|
|
value:'issueRecordNumber', |
|
|
|
isMainValue: true |
|
|
|
}] |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '器具号', |
|
|
|