Browse Source

尝试增加预约对零担的支持

fix_bug_pro20231227
pref_mail@163.com 1 year ago
parent
commit
c8ebef8cbd
  1. 51
      src/views/distribution/reservation/reservationAddFrom.vue

51
src/views/distribution/reservation/reservationAddFrom.vue

@ -136,14 +136,24 @@
@selection="selectionChange"
>
<template #default="slotProps">
<el-text
<el-text v-if="slotProps.scope.row.resource !=='零担'"
type="primary"
link
icon="el-icon-view"
@click="viewStockArticlePackage(slotProps.scope.row)"
>查看包件
</el-text
>
</el-text>
<el-text v-else
type="primary"
link
icon="el-icon-view"
@click="viewStockArticlePackage(slotProps.scope.row)"
>录入数量
</el-text>
<el-text
type="primary"
link
@ -600,6 +610,17 @@
sortable: true,
head: false
},
{
prop: 'resource',
label: '订单来源',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'descriptionGoods',
label: '货物名称',
@ -665,6 +686,17 @@
fixed: false,
sortable: true,
head: false
},
{
prop: 'reservationNum',
label: '预约数量',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'customerName',
@ -2325,6 +2357,9 @@
this.stockArticleInfo.splice(index, 1);
});
});
if (this.orderData.length >= 1) {
let newDate1 = this.orderData.map(item => {
// map
@ -2342,8 +2377,18 @@
}
console.log('this.orderData------------->', this.orderData);
} else {
this.orderData = this.orderList;
}
this.orderData.forEach(a=>{
a.reservationNum= a.handQuantity
})
// this.orderData.push(info);
this.orderShow = false;
},

Loading…
Cancel
Save