snow 1 år sedan
förälder
incheckning
2cad791762
1 ändrade filer med 1 tillägg och 3 borttagningar
  1. 1 3
      src/views/sellOut/returnTransferStock/index.vue

+ 1 - 3
src/views/sellOut/returnTransferStock/index.vue

@@ -322,8 +322,7 @@ export default {
       this.select_list = list;
     },
     async handleSecure(id, rela_cgdNo) {
-      this.$alert("是否确认解除关联", "", {
-        callback: async () => {
+      this.$confirm("是否确认解除关联", "").then(async () => {
           this.loading = true
           const response = await asyncRequest.thstockstatus({ rela_cgdNo, status: "3", id })
           this.loading = false
@@ -332,7 +331,6 @@ export default {
           } else {
             this.$message.warning(response.message)
           }
-        }
       })
     },
     getRouter(toRouter, queryId) {