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

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

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

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

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

Loading…
Cancel
Save