|
|
@@ -13,28 +13,51 @@
|
|
|
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="质检名称:" prop="name">
|
|
|
- <el-input clearable v-model="form.name" placeholder="请输入干燥区名称" />
|
|
|
+ <el-input clearable v-model="form.name" placeholder="请输入质检名称" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="工序:" prop="specification">
|
|
|
- <el-input clearable v-model="form.specification" placeholder="请输入规格" />
|
|
|
+ <el-input clearable v-model="form.specification" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
- <el-col :span="24">
|
|
|
- <el-form-item label="位置:" prop="region">
|
|
|
- <el-input clearable v-model="form.region" placeholder="请输入位置" />
|
|
|
+
|
|
|
+
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="产品类型:"></el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="产品类型编码:" prop="code">
|
|
|
+ <el-input clearable v-model="form.code"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="状态:" prop="status">
|
|
|
+ <el-switch v-model="form.status" active-color="#13ce66" inactive-color="#ff4949" :active-value="1"
|
|
|
+ :inactive-value="0">
|
|
|
+ </el-switch>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="备注:" prop="remark">
|
|
|
+ <el-input clearable v-model="form.remark"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
<template v-slot:footer>
|
|
|
@@ -59,7 +82,7 @@ import { save, update } from '@/api/inspectionClassify/index';
|
|
|
|
|
|
export default {
|
|
|
components: {
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
props: {
|
|
|
// 弹窗是否打开
|
|
|
@@ -140,7 +163,7 @@ export default {
|
|
|
})
|
|
|
.catch((e) => {
|
|
|
this.loading = false;
|
|
|
-
|
|
|
+
|
|
|
});
|
|
|
});
|
|
|
},
|
|
|
@@ -172,7 +195,7 @@ export default {
|
|
|
this.isUpdate = true;
|
|
|
} else {
|
|
|
this.isUpdate = false;
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
} else {
|
|
|
this.$refs.form.clearValidate();
|