gjy 2 gadi atpakaļ
vecāks
revīzija
d6d3917e59

+ 2 - 2
src/views/outboundManagement/weighingManagementNew.vue

@@ -169,7 +169,7 @@
                     ">
                     ">
                         <el-input :maxlength="'7'" v-if="carjudge||!carjudge&&tpyeNo==2&&!weighingList.tranCarNo" v-model="weighingList.carNo" placeholder="请输入车牌号"
                         <el-input :maxlength="'7'" v-if="carjudge||!carjudge&&tpyeNo==2&&!weighingList.tranCarNo" v-model="weighingList.carNo" placeholder="请输入车牌号"
                            size="small" :disabled="recheck1"/>
                            size="small" :disabled="recheck1"/>
-                        <el-select v-if="!carjudge&&tpyeNo==1||!carjudge&&tpyeNo==2&&weighingList.tranCarNo" filterable clearable v-model="weighingList.carNo" placeholder="请选择车牌号"
+                        <el-select v-if="!carjudge&&tpyeNo==1||!carjudge&&tpyeNo==2&&weighingList.tranCarNo" filterable clearable v-model="weighingList.carId" placeholder="请选择车牌号"
                           class="typeselect" @change="carChange" :disabled="recheck1">
                           class="typeselect" @change="carChange" :disabled="recheck1">
                           <el-option v-for="item in options2" :key="item.constKey"
                           <el-option v-for="item in options2" :key="item.constKey"
                             :label="item.carNo + '(' + item.tranCarNo + ')'" :value="item.id" />
                             :label="item.carNo + '(' + item.tranCarNo + ')'" :value="item.id" />
@@ -1262,7 +1262,7 @@
             // this.weighingList.carNo =
             // this.weighingList.carNo =
               // response.qualityInspectionManagement.carNumber
               // response.qualityInspectionManagement.carNumber
         this.$set(this.weighingList,'carNo', response.qualityInspectionManagement.carNumber)
         this.$set(this.weighingList,'carNo', response.qualityInspectionManagement.carNumber)
-        if(this.weighingList.inOutType=='移库出库'&&this.tpyeNo == 2){
+        if(this.tpyeNo == 2){
           this.options2=[]
           this.options2=[]
           this.options2.push({id:this.weighingList.carId,carNo:this.weighingList.carNo, tranCarNo:this.weighingList.tranCarNo,tranPrice:this.weighingList.freight })
           this.options2.push({id:this.weighingList.carId,carNo:this.weighingList.carNo, tranCarNo:this.weighingList.tranCarNo,tranPrice:this.weighingList.freight })
         }
         }