Commit a20b6703 authored by Mac's avatar Mac

1

parent f366fab4
...@@ -1769,6 +1769,13 @@ ...@@ -1769,6 +1769,13 @@
if (this.SpecificationList.length > 0) { if (this.SpecificationList.length > 0) {
this.addMsg.IsCustomSpecification = 1; this.addMsg.IsCustomSpecification = 1;
} }
if (this.SpecificationList.length == 0) {
this.addMsg.IsCustomSpecification = 2;
}
if(this.addMsg.IsCustomSpecification != 1 && this.SpecificationList.length==0){
this.Error("请选择规格项目!");
return
}
if (this.addMsg.SeparateDistributionType == 1) { if (this.addMsg.SeparateDistributionType == 1) {
this.disList1 = [{ this.disList1 = [{
SpecificationSort: "", SpecificationSort: "",
......
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