二级出库问题修改

master
zhangdi 2 months ago
parent 2d0da3f3b9
commit 660512bfd9
  1. 17
      src/views/secondOrder/components/outDialog.vue

@ -504,11 +504,20 @@ export default {
this.inInit();
}
this.sizeForm.userInfoVO = this.userInfo;
console.log(this.userInfo,'userInfo');
console.log(this.userInfo, "userInfo");
this.getDetailedItems();
this.getOutGroupName();
},
methods: {
isRowSelectable(row) {
// materialName materialId
return (
(row.materialName &&
row.materialName.trim() !== "" &&
row.materialId != null &&
row.materialId !== "")||(rowinventory<row.num)
);
},
//
handleSelectionChange(selection, parentRow) {
// 使 parentRow key materialId materialCode
@ -549,7 +558,8 @@ export default {
//
if (group.twoInventoryVOList.length > 0) {
group.twoInventoryVOList.forEach((element) => {
if(element.type === "NY"){
element.applyNum = group.applyNum;
if (element.type === "NY") {
element.num = 1;
} else {
element.num = group.applyNum;
@ -737,6 +747,9 @@ export default {
this.sizeForm.ldTwoOutStorage.departmentInfo =
departmentArr.length > 0 ? departmentArr[0] : {};
if(this.sizeForm.groupName!='自由出库'){
this.groupTableData = res.data.result.ldTwoOutStorageDetailList
}
// this.sizeForm.ldTwoOutStorage.proposerInfo={}
});
}

Loading…
Cancel
Save