Merge branch 'main' of http://162.14.99.253:3000/10539622/2025-03-JS-SDK-PDA
# Conflicts: # pages/material/features/ProduceReturnPage/index.vue
This commit is contained in:
commit
2b818848eb
@ -372,9 +372,10 @@
|
|||||||
getLocationName() {
|
getLocationName() {
|
||||||
this.items_Location = []
|
this.items_Location = []
|
||||||
this.BoxListInfo = [];
|
this.BoxListInfo = [];
|
||||||
|
let ERPFACTORY = JSON.parse(uni.getStorageSync('orgObject')).ERPFACTORY;
|
||||||
if (this.ERPLOCATION != '') {
|
if (this.ERPLOCATION != '') {
|
||||||
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
||||||
ERPLocation: this.ERPLOCATION
|
ERPLocation: ERPFACTORY
|
||||||
}).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++) {
|
||||||
|
@ -172,9 +172,10 @@
|
|||||||
},
|
},
|
||||||
getLocationName() {
|
getLocationName() {
|
||||||
this.items_Location = []
|
this.items_Location = []
|
||||||
|
let ERPFACTORY = JSON.parse(uni.getStorageSync('orgObject')).ERPFACTORY;
|
||||||
if (this.ERPLOCATION1 != '') {
|
if (this.ERPLOCATION1 != '') {
|
||||||
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
||||||
ERPLocation: this.ERPLOCATION1,
|
ERPLocation: ERPFACTORY,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res.data.resultObj)
|
console.log(res.data.resultObj)
|
||||||
if (res.data.success) {
|
if (res.data.success) {
|
||||||
|
@ -362,9 +362,10 @@
|
|||||||
},
|
},
|
||||||
getLocationName2() {
|
getLocationName2() {
|
||||||
this.items_Location = []
|
this.items_Location = []
|
||||||
|
let ERPFACTORY = JSON.parse(uni.getStorageSync('orgObject')).ERPFACTORY;
|
||||||
if (this.ERPLOCATION != '') {
|
if (this.ERPLOCATION != '') {
|
||||||
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
||||||
ERPLocation: this.ERPLOCATION
|
ERPLocation: ERPFACTORY
|
||||||
}).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++) {
|
||||||
|
@ -295,9 +295,9 @@
|
|||||||
},
|
},
|
||||||
getLocationName() {
|
getLocationName() {
|
||||||
this.items_Location = []
|
this.items_Location = []
|
||||||
if (this.ERPLOCATION != '') {
|
let ERPFACTORY = JSON.parse(uni.getStorageSync('orgObject')).ERPFACTORY;
|
||||||
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
||||||
ERPLocation: this.ERPLOCATION
|
ERPLocation: ERPFACTORY
|
||||||
}).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++) {
|
||||||
@ -316,9 +316,6 @@
|
|||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.$showMessage(err)
|
this.$showMessage(err)
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
this.$showMessage("请先选择仓库")
|
|
||||||
}
|
|
||||||
|
|
||||||
},
|
},
|
||||||
selConfirm(e) {
|
selConfirm(e) {
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
<u-input :border="true" v-model="LOCATIONNAME" placeholder="请输入" @input="handleInput"/>
|
<u-input :border="true" v-model="LOCATIONNAME" placeholder="请输入" @input="handleInput"/>
|
||||||
</downSelect>
|
</downSelect>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
|
|
||||||
<!-- <u-form-item :border-bottom="false">
|
<!-- <u-form-item :border-bottom="false">
|
||||||
<label>选择库位:</label>
|
<label>选择库位:</label>
|
||||||
<downSelect ref='selectRef' showKey="storageName" mode='single' :dataList="items_Location" @resultBack="resultBack">
|
<downSelect ref='selectRef' showKey="storageName" mode='single' :dataList="items_Location" @resultBack="resultBack">
|
||||||
@ -855,9 +854,9 @@
|
|||||||
getLocationName() {
|
getLocationName() {
|
||||||
this.items_Location = []
|
this.items_Location = []
|
||||||
this.items_Location = []
|
this.items_Location = []
|
||||||
if (this.ERPLOCATION != '') {
|
let ERPFACTORY = JSON.parse(uni.getStorageSync('orgObject')).ERPFACTORY;
|
||||||
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
||||||
ERPLocation: this.ERPLOCATION
|
ERPLocation: ERPFACTORY
|
||||||
}).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++) {
|
||||||
@ -877,9 +876,6 @@
|
|||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.$showMessage(err)
|
this.$showMessage(err)
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
this.$showMessage("请先选择仓库")
|
|
||||||
}
|
|
||||||
|
|
||||||
},
|
},
|
||||||
getitems_LocationAll(query) {
|
getitems_LocationAll(query) {
|
||||||
|
@ -322,9 +322,9 @@
|
|||||||
},
|
},
|
||||||
getLocationName() {
|
getLocationName() {
|
||||||
this.items_Location = []
|
this.items_Location = []
|
||||||
if (this.ERPLOCATION != '') {
|
let ERPFACTORY = JSON.parse(uni.getStorageSync('orgObject')).ERPFACTORY;
|
||||||
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
||||||
ERPLocation: this.ERPLOCATION
|
ERPLocation: ERPFACTORY
|
||||||
}).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++) {
|
||||||
@ -343,9 +343,6 @@
|
|||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.$showMessage(err)
|
this.$showMessage(err)
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
this.$showMessage("请先选择仓库")
|
|
||||||
}
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -417,9 +417,9 @@
|
|||||||
getLocationName() {
|
getLocationName() {
|
||||||
this.items_Location = []
|
this.items_Location = []
|
||||||
this.items_LocationAll = []
|
this.items_LocationAll = []
|
||||||
if (this.ERPLOCATION != '') {
|
let ERPFACTORY = JSON.parse(uni.getStorageSync('orgObject')).ERPFACTORY;
|
||||||
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
||||||
ERPLocation: this.ERPLOCATION
|
ERPLocation: ERPFACTORY
|
||||||
}).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++) {
|
||||||
@ -439,9 +439,6 @@
|
|||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.$showMessage(err)
|
this.$showMessage(err)
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
this.$showMessage("请先选择仓库")
|
|
||||||
}
|
|
||||||
|
|
||||||
},
|
},
|
||||||
getitems_LocationAll(query) {
|
getitems_LocationAll(query) {
|
||||||
|
@ -348,9 +348,9 @@
|
|||||||
},
|
},
|
||||||
getLocationName() {
|
getLocationName() {
|
||||||
this.items_Location = []
|
this.items_Location = []
|
||||||
if (this.ERPLOCATION != '') {
|
let ERPFACTORY = JSON.parse(uni.getStorageSync('orgObject')).ERPFACTORY;
|
||||||
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
||||||
ERPLocation: this.ERPLOCATION
|
ERPLocation: ERPFACTORY
|
||||||
}).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++) {
|
||||||
@ -369,9 +369,6 @@
|
|||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.$showMessage(err)
|
this.$showMessage(err)
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
this.$showMessage("请先选择仓库")
|
|
||||||
}
|
|
||||||
|
|
||||||
},
|
},
|
||||||
getitems_LocationAll(query){
|
getitems_LocationAll(query){
|
||||||
|
@ -414,9 +414,10 @@
|
|||||||
},
|
},
|
||||||
getLocationName() {
|
getLocationName() {
|
||||||
this.items_Location = []
|
this.items_Location = []
|
||||||
|
let ERPFACTORY = JSON.parse(uni.getStorageSync('orgObject')).ERPFACTORY;
|
||||||
if (this.ERPLOCATION != '') {
|
if (this.ERPLOCATION != '') {
|
||||||
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
||||||
ERPLocation: this.ERPLOCATION
|
ERPLocation: ERPFACTORY
|
||||||
}).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++) {
|
||||||
|
@ -652,9 +652,10 @@
|
|||||||
},
|
},
|
||||||
getLocationName() {
|
getLocationName() {
|
||||||
this.items_Location = []
|
this.items_Location = []
|
||||||
|
let ERPFACTORY = JSON.parse(uni.getStorageSync('orgObject')).ERPFACTORY;
|
||||||
if (this.ERPLOCATION != '') {
|
if (this.ERPLOCATION != '') {
|
||||||
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
this.$MyRequest('/api/storage/getLocationNameForERPLocation', {
|
||||||
ERPLocation: this.ERPLOCATION
|
ERPLocation: ERPFACTORY
|
||||||
}).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++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user