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