qukaidi 4 rokov pred
rodič
commit
ecdae08dce

+ 1 - 1
src/views/Warehousing/stockTransfer/AddOrUpdate.vue

@@ -2707,7 +2707,7 @@ export default {
     this.getDicts("data_stltype_type").then((response) => {
       this.fStltypeOptions = response.data;
     });
-    this.getDicts("st_in_type").then((response) => {
+    this.getDicts("st_trans_type").then((response) => {
       this.businessTypeOption = response.data;
       localStorage.setItem("businessTypeList", JSON.stringify(response.data));
     });

+ 2 - 6
src/views/Warehousing/stockTransfer/index.vue

@@ -874,10 +874,8 @@ export default {
         this.pageShow2 = true;
       }, 200);
     },
-    /** 删除按钮操作 */
     handleDelete(row) {
       const ids = row.fId || this.ids;
-      const tips = "";
       delstockTransfer_s(ids).then((data) => {
         switch (data.msg) {
           case "0": {
@@ -885,13 +883,11 @@ export default {
             break;
           }
           case "1": {
-            tips = "当前主表有数据从表无数据是否删除";
-            this.delete(ids, tips);
+            this.delete(ids, "当前主表有数据从表无数据是否删除");
             break;
           }
           case "2": {
-            tips = "当前主表有数据从表有数据是否删除";
-            this.delete(ids, tips);
+            this.delete(ids, "当前主表有数据从表有数据是否删除");
             break;
           }
           default: {