diff --git a/pages/material/features/ProductStockIn/index.vue b/pages/material/features/ProductStockIn/index.vue index ad29936..e696cdb 100644 --- a/pages/material/features/ProductStockIn/index.vue +++ b/pages/material/features/ProductStockIn/index.vue @@ -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++) {