瀏覽代碼

区县物料申请增加上传附件校验

wangguangping 3 年之前
父節點
當前提交
9c099e3630
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/pages/main/advertising/materialApplicationadd.vue

+ 1 - 1
src/pages/main/advertising/materialApplicationadd.vue

@@ -946,7 +946,7 @@ export default {
                             MessageBox.alert("请填写业务名称", "温馨提示", {
                                 confirmButtonText: "确定"
                             });
-                        } else if (this.companyFlag == "1" && this.attList.length == 0) {
+                        } else if ((this.companyFlag == "1"||this.companyFlag == "2") && this.attList.length == 0) {
                             MessageBox.alert("请上传附件", "温馨提示", {
                                 confirmButtonText: "确定"
                             });