Commit b4e818dd authored by 沈翠玲's avatar 沈翠玲

工单管理->生产工单->工单修改-> 工艺->设置工装量具->新增->要求数量必填提升

parent 368f1c59
......@@ -255,6 +255,9 @@ export default {
this.editConnectVisible = false;
},
addOrEditubmit() {
if(this.form.itemCode && (!this.form.quantity || this.form.quantity < 1)) {
return this.$message.warning('要求数量不能小于1')
}
if (this.optType == "add") {
this.configmSelect();
} else {
......
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