|
@ -372,16 +372,19 @@ |
|
|
|
|
|
|
|
|
let params = JSON.stringify(item); |
|
|
let params = JSON.stringify(item); |
|
|
console.log('params', params); |
|
|
console.log('params', params); |
|
|
scrap(params) |
|
|
that.showCommitSuccess(); |
|
|
.then(res => { |
|
|
that.clearAll(); |
|
|
that.showCommitSuccess(); |
|
|
uni.hideLoading(); |
|
|
that.clearAll(); |
|
|
// scrap(params) |
|
|
uni.hideLoading(); |
|
|
// .then(res => { |
|
|
}) |
|
|
// that.showCommitSuccess(); |
|
|
.catch(err => { |
|
|
// that.clearAll(); |
|
|
that.showMessage(err.message); |
|
|
// uni.hideLoading(); |
|
|
uni.hideLoading(); |
|
|
// }) |
|
|
}); |
|
|
// .catch(err => { |
|
|
|
|
|
// that.showMessage(err.message); |
|
|
|
|
|
// uni.hideLoading(); |
|
|
|
|
|
// }); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
cancel() { |
|
|
cancel() { |
|
@ -457,7 +460,7 @@ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
closeCommitMessage() { |
|
|
closeCommitMessage() { |
|
|
this.openScanPopup(); |
|
|
// this.openScanPopup(); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
} |
|
|
} |
|
|