瀏覽代碼

fix: 标书制作留资问题

yangfeng 3 年之前
父節點
當前提交
df03912280

+ 4 - 3
src/jfw/modules/app/src/web/templates/frontRouter/bigmember/free/perfect_info.html

@@ -543,7 +543,8 @@
         company_size: false,
         workScope: true,
         partnerNeeds: true,
-        agree: true
+        agree: true,
+        branch: true
       },
       jobJson: [
         '总裁', 
@@ -613,7 +614,7 @@
         }
 
         if (source == 'bid_document_Introduction_page') {
-          var hideType = ['email', 'class', 'companyType', 'workScope', 'partnerNeeds', 'agree', 'position']
+          var hideType = ['email', 'class', 'companyType', 'workScope', 'partnerNeeds', 'agree']
           for (var k in this.moduleShow) {
             if (hideType.indexOf(k) !== -1)
               this.moduleShow[k] = false
@@ -714,7 +715,7 @@
         }
         var zc = this.infoMap.position.indexOf('总裁') > -1
         var zjl = this.infoMap.position.indexOf('总经理') > -1
-        return !(zc || zjl) && this.infoMap.position
+        return Boolean(!(zc || zjl) && this.infoMap.position && this.moduleShow['position'])
       }
     },
     methods: {

+ 3 - 2
src/web/templates/frontRouter/wx/bigmember/free/perfect_info.html

@@ -555,6 +555,7 @@
         workScope: true,
         partnerNeeds: true,
         agree: true,
+        branch: true
       },
       jobJson: [
         '总裁', 
@@ -645,7 +646,7 @@
           document.title = '完善信息'
         }
         if (source == 'bid_document_Introduction_page') {
-          var hideType = ['email', 'class', 'companyType', 'workScope', 'partnerNeeds', 'agree', 'position']
+          var hideType = ['email', 'class', 'companyType', 'workScope', 'partnerNeeds', 'agree', 'position', 'branch']
           for (var k in this.moduleShow) {
             if (hideType.indexOf(k) !== -1)
               this.moduleShow[k] = false
@@ -743,7 +744,7 @@
         }
         var zc = this.infoMap.position.indexOf('总裁') > -1
         var zjl = this.infoMap.position.indexOf('总经理') > -1
-        return !(zc || zjl) && this.infoMap.position
+        return Boolean(!(zc || zjl) && this.infoMap.position && this.moduleShow['position'])
       }
     },
     methods: {