Ver código fonte

发货问题

shish 6 anos atrás
pai
commit
9a53ad4cb5

+ 0 - 20
store/src/admin/order/components/sel-ship-manage.vue

@@ -183,7 +183,6 @@ export default {
         ["00", "10", "20", "30", "40", "50"]
       ],
       timeValue: [0, 0],
-      // deliveryList
       deliveryList: [
         {
           text: "达达配送",
@@ -227,16 +226,8 @@ export default {
           id: this.orderData.id,
           pageStatus: 7
         });
-        // this.$util.pageTo({
-        // 	url: '/admin/order/ship',
-        // 	query: {
-        // 		id: this.orderData.id,
-        // 		pageStatus: 7
-        // 	}
-        // })
       });
     },
-    // moadl
     switchChangeFn(e) {
       this.form.sendType = e.detail.value ? 1 : 0;
     },
@@ -254,10 +245,6 @@ export default {
       if (e.index === 0) {
         this.modalCancel();
       } else {
-
-      this.$msg("即将开通...");
-      return false;
-
         orderSend({
           id: this.query.id,
           option: 1,
@@ -268,13 +255,6 @@ export default {
             pageStatus: 3
           });
           this.modalCancel();
-          // this.$util.pageTo({
-          // 	url: '/admin/order/ship',
-          // 	query: {
-          // 		id: this.query.id,
-          // 		pageStatus: 3
-          // 	}
-          // })
         });
       }
     },

+ 4 - 0
store/src/admin/setting/level.vue

@@ -98,6 +98,10 @@ export default {
       });
     },
     delFn(index) {
+      if (index == 0) {
+        this.$msg("最少要保留一个");
+        return false;
+      }
       this.list.splice(index, 1);
       this.$msg("删除成功!");
     },