| | |
| | | maxHeight: { type: Number, default: 3000 }, |
| | | |
| | | fit: { type: String, default: 'contain' }, |
| | | |
| | | marginX: { type: String, default: '30px' }, |
| | | dialogTitle: { type: String, default: '设置图片尺寸' }, |
| | | showHint: { type: Boolean, default: true } |
| | | }) |
| | |
| | | return { |
| | | width: `${w}px`, |
| | | height: `${h}px`, |
| | | margin: props.margin, |
| | | marginLeft: props.marginX, |
| | | marginRight: props.marginX |
| | | } |
| | | } |
| | | |
| | | |
| | | const openSizeDialog = (img, index) => { |
| | | const key = getKey(img, index) |
| | | activeKey.value = key |
| | |
| | | {field: 'process_id',width: 150, title: t('processCard.processId'),filters: [{data: ''}], |
| | | slots: {filter: 'num1_filter'}, |
| | | filterMethod: filterChanged}, |
| | | {field: 'technology_number', width: 110,title: t('processCard.technologyNumber'),showOverflow:"ellipsis",filters: [{data: ''}], |
| | | slots: {filter: 'num1_filter'}, |
| | | filterMethod: filterChanged}, |
| | | {field: 'print_status', width: 120,title: t('processCard.numberTimesProcessCardPrinted')}, |
| | | {field: 'print_number', width: 110,title: t('processCard.numberLabelPrintingOperations')}, |
| | | {field: 'order_number', width: 100,title: t('order.OrderNum'),showOverflow:"ellipsis",filters: [{data: ''}], |
| | |
| | | // {field: 'glassNumber', width: 110,title: t('reportingWorks.glassNumber'),showOverflow:"ellipsis",filters: [{data: ''}], |
| | | // slots: {filter: 'num1_filter'}, |
| | | // filterMethod: filterChanged}, |
| | | {field: 'technology_number', width: 110,title: t('processCard.technologyNumber'),showOverflow:"ellipsis",filters: [{data: ''}], |
| | | slots: {filter: 'num1_filter'}, |
| | | filterMethod: filterChanged}, |
| | | |
| | | {field: 'quantity', width: 90,title: t('order.quantity')}, |
| | | {field: 'grossArea', width: 90,title: t('order.area')}, |
| | | {field: 'broken_num',width: 90, title: t('reportingWorks.quantityBroken')}, |