Commit 3db59ffa authored by 李驰骋's avatar 李驰骋

工单状态修改

parent 292e9a72
...@@ -17,16 +17,17 @@ ...@@ -17,16 +17,17 @@
/> />
</el-form-item> --> </el-form-item> -->
<el-form-item label="状态" prop="status"> <el-form-item label="状态" prop="status">
<el-select <el-select value="['','']"
v-model="queryParams.status" v-model="queryParams.statusArr"
clearable clearable
placeholder="请选择状态" placeholder="请选择状态"
multiple="true"
> >
<el-option <el-option
v-for="item in options" v-for="dict in dict.type.mes_order_status"
:key="item.value" :key="dict.value"
:label="item.label" :label="dict.label"
:value="item.value" :value="dict.value"
> >
</el-option> </el-option>
</el-select> </el-select>
...@@ -323,6 +324,12 @@ ...@@ -323,6 +324,12 @@
width="100px" width="100px"
prop="batchCode" prop="batchCode"
/> />
<el-table-column
label="编排单号"
align="center"
width="100px"
prop="arrangeCode"
/>
<el-table-column label="客户编码" align="center" prop="clientCode" /> <el-table-column label="客户编码" align="center" prop="clientCode" />
<el-table-column <el-table-column
label="客户名称" label="客户名称"
...@@ -711,7 +718,7 @@ import { getToken } from "@/utils/auth"; ...@@ -711,7 +718,7 @@ import { getToken } from "@/utils/auth";
export default { export default {
name: "Workorder", name: "Workorder",
dicts: ["mes_order_status", "mes_workorder_sourcetype", "mes_workorder_type"], dicts: ["mes_order_status", "mes_workorder_sourcetype", "mes_workorder_type", "mes_order_status"],
components: { components: {
Treeselect, Treeselect,
ItemSelect, ItemSelect,
...@@ -782,19 +789,8 @@ export default { ...@@ -782,19 +789,8 @@ export default {
requestDate: null, requestDate: null,
parentId: null, parentId: null,
ancestors: null, ancestors: null,
status: "PREPARE", statusArr: ["PREPARE","CONFIRMED"],
}, },
// 表单状态
options: [
{ value: "PREPARE", label: "待确认" },
{ value: "CONFIRMED", label: "已确认" },
{ value: "APPROVING", label: "审批中" },
{ value: "APPROVED", label: "已审批" },
{ value: "FINISHED", label: "已完成" },
{ value: "TASKGENERATED", label: "已生成任务单" },
{ value: "ISSUEGENERATED", label: "已生成领料单" },
{ value: "PRODUCIONG", label: "生产中" },
],
// 表单参数 // 表单参数
form: {}, form: {},
// 表单校验 // 表单校验
...@@ -1097,6 +1093,7 @@ export default { ...@@ -1097,6 +1093,7 @@ export default {
return doCheckToolNum(ids); return doCheckToolNum(ids);
}) })
.then(() => { .then(() => {
this.getList();
this.$modal.msgSuccess("已齐套"); this.$modal.msgSuccess("已齐套");
}) })
.catch(() => {}); .catch(() => {});
......
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