fix:交接类别完善
This commit is contained in:
parent
281ff811c8
commit
ed4feb2f0c
|
|
@ -136,21 +136,12 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="交接类别" prop="type" width="80">
|
<el-table-column label="交接类别" prop="type" width="80">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-tag v-if="scope.row.type == 10" type="success"
|
<el-tag v-if="scope.row.type == 10" type="success">正常</el-tag>
|
||||||
>正常</el-tag
|
<el-tag v-if="scope.row.type == 20" type="warning">返工</el-tag>
|
||||||
>
|
<el-tag v-if="scope.row.type == 30" type="primary">检验</el-tag>
|
||||||
<el-tag v-if="scope.row.type == 20" type="warning"
|
<el-tag v-if="scope.row.type == 40" type="danger">报废</el-tag>
|
||||||
>返工</el-tag
|
<el-tag v-if="scope.row.type == 50" type="warning">改版</el-tag>
|
||||||
>
|
<el-tag v-if="scope.row.type == 60" type="warning">退料</el-tag>
|
||||||
<el-tag v-if="scope.row.type == 30" type="primary"
|
|
||||||
>检验</el-tag
|
|
||||||
>
|
|
||||||
<el-tag v-if="scope.row.type == 40" type="danger"
|
|
||||||
>报废</el-tag
|
|
||||||
>
|
|
||||||
<el-tag v-if="scope.row.type == 60" type="warning"
|
|
||||||
>退料</el-tag
|
|
||||||
>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
|
|
||||||
|
|
@ -343,7 +343,7 @@ export default {
|
||||||
},
|
},
|
||||||
initForm:{},
|
initForm:{},
|
||||||
selectObjIds:[],
|
selectObjIds:[],
|
||||||
apiObj:this.$API.wpm.wmaterial.list,
|
apiObj:this.$API.mtm.material.list,
|
||||||
apiObjM:null,
|
apiObjM:null,
|
||||||
params:{},
|
params:{},
|
||||||
paramsM:{},
|
paramsM:{},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue