| | |
| | | const options = [ |
| | | { |
| | | value: '1', |
| | | label: '未质检', |
| | | label: t('reportingWorks.unqualified'), |
| | | }, |
| | | { |
| | | value: '2', |
| | | label: '已质检', |
| | | label: t('reportingWorks.qualified'), |
| | | }, |
| | | ] |
| | | |
| | |
| | | },//表头参数 |
| | | columns:[ |
| | | {type:'expand',fixed:"left",slots: { content:'content' }}, |
| | | {title: '操作', width: 100, slots: { default: 'button_slot' },fixed:"left"}, |
| | | { type: 'seq',fixed:"left", title: '自序',}, |
| | | {title: t('basicData.operate'), width: 100, slots: { default: 'button_slot' },fixed:"left"}, |
| | | { type: 'seq',fixed:"left", title: t('basicData.Number'),}, |
| | | |
| | | {field: 'reportingWorkId',width: 130, title: '报工编号',filters:[{ data: '' }],slots: { filter: 'num1_filter' }, }, |
| | | {field: 'reportingWorkTime',width: 120, title: '报工时间',showOverflow:"ellipsis" }, |
| | | {field: 'processId',width: 130, title: '流程卡号',filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'order.project',width: 120, title: '项目名称',filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'order.customerName',width: 120, title: '客户名称',filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'thisProcess',width: 100, title: '本工序',showOverflow:"ellipsis"}, |
| | | {field: 'thisCompletedQuantity',width: 100, title: '完工数量'}, |
| | | {field: 'thisWornQuantity', width: 100,title: '次破数量'}, |
| | | {field: 'teamsGroupsName',width: 110, title: '报工班组'}, |
| | | {field: 'deviceName',width: 110, title: '报工设备'}, |
| | | {field: 'previousProcess', width: 100,title: '上工序'}, |
| | | {field: 'nextProcess',width: 100, title: '下工序'}, |
| | | {field: 'qualityInspector',width: 120, title: '质检员'}, |
| | | {field: 'qualityInsTime',width: 120, title: '质检时间'}, |
| | | {field: 'damageDetails.qualityInsStatus',width: 120, title: '质检状态'} |
| | | {field: 'reportingWorkId',width: 130, title: t('reportingWorks.reportingWorkId'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }, }, |
| | | {field: 'reportingWorkTime',width: 120, title: t('reportingWorks.reportingWorkTime'),showOverflow:"ellipsis" }, |
| | | {field: 'processId',width: 130, title: t('processCard.processId'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'order.project',width: 120, title: t('order.project'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'order.customerName',width: 120, title: t('customer.customerName'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'thisProcess',width: 100, title: t('reportingWorks.thisProcess'),showOverflow:"ellipsis"}, |
| | | {field: 'thisCompletedQuantity',width: 100, title: t('reportingWorks.thisCompletedQuantity')}, |
| | | {field: 'thisWornQuantity', width: 100,title: t('reportingWorks.thisWornQuantity')}, |
| | | {field: 'teamsGroupsName',width: 110, title: t('reportingWorks.teamsType')}, |
| | | {field: 'deviceName',width: 110, title: t('reportingWorks.deviceType')}, |
| | | {field: 'previousProcess', width: 100,title: t('reportingWorks.previousProcess')}, |
| | | {field: 'nextProcess',width: 100, title: t('reportingWorks.nextProcess')}, |
| | | {field: 'qualityInspector',width: 120, title: t('reportingWorks.qualityInspector')}, |
| | | {field: 'qualityInsTime',width: 120, title: t('reportingWorks.qualityInsTime')}, |
| | | {field: 'damageDetails.qualityInsStatus',width: 120, title: t('reportingWorks.qualityInsStatus')} |
| | | ],//表头按钮 |
| | | |
| | | toolbarConfig: { |
| | |
| | | /> |
| | | </el-select> |
| | | |
| | | <el-input v-model="form.processId" clearable placeholder="流程卡号" style="width: 130px"></el-input> |
| | | <el-input v-model="form.processId" clearable :placeholder="$t('processCard.processId')" style="width: 130px"></el-input> |
| | | |
| | | <el-button |
| | | @click="getWorkOrder" |
| | |
| | | size="small"> |
| | | {{ $t('basicData.edit') }} |
| | | </el-button> |
| | | <el-button v-if="row.damageDetails.qualityInsStatus===1" @click="getTableRow(row,'setType')" link type="primary" size="small">审核</el-button> |
| | | <el-button v-else disabled @click="getTableRow(row,'setType')" link type="primary" size="small">审核</el-button> |
| | | <el-button v-if="row.damageDetails.qualityInsStatus===1" @click="getTableRow(row,'setType')" link type="primary" size="small">{{ $t('basicData.review') }}</el-button> |
| | | <el-button v-else disabled @click="getTableRow(row,'setType')" link type="primary" size="small">{{ $t('basicData.review') }}</el-button> |
| | | </template> |
| | | |
| | | <template #num1_filter="{ column, $panel }"> |