yuanyuan 3 gadi atpakaļ
vecāks
revīzija
565a6054b3
1 mainītis faili ar 10 papildinājumiem un 6 dzēšanām
  1. 10 6
      src/views/Store.vue

+ 10 - 6
src/views/Store.vue

@@ -694,21 +694,25 @@ export default {
                 if (this.type === 'NORMAL') {
                 if (this.type === 'NORMAL') {
                     form = {
                     form = {
                         ...form,
                         ...form,
-                        publicShow: true,
-                        consignment: false
+                        assetType: 'OPEN_SHOW'
                     };
                     };
-                }
+                };
+                if (this.type === 'paimai') {
+                    form = {
+                        ...form,
+                        assetType: 'AUCTIONING'
+                    };
+                };
                 if (this.type === 'NOT_NORMAL') {
                 if (this.type === 'NOT_NORMAL') {
                     form = {
                     form = {
                         ...form,
                         ...form,
-                        publicShow: false,
-                        consignment: false
+                        assetType: 'CLOSE_SHOW'
                     };
                     };
                 }
                 }
                 if (this.type === 'ON_SALE') {
                 if (this.type === 'ON_SALE') {
                     form = {
                     form = {
                         ...form,
                         ...form,
-                        consignment: true
+                        assetType: 'CONSIGNMENT'
                     };
                     };
                 }
                 }
                 if (this.type === 'lock') {
                 if (this.type === 'lock') {