ソースを参照

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 3 年 前
コミット
7cb00093ef

+ 5 - 5
src/store/modules/globalConfig.js ファイルの表示

@@ -220,11 +220,11 @@ const global_config = {
220 220
       }
221 221
     ],
222 222
     contagions: [ // 传染病
223
-      {
224
-        id: 1,
225
-        name: '普通',
226
-        type: 1
227
-      },
223
+      // {
224
+      //   id: 1,
225
+      //   name: '普通',
226
+      //   type: 1
227
+      // },
228 228
       {
229 229
         id: 2,
230 230
         name: '乙肝',

+ 6 - 1
src/xt_pages/data/components/addDrugs.vue ファイルの表示

@@ -20,6 +20,11 @@
20 20
                                       maxlength="30"></el-input>
21 21
                         </el-form-item>
22 22
 
23
+                        <!-- <el-form-item label="药品规格 : ">
24
+                            <el-input v-model="form.specification_name" style="width:160px;" placeholder=""
25
+                                      maxlength="30"></el-input>
26
+                        </el-form-item> -->
27
+
23 28
                         <el-form-item label="药品类别 : " prop="drug_category">
24 29
                             <el-select v-model="form.drug_category" style="width:160px;" placeholder="请选择">
25 30
                                 <el-option
@@ -145,7 +150,7 @@
145 150
                         <el-input v-model="form.drug_day" style="width:160px;" placeholder=""
146 151
                                   maxlength="30"></el-input>
147 152
                     </el-form-item>
148
-                       <el-form-item label="库存警戒:" prop="drug_stock_limit">
153
+                       <el-form-item label="库存警戒:">
149 154
                             <el-input v-model="form.drug_stock_limit" style="width:160px;" placeholder=""
150 155
                                       maxlength="30"></el-input>
151 156
                         </el-form-item>

+ 8 - 3
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue ファイルの表示

@@ -836,7 +836,8 @@
836 836
         current_drug_name:"",
837 837
         current_drug_spec: "",
838 838
         drug_id: 0,
839
-        src_type:""
839
+        src_type:"",
840
+        org_id:0,
840 841
       }
841 842
     },
