Forráskód Böngészése

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

wangguangping 3 éve
szülő
commit
9c099e3630
1 módosított fájl, 1 hozzáadás és 1 törlés
  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: "确定"
                             });