From d125661f81ddcd8fad83e42d32294b2458bb4830 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B7=BB=E7=A0=96-JAVA=5CAdministrator?= <591141169@qq.com> Date: Tue, 2 Apr 2024 09:02:36 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inspectionJob/inspectionJobMain.data.ts | 518 +++++++++--------- .../inspectionRequest/inspectionMain.data.ts | 38 +- 2 files changed, 278 insertions(+), 278 deletions(-) diff --git a/src/views/qms/inspection/inspectionJob/inspectionJobMain.data.ts b/src/views/qms/inspection/inspectionJob/inspectionJobMain.data.ts index 3931624dd..39900a607 100644 --- a/src/views/qms/inspection/inspectionJob/inspectionJobMain.data.ts +++ b/src/views/qms/inspection/inspectionJob/inspectionJobMain.data.ts @@ -8,203 +8,203 @@ const { t } = useI18n() // 国际化 * @returns {Array} 备件申请主表 */ export const InspectionJobMain = useCrudSchemas(reactive([ - { - label: '编码', - field: 'number', - sort: 'custom', - isSearch: true, - }, - { - label: '申请编码', - field: 'inspectionCode', - sort: 'custom', - isSearch: true, - }, - { - label: '供应商编码', - field: 'supplierCode', - sort: 'custom', - isSearch: true, - }, - { - label: '物料编码', - field: 'materialCode', - sort: 'custom', - isSearch: true, - }, - { - label: '物料批次', - field: 'materialBatch', - sort: 'custom', - isSearch: true, - }, - { - label: '订单号', - field: 'orderCode', - sort: 'custom', - isSearch: true, - }, - { - label: '订单行', - field: 'orderRow', - sort: 'custom', - isSearch: true, - form: { - component: 'InputNumber', - value: 0 - }, - }, - { - label: '凭证号', - field: 'certificateCode', - sort: 'custom', - isSearch: true, - }, - { - label: '凭证行', - field: 'certificateRow', - sort: 'custom', - isSearch: true, - form: { - component: 'InputNumber', - value: 0 - }, - }, - { - label: '检验方案编码', - field: 'inspectionSchemeCode', - sort: 'custom', - isSearch: true, - }, - { - label: '检验方案Json', - field: 'inspectionSchemeJson', - sort: 'custom', - isSearch: true, - }, - { - label: '检验批次', - field: 'inspectionBatch', - sort: 'custom', - isSearch: true, - }, - { - label: '检验批数量', - field: 'inspectionBatchAmount', - sort: 'custom', - isSearch: true, - }, - { - label: '采样总数量', - field: 'sampleTatalAmount', - sort: 'custom', - isSearch: true, - }, - { - label: '检验类型', - field: 'inspectionType', - sort: 'custom', - isSearch: true, - form: { - component: 'SelectV2' - }, - }, - { - label: '检验批来源', - field: 'inspectionBatchSource', - sort: 'custom', - isSearch: true, - }, - { - label: '检验阶段', - field: 'inspectionStage', - sort: 'custom', - isSearch: true, - form: { - component: 'InputNumber', - value: 0 - }, - }, - { - label: '检验严格性', - field: 'inspectionStringency', - sort: 'custom', - isSearch: true, - }, - { - label: '检验任务包装列表', - field: 'inspectionTaskPackageCode', - sort: 'custom', - isSearch: true, - }, - { - label: '检验任务工序列表', - field: 'inspectionTaskProcessCode', - sort: 'custom', - isSearch: true, - }, - { - label: '计划开始时间', - field: 'planStartTime', - sort: 'custom', - formatter: dateFormatter, - isSearch: true, - search: { - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD HH:mm:ss', - type: 'daterange', - defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] - } - }, - form: { - component: 'DatePicker', - componentProps: { - type: 'datetime', - valueFormat: 'x' - } - }, - }, - { - label: '计划结束时间', - field: 'planEndTime', - sort: 'custom', - formatter: dateFormatter, - isSearch: true, - search: { - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD HH:mm:ss', - type: 'daterange', - defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] - } - }, - form: { - component: 'DatePicker', - componentProps: { - type: 'datetime', - valueFormat: 'x' - } - }, - }, - { - label: '检验水平', - field: 'inspectionLevel', - sort: 'custom', - isSearch: true, - }, - { - label: 'AQL值', - field: 'aqlValue', - sort: 'custom', - isSearch: true, - }, - { - label: '是否可用', - field: 'available', - sort: 'custom', - isSearch: true, - }, + { + label: '编码', + field: 'number', + sort: 'custom', + isSearch: true, + }, + { + label: '申请编码', + field: 'inspectionCode', + sort: 'custom', + isSearch: true, + }, + { + label: '供应商编码', + field: 'supplierCode', + sort: 'custom', + isSearch: true, + }, + { + label: '物料编码', + field: 'materialCode', + sort: 'custom', + isSearch: true, + }, + { + label: '物料批次', + field: 'materialBatch', + sort: 'custom', + isSearch: false, + }, + { + label: '订单号', + field: 'orderCode', + sort: 'custom', + isSearch: false, + }, + { + label: '订单行', + field: 'orderRow', + sort: 'custom', + isSearch: false, + form: { + component: 'InputNumber', + value: 0 + }, + }, + { + label: '凭证号', + field: 'certificateCode', + sort: 'custom', + isSearch: false, + }, + { + label: '凭证行', + field: 'certificateRow', + sort: 'custom', + isSearch: false, + form: { + component: 'InputNumber', + value: 0 + }, + }, + { + label: '检验方案编码', + field: 'inspectionSchemeCode', + sort: 'custom', + isSearch: false, + }, + { + label: '检验方案Json', + field: 'inspectionSchemeJson', + sort: 'custom', + isSearch: false, + }, + { + label: '检验批次', + field: 'inspectionBatch', + sort: 'custom', + isSearch: false, + }, + { + label: '检验批数量', + field: 'inspectionBatchAmount', + sort: 'custom', + isSearch: false, + }, + { + label: '采样总数量', + field: 'sampleTatalAmount', + sort: 'custom', + isSearch: false, + }, + { + label: '检验类型', + field: 'inspectionType', + sort: 'custom', + isSearch: false, + form: { + component: 'SelectV2' + }, + }, + { + label: '检验批来源', + field: 'inspectionBatchSource', + sort: 'custom', + isSearch: false, + }, + { + label: '检验阶段', + field: 'inspectionStage', + sort: 'custom', + isSearch: false, + form: { + component: 'InputNumber', + value: 0 + }, + }, + { + label: '检验严格性', + field: 'inspectionStringency', + sort: 'custom', + isSearch: false, + }, + { + label: '检验任务包装列表', + field: 'inspectionTaskPackageCode', + sort: 'custom', + isSearch: false, + }, + { + label: '检验任务工序列表', + field: 'inspectionTaskProcessCode', + sort: 'custom', + isSearch: false, + }, + { + label: '计划开始时间', + field: 'planStartTime', + sort: 'custom', + formatter: dateFormatter, + isSearch: false, + search: { + component: 'DatePicker', + componentProps: { + valueFormat: 'YYYY-MM-DD HH:mm:ss', + type: 'daterange', + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + } + }, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + valueFormat: 'x' + } + }, + }, + { + label: '计划结束时间', + field: 'planEndTime', + sort: 'custom', + formatter: dateFormatter, + isSearch: false, + search: { + component: 'DatePicker', + componentProps: { + valueFormat: 'YYYY-MM-DD HH:mm:ss', + type: 'daterange', + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + } + }, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + valueFormat: 'x' + } + }, + }, + { + label: '检验水平', + field: 'inspectionLevel', + sort: 'custom', + isSearch: false, + }, + { + label: 'AQL值', + field: 'aqlValue', + sort: 'custom', + isSearch: false, + }, + { + label: '是否可用', + field: 'available', + sort: 'custom', + isSearch: false, + }, { label: '操作', field: 'action', @@ -243,70 +243,70 @@ export const InspectionJobMainRules = reactive({ * @returns {Array} 备件申请子表 */ export const InspectionJobDetail = useCrudSchemas(reactive([ - { - label: 'id', - field: 'id', - sort: 'custom', - isTable: false, - isSearch: true, - isForm: false, - }, - { - label: '单据号', - field: 'number', - sort: 'custom', - isSearch: true, - }, - { - label: '主表ID', - field: 'masterId', - sort: 'custom', - isSearch: true, - form: { - component: 'InputNumber', - value: 0 - }, - }, - { - label: '任务编码', - field: 'taskCode', - sort: 'custom', - isSearch: true, - }, - { - label: '工序编码', - field: 'processCode', - sort: 'custom', - isSearch: true, - }, - { - label: '工序描述', - field: 'processDescribe', - sort: 'custom', - isSearch: true, - }, - { - label: '顺序号', - field: 'sequenceCode', - sort: 'custom', - isSearch: true, - form: { - component: 'InputNumber', - value: 0 - }, - }, - { - label: '检验特性编号', - field: 'inspectionFeatureCode', - sort: 'custom', - isSearch: true, + { + label: 'id', + field: 'id', + sort: 'custom', + isTable: false, + isSearch: true, + isForm: false, + }, + { + label: '单据号', + field: 'number', + sort: 'custom', + isSearch: true, + }, + { + label: '主表ID', + field: 'masterId', + sort: 'custom', + isSearch: true, + form: { + component: 'InputNumber', + value: 0 }, - { - label: '是否可用', - field: 'available', - sort: 'custom', - isSearch: true, + }, + { + label: '任务编码', + field: 'taskCode', + sort: 'custom', + isSearch: true, + }, + { + label: '工序编码', + field: 'processCode', + sort: 'custom', + isSearch: true, + }, + { + label: '工序描述', + field: 'processDescribe', + sort: 'custom', + isSearch: true, + }, + { + label: '顺序号', + field: 'sequenceCode', + sort: 'custom', + isSearch: true, + form: { + component: 'InputNumber', + value: 0 }, + }, + { + label: '检验特性编号', + field: 'inspectionFeatureCode', + sort: 'custom', + isSearch: true, + }, + { + label: '是否可用', + field: 'available', + sort: 'custom', + isSearch: true, + }, { label: '操作', field: 'action', diff --git a/src/views/qms/inspection/inspectionRequest/inspectionMain.data.ts b/src/views/qms/inspection/inspectionRequest/inspectionMain.data.ts index 4b1686ebc..a7ba6ec9c 100644 --- a/src/views/qms/inspection/inspectionRequest/inspectionMain.data.ts +++ b/src/views/qms/inspection/inspectionRequest/inspectionMain.data.ts @@ -30,7 +30,7 @@ export const InspectionMain = useCrudSchemas(reactive([ field: 'applicationDate', sort: 'custom', formatter: dateFormatter, - isSearch: true, + isSearch: false, search: { component: 'DatePicker', componentProps: { @@ -52,7 +52,7 @@ export const InspectionMain = useCrudSchemas(reactive([ field: 'applicationTime', sort: 'custom', formatter: dateFormatter, - isSearch: true, + isSearch: false, search: { component: 'DatePicker', componentProps: { @@ -74,7 +74,7 @@ export const InspectionMain = useCrudSchemas(reactive([ field: 'requestStartTime', sort: 'custom', formatter: dateFormatter, - isSearch: true, + isSearch: false, search: { component: 'DatePicker', componentProps: { @@ -96,7 +96,7 @@ export const InspectionMain = useCrudSchemas(reactive([ field: 'requestEndTime', sort: 'custom', formatter: dateFormatter, - isSearch: true, + isSearch: false, search: { component: 'DatePicker', componentProps: { @@ -118,7 +118,7 @@ export const InspectionMain = useCrudSchemas(reactive([ field: 'finishTime', sort: 'custom', formatter: dateFormatter, - isSearch: true, + isSearch: false, search: { component: 'DatePicker', componentProps: { @@ -139,37 +139,37 @@ export const InspectionMain = useCrudSchemas(reactive([ label: '供应商编码', field: 'supplierCode', sort: 'custom', - isSearch: true, + isSearch: false, }, { label: '物料编码', field: 'materialCode', sort: 'custom', - isSearch: true, + isSearch: false, }, { label: '批次', field: 'batch', sort: 'custom', - isSearch: true, + isSearch: false, }, { label: '待检数量', field: 'requestInspectionNum', sort: 'custom', - isSearch: true, + isSearch: false, }, { label: '参考订单号', field: 'referenceOrderCode', sort: 'custom', - isSearch: true, + isSearch: false, }, { label: '参考订单行', field: 'referenceOrderRow', sort: 'custom', - isSearch: true, + isSearch: false, form: { component: 'InputNumber', value: 0 @@ -179,13 +179,13 @@ export const InspectionMain = useCrudSchemas(reactive([ label: '参考凭证号', field: 'referenceCertificateCode', sort: 'custom', - isSearch: true, + isSearch: false, }, { label: '参考凭证行', field: 'referenceCertificateRow', sort: 'custom', - isSearch: true, + isSearch: false, form: { component: 'InputNumber', value: 0 @@ -195,37 +195,37 @@ export const InspectionMain = useCrudSchemas(reactive([ label: '检验方案编码', field: 'inspectionSchemeCode', sort: 'custom', - isSearch: true, + isSearch: false, }, { label: '检验阶段', field: 'inspectionStageCode', sort: 'custom', - isSearch: true, + isSearch: false, }, { label: '检验申请包装列表', field: 'applicationPackageCode', sort: 'custom', - isSearch: true, + isSearch: false, }, { label: '检验水平', field: 'inspectionLevel', sort: 'custom', - isSearch: true, + isSearch: false, }, { label: 'AQL值', field: 'aqlValue', sort: 'custom', - isSearch: true, + isSearch: false, }, { label: '是否可用', field: 'available', sort: 'custom', - isSearch: true, + isSearch: false, }, { label: '操作',