842 843
     watch: {
@@ -2172,8 +2173,11 @@
2172 2173
         let tempPrescribingNumberDesc = ''
2173 2174
 
2174 2175
         if (row.prescribing_number) {
2175
-          tempPrescribingNumberDesc =
2176
-            row.prescribing_number + '' + row.prescribing_number_unit
2176
+           tempPrescribingNumberDesc = row.prescribing_number + '' + row.prescribing_number_unit
2177
+        }
2178
+
2179
+        if(this.org_id == 10188 ){
2180
+            tempPrescribingNumberDesc = ""
2177 2181
         }
2178 2182
 
2179 2183
         if (row.single_dose) {
@@ -2548,6 +2552,7 @@
2548 2552
       this.getAdviceConfig()
2549 2553
       this.unitsOption = getDataConfig('hemodialysis', 'units')
2550 2554
       this.template_id = this.$store.getters.xt_user.template_info.template_id
2555
+      this.org_id = this.$store.getters.xt_user.org.id
2551 2556
       this.patientid = this.$route.query.patient_id
2552 2557
       this.request_record_date = this.record_date
2553 2558
 

+ 6 - 21
src/xt_pages/stock/drugs/query.vue ファイルの表示

@@ -79,11 +79,7 @@
79 79
       </div>
80 80
       
81 81
        <el-table :data="tableList" border style="width: 100%">
82
-        <!-- <el-table-column prop="date" label="药品编号" width="180">
83
-           <template  slot-scope="scope">
84
-              
85
-           </template>
86
-        </el-table-column> -->
82
+      
87 83
         <el-table-column prop="drug_type" label="药品类型" width="180" align="center">
88 84
            <template slot-scope="scope">
89 85
              {{getDrugType(scope.row.drug_type)}}
@@ -116,15 +112,15 @@
116 112
         </el-table-column>
117 113
         <el-table-column prop="drug_name" label="出库数量" align="center">
118 114
            <template slot-scope="scope">
119
-              <span v-if="org_id == 10028 || org_id == 9671">{{getOutCount(scope.row.id)+getAutoCount(scope.row.id)}}</span>
120
-              <span v-else>{{getWarehouseOutInfo(scope.row.drug_warehouse_out,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span> 
115
+              <span>{{getOutCount(scope.row.id)+getAutoCount(scope.row.id)}}{{scope.row.max_unit}}</span>
116
+              <!-- <span v-else>{{getWarehouseOutInfo(scope.row.drug_warehouse_out,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>  -->
121 117
            </template>
122 118
         </el-table-column>
123 119
         <el-table-column prop="drug_name" label="剩余库存量" align="center">
124 120
            <template slot-scope="scope">
125 121
             <div v-if="getWarehoseInfo(scope.row.drug_warehouse_info)!=0">
126
-               <span v-if="(org_id == 10028 || org_id == 9671)">{{getWarehoseInfo(scope.row.drug_warehouse_info) - getOutCount(scope.row.id) - getAutoCount(scope.row.id)}} </span>
127
-               <span v-else>{{getOverFlushInfo(scope.row.drug_warehouse_info,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span> 
122
+               <span>{{getWarehoseInfo(scope.row.drug_warehouse_info) - getOutCount(scope.row.id) - getAutoCount(scope.row.id)}}{{scope.row.max_unit}} </span>
123
+               <!-- <span v-else>{{getOverFlushInfo(scope.row.drug_warehouse_info,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>  -->
128 124
             </div>
129 125
            </template>
130 126
         </el-table-column>
@@ -178,16 +174,6 @@ import { min } from 'moment'
178 174
     name: 'stockIn',
179 175
     created() {
180 176
       
181
-      // var nowDate = new Date();
182
-      // var nowYear = nowDate.getFullYear();
183
-      // var nowMonth = nowDate.getMonth() + 1;
184
-      // var nowDay = nowDate.getDate();
185
-      // this.end_time =nowYear +"-" +(nowMonth < 10 ? "0" + nowMonth : nowMonth) +"-" +(nowDay < 10 ? "0" + nowDay : nowDay);
186
-      // nowDate.setMonth(nowDate.getMonth() - 1);
187
-      // nowYear = nowDate.getFullYear();
188
-      // nowMonth = nowDate.getMonth() + 1;
189
-      // nowDay = nowDate.getDate();
190
-      // this.start_time =nowYear +"-" +(nowMonth < 10 ? "0" + nowMonth : nowMonth) +"-" +(nowDay < 10 ? "0" + nowDay : nowDay);
191 177
       this.getlist()
192 178
       var drugCategory = getDictionaryDataConfig('system','drug_category')
193 179
       this.drugCategory.push(...drugCategory)
@@ -524,8 +510,6 @@ import { min } from 'moment'
524 510
          console.log("paramsw2ww",params)
525 511
         getDrugCountList(params).then(response=>{
526 512
           if(response.data.state == 1){
527
-            var countlist =  response.data.data.countList
528
-            this.countList = countlist
529 513
             var minCount = response.data.data.minCount
530 514
             console.log("minCount",minCount)
531 515
             this.minCount = minCount
@@ -537,6 +521,7 @@ import { min } from 'moment'
537 521
                  info[i].count = info[i].count * info[i].min_number
538 522
               }
539 523
             }
524
+
540 525
             this.outCountList = response.data.data.outCountList
541 526
             console.log("手动出库",this.outCountList)
542 527
             this.auCountList = response.data.data.auCountList

+ 1 - 1
src/xt_pages/workforce/components/nextTableWeeks.vue ファイルの表示

@@ -391,7 +391,7 @@ export default {
391 391
               }
392 392
             }
393 393
             var arr =   newList.sort(this.compare('sort'))
394
-            // console.log("元旦快乐",arr)
394
+            console.log("元旦快乐",arr)
395 395
             this.scheduleData = arr
396 396
           }
397 397
 

+ 3 - 1
src/xt_pages/workforce/components/tableData.vue ファイルの表示

@@ -818,8 +818,9 @@ export default {
818 818
             return false
819 819
           }
820 820
           var partitions = response.data.data.partitions
821
-        
821
+          console.log("partitions",partitions)
822 822
           this.theWeek.thisWeek = response.data.data.theWeek
823
+          console.log("这个周",response.data.data.theWeek)
823 824
           this.theWeek.lastWeek = this.theWeek.thisWeek - 1
824 825
           this.theWeek.nextWeek = this.theWeek.thisWeek + 1
825 826
           this.theWeek.nextTwoWeek = this.theWeek.thisWeek + 2
@@ -840,6 +841,7 @@ export default {
840 841
                   zone_type: partition.type,
841 842
                   cut: jihao.number,
842 843
                   jihao_id: jihao.id,
844
+                  sort:jihao.sort,
843 845
                   Mon_M: {
844 846
                     schedule_id: 0,
845 847
                     mode_id: 0,