Browse Source

修复商配零担翻页

dev-xx
马远东 9 months ago
parent
commit
ce78f7f90e
  1. 6
      src/views/distribution/deliverylist/distributionDeliveryListedt.vue
  2. 16
      src/views/distribution/turndelivery/deliveryDiscuss.vue

6
src/views/distribution/deliverylist/distributionDeliveryListedt.vue

@ -4120,7 +4120,6 @@ export default {
this.loading = true;
$_getReservationZeroPackageList(data)
.then(res => {
console.log(res, '零担数据');
const data = res.data.data;
this.LessThantruckloadListData = data.records;
this.zeroPg.total = data.total;
@ -5695,12 +5694,15 @@ export default {
},
//
zeroChange(pageSize) {
console.log(pageSize,'pageSize')
this.zeroPg.pageSize = pageSize;
this.truckload(this.zeroPg);
},
//
zerocurrentChange(currentPage) {
this.zeroPg.currentPag = currentPage;
console.log(currentPage,'currentPage')
this.zeroPg.currentPage = currentPage;
console.log(this.zeroPg.currentPag);
this.truckload(this.zeroPg);
},
winputsc(index, row) {

16
src/views/distribution/turndelivery/deliveryDiscuss.vue

@ -2644,16 +2644,24 @@ const QuantityEntry = val => {
console.log(dataInfo.value, 'dataInfo.value');
dataId.value = findIndexById(val.id); //
comprehensive.value = true; //
QuantityEntryStatus.value = true; //
EnteringLibrary.value = true; //
SjTc.value = false; //
//
if (RouteId.value) {
$_getDeliveryZeroOrderDetail({
deliveryId: RouteId.value,
orderId: val.id,
}).then(res => {
if(res.data.data.code ==400){
ElMessage({
message: res.data.data.msg,
type: 'warning',
})
return
}
comprehensive.value = true; //
QuantityEntryStatus.value = true; //
EnteringLibrary.value = true; //
SjTc.value = false; //
console.log(res, '编辑状态在库录入');
// - =
for (let item of res.data.data) {

Loading…
Cancel
Save