|
|
@@ -144,7 +144,10 @@
|
|
|
*/
|
|
|
onBarCode() {
|
|
|
if (this.formData.barCode) {
|
|
|
- this.excuteNoParam(this.$service.collectService, this.$service.collectService.checkBarCodeScrapUndo, [this.formData.barCode]).then(res => {
|
|
|
+ let param ={
|
|
|
+ barCode:this.formData.barCode
|
|
|
+ }
|
|
|
+ this.excute(this.$service.collectService, this.$service.collectService.checkBarCodeScrapUndo, param).then(res => {
|
|
|
if (res.code === this.$config.SUCCESS_CODE) {
|
|
|
this.formData.productId = res.data.uniqueId
|
|
|
this.formData.productCode = res.data.modelCode
|