浏览代码

【修改】家用、商用工程单

howie 2 年之前
父节点
当前提交
37345bbde5
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/views/supply/engin/components/commerce_form.vue

+ 4 - 0
src/views/supply/engin/components/commerce_form.vue

@@ -911,6 +911,10 @@ export default {
               this.$errorMsg('数量不能大于工程信息数量');
               this.$errorMsg('数量不能大于工程信息数量');
               return;
               return;
             }
             }
+            if(!this.multipleSelection[i].correspondId){
+              this.$errorMsg('请选择仓库');
+              return;
+            }
           }
           }
 
 
           let goodsList = JSON.parse(JSON.stringify(this.multipleSelection));
           let goodsList = JSON.parse(JSON.stringify(this.multipleSelection));