Commit 4973afc9 authored by renjintao's avatar renjintao

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

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