Commit 4973afc9 authored by renjintao's avatar renjintao

工艺规程、工艺更改单审批相关

parent 71eabcfa
......@@ -47,7 +47,7 @@
</Col>
<Col :span="8">
<FormItem :label="l('version')" prop="versionid">
<Dictionary code="Process.Routing.version" v-model="entity.versionid"></Dictionary>
<Dictionary code="Process.Routing.version" v-model="entity.versionid"></Dictionary>
</FormItem>
</Col>
<Col :span="8">
......@@ -196,7 +196,15 @@ export default {
},
rules: {
name: [{ required: true, message: "必填", trigger: "blur" }],
code: [{ required: true, message: "必填", trigger: "blur" }]
code: [{ required: true, message: "必填", trigger: "blur" }],
routingType: [
{
required: true,
message: "请选择工艺类型",
trigger: "change",
type: "number"
}
]
},
parms: {
app: "technology",
......
......@@ -173,7 +173,7 @@ export default {
attrs: { oprate: "edit" },
on: { click: () => this.edit(params.row.id) }
},
params.row.status == 1 ? "编辑" : ""
params.row.status == 1||params.row.status == 4 ? "编辑" : ""
),
h(
"op",
......@@ -181,7 +181,7 @@ export default {
attrs: { oprate: "delete" },
on: { click: () => this.remove(params.row.id) }
},
params.row.status == 1 ? "删除" : ""
params.row.status == 1||params.row.status == 4 ? "删除" : ""
),
h(
"op",
......
......@@ -275,7 +275,7 @@ export default {
{
title: "操作",
key: "action",
width: 320,
width: 260,
align: "left",
render: (h, params) => {
return h("div", { class: "action" }, [
......
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