Browse Source

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

fix_bug_pro20231227
汤建军 1 year ago
parent
commit
13c2d446b3
  1. 10
      src/views/distribution/reservation/reservationAddFrom.vue
  2. 32
      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;

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

@ -328,8 +328,8 @@
:initial-index="1" :initial-index="1"
fit="cover" fit="cover"
/> />
</el-dialog> </el-dialog>
</div> </div>
<div class="imgName"> <div class="imgName">
@ -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: '备货状态',
@ -2045,7 +2045,7 @@ getDetail(RouterId.value).then(res => {
}); });
} }
console.log(srcListC.value,'srcListC'); console.log(srcListC.value,'srcListC');
}); });
const handleRemove = () => { const handleRemove = () => {
console.log('图片移除事件'); console.log('图片移除事件');
@ -2329,7 +2329,7 @@ const ImgSuccessE = (response, uploadFile) => {
} }
} }
:deep(.el-dialog__body) { :deep(.el-dialog__body) {
img { img {
width: 100%; width: 100%;
} }
@ -2370,7 +2370,7 @@ const ImgSuccessE = (response, uploadFile) => {
margin-bottom: 10px; margin-bottom: 10px;
} }
:deep(.el-dialog__body) { :deep(.el-dialog__body) {
width: 100%; width: 100%;
height: 100%; height: 100%;
box-sizing: border-box; box-sizing: border-box;

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