| | |
| | | <div class="app-container"> |
| | | <el-card class="box-card"> |
| | | <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> |
| | | <el-form-item label="工单编号" prop="workOrderNo"> |
| | | <el-input |
| | | v-model="queryParams.workOrderNo" |
| | | placeholder="请输入工单编号" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label-width="100px" label="总成序列号" prop="sfcCode"> |
| | | <el-input |
| | | v-model="queryParams.sfcCode" |
| | | placeholder="请输入总成序列号" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="工序" prop="locationCode"> |
| | | <el-input |
| | | v-model="queryParams.locationCode" |
| | | placeholder="请输入工序" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="入站时间" prop="inboundTime"> |
| | | <el-date-picker clearable |
| | | v-model="queryParams.inboundTime" |
| | |
| | | |
| | | <el-table v-loading="loading" border :data="passingStationCollectionList" @selection-change="handleSelectionChange" v-if="passingStationCollectionList.length > 0"> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="工单编号" align="center" prop="workOrderNo"> |
| | | <el-table-column label="工单编号" width="100" align="center" prop="workOrderNo"> |
| | | </el-table-column> |
| | | <!-- <el-table-column label="总成序列号" align="center" prop="sfcCode">--> |
| | | <!-- </el-table-column>--> |
| | | <el-table-column label="产品序列号" align="center" prop="productCode"> |
| | | <el-table-column label="总成序列号" width="310" align="center" prop="sfcCode"> |
| | | </el-table-column> |
| | | <el-table-column label="产品编码" align="center" prop="productCode"> |
| | | </el-table-column> |
| | | <!-- <el-table-column label="产线编号" align="center" prop="productionLine">--> |
| | | <!-- </el-table-column>--> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column label="是否合格" align="center" prop="outRsSign"> |
| | | <el-table-column label="是否合格" align="center"> |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.qualified_status" :value="scope.row.outRsSign"/> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="NG原因" align="center" prop="outMsgSign"> |
| | | </el-table-column> |
| | |
| | | <!-- <span>{{ parseTime(scope.row.collectionTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>--> |
| | | <!-- </template>--> |
| | | <!-- </el-table-column>--> |
| | | <el-table-column label="节拍时间" align="center" prop="beatTime"> |
| | | </el-table-column> |
| | | <!-- <el-table-column label="节拍时间" align="center" prop="beatTime">--> |
| | | <!-- </el-table-column>--> |
| | | <el-table-column fixed="right" label="操作" width="200" align="center" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="mini" |
| | | type="success" |
| | | plain |
| | | style="width: 72px" |
| | | icon="el-icon-edit" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['da:passingStationCollection:edit']" |
| | | >修改</el-button> |
| | | <!-- <el-button--> |
| | | <!-- size="mini"--> |
| | | <!-- type="success"--> |
| | | <!-- plain--> |
| | | <!-- style="width: 72px"--> |
| | | <!-- icon="el-icon-edit"--> |
| | | <!-- @click="handleUpdate(scope.row)"--> |
| | | <!-- v-hasPermi="['da:passingStationCollection:edit']"--> |
| | | <!-- >修改</el-button>--> |
| | | <el-button |
| | | size="mini" |
| | | type="danger" |
| | |
| | | placeholder="请选择出站时间"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item label="是否合格" prop="outRsSign"> |
| | | <el-form-item label="是否合格"> |
| | | <el-input v-model="form.outRsSign" placeholder="请输入出站是否合格" /> |
| | | </el-form-item> |
| | | <el-form-item label="NG原因" prop="outMsgSign"> |
| | |
| | | |
| | | export default { |
| | | name: "PassingStationCollection", |
| | | dicts: ['qualified_status'], |
| | | data() { |
| | | return { |
| | | // 遮罩层 |