See999 4 vuotta sitten
vanhempi
commit
813eecb470

+ 5 - 0
package-lock.json Näytä tiedosto

285
         }
285
         }
286
       }
286
       }
287
     },
287
     },
288
+    "@types/better-scroll": {
289
+      "version": "1.12.1",
290
+      "resolved": "https://registry.npmjs.org/@types/better-scroll/-/better-scroll-1.12.1.tgz",
291
+      "integrity": "sha512-jI/nmYl6+RbGsVIhJpqpoh09hC5Kf/OZiwYKCcfmoihpxxTPkeuNdz9DyRhdXf09Wgl1l9n/bOXXo9ucwgp4Lg=="
292
+    },
288
     "@types/commander": {
293
     "@types/commander": {
289
       "version": "2.12.2",
294
       "version": "2.12.2",
290
       "resolved": "https://registry.npmjs.org/@types/commander/-/commander-2.12.2.tgz",
295
       "resolved": "https://registry.npmjs.org/@types/commander/-/commander-2.12.2.tgz",

+ 8 - 4
src/pages/main/dialog/modify_order/modify_order_form.vue Näytä tiedosto

110
 
110
 
111
             <div class="cell" v-show="order.parent_id == 0">
111
             <div class="cell" v-show="order.parent_id == 0">
112
               <label>医嘱嘱托</label>
112
               <label>医嘱嘱托</label>
113
-              <input class="inputBox" style="width:100%" v-model="order.remark" />
113
+              <input
114
+                class="inputBox"
115
+                style="width:100%"
116
+                v-model="order.remark"
117
+              />
114
             </div>
118
             </div>
115
             <!-- </div> -->
119
             <!-- </div> -->
116
           </div>
120
           </div>
394
 <style style="stylesheet/scss" lang="scss" scoped>
398
 <style style="stylesheet/scss" lang="scss" scoped>
395
 .content {
399
 .content {
396
   .cell {
400
   .cell {
401
+    @media only screen and (max-width: 415px) {
402
+      height: 2.4rem;
403
+    }
397
     float: left;
404
     float: left;
398
     width: 4.5rem;
405
     width: 4.5rem;
399
 
406
 
446
 .content {
453
 .content {
447
   .newContent {
454
   .newContent {
448
     .cell {
455
     .cell {
449
-      @media only screen and (max-width: 415px) {
450
-        height: 2.4rem;
451
-      }
452
       .inputBox {
456
       .inputBox {
453
         @media only screen and (max-width: 767px) {
457
         @media only screen and (max-width: 767px) {
454
           padding: 10.6px 0 !important;
458
           padding: 10.6px 0 !important;

+ 19 - 6
src/pages/main/dialog/new_order/order_form.vue Näytä tiedosto

20
               <label>药品规格</label>
20
               <label>药品规格</label>
21
               <!--<input class="inputBox" style="width:62.5%" v-model="order.advice_desc">-->
21
               <!--<input class="inputBox" style="width:62.5%" v-model="order.advice_desc">-->
22
 
22
 
23
-              <input class="inputBox" style="width:60%" v-model="order.advice_desc" />
23
+              <input
24
+                class="inputBox"
25
+                style="width:60%"
26
+                v-model="order.advice_desc"
27
+              />
24
               <input
28
               <input
25
                 type="text"
29
                 type="text"
26
                 placeholder="单位"
30
                 placeholder="单位"
53
 
57
 
54
             <div class="cell">
58
             <div class="cell">
55
               <label>单次用量</label>
59
               <label>单次用量</label>
56
-              <input type="number" class="inputBox" style="width:62.5%" v-model="order.single_dose" />
60
+              <input
61
+                type="number"
62
+                class="inputBox"
63
+                style="width:62.5%"
64
+                v-model="order.single_dose"
65
+              />
57
               <input
66
               <input
58
                 type="text"
67
                 type="text"
59
                 placeholder="单位"
68
                 placeholder="单位"
89
 
98
 
90
             <div class="cell" v-show="order.parent_id == 0">
99
             <div class="cell" v-show="order.parent_id == 0">
91
               <label>医嘱嘱托</label>
100
               <label>医嘱嘱托</label>
92
-              <input class="inputBox" style="width:100%" v-model="order.remark" />
101
+              <input
102
+                class="inputBox"
103
+                style="width:100%"
104
+                v-model="order.remark"
105
+              />
93
             </div>
106
             </div>
94
           </div>
107
           </div>
95
         </div>
108
         </div>
427
 <style style="stylesheet/scss" lang="scss" scoped>
440
 <style style="stylesheet/scss" lang="scss" scoped>
428
 .content {
441
 .content {
429
   .cell {
442
   .cell {
443
+    @media only screen and (max-width: 415px) {
444
+      height: 2.4rem;
445
+    }
430
     float: left;
446
     float: left;
431
     width: 4.5rem;
447
     width: 4.5rem;
432
     margin: 0.35rem 0.3rem 0.1rem 0.4rem;
448
     margin: 0.35rem 0.3rem 0.1rem 0.4rem;
477
     overflow: hidden;
493
     overflow: hidden;
478
   }
494
   }
479
   .cell {
495
   .cell {
480
-    @media only screen and (max-width: 415px) {
481
-      height: 2.4rem;
482
-    }
483
     .inputBox {
496
     .inputBox {
484
       @media only screen and (max-width: 767px) {
497
       @media only screen and (max-width: 767px) {
485
         padding: 0.34rem 0 !important;
498
         padding: 0.34rem 0 !important;