Commit 1043fb47 authored by 沈翠玲's avatar 沈翠玲

生产报工

parent d1e0b820
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<el-table :data="tableData" @selection-change="handleSelectionChange"> <el-table :data="tableData" @selection-change="handleSelectionChange">
<!-- <el-table-column type="selection" width="55" align="center" /> --> <!-- <el-table-column type="selection" width="55" align="center" /> -->
<el-table-column label="物料名称" align="center" prop="itemName" /> <el-table-column label="物料名称" align="center" prop="itemName" width="125" />
<el-table-column label="物料编号" align="center" prop="sapItemCode" /> <el-table-column label="物料编号" align="center" prop="sapItemCode" />
<el-table-column <el-table-column
label="组件数量" label="组件数量"
......
...@@ -270,6 +270,11 @@ ...@@ -270,6 +270,11 @@
<dict-tag :options="dict.type.mes_workorder_status" :value="scope.row.status" /> <dict-tag :options="dict.type.mes_workorder_status" :value="scope.row.status" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="完工状态" align="center" prop="status">
<template slot-scope="scope">
{{scope.row.workorderStatus === 'Completed' ? '完工' : '未完工'}}
</template>
</el-table-column>
<el-table-column label="工单类型" align="center" prop="workorderType"> <el-table-column label="工单类型" align="center" prop="workorderType">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.mes_workorder_type" :value="scope.row.workorderType" /> <dict-tag :options="dict.type.mes_workorder_type" :value="scope.row.workorderType" />
......
...@@ -412,6 +412,8 @@ export default { ...@@ -412,6 +412,8 @@ export default {
// 表单参数 // 表单参数
form: { form: {
workorderId: null, workorderId: null,
moduleNum: null,
dispatchMultiple: null,
workorderCode: null, workorderCode: null,
workorderName: null, workorderName: null,
routeName: null, routeName: null,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment