Procházet zdrojové kódy

Merge remote-tracking branch 'origin/master'

chenxiqiang před 6 roky
rodič
revize
3115befdd3

+ 6
- 3
miniapp/app/pages/bookService/index.js Zobrazit soubor

@@ -28,7 +28,8 @@ new $.Page({
28 28
                 banner: res.data.photo || '',
29 29
                 fields,
30 30
                 options,
31
-                api: res.data.api
31
+                api: res.data.api,
32
+                type: res.data.type
32 33
             });
33 34
         });
34 35
     },
@@ -39,7 +40,8 @@ new $.Page({
39 40
             address,
40 41
             notes,
41 42
             options,
42
-            api
43
+            api,
44
+            type
43 45
         } = this.data;
44 46
         if (!name || !phone || !address) {
45 47
             return $.wx.showToast({
@@ -58,7 +60,8 @@ new $.Page({
58 60
             contact: name,
59 61
             phone,
60 62
             address,
61
-            notes
63
+            notes,
64
+            type
62 65
         }
63 66
         for (let option of options) {
64 67
             data[`${option.key}`] = option.value;

+ 6
- 3
miniapp/app/pages/yuesao/index.js Zobrazit soubor

@@ -28,7 +28,8 @@ new $.Page({
28 28
                 banner: res.data.photo || '',
29 29
                 fields,
30 30
                 options,
31
-                api: res.data.api
31
+                api: res.data.api,
32
+                type: res.data.type
32 33
             });
33 34
         });
34 35
     },
@@ -40,7 +41,8 @@ new $.Page({
40 41
             notes,
41 42
             expectedDate,
42 43
             serviceDate,
43
-            options
44
+            options,
45
+            type
44 46
         } = this.data;
45 47
         if (!name || !phone || !address || !expectedDate || !serviceDate) {
46 48
             return $.wx.showToast({
@@ -61,7 +63,8 @@ new $.Page({
61 63
             server_time: serviceDate,
62 64
             address,
63 65
             contact: name,
64
-            phone
66
+            phone,
67
+            type
65 68
         };
66 69
         for (let option of options) {
67 70
             data[`${option.key}`] = option.value;

Loading…
Zrušit
Uložit