|
@@ -115,13 +115,23 @@ export default {
|
|
|
methods: {
|
|
|
handleBack (val) {
|
|
|
if (val == 1) {
|
|
|
- confirmPutStock({ stockPutSn: this.$route.params.stockPutSn }).then(res => {
|
|
|
- this.$message.warning(res.message)
|
|
|
+ const _this = this
|
|
|
+ this.$confirm({
|
|
|
+ title: '提示',
|
|
|
+ content: '经销商库存将增加,确认入库吗?',
|
|
|
+ centered: true,
|
|
|
+ onOk () {
|
|
|
+ _this.spinning = true
|
|
|
+ confirmPutStock({ stockPutSn: _this.$route.params.stockPutSn }).then(res => {
|
|
|
+ _this.$message.warning(res.message)
|
|
|
+ _this.spinning = false
|
|
|
+ _this.$router.push({ path: '/numsGoodsShelves/recallStockManagement/list' })
|
|
|
+ })
|
|
|
+ }
|
|
|
})
|
|
|
- }
|
|
|
- setTimeout(() => {
|
|
|
+ } else {
|
|
|
this.$router.push({ path: '/numsGoodsShelves/recallStockManagement/list' })
|
|
|
- }, 300)
|
|
|
+ }
|
|
|
},
|
|
|
// 入库信息的查询
|
|
|
getStockInfo () {
|