gjy 3 년 전
부모
커밋
98052262ff
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      pages/erp/index.vue
  2. 3 1
      pages/erp/warehousing/warehousing.vue

+ 1 - 0
pages/erp/index.vue

@@ -393,6 +393,7 @@
 						}
 
 					} else {
+						uni.hideLoading()
 						this.warehouseList = []
 						this.warehouseCWList = []
 						this.warehouseName = '暂无仓库'

+ 3 - 1
pages/erp/warehousing/warehousing.vue

@@ -481,6 +481,7 @@
 								 // "MYCGYMHLJ2021102401"
 									if (res.data.data[i].contractNo == this.detailData
 										.contractNo) { //如果查到该合同
+										console.log(res.data.data[i].deliverType)
 										if (res.data.data[i].deliverType == "1") { //判断自运1,他运2合同
 											this.showCar = true
 										} else {
@@ -612,7 +613,8 @@
 			},
 			carPicker(e) {
 				// this.detailData.gradeKey = e[0] + 1
-				this.detailData.carNo = this.carList[e].carNo
+				this.detailData.carNo = this.carList[e[0]].carNo
+				this.detailData.tranCarNo = this.carList[e[0]].tranCarNo
 			},
 			handlerPicker(e) {
 				console.log(e)