YY преди 2 години
родител
ревизия
2eea5554d0
променени са 2 файла, в които са добавени 10 реда и са изтрити 10 реда
  1. 5 5
      src/views/platmanag/order/parts/detail/parts/card-2.vue
  2. 5 5
      src/views/selfShop/order/parts/detail/parts/card-2.vue

+ 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)) {