zhangyuewww 2 years ago
parent
commit
32f6cb755b
1 changed files with 5 additions and 2 deletions
  1. 5 2
      src/views/houseSelfCollect/inspectionManagementNew.vue

+ 5 - 2
src/views/houseSelfCollect/inspectionManagementNew.vue

@@ -310,10 +310,10 @@
                 <ws-form-item v-if="serviceManagementType == 1 && deptBudgetList.outType == '汽运'" label="车牌号" span="1"
                   prop="carNo">
                   <ws-input :disabled="disabled2"
-                    v-if="options2.length == 0 && serviceManagementType == 1 && deptBudgetList.inOutType != '移库入库' || statusTypetext != '初检'"
+                    v-if="options2.length == 0 && serviceManagementType == 1 && deptBudgetList.inOutType != '移库入库'&&deptBudgetList.inOutType != '退库' || statusTypetext != '初检'||deptBudgetList.inOutType == '退库'&&tranTaskFlag!=1"
                     v-model="deptBudgetList.carNo" placeholder="请输入车牌号" maxlength="7" size="small" />
                   <el-select :disabled="disabled2"
-                    v-if="carstatus && options2.length > 0 && serviceManagementType != 3 || carstatus && options2.length == 0 && serviceManagementType != 3 && deptBudgetList.inOutType == '移库入库'"
+                    v-if="carstatus && options2.length > 0 && serviceManagementType != 3 || carstatus && options2.length == 0 && serviceManagementType != 3 && deptBudgetList.inOutType == '移库入库'||deptBudgetList.inOutType == '退库'&&tranTaskFlag==1"
                     filterable clearable v-model="deptBudgetList.carNo1" placeholder="请选择车牌号" class="typeselect"
                     @change="carChange($event, 0)">
                     <el-option v-for="(item, index) in options2" :key="index"
@@ -1681,6 +1681,7 @@ export default {
         qualityPriceIncrease: 0,
         qualityPriceDeduction: 0,
         paramType: 1,
+        tranTaskFlag:0,
         warehouseInOutDetail: {
           grade: '',
           reGrade: '',
@@ -3960,6 +3961,8 @@ export default {
           this.deptBudgetList.tips = '出货库' + data.sendWarehouse
         }
         this.deptBudgetList.inOutTypeKey = 6
+        //退库有无运输任务标识
+				this.tranTaskFlag=this.outContractNo.tranTaskFlag
       }
       if(this.outContractNo.contractPrice){
           this.cost = this.outContractNo.contractPrice