lijuncheng 11 months ago
parent
commit
08d8800a92
  1. 14
      pages/inventoryMove/job/inventoryMoveDetail.vue

14
pages/inventoryMove/job/inventoryMoveDetail.vue

@ -103,7 +103,7 @@
managementList: [], managementList: [],
businessTypeCode: '', businessTypeCode: '',
toLocationCode: '', toLocationCode: '',
toinventoryStatus: '' toInventoryStatus: ''
}; };
}, },
props: { props: {
@ -167,23 +167,23 @@
} else if (this.businessTypeCode == "HoldToOk") { } else if (this.businessTypeCode == "HoldToOk") {
name = "隔离转合格"; name = "隔离转合格";
this.toLocationCode = ''; this.toLocationCode = '';
this.toinventoryStatus = 'OK'; this.toInventoryStatus = 'OK';
} else if (this.businessTypeCode == "HoldToScrap") { } else if (this.businessTypeCode == "HoldToScrap") {
name = "隔离转报废"; name = "隔离转报废";
this.toLocationCode = 'SCRAP'; this.toLocationCode = 'SCRAP';
this.toinventoryStatus = 'SCRAP'; this.toInventoryStatus = 'SCRAP';
} else if (this.businessTypeCode == "OkToHold") { } else if (this.businessTypeCode == "OkToHold") {
name = "合格转隔离"; name = "合格转隔离";
this.toLocationCode = 'HOLD'; this.toLocationCode = 'HOLD';
this.toinventoryStatus = 'HOLD'; this.toInventoryStatus = 'HOLD';
} else if (this.businessTypeCode == "OktoScrap") { } else if (this.businessTypeCode == "OktoScrap") {
name = "合格转报废"; name = "合格转报废";
this.toLocationCode = 'SCRAP'; this.toLocationCode = 'SCRAP';
this.toinventoryStatus = 'SCRAP'; this.toInventoryStatus = 'SCRAP';
} else if (this.businessTypeCode == "ScrapToHold") { } else if (this.businessTypeCode == "ScrapToHold") {
name = "报废转隔离"; name = "报废转隔离";
this.toLocationCode = 'HOLD'; this.toLocationCode = 'HOLD';
this.toinventoryStatus = 'HOLD'; this.toInventoryStatus = 'HOLD';
} }
uni.setNavigationBarTitle({ uni.setNavigationBarTitle({
@ -453,7 +453,7 @@
detail.toBatch = info.batch; detail.toBatch = info.batch;
detail.toContainerNumber = ''; detail.toContainerNumber = '';
// detail.toLocationCode = this.toLocationCode; // detail.toLocationCode = this.toLocationCode;
detail.toinventoryStatus=this.toinventoryStatus; detail.toInventoryStatus=this.toInventoryStatus;
subList.push(detail) subList.push(detail)
} }
}) })

Loading…
Cancel
Save