update 产成品入库,修复库位下拉框没有展示库位

This commit is contained in:
18110972313 2025-05-27 15:21:58 +08:00
parent b075da2125
commit f467623c24

View File

@ -251,7 +251,7 @@
this.orgObject = JSON.parse(uni.getStorageSync('orgObject'))
this.getERPLocation();
this.getLocationName();
//this.getLocationName();
// this.GetLiberaryBaeIn()
// this.GetLiberaryBaeEn()
this.getTimeData();
@ -385,8 +385,8 @@
// },
change(e) {
this.ERPLOCATION = e.value;
//this.LOCATIONNAME = ""
//this.getLocationName();
this.LOCATIONNAME = ""
this.getLocationName();
},
changeLocationName(e) {
this.LOCATIONNAME = e.value;
@ -422,7 +422,7 @@
this.items_LocationAll = []
let ERPFACTORY = JSON.parse(uni.getStorageSync('orgObject')).ERPFACTORY;
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
ERPLocation: ERPFACTORY
ERPLocation: this.ERPLOCATION
}).then(res => {
if (res.data.success) {
for (let i = 0; i < res.data.resultObj.length; i++) {