Ver código fonte

修改订单状态

YY 2 anos atrás
pai
commit
2eea5554d0

+ 5 - 5
src/views/platmanag/order/parts/detail/parts/card-2.vue

@@ -302,11 +302,11 @@ export default {
             }
             var res;
             if (val != undefined || val != '') {
-              if (this.goodsList.length == 0) {
-                form.status = '2';
-              } else {
-                form.status = val;
-              }
+              // if (this.goodsList.length == 0) {
+              //   form.status = '2';
+              // } else {
+              form.status = val;
+              // }
             }
             if (form.id) res = await this.update(form);
             if (this.$checkRes(res)) {

+ 5 - 5
src/views/selfShop/order/parts/detail/parts/card-2.vue

@@ -302,11 +302,11 @@ export default {
             }
             var res;
             if (val != undefined || val != '') {
-              if (this.goodsList.length == 0) {
-                form.status = '2';
-              } else {
-                form.status = val;
-              }
+              // if (this.goodsList.length == 0) {
+              //   form.status = '2';
+              // } else {
+              form.status = val;
+              // }
             }
             if (form.id) res = await this.update(form);
             if (this.$checkRes(res)) {