caojunjie 3 years ago
parent
commit
baa995eb70
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/views/landTransportation/bulkCargo/detailPage.vue

+ 5 - 1
src/views/landTransportation/bulkCargo/detailPage.vue

@@ -1078,8 +1078,9 @@ export default {
                 this.findObject(this.goodsOptionFormTwo.column, "driverId").disabled = false
                 this.findObject(this.goodsOptionFormTwo.column, "driverTel").disabled = false
                 this.findObject(this.goodsOptionFormTwo.column, "freightPay").disabled = false
+                this.findObject(this.goodsOptionFormTwo.column, "fleetRemarks").disabled = false
               }
-            }else if (this.goodsForm.status === 2){
+            } else if (this.goodsForm.status === 2){
               this.goodsOptionFormTwo.disabled = false
               if (this.roleName.indexOf('车队') !== -1 || this.roleName.indexOf('admin') !== -1){
                 this.findObject(this.goodsOptionFormTwo.column, "fleetId").disabled = true
@@ -1087,12 +1088,14 @@ export default {
                 this.findObject(this.goodsOptionFormTwo.column, "driverId").disabled = false
                 this.findObject(this.goodsOptionFormTwo.column, "driverTel").disabled = false
                 this.findObject(this.goodsOptionFormTwo.column, "freightPay").disabled = true
+                this.findObject(this.goodsOptionFormTwo.column, "fleetRemarks").disabled = false
               }else {
                 this.findObject(this.goodsOptionFormTwo.column, "fleetId").disabled = true
                 this.findObject(this.goodsOptionFormTwo.column, "plateNo").disabled = true
                 this.findObject(this.goodsOptionFormTwo.column, "driverId").disabled = true
                 this.findObject(this.goodsOptionFormTwo.column, "driverTel").disabled = true
                 this.findObject(this.goodsOptionFormTwo.column, "freightPay").disabled = true
+                this.findObject(this.goodsOptionFormTwo.column, "fleetRemarks").disabled = true
               }
             }else{
               this.findObject(this.goodsOptionFormTwo.column, "fleetId").disabled = true
@@ -1100,6 +1103,7 @@ export default {
               this.findObject(this.goodsOptionFormTwo.column, "driverId").disabled = true
               this.findObject(this.goodsOptionFormTwo.column, "driverTel").disabled = true
               this.findObject(this.goodsOptionFormTwo.column, "freightPay").disabled = true
+              this.findObject(this.goodsOptionFormTwo.column, "fleetRemarks").disabled = true
             }
           }
         }