|
@ -10,7 +10,6 @@ import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/item |
|
|
import * as ProductionlineitemApi from '@/api/wms/productionlineitem' |
|
|
import * as ProductionlineitemApi from '@/api/wms/productionlineitem' |
|
|
import { Productionlineitem } from '@/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data' |
|
|
import { Productionlineitem } from '@/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import * as QadCostcentreApi from '@/api/wms/qadCostcentre' |
|
|
import * as QadCostcentreApi from '@/api/wms/qadCostcentre' |
|
|
import { QadCostcentre } from '@/views/wms/basicDataManage/subject/qadCostcentre/qadCostcentre.data' |
|
|
import { QadCostcentre } from '@/views/wms/basicDataManage/subject/qadCostcentre/qadCostcentre.data' |
|
|
|
|
|
|
|
@ -115,7 +114,7 @@ export const InspectionQ3Main = useCrudSchemas( |
|
|
dictType: DICT_TYPE.QUALITY_NOTIFICATION_PRIORITY, |
|
|
dictType: DICT_TYPE.QUALITY_NOTIFICATION_PRIORITY, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isTable: false, |
|
|
isTable: true, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
type: 'Select' |
|
|
type: 'Select' |
|
|
} |
|
|
} |
|
@ -153,7 +152,8 @@ export const InspectionQ3Main = useCrudSchemas( |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
min: 0, |
|
|
min: 0, |
|
|
precision: 6 |
|
|
precision: 6, |
|
|
|
|
|
disabled: true |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@ -208,7 +208,7 @@ export const InspectionQ3Main = useCrudSchemas( |
|
|
field: 'costCode', |
|
|
field: 'costCode', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isTable: false, |
|
|
isTable: true, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
form: { |
|
|
form: { |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
@ -245,8 +245,17 @@ export const InspectionQ3Main = useCrudSchemas( |
|
|
label: '缺陷编码', |
|
|
label: '缺陷编码', |
|
|
field: 'defectCode', |
|
|
field: 'defectCode', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
dictType: DICT_TYPE.QMS_Q3_CODE, |
|
|
|
|
|
dictClass: 'string', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false |
|
|
isForm: false, |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 180 |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
type: 'Select' |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '缺陷位置', |
|
|
label: '缺陷位置', |
|
@ -360,15 +369,9 @@ export const InspectionQ3Main = useCrudSchemas( |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
export const InspectionQ3MainRules = reactive({ |
|
|
export const InspectionQ3MainRules = reactive({ |
|
|
workshopCode: [{ required: true, message: '请选择车间代码', trigger: 'change' }], |
|
|
priority: [{ required: true, message: '请选择优先级', trigger: 'change' }], |
|
|
productionLineCode: [{ required: true, message: '请选择生产线代码', trigger: 'change' }], |
|
|
handleTime: [{ required: true, message: '请选择处理时间', trigger: 'change' }], |
|
|
// fromWarehouseCode: [
|
|
|
desc: [{ max: 50, message: '不得超过50个字符', trigger: 'blur' }] |
|
|
// { required: true, message: '请选择从仓库代码', trigger: 'change' }
|
|
|
|
|
|
// ],
|
|
|
|
|
|
// dueTime: [
|
|
|
|
|
|
// { required: true, message: '请选择截止时间', trigger: 'change' }
|
|
|
|
|
|
// ],
|
|
|
|
|
|
remark: [{ max: 50, message: '不得超过50个字符', trigger: 'blur' }] |
|
|
|
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
@ -389,6 +392,7 @@ export const InspectionQ3Detail = useCrudSchemas( |
|
|
field: 'itemCode', |
|
|
field: 'itemCode', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
|
|
|
isDetail: true, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
@ -553,7 +557,7 @@ export const InspectionQ3Detail = useCrudSchemas( |
|
|
dictType: DICT_TYPE.QMS_Q3_CODE, |
|
|
dictType: DICT_TYPE.QMS_Q3_CODE, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
isTable: true, |
|
|
isTable: false, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
type: 'Select' |
|
|
type: 'Select' |
|
|
} |
|
|
} |
|
@ -580,7 +584,6 @@ export const InspectionQ3Detail = useCrudSchemas( |
|
|
type: 'Select', |
|
|
type: 'Select', |
|
|
valueField: 'productionLineName', |
|
|
valueField: 'productionLineName', |
|
|
labelField: 'productionLineCode' |
|
|
labelField: 'productionLineCode' |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -596,6 +599,7 @@ export const InspectionQ3Detail = useCrudSchemas( |
|
|
{ |
|
|
{ |
|
|
label: '问题原因', |
|
|
label: '问题原因', |
|
|
field: 'problemReason', |
|
|
field: 'problemReason', |
|
|
|
|
|
hiddenInMain: true, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isTable: false, |
|
|
isTable: false, |
|
|