| | |
| | | </el-table-column> |
| | | <el-table-column prop="qualifiedNum" label="合格数量" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <span>{{row.qualifiedNum ? (row.qualifiedNum + row.umodel.name) : '-' }}</span> |
| | | <span class="valid-style">{{row.qualifiedNum ? (row.qualifiedNum + row.umodel.name) : '-' }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="unqualifiedNum" label="不良数量" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <span>{{row.unqualifiedNum ? (row.unqualifiedNum + row.umodel.name) : '-' }}</span> |
| | | <span class="unvalid-style">{{row.unqualifiedNum ? (row.unqualifiedNum + row.umodel.name) : '-' }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <!-- <el-table-column prop="originWorkorderId" label="原工单编码" min-width="100px"> |
| | |
| | | fixed="right"> |
| | | <template slot-scope="{row}"> |
| | | <el-button type="text" v-if="containPermissions(['ext:barcodeparamext:query'])" @click="printLable(row)">打印标签</el-button> |
| | | <template v-if="row.status == '0' || row.status == '1'"> |
| | | <el-button v-if="row.status == '0'" type="text" @click="reDistribute(row)" v-permissions="['ext:workorderext:update']">重分配</el-button> |
| | | <el-button v-if="row.status == '0'" type="text" @click="prepare(row)" v-permissions="['ext:workorderext:preparationWTransfer']">备料</el-button> |
| | | <template v-if="row.status == '0' || row.status == '1' || row.status == '7'"> |
| | | <el-button v-if="row.status != '1'" type="text" @click="reDistribute(row)" v-permissions="['ext:workorderext:update']">重分配</el-button> |
| | | <!-- <el-button v-if="row.status !== '1'" type="text" @click="prepare(row)" v-permissions="['ext:workorderext:preparationWTransfer']">备料</el-button> --> |
| | | <span style="margin-left: 8px" v-permissions="['ext:workorderext:delete']"> |
| | | <el-button type="text" @click="cancel(row)">取消</el-button> |
| | | </span> |
| | |
| | | status: '', |
| | | mixParam: '', |
| | | pgmodelId: '', |
| | | statusList: [0,1,2,3] |
| | | statusList: [0,1,2,3,7] |
| | | }, |
| | | origins: [], |
| | | types: [ |
| | |
| | | { name: '已检验', id: 3 }, |
| | | // { name: '已报工', id: 4 }, |
| | | // { name: '已入库', id: 5 }, |
| | | // { name: '已取消', id: 6 } |
| | | { name: '生产中', id: 7 } |
| | | ], |
| | | productes: [ |
| | | ], |