Commit 4527a636 authored by 沈翠玲's avatar 沈翠玲

检测模版

parent 497a93a0
...@@ -329,7 +329,7 @@ export default { ...@@ -329,7 +329,7 @@ export default {
updateTime: null updateTime: null
}; };
this.autoGenFlag = false; this.autoGenFlag = false;
this.resetForm("form"); // this.resetForm("form");
}, },
/** 搜索按钮操作 */ /** 搜索按钮操作 */
handleQuery() { handleQuery() {
...@@ -381,7 +381,7 @@ export default { ...@@ -381,7 +381,7 @@ export default {
this.$refs["form"].validate(valid => { this.$refs["form"].validate(valid => {
const params = JSON.parse(JSON.stringify(this.form)) const params = JSON.parse(JSON.stringify(this.form))
if (params.qcType === 'IQC') { if (params.qcType === 'IQC') {
params.qcTypesParam = null params.qcTypesParam = []
} else { } else {
if (!params.qcTypesParam || params.qcTypesParam.length === 0) return this.$message.warning('检测种类必选') if (!params.qcTypesParam || params.qcTypesParam.length === 0) return this.$message.warning('检测种类必选')
} }
......
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