Commit c38def5e authored by 徐来柯's avatar 徐来柯

update

parent b686da9a
...@@ -189,6 +189,18 @@ export default { ...@@ -189,6 +189,18 @@ export default {
this.deleteShow = true this.deleteShow = true
this.deletetext = '物料编号需为字母加数字组合' this.deletetext = '物料编号需为字母加数字组合'
return return
}
if (data.Name.trim() === '') {
this.typeV = '5'
this.deleteShow = true
this.deletetext = '物料名称不能为空'
return
}
if (data.Company.trim() === '') {
this.typeV = '5'
this.deleteShow = true
this.deletetext = '物料单位不能为空'
return
} }
this.$axios({ this.$axios({
method:"post", method:"post",
......
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