|
@@ -84,7 +84,7 @@
|
|
|
</view>
|
|
|
<view class="row row-bottom">
|
|
|
<view class="left">入库类型</view>
|
|
|
- <input v-model='detailData.inOutType' class="right-bottom" @click="show5=true" :disabled="isSelectType"></input>
|
|
|
+ <input v-model='detailData.inOutType' class="right-bottom" :disabled="isSelectType" @click="selectType"></input>
|
|
|
<u-picker :range="warehousingTypeList" range-key="constValue" @confirm='warehousingTypePicker($event)'
|
|
|
v-model="show5" mode="selector">
|
|
|
</u-picker>
|
|
@@ -267,13 +267,15 @@
|
|
|
this.detailData.inOutDate = _day.getFullYear() + "-" + (_day.getMonth() + 1) + "-" + _day.getDate();
|
|
|
if (_data.inOutType == '采购入库') {
|
|
|
this.detailData.freight = 0
|
|
|
+
|
|
|
}else if(_data.inOutType == '移库入库'){
|
|
|
- this.isSelectType = true
|
|
|
+ this.isSelectType = false
|
|
|
}
|
|
|
|
|
|
- else{this.detailData.freight = uni.getStorageSync('CarFreight')
|
|
|
+ else{
|
|
|
+ this.detailData.freight = uni.getStorageSync('CarFreight')
|
|
|
+ this.isSelectType = true
|
|
|
}
|
|
|
- this.changeType()
|
|
|
if (!_data.tranCarInfoList){
|
|
|
this.isPC = false
|
|
|
this.detailData.carNo = ""
|
|
@@ -324,9 +326,9 @@
|
|
|
},
|
|
|
},
|
|
|
methods: {
|
|
|
- changeType(){
|
|
|
- this.inOutType
|
|
|
-
|
|
|
+ selectType(){
|
|
|
+ if(this.isSelectType) return
|
|
|
+ this.show5 = true
|
|
|
},
|
|
|
//计算纯重
|
|
|
pureWeightCount() {
|