Commit 06044a4f authored by 张海景's avatar 张海景

update:修改工序可以为空

parent e71445cd
...@@ -294,13 +294,13 @@ ...@@ -294,13 +294,13 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="所在车间" prop="workshopName"> <el-form-item label="所在车间" prop="workshopName">
<el-input v-model="form.workshopName" placeholder="请选输入所在车间" /> <el-input v-model="form.workshopName" placeholder="请选输入所在车间" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="所属工序" prop="processName"> <el-form-item label="所属工序" prop="processName">
<el-input v-model="form.processName" placeholder="请选输入工序" /> <el-input v-model="form.processName" @blur="handleChangeProcessName" placeholder="请选输入工序" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
...@@ -647,6 +647,13 @@ export default { ...@@ -647,6 +647,13 @@ export default {
// this.getWarehouseList(); // this.getWarehouseList();
}, },
methods: { methods: {
handleChangeProcessName(value) {
if(!this.form.processName) {
this.form.processId = ''
this.form.processCode = ''
}
console.log(value, this.form)
},
/** 查询工作站列表 */ /** 查询工作站列表 */
getList() { getList() {
this.loading = true; this.loading = true;
......
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