Ver código fonte

线索调整

qymljy 2 anos atrás
pai
commit
6e1ae01141

+ 4 - 2
src/HManagement/clueManage/clue_import/detailPage/modules/edit.vue

@@ -65,12 +65,12 @@
               </el-option>
             </el-select>
           </el-col>
-          <el-col :span="24">
+          <el-col :span="24" v-if="siteid !== 'HY'">
             <el-form-item label="总投资额(百万):" prop="totalinvestment">
               <el-input v-model="form.totalinvestment" placeholder="请填写金额(百万)"></el-input>
             </el-form-item>
           </el-col>
-          <el-col :span="24">
+          <el-col :span="24" v-if="siteid !== 'HY'">
             <el-form-item label="造价(百万):" prop="costofconstruction">
               <el-input v-model="form.costofconstruction" placeholder="请填写金额(百万)"></el-input>
             </el-form-item>
@@ -231,11 +231,13 @@ export default {
       options:[],
       tradefieldSelect:[],
       unitnameList:[],
+      siteid:''
     }
   },
   methods:{
     onShow () {
       this.drawer = true
+      this.siteid = JSON.parse(sessionStorage.getItem('active_account')).siteid
       this.form = Object.assign({},this.form,this.data)
      /* this.form.enterprisename = this.data.enterprisename_customer*/
       this.form.province = [this.data.province,this.data.city,this.data.county]

+ 4 - 2
src/HManagement/clueManage/m_activity/modules/addClue.vue

@@ -74,12 +74,12 @@
                 </el-option>
               </el-select>
             </el-col>
-            <el-col :span="24">
+            <el-col :span="24"  v-if="siteid !== 'HY'">
               <el-form-item label="总投资额(万元):" prop="totalinvestment">
                 <el-input v-model="form.totalinvestment" placeholder="请填写金额(万元)"></el-input>
               </el-form-item>
             </el-col>
-            <el-col :span="24">
+            <el-col :span="24"  v-if="siteid !== 'HY'">
               <el-form-item label="造价(万元):" prop="costofconstruction">
                 <el-input v-model="form.costofconstruction" placeholder="请填写金额(万元)"></el-input>
               </el-form-item>
@@ -240,12 +240,14 @@ export default {
       },
       options:[],
       tradefieldSelect:[],
+      siteid:''
     }
   },
   methods:{
     onShow () {
       this.drawer = true
       this.activityName = this.data.name
+      this.siteid = JSON.parse(sessionStorage.getItem('active_account')).siteid
       this.queryTradefield()
       this.queryUnitname()
     },

+ 4 - 2
src/HManagement/clueManage/m_activity/modules/editClue.vue

@@ -76,12 +76,12 @@
               </el-col>
 
 
-            <el-col :span="24">
+            <el-col :span="24"  v-if="siteid !== 'HY'">
               <el-form-item label="总投资额(万元):" prop="totalinvestment">
                 <el-input v-model="form.totalinvestment" placeholder="请填写金额(万元)"></el-input>
               </el-form-item>
             </el-col>
-            <el-col :span="24">
+            <el-col :span="24"  v-if="siteid !== 'HY'">
               <el-form-item label="造价(万元):" prop="costofconstruction">
                 <el-input v-model="form.costofconstruction" placeholder="请填写金额(万元)"></el-input>
               </el-form-item>
@@ -233,12 +233,14 @@ export default {
       },
       options:[],
       tradefieldSelect:[],
+      siteid:''
     }
   },
   props:['data','disabled','rowData'],
   methods:{
     editBtn () {
       this.drawer = true
+      this.siteid = JSON.parse(sessionStorage.getItem('active_account')).siteid
       this.form = Object.assign({},this.form,this.data)
       this.form.enterprisename = this.data.enterprisename_customer
       this.form.province = [this.form.province,this.form.city,this.form.county]