yrik 4 years ago
parent
commit
ae186035f7

+ 2 - 2
ruoyi-ui/src/views/management/nstruction/index.vue

@@ -847,7 +847,7 @@ export default {
     this.queryParamsstallation.bmProjectId = this.$route.query.setid;
     this.queryParams.bmProjectId = this.$route.query.setid;
     this.setrd = this.$route.query.setrd;
-    if(this.setrd !== 5){
+    if(this.setrd != 5){
       this.disfal = true
     }else{
       this.disfal = false
@@ -1627,7 +1627,7 @@ export default {
   }
   .mage_ter {
     .el-form-item__label {
-      width: 513px !important;
+      width: 543px !important;
     }
   }
   .maget_ty {

+ 2 - 2
ruoyi-ui/src/views/management/roduction/index.vue

@@ -211,7 +211,7 @@ export default {
     that.bmProjectId = that.$route.query.setid;
     that.form.bmProjectId = that.$route.query.setid;
     that.setrd = that.$route.query.setrd;
-    if(that.setrd !== 7){
+    if(that.setrd != 7){
       this.disfal  = true
     }else{
       this.disfal  = false
@@ -482,7 +482,7 @@ export default {
   }
   .mage_ter {
     .el-form-item__label {
-      width: 513px !important;
+      width: 543px !important;
     }
   }
   .maget_ty {

+ 1 - 1
ruoyi-ui/src/views/management/row/index.vue

@@ -508,7 +508,7 @@ export default {
   }
   .mage_ter {
     .el-form-item__label {
-      width: 513px !important;
+      width: 543px !important;
     }
   }
   .maget_ty {

+ 44 - 6
ruoyi-ui/src/views/under/index.vue

@@ -149,6 +149,7 @@
             v-model="queryParams.contactor"
             placeholder="请输入投资方联系人"
             clearable
+            :disabled = "disfal"
             size="small"
             style="width: 223px"
           />
@@ -157,6 +158,7 @@
           <el-input
             v-model.number="queryParams.phone"
             placeholder="请输入联系方式"
+            :disabled = "disfal"
             clearable
             size="small"
             style="width: 233px"
@@ -171,6 +173,7 @@
             <el-cascader
                v-model="queryParams.referralList[0].sysDeptId"
                :show-all-levels="false"
+               :disabled = "disfal"
                :options="typeOptionstwo"
                @change="handleChange"
                style="width: 128px"
@@ -181,6 +184,7 @@
               v-model="queryParams.referralList[0].investmentAllcocation"
               placeholder="数"
               clearable
+              :disabled = "disfal"
               size="small"
               style="width:66px; padding: 0;"
               @keyup.enter.native="handleQuery"
@@ -192,6 +196,7 @@
               v-model="queryParams.referralList[0].referral"
               placeholder="请输入"
               clearable
+              :disabled = "disfal"
               size="small"
               style="width: 98px"
               @keyup.enter.native="handleQuery"
@@ -203,6 +208,7 @@
               v-model="queryParams.referralList[0].referralPhone"
               placeholder="请输入联系方式"
               clearable
+              :disabled = "disfal"
               size="small"
               @keyup.enter.native="handleQuery"
             />
@@ -213,12 +219,14 @@
                 v-model="queryParams.referralList[1].sysDeptId"
                 :options="typeOptionstwo"
                 style="width: 128px"
+                :disabled = "disfal"
                 @change="handleChangete"></el-cascader>
           </el-form-item>
           <el-form-item label="投资分配额:" style="width: 18%;" class="fenpe" prop="investmentAllcocation">
             <el-input
               v-model="queryParams.referralList[1].investmentAllcocation"
               placeholder="数"
+              :disabled = "disfal"
               clearable
               size="small"
               style="width:66px;padding: 0;"
@@ -230,6 +238,7 @@
             <el-input
               v-model="queryParams.referralList[1].referral"
               placeholder="请输入"
+              :disabled = "disfal"
               clearable
               size="small"
               style="width: 98px"
@@ -242,6 +251,7 @@
               v-model="queryParams.referralList[1].referralPhone"
               placeholder="请输入联系方式"
               clearable
+              :disabled = "disfal"
               size="small"
               @keyup.enter.native="handleQuery"
             />
@@ -255,6 +265,7 @@
             v-model.number="queryParams.needAmt"
             placeholder="请输入预计投资额"
             clearable
+            :disabled = "disfal"
             size="small"
             style="width: 223px"
             @keyup.enter.native="handleQuery"
@@ -264,11 +275,13 @@
           label="其中 固定资产投资:"
           prop="fixedAssets"
           class="manager_lab"
+
         >
           <el-input
             v-model.number="queryParams.fixedAssets"
             placeholder="请输入"
             clearable
+            :disabled = "disfal"
             size="small"
             style="width: 223px"
             @keyup.enter.native="handleQuery"
@@ -282,6 +295,7 @@
               v-model="queryParams.productName"
               placeholder="请输入产品名称"
               clearable
+              :disabled = "disfal"
               size="small"
               style="width: 470px"
               @keyup.enter.native="handleQuery"
@@ -297,6 +311,7 @@
             v-model="queryParams.productQty"
             placeholder="请输入设计产能"
             clearable
+            :disabled = "disfal"
             size="small"
             style="width: 470px"
             @keyup.enter.native="handleQuery"
@@ -309,6 +324,7 @@
               v-model.number="queryParams.productPrice"
               placeholder="请输入预计产值"
               clearable
+              :disabled = "disfal"
               size="small"
               style="width: 470px"
               @keyup.enter.native="handleQuery"
@@ -324,6 +340,7 @@
             v-model.number="queryParams.productTax"
             placeholder="请输入预计税收"
             clearable
+            :disabled = "disfal"
             size="small"
             style="width: 470px"
             @keyup.enter.native="handleQuery"
@@ -338,6 +355,7 @@
             v-model="queryParams.productEmp"
             placeholder="请输入预计用工"
             size="small"
+            :disabled = "disfal"
             style="width: 470px"
           />
         </el-form-item>
@@ -347,6 +365,7 @@
         <el-form-item
           label="项目计划用地:"
           prop="plannedLand"
+
           class="manager_labthre"
         >
           <el-input
@@ -354,6 +373,7 @@
             placeholder="请输入"
             clearable
             size="small"
+            :disabled = "disfal"
             style="width: 237px"
             @keyup.enter.native="handleQuery"
           />
@@ -364,6 +384,7 @@
             v-model="queryParams.independentLand"
             placeholder="请输入"
             clearable
+            :disabled = "disfal"
             size="small"
             style="width: 237px"
             @keyup.enter.native="handleQuery"
@@ -375,8 +396,9 @@
             v-model="queryParams.circulationLan"
             placeholder="请输入"
             clearable
+            :disabled = "disfal"
             size="small"
-            style="width: 257px"
+            style="width: 237px"
             @keyup.enter.native="handleQuery"
           />
           <span class="souu">亩</span>
@@ -390,6 +412,7 @@
             v-model="queryParams.needRoom"
             placeholder="请输入"
             clearable
+            :disabled = "disfal"
             size="small"
             style="width: 237px"
             @keyup.enter.native="handleQuery"
@@ -400,9 +423,10 @@
           <el-input
             v-model="queryParams.needFactoryRoom"
             placeholder="请输入"
+            :disabled = "disfal"
             clearable
             size="small"
-            style="width: 207px"
+            style="width: 237px"
             @keyup.enter.native="handleQuery"
           />
           <span class="souu">亩</span>
@@ -411,9 +435,10 @@
           <el-input
             v-model="queryParams.needBusRoom"
             placeholder="请输入"
+            :disabled = "disfal"
             clearable
             size="small"
-            style="width: 207px"
+            style="width: 237px"
             @keyup.enter.native="handleQuery"
           />
           <span class="souu">亩</span>
@@ -422,6 +447,7 @@
           <el-input
             v-model="queryParams.other"
             placeholder="请输入项目概况"
+            :disabled = "disfal"
             clearable
             type="textarea"
             size="small"
@@ -434,6 +460,7 @@
           <el-input
             v-model="queryParams.address"
             placeholder="请输入拟落户地点"
+            :disabled = "disfal"
             size="small"
             style="width: 188px"
           />
@@ -448,6 +475,7 @@
             placeholder="请选择是否签订框架协议"
             clearable
             size="small"
+            :disabled = "disfal"
             style="width: 298px"
           >
             <el-option
@@ -472,6 +500,7 @@
                 :on-success="handleSuccntry"
                 :multiple="true"
                 :file-list="fileList"
+                :disabled = "disfal"
               >
                 <!-- <i slot="default" class="el-icon-plus"></i> -->
 
@@ -495,12 +524,13 @@
             </div>
           </div>
         </el-form-item>
-        <el-form-item label="备注:" prop="description" class="maget_ty">
+        <el-form-item label="备注:"  prop="description" class="maget_ty">
           <el-input
             v-model="queryParams.description"
             placeholder="请输入备注"
             clearable
             type="textarea"
+            :disabled = "disfal"
             size="small"
             style="width: 480px; height: 78px"
             class="ieuyr"
@@ -642,6 +672,7 @@ export default {
   data() {
     return {
       defaultSettings,
+      disfal:false,
       // 遮罩层
       loading: true,
       //步骤条
@@ -824,7 +855,14 @@ export default {
     this.bmProjectId = this.$route.query.setid;
     this.jeutu.bmProjectId = this.bmProjectId
     this.setrd = this.$route.query.setrd;
-    console.log(this.bmProjectId);
+    console.log(this.setrd );
+    if(this.setrd != 1){
+      this.disfal  = true
+      console.log(this.disfal,1)
+    }else{
+      this.disfal  = false
+      console.log(this.disfal,2)
+    }
     this.getList();
     this.getListtwo();
     this.getListther();
@@ -1390,7 +1428,7 @@ export default {
   }
   .mage_ter {
     .el-form-item__label {
-      width: 513px !important;
+      width: 533px !important;
     }
   }
   .maget_ty {