zhangyuewww 3 years ago
parent
commit
87be64f19b
1 changed files with 8 additions and 2 deletions
  1. 8 2
      pages/erp/warehousing/warehousing.vue

+ 8 - 2
pages/erp/warehousing/warehousing.vue

@@ -124,7 +124,7 @@
 				</u-picker>
 			</view>
 		     <!-- 移库入库显示入库重量() -->
-			<view class="row row-bottom" v-if="detailData.moveTaskNo">
+			<view class="row row-bottom">
 				<view class="left">入库重量(吨)</view>
 				<input type="digit" name="grossWeight" v-model='detailData.loadNetWeight'
 					class="right-bottom" placeholder="请输入入库重量"></input>
@@ -622,6 +622,12 @@
 				// this.detailData.carNo = this.carList[e].carNo
 				// this.detailData.tranCarNo = this.carList[e].tranCarNo
 				this.detailData.carId = this.carList[e[0]].id
+			  if(this.detailData.inOutType=='移库入库'){
+				if(!this.detailData.cost){
+				  this.detailData.cost=this.carList[e[0]].cost
+				}
+				this.detailData.loadNetWeight=this.carList[e[0]].loadNetWeight
+			  }
 			},
 			handlerPicker(e) {
 				console.log(e)
@@ -1103,7 +1109,7 @@
 			color: #333333;
 		}
 		.left{
-			width: 190rpx;
+			width: 220rpx;
 		}
 
 		.row {