瀏覽代碼

调整项目管理新增的客户显示

Lijy 3 年之前
父節點
當前提交
688aed7d43

+ 2 - 2
fhKeeper/formulahousekeeper/timesheet/config/index.js

@@ -4,8 +4,8 @@ var path = require('path')
 // var ip = '192.168.2.36'
 
  
-// var ip = '47.100.37.243'
-var ip = '192.168.2.63'
+var ip = '47.100.37.243'
+// var ip = '192.168.2.63'
 
 // var os = require('os'), ip = '', ifaces = os.networkInterfaces() // 获取本机ip
 

+ 6 - 4
fhKeeper/formulahousekeeper/timesheet/src/views/project/list.vue

@@ -163,10 +163,12 @@
                     <el-tooltip effect="dark" content="普通项目只对参与人员开放,公共项目对所有成员开放" placement="top-start">
                     <i class="el-icon-question"></i>
                     </el-tooltip>
-                    <span style="margin-left:63px;margin-right:10px;" v-if="user.company.packageCustomer == 1">客户</span>
-                    <el-select v-model="addForm.customerId" clearable="true" filterable placeholder="请选择客户" style="width:33%;" >
-                        <el-option v-for="item in customerList" :key="item.id" :label="item.customerName" :value="item.id"></el-option>
-                    </el-select>
+                    <div v-if="user.company.packageProject==1" style="display: inline-block;width: 50%">
+                        <span style="margin-left:63px;margin-right:10px;" v-if="user.company.packageCustomer == 1">客户</span>
+                        <el-select v-model="addForm.customerId" clearable="true" filterable placeholder="请选择客户" style="width:70%;" >
+                            <el-option v-for="item in customerList" :key="item.id" :label="item.customerName" :value="item.id"></el-option>
+                        </el-select>
+                    </div>
                 </el-form-item>
                 <el-form-item :label="yonghuUser.customDegreeName" v-if="yonghuUser.customDegreeActive == 1">
                     <el-select v-model="auseList" multiple placeholder="请选择" filterable="true" style="width: 100%">