|
@ -15,10 +15,14 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
field: 'number', |
|
|
field: 'number', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
isForm: false, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 200, |
|
|
width: 200, |
|
|
fixed: 'left' |
|
|
fixed: 'left' |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -26,9 +30,13 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
field: 'requestNumber', |
|
|
field: 'requestNumber', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
isForm: false, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 200 |
|
|
width: 200 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -36,9 +44,13 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
field: 'jobNumber', |
|
|
field: 'jobNumber', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 200 |
|
|
width: 200 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -46,6 +58,7 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
field: 'asnNumber', |
|
|
field: 'asnNumber', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
|
|
|
isForm:false, |
|
|
form: { |
|
|
form: { |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
disabled: true |
|
|
disabled: true |
|
@ -60,9 +73,13 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
field: 'supplierCode', |
|
|
field: 'supplierCode', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 200 |
|
|
width: 200 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -70,7 +87,6 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
field: 'supplierName', |
|
|
field: 'supplierName', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 200 |
|
|
width: 200 |
|
|
}, |
|
|
}, |
|
@ -85,7 +101,6 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
field: 'itemCode', |
|
|
field: 'itemCode', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
@ -100,7 +115,6 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
field: 'itemName', |
|
|
field: 'itemName', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 200 |
|
|
width: 200 |
|
|
}, |
|
|
}, |
|
@ -115,9 +129,13 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
field: 'batch', |
|
|
field: 'batch', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -125,9 +143,13 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
field: 'supplierBatch', |
|
|
field: 'supplierBatch', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -135,9 +157,13 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
field: 'inspectionSchemeCode', |
|
|
field: 'inspectionSchemeCode', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 200 |
|
|
width: 200 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -145,9 +171,13 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
field: 'inspectionBatch', |
|
|
field: 'inspectionBatch', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -155,9 +185,13 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
field: 'inspectionBatchAmount', |
|
|
field: 'inspectionBatchAmount', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
// {
|
|
|
// {
|
|
@ -176,9 +210,11 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
dictType: DICT_TYPE.INSPECTION_TYPE, |
|
|
dictType: DICT_TYPE.INSPECTION_TYPE, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
form: { |
|
|
form: { |
|
|
component: 'Select' |
|
|
component: 'Select', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
@ -189,9 +225,13 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
field: 'referenceOrderCode', |
|
|
field: 'referenceOrderCode', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -199,10 +239,13 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
field: 'referenceOrderRow', |
|
|
field: 'referenceOrderRow', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
value: 0 |
|
|
value: 0, |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
@ -213,9 +256,13 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
field: 'referenceCertificateCode', |
|
|
field: 'referenceCertificateCode', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -224,10 +271,13 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
field: 'referenceCertificateRow', |
|
|
field: 'referenceCertificateRow', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
value: 0 |
|
|
value: 0, |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
@ -238,10 +288,13 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
field: 'inspectionStage', |
|
|
field: 'inspectionStage', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
value: 0 |
|
|
value: 0, |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
@ -253,9 +306,13 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
dictType: DICT_TYPE.INSPECTION_SEVERITY, |
|
|
dictType: DICT_TYPE.INSPECTION_SEVERITY, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -264,7 +321,6 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
search: { |
|
|
search: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -277,7 +333,8 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
type: 'datetime', |
|
|
type: 'datetime', |
|
|
valueFormat: 'x' |
|
|
valueFormat: 'x', |
|
|
|
|
|
disabled: true |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
detail: { |
|
|
detail: { |
|
@ -293,7 +350,6 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
search: { |
|
|
search: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -306,7 +362,8 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
type: 'datetime', |
|
|
type: 'datetime', |
|
|
valueFormat: 'x' |
|
|
valueFormat: 'x', |
|
|
|
|
|
disabled: true |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
detail: { |
|
|
detail: { |
|
@ -322,7 +379,6 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
search: { |
|
|
search: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -335,7 +391,8 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
type: 'datetime', |
|
|
type: 'datetime', |
|
|
valueFormat: 'x' |
|
|
valueFormat: 'x', |
|
|
|
|
|
disabled: true |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
detail: { |
|
|
detail: { |
|
@ -351,7 +408,6 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
search: { |
|
|
search: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -364,7 +420,8 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
type: 'datetime', |
|
|
type: 'datetime', |
|
|
valueFormat: 'x' |
|
|
valueFormat: 'x', |
|
|
|
|
|
disabled: true |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
detail: { |
|
|
detail: { |
|
@ -374,13 +431,13 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
width: 175 |
|
|
width: 175 |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '收货时间', |
|
|
label: '收货时间', |
|
|
field: 'deliveryTime', |
|
|
field: 'deliveryTime', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
search: { |
|
|
search: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -390,6 +447,7 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
type: 'datetime', |
|
|
type: 'datetime', |
|
|
valueFormat: 'x' |
|
|
valueFormat: 'x' |
|
@ -408,9 +466,13 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
dictType: DICT_TYPE.INSPECTION_LEVEL, |
|
|
dictType: DICT_TYPE.INSPECTION_LEVEL, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -419,9 +481,13 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
dictType: DICT_TYPE.BASIC_AQL, |
|
|
dictType: DICT_TYPE.BASIC_AQL, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -432,7 +498,8 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
dictType: DICT_TYPE.USAGE_DECISION, |
|
|
dictType: DICT_TYPE.USAGE_DECISION, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
} |
|
|
}, |
|
|
|
|
|
isForm:false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '执行结果', |
|
|
label: '执行结果', |
|
@ -440,31 +507,13 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
dictType: DICT_TYPE.EVALUATION_CODE, |
|
|
dictType: DICT_TYPE.EVALUATION_CODE, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '是否可用', |
|
|
|
|
|
field: 'available', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
|
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
|
|
|
search: { |
|
|
|
|
|
value: 'TRUE' |
|
|
|
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
component: 'Switch', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
componentProps: { |
|
|
componentProps: { |
|
|
inactiveValue: 'FALSE', |
|
|
disabled: true |
|
|
activeValue: 'TRUE' |
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 110 |
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -537,7 +586,7 @@ export const InspectionRecordMain = useCrudSchemas( |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isDetail: false, |
|
|
isDetail: false, |
|
|
table: { |
|
|
table: { |
|
|
width: 200, |
|
|
width: 250, |
|
|
fixed: 'right' |
|
|
fixed: 'right' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -859,3 +908,40 @@ export const InspectionRecordPackageRules = reactive({ |
|
|
{ validator: validateSixNum, message: '小数点后最多6位', trigger: 'blur' } |
|
|
{ validator: validateSixNum, message: '小数点后最多6位', trigger: 'blur' } |
|
|
], |
|
|
], |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//表单校验
|
|
|
|
|
|
export const InspectionRecordUserRules = reactive({ |
|
|
|
|
|
useDecision: [required], |
|
|
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* @returns {Array} 检验任务子表 |
|
|
|
|
|
*/ |
|
|
|
|
|
export const InspectionRecordUser = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
|
|
{ |
|
|
|
|
|
label: '发货单号', |
|
|
|
|
|
field: 'asnNumber', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 180 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '使用决策', |
|
|
|
|
|
field: 'useDecision', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
isSearch: false, |
|
|
|
|
|
dictType: DICT_TYPE.USAGE_DECISION, |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
])) |
|
|