fix:工艺路线
This commit is contained in:
parent
6d0d40eef5
commit
984c481df8
|
@ -23,7 +23,6 @@
|
|||
placeholder="工序"
|
||||
clearable
|
||||
style="width: 100%"
|
||||
:disabled="updateDisable"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in options"
|
||||
|
@ -384,7 +383,7 @@ export default {
|
|||
.req(that.form)
|
||||
.then((res) => {
|
||||
that.isSaveing = false;
|
||||
that.$emit("success", that.form, that.mode);
|
||||
that.$emit("success");
|
||||
that.visible = false;
|
||||
that.$message.success("操作成功");
|
||||
})
|
||||
|
@ -392,17 +391,14 @@ export default {
|
|||
that.isSaveing = false;
|
||||
});
|
||||
} else {
|
||||
that.$API.mtm.route.update
|
||||
.req(that.form.id, that.form)
|
||||
.then((res) => {
|
||||
that.isSaveing = false;
|
||||
that.$emit("success", that.form, that.mode);
|
||||
that.visible = false;
|
||||
that.$message.success("操作成功");
|
||||
})
|
||||
.catch((res) => {
|
||||
that.isSaveing = false;
|
||||
});
|
||||
that.$API.mtm.route.update.req(that.form.id, that.form).then((res) => {
|
||||
that.isSaveing = false;
|
||||
that.$emit("success");
|
||||
that.visible = false;
|
||||
that.$message.success("操作成功");
|
||||
}).catch((res) => {
|
||||
that.isSaveing = false;
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
v-model="fileList"
|
||||
:multiple="false"
|
||||
:limit="1"
|
||||
:accept="['.pdf']"
|
||||
:accept="'.pdf'"
|
||||
@success = "fileUPSuccess"
|
||||
>
|
||||
<el-button type="primary" icon="el-icon-upload"> </el-button>
|
||||
|
@ -110,8 +110,6 @@
|
|||
:query="query"
|
||||
:params="query"
|
||||
row-key="id"
|
||||
hidePagination
|
||||
hideDo
|
||||
stripe
|
||||
>
|
||||
<el-table-column label="排序" prop="sort" width="50">
|
||||
|
|
Loading…
Reference in New Issue