|
@@ -170,20 +170,20 @@
|
|
<view v-show='typevalue==1' class="c-row ">
|
|
<view v-show='typevalue==1' class="c-row ">
|
|
<view class="title">车牌号</view>
|
|
<view class="title">车牌号</view>
|
|
<view class="con-list"
|
|
<view class="con-list"
|
|
- v-show='(gridList.inOutType!="移库入库"||gridList.outType!="汽运")&&gridList.tranTaskFlag!="1"'>
|
|
|
|
|
|
+ v-show='(gridList.inOutType!="移库入库"||gridList.outType!="汽运")&&gridList.tranTaskFlag!="1"&&deliverType!=1'>
|
|
<input v-model='gridList.carNumber' @click.stop="handleShowKeyboard" :disabled="true"
|
|
<input v-model='gridList.carNumber' @click.stop="handleShowKeyboard" :disabled="true"
|
|
placeholder="请输入车牌号" name="input"></input>
|
|
placeholder="请输入车牌号" name="input"></input>
|
|
<master-keyboard ref="keyboard" keyboardtype="car" :randomNumber="true" :newCar="false"
|
|
<master-keyboard ref="keyboard" keyboardtype="car" :randomNumber="true" :newCar="false"
|
|
:defaultValue="gridList.carNumber" @keyboardClick="handleClick"></master-keyboard>
|
|
:defaultValue="gridList.carNumber" @keyboardClick="handleClick"></master-keyboard>
|
|
</view>
|
|
</view>
|
|
<view class="con-list"
|
|
<view class="con-list"
|
|
- v-show='gridList.inOutType=="移库入库"&&gridList.outType=="汽运"||gridList.tranTaskFlag=="1"'>
|
|
|
|
|
|
+ v-show='gridList.inOutType=="移库入库"&&gridList.outType=="汽运"&&deliverType==1||gridList.tranTaskFlag=="1"&&deliverType==1'>
|
|
<view @click='show9=true'>{{gridList.carNumber?gridList.carNumber:'请选择车牌号'}}</view>
|
|
<view @click='show9=true'>{{gridList.carNumber?gridList.carNumber:'请选择车牌号'}}</view>
|
|
<u-picker :range="tranCarInfoList" range-key="carNo1" @confirm='carNopicker($event,1)'
|
|
<u-picker :range="tranCarInfoList" range-key="carNo1" @confirm='carNopicker($event,1)'
|
|
v-model="show9" mode="selector">
|
|
v-model="show9" mode="selector">
|
|
</u-picker>
|
|
</u-picker>
|
|
</view>
|
|
</view>
|
|
- <button v-show="compName=='辽宁佳屹农商贸有限公司'" class='cu-btn bg-green shadow' @click="carchange">选择</button>
|
|
|
|
|
|
+ <button v-show="deliverType!=1" class='cu-btn bg-green shadow' @click="carchange">选择</button>
|
|
</view>
|
|
</view>
|
|
<view v-show='utils.getCurrectRoles("acquisitionQuality.initial")' class="c-row ">
|
|
<view v-show='utils.getCurrectRoles("acquisitionQuality.initial")' class="c-row ">
|
|
<view class="title">仓位号</view>
|
|
<view class="title">仓位号</view>
|
|
@@ -627,6 +627,7 @@
|
|
return {
|
|
return {
|
|
isQY: false,
|
|
isQY: false,
|
|
isZJ: false,
|
|
isZJ: false,
|
|
|
|
+ deliverType:'',
|
|
redstatus: false,
|
|
redstatus: false,
|
|
isShowPrint: false,
|
|
isShowPrint: false,
|
|
isShowAlert: false,
|
|
isShowAlert: false,
|
|
@@ -1085,7 +1086,7 @@
|
|
}
|
|
}
|
|
// this.taskNolist=res.data.data
|
|
// this.taskNolist=res.data.data
|
|
})
|
|
})
|
|
- if (uni.getStorageSync('checkcustomer')) {
|
|
|
|
|
|
+ if (uni.getStorageSync('checkcustomer')&&this.typevalue==3) {
|
|
let _customerInfo = uni.getStorageSync('checkcustomer')
|
|
let _customerInfo = uni.getStorageSync('checkcustomer')
|
|
if (_customerInfo.shipperName) {
|
|
if (_customerInfo.shipperName) {
|
|
this.gridList.identityId = _customerInfo.id
|
|
this.gridList.identityId = _customerInfo.id
|
|
@@ -1134,7 +1135,7 @@
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if(uni.getStorageSync('gridList')&&this.typevalue==1&&this.compName=='辽宁佳屹农商贸有限公司'){
|
|
|
|
|
|
+ if(uni.getStorageSync('gridList')&&this.typevalue==1){
|
|
|
|
|
|
if(uni.getStorageSync('typevalue')){
|
|
if(uni.getStorageSync('typevalue')){
|
|
this.typevalue=uni.getStorageSync('typevalue')
|
|
this.typevalue=uni.getStorageSync('typevalue')
|
|
@@ -1142,6 +1143,7 @@
|
|
this.gridList=uni.getStorageSync('gridList')
|
|
this.gridList=uni.getStorageSync('gridList')
|
|
if(uni.getStorageSync('carNo')){
|
|
if(uni.getStorageSync('carNo')){
|
|
this.gridList.carNumber=uni.getStorageSync('carNo')
|
|
this.gridList.carNumber=uni.getStorageSync('carNo')
|
|
|
|
+ this.gridList.shipId=uni.getStorageSync('checkcustomer').shipId
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -1588,6 +1590,7 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ this.deliverType=this.contractNolist.deliverType
|
|
this.gridList.goodsNameKey = this.contractNolist.goodsNameKey
|
|
this.gridList.goodsNameKey = this.contractNolist.goodsNameKey
|
|
this.gridList.grade = this.gradeList[1].value
|
|
this.gridList.grade = this.gradeList[1].value
|
|
this.gridList.gradeKey = this.gradeList[1].key
|
|
this.gridList.gradeKey = this.gradeList[1].key
|