see999 пре 3 година
родитељ
комит
1279726a98

+ 15 - 0
src/store/modules/globalConfig.js Прегледај датотеку

@@ -509,6 +509,21 @@ const global_config = {
509 509
         sodium: 1,
510 510
         calcium: 1,
511 511
         bicarbonate: 1
512
+      },
513
+      21: {
514
+        id: 21,
515
+        name: 'HD+',
516
+        dialysis_duration: 1,
517
+        replacement_way: 1,
518
+        hemodialysis_machine: 2,
519
+        blood_filter: 1,
520
+        perfusion_apparatus: 2,
521
+        blood_flow_volume: 1,
522
+        dialysate_flow: 1,
523
+        kalium: 1,
524
+        sodium: 1,
525
+        calcium: 1,
526
+        bicarbonate: 1
512 527
       }
513 528
     },
514 529
     anticoagulants_confit: { // 抗凝剂

+ 2 - 2
src/xt_pages/data/components/consumables.vue Прегледај датотеку

@@ -115,9 +115,9 @@
115 115
           {{ getGoodKind(scope.row.good_kind) }}
116 116
         </template>
117 117
       </el-table-column>
118
-      <el-table-column label="耗材编" width="140" align="center">
118
+      <el-table-column label="耗材编" width="140" align="center">
119 119
         <template slot-scope="scope">
120
-          {{ scope.row.good_code }}
120
+          {{ scope.row.good_number }}
121 121
         </template>
122 122
       </el-table-column>
123 123
 

+ 1 - 1
src/xt_pages/dialysis/details/DialysisPrescription.vue Прегледај датотеку

@@ -10,7 +10,7 @@
10 10
           <span class="content">{{ dialysis_mode }}</span>
11 11
         </li>
12 12
 
13
-        <li v-if="isShow('置换量')">
13
+        <li v-if="isShow('置换量') && (dialysis_mode == 'HDF' || dialysis_mode == 'HF' || dialysis_mode =='HDF+HP')">
14 14
           <label>置换量 : </label>
15 15
           <span class="content">{{
16 16
             replacement_total != "0" ? replacement_total : ""

+ 5 - 0
src/xt_pages/dialysis/details/dialog/computer_dialog.vue Прегледај датотеку

@@ -211,6 +211,7 @@
211 211
       changeSchedualType: function(schedual_type) {
212 212
         let ParamsQuery = {}
213 213
         ParamsQuery['schedual_type'] = schedual_type
214
+        ParamsQuery['record_date'] = this.$route.query.date
214 215
         GetSchedualNumber(ParamsQuery).then(response => {
215 216
           if (response.data.state == 0) {
216 217
             return false
@@ -230,6 +231,10 @@
230 231
       GetSchedualNumber: function() {
231 232
         let ParamsQuery = {}
232 233
         ParamsQuery['schedual_type'] = this.schedual_type
234
+        ParamsQuery['record_date'] = this.$route.query.date
235
+        console.log("列表33333333333333333333",ParamsQuery)
236
+        // console.log("路由",this.$route.query.date)
237
+       
233 238
         GetSchedualNumber(ParamsQuery).then(response => {
234 239
           if (response.data.state == 0) {
235 240
             this.$message.error(response.data.msg)

+ 1 - 1
src/xt_pages/stock/config/goodInfo.vue Прегледај датотеку

@@ -541,7 +541,7 @@
541 541
           //修改
542 542
           val['id'] = this.goodInfo.editGoodId
543 543
           val['good_code'] = this.goodInfo.good_code
544
-
544
+          console.log("val2222",val)
545 545
           modifyGoodInfo(val).then(response => {
546 546
             if (response.data.state == 0) {
547 547
               this.$message.error(response.data.msg)

+ 30 - 9
src/xt_pages/stock/stockInOrderDetailPrint.vue Прегледај датотеку

@@ -42,7 +42,7 @@
42 42
                                     <td style="line-height:18px;"><span v-if="item.good_id != 0">{{getTypeNameOne(item.good_id)}}</span></td>
43 43
                                     <td style="line-height:18px;">{{ item.remark }}</td>
44 44
                                     <td style="line-height:18px;"><span v-if="item.good_id != 0">{{getSpecificationName(item.good_id)}}</span></td>
45
-                                    <td style="line-height:18px;">{{ getManufacturer(item.manufacturer) }}</td>
45
+                                    <td style="line-height:18px;">{{ getManufacturer(item.good_id) }}</td>
46 46
                                     <td style="line-height:18px;"><span v-if="item.good_id!=0">{{getUnit(item.good_id)}}</span></td>
47 47
                                     <td style="line-height:18px;">{{item.price}}</td>
48 48
                                     <td style="line-height:18px;">{{item.warehousing_count}}</td> 
@@ -149,6 +149,18 @@ export default {
149 149
             this.dealer = response.data.data.dealer;
150 150
             this.goodInfo = response.data.data.goodInfo;
151 151
             this.goodType = response.data.data.goodType;
152
+           
153
+           for(let i=0;i<this.goodInfo.length;i++){
154
+               this.goodInfo[i].manufacturer_name = ""
155
+            }
156
+            for(let i=0;i<this.goodInfo.length;i++){
157
+               for(let j=0;j<this.manufacturer.length;j++){
158
+                  if(this.goodInfo[i].manufacturer == this.manufacturer[j].id){
159
+                     this.goodInfo[i].manufacturer_name = this.manufacturer[j].manufacturer_name
160
+                  }
161
+               } 
162
+            }
163
+             console.log("商品信息",this.goodInfo)
152 164
             }
153 165
         });
154 166
         },
@@ -247,14 +259,23 @@ export default {
247 259
         }
248 260
         return ""
249 261
       },
250
-      getManufacturer(id){
251
-        let name = ''
252
-        this.manufacturer.map(item => {
253
-          if(item.id == id){
254
-            name = item.manufacturer_name
255
-          }
256
-        })
257
-        return name
262
+      // getManufacturer(id){
263
+      //   let name = ''
264
+      //   this.manufacturer.map(item => {
265
+      //     if(item.id == id){
266
+      //       name = item.manufacturer_name
267
+      //     }
268
+      //   })
269
+      //   return name
270
+      // },
271
+     getManufacturer(id){
272
+         let name = ""
273
+         for(let i=0;i<this.goodInfo.length;i++){
274
+             if(id == this.goodInfo[i].id){
275
+                name  =this.goodInfo[i].manufacturer_name
276
+             }
277
+         }
278
+         return name
258 279
       },
259 280
       fetchAllAdminUsers() {
260 281
         fetchAllAdminUsers().then(response => {