|
@@ -79,7 +79,8 @@
|
|
|
</view>
|
|
|
<view class="row row-bottom">
|
|
|
<view class="left">车牌号</view>
|
|
|
- <input v-model='detailData.carNo' class="right-bottom" placeholder="请输入车牌号"></input>
|
|
|
+ <input v-if="!isPC" v-model='detailData.carNo' class="right-bottom" placeholder="请输入车牌号"></input>
|
|
|
+ <view @click='slectCarNo' v-if="isPC">{{detailData.carNo}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="content2">
|
|
@@ -149,6 +150,7 @@
|
|
|
show5: false,
|
|
|
show6: false,
|
|
|
show7: false,
|
|
|
+ isPC: true,
|
|
|
contractNoList: [{
|
|
|
contractNo: ""
|
|
|
}],
|
|
@@ -232,8 +234,13 @@
|
|
|
this.detailData.goodsName = uni.getStorageSync('erpContractNo').goodsName;
|
|
|
this.detailData.contractNo = uni.getStorageSync('erpContractNo').contractNo;
|
|
|
this.detailData.goodsNameKey = uni.getStorageSync('erpContractNo').goodsNameKey;
|
|
|
+ if (!uni.getStorageSync('erpContractNo').tranCarInfoList) uni.getStorageSync('erpContractNo').tranCarInfoList = []
|
|
|
if(!this.detailData.contractNo){
|
|
|
this.detailData.contractNo = '请选择合同编号'
|
|
|
+ }else{
|
|
|
+ if (_data.tranCarInfoList.length == 0) {
|
|
|
+ this.isPC = false
|
|
|
+ }
|
|
|
}
|
|
|
if(!this.detailData.goodsName){
|
|
|
this.detailData.goodsName = '货名'
|
|
@@ -283,7 +290,7 @@
|
|
|
},
|
|
|
dateChange(e) {
|
|
|
this.detailData.inOutDate = e.year + "-" + e.month + "-" + e.day
|
|
|
- this.inOutDate1 = e.year + "-" + e.month + "-" + e.day + "-" + e.hour + "-" + e.minute + "-" + e.second
|
|
|
+ this.inOutDate1 = e.year + "-" + e.month + "-" + e.day + " " + e.hour + ":" + e.minute
|
|
|
},
|
|
|
warehousingTypePicker(e) {
|
|
|
this.detailData.inOutType = this.warehousingTypeList[e].constValue
|
|
@@ -384,6 +391,7 @@
|
|
|
}
|
|
|
let that = this
|
|
|
console.log(this.detailData,"dsadsk")
|
|
|
+ return
|
|
|
uni.showModal({
|
|
|
content: "确定提交出库信息?",
|
|
|
success(res) {
|