|
@@ -13,6 +13,24 @@
|
|
{{userName}}
|
|
{{userName}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <view class="c-row b-b">
|
|
|
|
+ <text class="tit">车牌号</text>
|
|
|
|
+ <view class="con-list">
|
|
|
|
+ <text>{{carNo}}</text>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="c-row b-b">
|
|
|
|
+ <text class="tit">箱号</text>
|
|
|
|
+ <view class="con-list">
|
|
|
|
+ <text>{{boxNo}}</text>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="c-row b-b">
|
|
|
|
+ <text class="tit">封号</text>
|
|
|
|
+ <view class="con-list">
|
|
|
|
+ <text>{{titleNo}}</text>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
<!-- <view class="c-row b-b">
|
|
<!-- <view class="c-row b-b">
|
|
<text class="tit">目的地</text>
|
|
<text class="tit">目的地</text>
|
|
<view class="con-list">
|
|
<view class="con-list">
|
|
@@ -82,12 +100,6 @@
|
|
<input placeholder="请填写件数" name="input" v-model="memo" ></input>
|
|
<input placeholder="请填写件数" name="input" v-model="memo" ></input>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="c-row b-b">
|
|
|
|
- <text class="tit">车牌号</text>
|
|
|
|
- <view class="con-list">
|
|
|
|
- <input placeholder="请填写车牌号" name="input" v-model="carNo" ></input>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
<view class="cu-form-group margin-top">
|
|
<view class="cu-form-group margin-top">
|
|
<view class="title">出库方式</view>
|
|
<view class="title">出库方式</view>
|
|
<picker @change="OutModeChange" :value="outModeeIndex" :range="outMode">
|
|
<picker @change="OutModeChange" :value="outModeeIndex" :range="outMode">
|
|
@@ -210,12 +222,14 @@
|
|
waterContent:'',
|
|
waterContent:'',
|
|
warehouse:'',
|
|
warehouse:'',
|
|
warehouses:[],
|
|
warehouses:[],
|
|
- outMode: ['散装', '大袋(50kg)', '小袋(25kg)'],
|
|
|
|
|
|
+ outMode: ['散装', '袋装'],
|
|
outModeIndex:0,
|
|
outModeIndex:0,
|
|
price:'',
|
|
price:'',
|
|
address:'',
|
|
address:'',
|
|
memo:'',
|
|
memo:'',
|
|
- showPopup:false
|
|
|
|
|
|
+ showPopup:false,
|
|
|
|
+ boxNo:'',
|
|
|
|
+ titleNo:''
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -248,11 +262,12 @@
|
|
that.warehouses=that.carInfo.warehouse.split(',')
|
|
that.warehouses=that.carInfo.warehouse.split(',')
|
|
}
|
|
}
|
|
that.waterContent=that.carInfo.waterContent
|
|
that.waterContent=that.carInfo.waterContent
|
|
-
|
|
|
|
|
|
+ that.titleNo = that.carInfo.titleNo
|
|
that.companyName=that.carInfo.companyName
|
|
that.companyName=that.carInfo.companyName
|
|
that.companyPhone=that.carInfo.companyPhone
|
|
that.companyPhone=that.carInfo.companyPhone
|
|
that.userName=that.carInfo.userName
|
|
that.userName=that.carInfo.userName
|
|
that.carNo=that.carInfo.carNo
|
|
that.carNo=that.carInfo.carNo
|
|
|
|
+ that.boxNo = that.carInfo.boxNo
|
|
that.count=that.carInfo.count
|
|
that.count=that.carInfo.count
|
|
that.alreadyCount=that.carInfo.alreadyCount
|
|
that.alreadyCount=that.carInfo.alreadyCount
|
|
that.notCount=that.carInfo.notCount
|
|
that.notCount=that.carInfo.notCount
|
|
@@ -266,6 +281,9 @@
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
numFilter (value) {
|
|
numFilter (value) {
|
|
|
|
+ if(!value){
|
|
|
|
+ return 0
|
|
|
|
+ }
|
|
// 截取当前数据到小数点后两位
|
|
// 截取当前数据到小数点后两位
|
|
let realVal = parseFloat(value).toFixed(2)
|
|
let realVal = parseFloat(value).toFixed(2)
|
|
return realVal
|
|
return realVal
|
|
@@ -427,6 +445,7 @@
|
|
address:!that.address?'':that.address,
|
|
address:!that.address?'':that.address,
|
|
outMode:!that.outMode1?'':that.outMode1,
|
|
outMode:!that.outMode1?'':that.outMode1,
|
|
memo:!that.memo?'':that.memo,
|
|
memo:!that.memo?'':that.memo,
|
|
|
|
+ titleNo:!that.titleNo?'':that.titleNo,
|
|
}, failres => {
|
|
}, failres => {
|
|
that.$api.msg(failres.errmsg)
|
|
that.$api.msg(failres.errmsg)
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
@@ -493,6 +512,7 @@
|
|
address:!that.address?'':that.address,
|
|
address:!that.address?'':that.address,
|
|
outMode:!that.outMode1?'':that.outMode1,
|
|
outMode:!that.outMode1?'':that.outMode1,
|
|
memo:!that.memo?'':that.memo,
|
|
memo:!that.memo?'':that.memo,
|
|
|
|
+ titleNo:!that.titleNo?'':that.titleNo,
|
|
nextUserId:item.id
|
|
nextUserId:item.id
|
|
}, failres => {
|
|
}, failres => {
|
|
that.$api.msg(failres.errmsg)
|
|
that.$api.msg(failres.errmsg)
|
|
@@ -514,7 +534,7 @@
|
|
this.$api.msg('请填写皮重');
|
|
this.$api.msg('请填写皮重');
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- if(!that.poundImg){
|
|
|
|
|
|
+ if(this.outMode[this.outModeIndex] == "散装" && !that.poundImg){
|
|
this.$api.msg('请上传磅单照片');
|
|
this.$api.msg('请上传磅单照片');
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -562,6 +582,7 @@
|
|
address:!that.address?'':that.address,
|
|
address:!that.address?'':that.address,
|
|
outMode:!that.outMode1?'':that.outMode1,
|
|
outMode:!that.outMode1?'':that.outMode1,
|
|
memo:!that.memo?'':that.memo,
|
|
memo:!that.memo?'':that.memo,
|
|
|
|
+ titleNo:!that.titleNo?'':that.titleNo,
|
|
nextUserId:-1
|
|
nextUserId:-1
|
|
}, failres => {
|
|
}, failres => {
|
|
that.$api.msg(failres.errmsg)
|
|
that.$api.msg(failres.errmsg)
|