You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
429 lines
10 KiB
429 lines
10 KiB
export const insideOption = { |
|
columnSort: true, |
|
tip: false, |
|
height: 'auto', |
|
calcHeight: 32, |
|
simplePage: false, |
|
searchShow: true, |
|
searchMenuSpan: 6, |
|
searchIcon: true, |
|
searchIndex: 3, |
|
tree: false, |
|
border: true, |
|
index: true, |
|
selection: false, |
|
addBtn: false, |
|
editBtn: false, |
|
viewBtn: false, |
|
delBtn: false, |
|
editBtnText: '修改', |
|
labelWidth: 120, |
|
menuWidth: 80, |
|
dialogWidth: 900, |
|
dialogClickModal: false, |
|
searchEnter: true, |
|
excelBtn: false, |
|
filterBtn: true, |
|
searchShowBtn: false, |
|
excelBtn: true, |
|
showOverflowTooltip: true, |
|
addBtnIcon: ' ', |
|
viewBtnIcon: ' ', |
|
delBtnIcon: ' ', |
|
editBtnIcon: ' ', |
|
gridBtn: false, |
|
searchLabelPosition: 'left', |
|
searchLabelWidth: 100, |
|
searchGutter: 24, |
|
searchSpan: 6, |
|
menuAlign: 'left', |
|
gridBtn: false, |
|
searchMenuPosition: 'right', |
|
align: 'center', |
|
column: [ |
|
{ |
|
label: '审理单号', |
|
prop: 'rsCode', |
|
// bind: 'dsPart.partCode', |
|
search: true, |
|
sortable: true, |
|
span: 12, |
|
width: 200 |
|
|
|
}, |
|
{ |
|
label: '车间订单号', |
|
prop: 'woCode', |
|
search: true, |
|
sortable: true, |
|
span: 12, |
|
width: 200 |
|
}, |
|
{ |
|
label: '物料号', |
|
prop: 'partCode', |
|
search: true, |
|
sortable: true, |
|
span: 12, |
|
width: 150 |
|
}, |
|
{ |
|
label: '物料名称', |
|
prop: 'partName', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
width: 150 |
|
}, |
|
{ |
|
label: '批次号', |
|
prop: 'batchNo', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
width: 150 |
|
}, |
|
{ |
|
label: '生产标识', |
|
prop: 'prodIdent', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
width: 150 |
|
}, |
|
{ |
|
label: '供应商代码', |
|
prop: 'oemCode', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
width: 150 |
|
}, |
|
{ |
|
label: '供应商名称', |
|
prop: 'oemName', |
|
search: true, |
|
sortable: true, |
|
span: 12, |
|
width: 150 |
|
}, |
|
{ |
|
label: '审理类型', |
|
prop: 'bizType', |
|
type:'select', |
|
search: true, |
|
sortable: true, |
|
span: 12, |
|
width: 150, |
|
dicUrl:'/api/blade-system/dict/dictionary?code=ReviewSheet-Self-Type', |
|
props: { label: 'dictValue', value: 'dictKey' }, |
|
// props:{ |
|
// label:'dictValue', |
|
// value:'dicKey' |
|
// } |
|
}, |
|
{ |
|
label: '比例', |
|
prop: 'scale', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
width: 150 |
|
}, |
|
{ |
|
label: '需求数量', |
|
prop: 'needValue', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
width: 150 |
|
}, |
|
{ |
|
label: '返修/报废数量', |
|
prop: 'qty', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
width: 150 |
|
}, |
|
{ |
|
label: '故障原因', |
|
prop: 'faultReason', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
width: 150 |
|
}, |
|
// { |
|
// label: '审理状态', |
|
// prop: 'reviewStatus', |
|
// search: true, |
|
// sortable: true, |
|
// span: 12, |
|
// width: 150 |
|
// }, |
|
{ |
|
label: '审理结论', |
|
prop: 'memo', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
width: 150 |
|
}, |
|
{ |
|
label: '提请人员', |
|
prop: 'createUserRealName', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
width: 150 |
|
}, |
|
{ |
|
label: '提请日期', |
|
prop: 'crDate', |
|
type: 'date', |
|
searchRange: true, |
|
format: 'YYYY-MM-DD', |
|
valueFormat: 'YYYY-MM-DD', |
|
search: true, |
|
sortable: true, |
|
span: 12, |
|
width: 150 |
|
}, |
|
{ |
|
label: '审理时间', |
|
prop: 'reviewDate', |
|
type: 'date', |
|
searchRange: true, |
|
format: 'YYYY-MM-DD', |
|
valueFormat: 'YYYY-MM-DD', |
|
search: true, |
|
sortable: true, |
|
span: 12, |
|
width: 150 |
|
}, |
|
{ |
|
label: '审理人', |
|
prop: 'reviewUserRealName', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
width: 150 |
|
}, |
|
{ |
|
label: '打回原因', |
|
prop: 'backReason', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
width: 150 |
|
}, |
|
{ |
|
label: '镀前价格', |
|
prop: 'priceBeforePlate', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
width: 150 |
|
}, |
|
] |
|
} |
|
|
|
export const erpOption = { |
|
columnSort: true, |
|
tip: false, |
|
height: 'auto', |
|
calcHeight: 32, |
|
simplePage: false, |
|
searchShow: true, |
|
searchMenuSpan: 18, |
|
searchIcon: true, |
|
searchIndex: 3, |
|
tree: false, |
|
border: true, |
|
index: true, |
|
selection: false, |
|
addBtn: false, |
|
editBtn: false, |
|
viewBtn: false, |
|
delBtn: false, |
|
editBtnText: '修改', |
|
labelWidth: 120, |
|
menuWidth: 80, |
|
dialogWidth: 900, |
|
dialogClickModal: false, |
|
searchEnter: true, |
|
excelBtn: false, |
|
filterBtn: true, |
|
searchShowBtn: false, |
|
excelBtn: true, |
|
showOverflowTooltip: true, |
|
addBtnIcon: ' ', |
|
viewBtnIcon: ' ', |
|
delBtnIcon: ' ', |
|
editBtnIcon: ' ', |
|
gridBtn: false, |
|
searchLabelPosition: 'left', |
|
searchGutter: 24, |
|
searchSpan: 6, |
|
menuAlign: 'left', |
|
gridBtn: false, |
|
searchMenuPosition: 'right', |
|
align: 'center', |
|
menu:false, |
|
column: [ |
|
{ |
|
label: '审理单号', |
|
// prop: 'rsCode', |
|
prop: 'rsCode', |
|
// bind: 'dsPart.partCode', |
|
search: true, |
|
sortable: true, |
|
span: 12, |
|
width:200 |
|
|
|
}, |
|
{ |
|
label: '责任零件', |
|
// prop: 'dutyPart', |
|
prop:'p5layer1', |
|
// bind: 'dsPart.partCode', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
width:150 |
|
|
|
}, |
|
|
|
{ |
|
label: '责任批号', |
|
// prop: 'dutyBatNo', |
|
prop: 'p5layer3', |
|
// bind: 'dsPart.plate', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
display: false, |
|
width:200 |
|
}, |
|
{ |
|
label: '工序号', |
|
prop: 'process', |
|
// prop: 'processNo', |
|
// bind: 'dsPart.plate', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
display: false, |
|
width:150 |
|
}, |
|
{ |
|
label: '工序名称', |
|
prop: 'processName', |
|
// prop: 'processName', |
|
// bind: 'dsPart.plate', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
display: false, |
|
width:150 |
|
}, |
|
{ |
|
label: '上级编号', |
|
prop: 'precode', |
|
// prop: 'upCode', |
|
// bind: 'dsPart.plate', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
display: false, |
|
width:200 |
|
}, |
|
{ |
|
label: '返修路线', |
|
prop: 'reworkLine', |
|
// prop: 'reDoPath', |
|
// bind: 'dsPart.plate', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
display: false, |
|
width:150 |
|
}, |
|
{ |
|
label: '发生单位', |
|
prop: 'deptcode', |
|
// prop: 'ngOrg', |
|
// bind: 'dsPart.plate', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
display: false, |
|
width:150 |
|
}, |
|
{ |
|
label: '责任部门', |
|
prop: 'layer1', |
|
// prop: 'dutyDeptName', |
|
// bind: 'dsPart.plate', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
display: false, |
|
width:150 |
|
}, |
|
{ |
|
label: '审理人', |
|
prop: 'usercode', |
|
// prop: 'reviewUserRealName', |
|
// bind: 'dsPart.plate', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
display: false, |
|
width:150 |
|
}, |
|
{ |
|
label: '零件号', |
|
prop: 'partCode', |
|
// prop: 'partCode', |
|
// bind: 'dsPart.plate', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
display: false, |
|
width:150 |
|
}, |
|
{ |
|
label: '批次号', |
|
prop: 'lotno', |
|
// prop: 'batchNo', |
|
// bind: 'dsPart.plate', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
display: false, |
|
width:150 |
|
}, |
|
{ |
|
label: '备注', |
|
prop: 'remark', |
|
// bind: 'dsPart.plate', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
display: false, |
|
width:150 |
|
}, |
|
{ |
|
label: '处理意见', |
|
prop: 'memo', |
|
// bind: 'dsPart.plate', |
|
search: false, |
|
sortable: true, |
|
span: 12, |
|
display: false, |
|
width:150 |
|
}, |
|
], |
|
} |