Explorar o código

修改送粮登记

wangchao %!s(int64=3) %!d(string=hai) anos
pai
achega
bc75c848ef
Modificáronse 1 ficheiros con 6 adicións e 5 borrados
  1. 6 5
      pages/user/depotAcquisition/grainDeliveryRecord.vue

+ 6 - 5
pages/user/depotAcquisition/grainDeliveryRecord.vue

@@ -25,6 +25,7 @@
 				</view>
 				
 				<view class="del-row">
+					<view>{{item.createDate}}</view>
 					<view class="del" @click='del(item)'>删除</view>
 				</view>
 			</view>
@@ -108,7 +109,7 @@
 				}
 				this.$api.doRequest('get', '/grainDeliveryRegistration/selectGrainDeliveryRegistration', _obj)
 					.then(res => {
-						if (res.data.code == 200) {
+						if (res.data.code == 200) {debugger
 							let curPageData = []
 							for (let i = 0; i < res.data.data.length; i++) {
 								let _data = res.data.data[i];
@@ -132,7 +133,8 @@
 									id: _data.id,
 									shipperName: _data.shipperName,
 									shippingInformationList: _data.shippingInformationList,
-									validityDate: _data.validityDate
+									validityDate: _data.validityDate,
+									createDate:_data.createDate
 
 								}
 								curPageData.push(__obj)
@@ -141,8 +143,7 @@
 								this.mescroll.endSuccess();
 								this.dataList = []
 							} else {
-								this.mescroll.endBySize(curPageData.length, res.data.data
-									.total); //必传参数(当前页的数据个数, 总数据量)
+								this.mescroll.endBySize(curPageData.length, curPageData.length); //必传参数(当前页的数据个数, 总数据量)
 							}
 							console.log(curPageData)
 							this.dataList = this.dataList.concat(curPageData);
@@ -264,7 +265,7 @@
 
 		.del-row {
 			display: flex;
-			justify-content: flex-end;
+			justify-content: space-between;
 			align-items: center;
 			margin-top: 20rpx;