Pārlūkot izejas kodu

请上传现场考察报告

yuedefeng 5 gadi atpakaļ
vecāks
revīzija
9bddfe52b0

+ 5 - 5
src/dashoo.cn/frontend_web/src/components/oilsupplier/subfilelist.vue

@@ -82,10 +82,10 @@
               <div  v-for="(tmpUrl,index) in scope.row.FileUrlList" :key="index" style="vertical-align: middle;	text-align: center;">
 
                 <el-link :href="'http://'+fileurlcut(scope.row.FileUrl, index)" target="_blank" type="primary"
-                  v-if="imgFormat(scope.row.FileUrl, index)" 
+                  v-if="imgFormat(scope.row.FileUrl, index)"
                 >
                 {{scope.row.FileName.split('$')[index]}}</el-link>
-               
+
                 <img
                   v-else
                   class="photoStyle" alt=""
@@ -138,7 +138,7 @@
                 <div slot="tip" class="el-upload__tip" v-if="SubfileForm.NeedFileType ==yasuoname">请上传压缩文件
                 </div>
               </el-upload>  -->
-              <el-upload 
+              <el-upload
                 :multiple="false" style="margin-top: 10px;" class="attach-uploader"
                 action=""
                 :before-upload="beforeAvatarUpload"
@@ -348,7 +348,7 @@
         }
       },
        handleRemove(file) {
-        console.log(file);  
+        console.log(file);
       },
       handlePictureCardPreview(file) {
         this.dialogImageUrl = file.url;
@@ -592,7 +592,7 @@
               }
             }
           }
-          if ((this.isInvestigate) && (this.InStyle != '2')) {
+          if ((this.isInvestigate) && (this.InStyle != '2') && (this.OperType == '代理商')) {
             if (this.scenefile.Id == '' || this.scenefile.Id == '0') {
               this.$message({
                 type: 'warning',

+ 1 - 1
src/dashoo.cn/frontend_web/src/components/oilsupplier/subfilelist2.vue

@@ -535,7 +535,7 @@
               }
             }
           }
-          if ((this.isInvestigate) && (this.InStyle != '2')) {
+          if ((this.isInvestigate) && (this.InStyle != '2') && (this.OperType == '代理商')) {
             if (this.scenefile.Id == '' || this.scenefile.Id == '0') {
               this.$message({
                 type: 'warning',

+ 0 - 3
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/basisedit.vue

@@ -1516,9 +1516,6 @@ export default {
     },
     getFirAuditerByDept () {
       let deptid = this.authUser.Profile.DepartmentId
-      if (!deptid) {
-        return false
-      }
       this.userOptions = []
       let auditstepcode = 'FIRST_TRIAL' // 初审人
       api.getFirAuditerByDept(deptid, auditstepcode, this.$axios).then(res => {