ccjgmwz 3 年 前
コミット
67770d039a
1 ファイル変更12 行追加1 行削除
  1. 12 1
      src/views/houseSelfCollect/inspectionManagementNew.vue

+ 12 - 1
src/views/houseSelfCollect/inspectionManagementNew.vue

@@ -157,7 +157,12 @@
                   <ws-input v-model="deptBudgetList.contractNo" placeholder="自动获取,不可编辑" maxlength="100" disabled size="small" />
                 </ws-form-item>
                 <ws-form-item v-if='serviceManagementType==1' label="成本(元/吨)" span="1" prop="cost">
-                  <ws-input v-model="deptBudgetList.cost" placeholder="自动获取,不可编辑" maxlength="100" disabled size="small" />
+                  <ws-input v-model="deptBudgetList.cost" placeholder="自动获取,不可编辑" maxlength="100" :disabled="disabledcost" size="small" />
+                  <img width="17" height="18" style="
+                      vertical-align: text-top;
+                      position: relative;
+                      top: -1px;
+                    " src="../../../public/img/edit.png" @click="editClick(2)" alt="" />
                 </ws-form-item>
                 <ws-form-item v-if='serviceManagementType==1' label="提示" span="1" prop="tips">
                   <ws-input v-model="deptBudgetList.tips" placeholder="自动获取,不可编辑" maxlength="100" disabled size="small" />
@@ -471,6 +476,7 @@
         disabled2:false,
         disabled1:false,
         disabledfright:true,
+        disabledcost:true,
         recheck:false,
         storageType:[],
         multiSelector1:[],
@@ -2111,6 +2117,9 @@
         }else if(status==2){
           this.disabledfright=!this.disabledfright
         }
+        else if(status==1){
+          this.disabledcost=!this.disabledcost
+        }
       },
       selectWarehouse() {
         selectWarehouseSelf({
@@ -2150,6 +2159,7 @@
                   this.warehouseTradeCount = response[i].tradeCount
                   this.warehouseNo = response[i].commonWarehouseNo
                   this.allowEdit = response[i].allowEdit
+                this.positionInfos=response[i].positionInfos
                 }
                 if (this.warehouseList.length > 0 && !this.cangid) {
                   this.warehouseName = this.warehouseList[0].value
@@ -2159,6 +2169,7 @@
                   this.cangid = this.warehouseList[0].warehouseId
                   this.allowEdit = this.warehouseList[0].allowEdit
                   this.WAREHOUSE[1].payname = this.warehouseList[0].value
+                  this.positionInfos=response[0].positionInfos
                 }
               }
             }