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