lilei 2 anos atrás
pai
commit
f089e24a93
1 arquivos alterados com 14 adições e 6 exclusões
  1. 14 6
      src/views/salesReturnManagement/pickUp/list.vue

+ 14 - 6
src/views/salesReturnManagement/pickUp/list.vue

@@ -202,12 +202,20 @@ export default {
     },
     // 提货
     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()
+            }
+          })
         }
       })
     },