|
@ -160,6 +160,9 @@ |
|
|
scanPopupGetFocus() { |
|
|
scanPopupGetFocus() { |
|
|
this.$refs.scanPopup.getfocus(); |
|
|
this.$refs.scanPopup.getfocus(); |
|
|
}, |
|
|
}, |
|
|
|
|
|
showScanMessage(message) { |
|
|
|
|
|
this.$refs.comMessage.showScanMessage(message); |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
openScanPopup() { |
|
|
openScanPopup() { |
|
|
this.$refs.scanPopup.openScanPopup() |
|
|
this.$refs.scanPopup.openScanPopup() |
|
@ -194,12 +197,14 @@ |
|
|
}) |
|
|
}) |
|
|
console.log("参数",JSON.stringify(this.itemList)) |
|
|
console.log("参数",JSON.stringify(this.itemList)) |
|
|
|
|
|
|
|
|
// purchaseReturnRequestSubmit(this.itemList).then(res => { |
|
|
purchaseReturnRequestSubmit(this.itemList).then(res => { |
|
|
// uni.hideLoading() |
|
|
uni.hideLoading() |
|
|
// }).catch(error => { |
|
|
this.showMessage("提交成功") |
|
|
// uni.hideLoading() |
|
|
this.itemList=[] |
|
|
// this.showMessage(error.message) |
|
|
}).catch(error => { |
|
|
// }) |
|
|
uni.hideLoading() |
|
|
|
|
|
this.showMessage(error.message) |
|
|
|
|
|
}) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|