Bladeren bron

前端孟祥旭

mxx 3 jaren geleden
bovenliggende
commit
3e538c23fc
1 gewijzigde bestanden met toevoegingen van 7 en 4 verwijderingen
  1. 7 4
      pageB/contract/look.vue

+ 7 - 4
pageB/contract/look.vue

@@ -136,7 +136,7 @@
 				swiperLength: 0,
 				goods: {
 					// id:"",
-					contractNo:'',
+					// contractNo:'',
 					// contractNo:'',
 					// unloadPoundImg:'',
 					// loadPoundImg:'',
@@ -146,6 +146,9 @@
 					// deductionAmount:'',
 					// deductionItems:'',
 				},
+				gooods1:{
+					contractNo:'',
+				},
 				share:{
 				   title: '',
 				   imageUrl:'https://taohaoliang.oss-cn-beijing.aliyuncs.com/shareLogo.png',
@@ -164,8 +167,8 @@
 			// this.goods.goodsName = option.goodsName
 			// this.goods.netWeight = option.netWeight
 			// this.goods.sendDateStart = option.sendDateStart
-			this.getList()
-			this.loaddata(option.contractNo)
+			// this.getList()
+			this.loaddata()
 		},
 		computed: {
 			...mapState(['hasLogin','userInfo'])
@@ -201,7 +204,7 @@
 			    });
 			   },
 			   loaddata(){
-			   this.$api.doRequest('get','/tranCarInfo/api/selectTranCarInfoNum',this.goods).then(res => {
+			   this.$api.doRequest('get','/tranCarInfo/api/selectTranCarInfoNum',{contractNo:this.goods.contractNo},'application/json;charset=UTF-8').then(res => {
 			        console.log("调用接口")
 			         that.sendDisabled = true
 			         let sec = 60