Browse Source

bug修改

master_hella_20240701
parent
commit
d125661f81
  1. 42
      src/views/qms/inspection/inspectionJob/inspectionJobMain.data.ts
  2. 38
      src/views/qms/inspection/inspectionRequest/inspectionMain.data.ts

42
src/views/qms/inspection/inspectionJob/inspectionJobMain.data.ts

@ -36,19 +36,19 @@ export const InspectionJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '物料批次',
field: 'materialBatch',
sort: 'custom',
isSearch: true,
isSearch: false,
},
{
label: '订单号',
field: 'orderCode',
sort: 'custom',
isSearch: true,
isSearch: false,
},
{
label: '订单行',
field: 'orderRow',
sort: 'custom',
isSearch: true,
isSearch: false,
form: {
component: 'InputNumber',
value: 0
@ -58,13 +58,13 @@ export const InspectionJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '凭证号',
field: 'certificateCode',
sort: 'custom',
isSearch: true,
isSearch: false,
},
{
label: '凭证行',
field: 'certificateRow',
sort: 'custom',
isSearch: true,
isSearch: false,
form: {
component: 'InputNumber',
value: 0
@ -74,37 +74,37 @@ export const InspectionJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '检验方案编码',
field: 'inspectionSchemeCode',
sort: 'custom',
isSearch: true,
isSearch: false,
},
{
label: '检验方案Json',
field: 'inspectionSchemeJson',
sort: 'custom',
isSearch: true,
isSearch: false,
},
{
label: '检验批次',
field: 'inspectionBatch',
sort: 'custom',
isSearch: true,
isSearch: false,
},
{
label: '检验批数量',
field: 'inspectionBatchAmount',
sort: 'custom',
isSearch: true,
isSearch: false,
},
{
label: '采样总数量',
field: 'sampleTatalAmount',
sort: 'custom',
isSearch: true,
isSearch: false,
},
{
label: '检验类型',
field: 'inspectionType',
sort: 'custom',
isSearch: true,
isSearch: false,
form: {
component: 'SelectV2'
},
@ -113,13 +113,13 @@ export const InspectionJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '检验批来源',
field: 'inspectionBatchSource',
sort: 'custom',
isSearch: true,
isSearch: false,
},
{
label: '检验阶段',
field: 'inspectionStage',
sort: 'custom',
isSearch: true,
isSearch: false,
form: {
component: 'InputNumber',
value: 0
@ -129,26 +129,26 @@ export const InspectionJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '检验严格性',
field: 'inspectionStringency',
sort: 'custom',
isSearch: true,
isSearch: false,
},
{
label: '检验任务包装列表',
field: 'inspectionTaskPackageCode',
sort: 'custom',
isSearch: true,
isSearch: false,
},
{
label: '检验任务工序列表',
field: 'inspectionTaskProcessCode',
sort: 'custom',
isSearch: true,
isSearch: false,
},
{
label: '计划开始时间',
field: 'planStartTime',
sort: 'custom',
formatter: dateFormatter,
isSearch: true,
isSearch: false,
search: {
component: 'DatePicker',
componentProps: {
@ -170,7 +170,7 @@ export const InspectionJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'planEndTime',
sort: 'custom',
formatter: dateFormatter,
isSearch: true,
isSearch: false,
search: {
component: 'DatePicker',
componentProps: {
@ -191,19 +191,19 @@ export const InspectionJobMain = useCrudSchemas(reactive<CrudSchema[]>([
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: '操作',

38
src/views/qms/inspection/inspectionRequest/inspectionMain.data.ts

@ -30,7 +30,7 @@ export const InspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'applicationDate',
sort: 'custom',
formatter: dateFormatter,
isSearch: true,
isSearch: false,
search: {
component: 'DatePicker',
componentProps: {
@ -52,7 +52,7 @@ export const InspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'applicationTime',
sort: 'custom',
formatter: dateFormatter,
isSearch: true,
isSearch: false,
search: {
component: 'DatePicker',
componentProps: {
@ -74,7 +74,7 @@ export const InspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'requestStartTime',
sort: 'custom',
formatter: dateFormatter,
isSearch: true,
isSearch: false,
search: {
component: 'DatePicker',
componentProps: {
@ -96,7 +96,7 @@ export const InspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'requestEndTime',
sort: 'custom',
formatter: dateFormatter,
isSearch: true,
isSearch: false,
search: {
component: 'DatePicker',
componentProps: {
@ -118,7 +118,7 @@ export const InspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'finishTime',
sort: 'custom',
formatter: dateFormatter,
isSearch: true,
isSearch: false,
search: {
component: 'DatePicker',
componentProps: {
@ -139,37 +139,37 @@ export const InspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
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<CrudSchema[]>([
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<CrudSchema[]>([
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: '操作',

Loading…
Cancel
Save