Browse Source

Merge branch '20200710_pc_vue_new_branch' into 20200916_pc_vue_new_branch

csx 4 years ago
parent
commit
41e9333eaf

+ 0 - 6
src/xt_pages/data/components/addDrugs.vue View File

@@ -463,7 +463,6 @@
463 463
       },
464 464
       getDataConfig(module, filed_name){
465 465
         return getDataConfig(module, filed_name)
466
-
467 466
       },
468 467
       _close: function(done) {
469 468
         // this.clear()
@@ -490,12 +489,7 @@
490 489
           }
491 490
 
492 491
           this.form.drug_classify = parseInt(this.form.drug_classify)
493
-          this.form.max_unit = parseInt(this.form.max_unit)
494
-          this.form.min_unit = parseInt(this.form.min_unit)
495
-
496 492
           this.form['id'] = id
497
-
498
-          console.log(this.form.drug_status.length)
499 493
           this.drug_status = []
500 494
           if(this.form.drug_status.length > 0){
501 495
             for (let i = 0; i <  this.form.drug_status.split(",").length; i++){

+ 2 - 10
src/xt_pages/data/components/drugs.vue View File

@@ -305,7 +305,7 @@
305 305
         return ''
306 306
       },
307 307
       goodInfoDialogComfirm: function(val) {
308
-        
308
+
309 309
         //修改自备药
310 310
         var untit = ""
311 311
         var untis = getDataConfig('hemodialysis','units')
@@ -370,7 +370,7 @@
370 370
         // this.$refs.maintain.show();
371 371
       },
372 372
       openForm(id) {
373
-        
373
+
374 374
         this.getAllManufacturer()
375 375
         if (id > 0) {
376 376
           this.current_id = id
@@ -387,23 +387,15 @@
387 387
               }
388 388
 
389 389
               if(this.formValue.is_special_diseases <= 0){
390
-
391 390
                 this.formValue.is_special_diseases = ''
392 391
               } else{
393
-
394 392
                 this.formValue.is_special_diseases = this.formValue.is_special_diseases.toString()
395
-
396
-
397 393
               }
398 394
 
399 395
               if(this.formValue.is_record <= 0){
400
-
401 396
                 this.formValue.is_record = ''
402 397
               } else{
403
-
404 398
                 this.formValue.is_record = this.formValue.is_record.toString()
405
-
406
-
407 399
               }
408 400
 
409 401
 

+ 12 - 8
src/xt_pages/stock/drugs/drugStockOutOrder.vue View File

@@ -108,6 +108,17 @@
108 108
           </template>
109 109
         </el-table-column>
110 110
 
111
+        <el-table-column min-width="35" align="center">
112
+          <template slot="header" slot-scope="scope">
113
+            <span>出库方式</span>
114
+          </template>
115
+          <template slot-scope="scope">
116
+            <span v-if="scope.row.is_sys == 1">{{"自动出库"}}</span>
117
+            <span v-if="scope.row.is_sys != 1">{{"手动出库"}}</span>
118
+
119
+          </template>
120
+        </el-table-column>
121
+
111 122
         <el-table-column label="厂家" align="center">
112 123
           <template slot-scope="scope">
113 124
             {{scope.row.manufacturers ? scope.row.manufacturers.manufacturer_name:''}}
@@ -119,14 +130,7 @@
119 130
             {{scope.row.dealers ? scope.row.dealers.dealer_name:''}}
120 131
           </template>
121 132
         </el-table-column>
122
-        <el-table-column min-width="35" align="center">
123
-          <template slot="header" slot-scope="scope">
124
-            <span>出库方式</span>
125
-          </template>
126
-          <template slot-scope="scope">
127
-            <span v-if="scope.row.is_sys == 1">{{"自动出库"}}</span>
128
-          </template>
129
-        </el-table-column>
133
+
130 134
 
131 135
         <el-table-column label="操作" align="center">
132 136
           <template slot-scope="scope">