Browse Source

修复预约库存品是否拆包字段

fix_bug_pro20231227
汤建军 1 year ago
parent
commit
13c2d446b3
  1. 10
      src/views/distribution/reservation/reservationAddFrom.vue
  2. 22
      src/views/distribution/signfor/distributionSignforedt.vue
  3. 5
      src/views/mail/order/add.vue

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

@ -2018,6 +2018,11 @@ export default {
inventoryList.records.forEach(item => {
item.reservationNum = '0';
item.applyNum = item.quantityStock - item.quantityOccupied;
if (item.unpack){
item.unpack = '是'
}else {
item.unpack = '否'
}
});
this.page.total = inventoryList.total;
console.log('res :>> ', res);
@ -2325,6 +2330,11 @@ export default {
const inventoryList = res.data.data;
inventoryList.records.forEach(item => {
item.reservationNum = '0';
if (item.unpack){
item.unpack = '是'
}else {
item.unpack = '否'
}
});
this.page.total = inventoryList.total;
this.inventoryInfo = inventoryList.records;

22
src/views/distribution/signfor/distributionSignforedt.vue

@ -1333,17 +1333,17 @@ const menuData2 = ref([
sortable: true,
head: true,
},
{
prop: 'orderPackageGroundingStatusName',
label: '上架状态',
type: 4,
values: '',
width: '200',
checkarr: [],
fixed: false,
sortable: true,
head: true,
},
// {
// prop: 'orderPackageGroundingStatusName',
// label: '',
// type: 4,
// values: '',
// width: '200',
// checkarr: [],
// fixed: false,
// sortable: true,
// head: true,
// },
{
prop: 'orderPackageStockupStatusName',
label: '备货状态',

5
src/views/mail/order/add.vue

@ -2074,6 +2074,11 @@
inventoryList.records.forEach(item => {
item.reservationNum = '0';
item.applyNum = item.quantityStock - item.quantityOccupied;
if (item.unpack){
item.unpack = '是'
}else {
item.unpack = '否'
}
});
this.page.total = inventoryList.total;
console.log('res :>> ', res);

Loading…
Cancel
Save