see999 4 vuotta sitten
vanhempi
commit
1279726a98

+ 15 - 0
src/store/modules/globalConfig.js Näytä tiedosto

509
         sodium: 1,
509
         sodium: 1,
510
         calcium: 1,
510
         calcium: 1,
511
         bicarbonate: 1
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
     anticoagulants_confit: { // 抗凝剂
529
     anticoagulants_confit: { // 抗凝剂

+ 2 - 2
src/xt_pages/data/components/consumables.vue Näytä tiedosto

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

+ 1 - 1
src/xt_pages/dialysis/details/DialysisPrescription.vue Näytä tiedosto

10
           <span class="content">{{ dialysis_mode }}</span>
10
           <span class="content">{{ dialysis_mode }}</span>
11
         </li>
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
           <label>置换量 : </label>
14
           <label>置换量 : </label>
15
           <span class="content">{{
15
           <span class="content">{{
16
             replacement_total != "0" ? replacement_total : ""
16
             replacement_total != "0" ? replacement_total : ""

+ 5 - 0
src/xt_pages/dialysis/details/dialog/computer_dialog.vue Näytä tiedosto

211
       changeSchedualType: function(schedual_type) {
211
       changeSchedualType: function(schedual_type) {
212
         let ParamsQuery = {}
212
         let ParamsQuery = {}
213
         ParamsQuery['schedual_type'] = schedual_type
213
         ParamsQuery['schedual_type'] = schedual_type
214
+        ParamsQuery['record_date'] = this.$route.query.date
214
         GetSchedualNumber(ParamsQuery).then(response => {
215
         GetSchedualNumber(ParamsQuery).then(response => {
215
           if (response.data.state == 0) {
216
           if (response.data.state == 0) {
216
             return false
217
             return false
230
       GetSchedualNumber: function() {
231
       GetSchedualNumber: function() {
231
         let ParamsQuery = {}
232
         let ParamsQuery = {}
232
         ParamsQuery['schedual_type'] = this.schedual_type
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
         GetSchedualNumber(ParamsQuery).then(response => {
238
         GetSchedualNumber(ParamsQuery).then(response => {
234
           if (response.data.state == 0) {
239
           if (response.data.state == 0) {
235
             this.$message.error(response.data.msg)
240
             this.$message.error(response.data.msg)

+ 1 - 1
src/xt_pages/stock/config/goodInfo.vue Näytä tiedosto

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

+ 30 - 9
src/xt_pages/stock/stockInOrderDetailPrint.vue Näytä tiedosto

42
                                     <td style="line-height:18px;"><span v-if="item.good_id != 0">{{getTypeNameOne(item.good_id)}}</span></td>
42
                                     <td style="line-height:18px;"><span v-if="item.good_id != 0">{{getTypeNameOne(item.good_id)}}</span></td>
43
                                     <td style="line-height:18px;">{{ item.remark }}</td>
43
                                     <td style="line-height:18px;">{{ item.remark }}</td>
44
                                     <td style="line-height:18px;"><span v-if="item.good_id != 0">{{getSpecificationName(item.good_id)}}</span></td>
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
                                     <td style="line-height:18px;"><span v-if="item.good_id!=0">{{getUnit(item.good_id)}}</span></td>
46
                                     <td style="line-height:18px;"><span v-if="item.good_id!=0">{{getUnit(item.good_id)}}</span></td>
47
                                     <td style="line-height:18px;">{{item.price}}</td>
47
                                     <td style="line-height:18px;">{{item.price}}</td>
48
                                     <td style="line-height:18px;">{{item.warehousing_count}}</td> 
48
                                     <td style="line-height:18px;">{{item.warehousing_count}}</td> 
149
             this.dealer = response.data.data.dealer;
149
             this.dealer = response.data.data.dealer;
150
             this.goodInfo = response.data.data.goodInfo;
150
             this.goodInfo = response.data.data.goodInfo;
151
             this.goodType = response.data.data.goodType;
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
         }
259
         }
248
         return ""
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
       fetchAllAdminUsers() {
280
       fetchAllAdminUsers() {
260
         fetchAllAdminUsers().then(response => {
281
         fetchAllAdminUsers().then(response => {