Jelajahi Sumber

feat:退货

snow 1 tahun lalu
induk
melakukan
2cad791762
1 mengubah file dengan 1 tambahan dan 3 penghapusan
  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) {