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