|
@@ -202,12 +202,20 @@ export default {
|
|
},
|
|
},
|
|
// 提货
|
|
// 提货
|
|
handlePickUp (row) {
|
|
handlePickUp (row) {
|
|
- this.spinning = true
|
|
|
|
- pickUpFinish({ pickUpSn: row.pickUpSn }).then(res => {
|
|
|
|
- this.spinning = false
|
|
|
|
- if (res.status == 200) {
|
|
|
|
- this.$message.info(res.message)
|
|
|
|
- this.$refs.table.refresh()
|
|
|
|
|
|
+ const _this = this
|
|
|
|
+ this.$confirm({
|
|
|
|
+ title: '提示',
|
|
|
|
+ content: '确认已经提货吗?',
|
|
|
|
+ centered: true,
|
|
|
|
+ onOk () {
|
|
|
|
+ _this.spinning = true
|
|
|
|
+ pickUpFinish({ pickUpSn: row.pickUpSn }).then(res => {
|
|
|
|
+ _this.spinning = false
|
|
|
|
+ if (res.status == 200) {
|
|
|
|
+ _this.$message.info(res.message)
|
|
|
|
+ _this.$refs.table.refresh()
|
|
|
|
+ }
|
|
|
|
+ })
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|