Browse Source

11月14日 库存扣减更新

XMLWAN 3 years ago
parent
commit
9fc109ed5c
1 changed files with 11 additions and 11 deletions
  1. 11 11
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue

+ 11 - 11
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

2300
               ParamsQuery['patient'] = this.patient.id
2300
               ParamsQuery['patient'] = this.patient.id
2301
               ParamsQuery['record_date'] = this.record_date
2301
               ParamsQuery['record_date'] = this.record_date
2302
               ParamsQuery['mode'] = '1'
2302
               ParamsQuery['mode'] = '1'
2303
-              console.log('第二')
2303
+              // console.log('第二')
2304
               postPrescription(ParamsQuery).then(response => {
2304
               postPrescription(ParamsQuery).then(response => {
2305
                 if (response.data.state == 0) {
2305
                 if (response.data.state == 0) {
2306
                   this.$message.error(response.data.msg)
2306
                   this.$message.error(response.data.msg)
2696
         this.hide()
2696
         this.hide()
2697
       },
2697
       },
2698
       handleSolution: function() {
2698
       handleSolution: function() {
2699
-       
2699
+
2700
         if (this.dialysisPrescription.anticoagulant == 1) {
2700
         if (this.dialysisPrescription.anticoagulant == 1) {
2701
           this.dialysisPrescription.anticoagulant_weichi = '0'
2701
           this.dialysisPrescription.anticoagulant_weichi = '0'
2702
           this.dialysisPrescription.anticoagulant_shouji = '0'
2702
           this.dialysisPrescription.anticoagulant_shouji = '0'
2735
             ParamsQuery['patient'] = this.patient.id
2735
             ParamsQuery['patient'] = this.patient.id
2736
             ParamsQuery['record_date'] = this.record_date
2736
             ParamsQuery['record_date'] = this.record_date
2737
             ParamsQuery['mode'] = '1'
2737
             ParamsQuery['mode'] = '1'
2738
-          
2738
+
2739
             postSoulution(ParamsQuery).then(response => {
2739
             postSoulution(ParamsQuery).then(response => {
2740
               if (response.data.state == 0) {
2740
               if (response.data.state == 0) {
2741
                 this.$message.error(response.data.msg)
2741
                 this.$message.error(response.data.msg)
2778
                this.dialysisPrescription.impulse = this.dialysisPrescription.pre_impulse
2778
                this.dialysisPrescription.impulse = this.dialysisPrescription.pre_impulse
2779
               var arr = this.dialysisPrescription
2779
               var arr = this.dialysisPrescription
2780
               console.log('arr3', arr)
2780
               console.log('arr3', arr)
2781
-               
2781
+
2782
               const ParamsQuery = arr
2782
               const ParamsQuery = arr
2783
               // console.log('长期处方2', ParamsQuery)
2783
               // console.log('长期处方2', ParamsQuery)
2784
 
2784
 
2785
               ParamsQuery['patient'] = this.patient.id
2785
               ParamsQuery['patient'] = this.patient.id
2786
               ParamsQuery['record_date'] = this.record_date
2786
               ParamsQuery['record_date'] = this.record_date
2787
               ParamsQuery['mode'] = '1'
2787
               ParamsQuery['mode'] = '1'
2788
-       
2788
+
2789
               postSoulution(ParamsQuery).then(response => {
2789
               postSoulution(ParamsQuery).then(response => {
2790
                 if (response.data.state == 0) {
2790
                 if (response.data.state == 0) {
2791
                   this.$message.error(response.data.msg)
2791
                   this.$message.error(response.data.msg)
2831
                 return
2831
                 return
2832
               }
2832
               }
2833
               console.log("预充了4",this.dialysisPrescription.pre_impulse)
2833
               console.log("预充了4",this.dialysisPrescription.pre_impulse)
2834
-             this.dialysisPrescription.impulse = this.dialysisPrescription.pre_impulse 
2834
+             this.dialysisPrescription.impulse = this.dialysisPrescription.pre_impulse
2835
               var arr = this.dialysisPrescription
2835
               var arr = this.dialysisPrescription
2836
               console.log('arr4', arr)
2836
               console.log('arr4', arr)
2837
-             
2837
+
2838
               const ParamsQuery = arr
2838
               const ParamsQuery = arr
2839
               // console.log('长期处方3', ParamsQuery)
2839
               // console.log('长期处方3', ParamsQuery)
2840
 
2840
 
2904
                this.dialysisPrescription.impulse = this.dialysisPrescription.pre_impulse
2904
                this.dialysisPrescription.impulse = this.dialysisPrescription.pre_impulse
2905
               var arr = this.dialysisPrescription
2905
               var arr = this.dialysisPrescription
2906
              console.log('arr5', arr)
2906
              console.log('arr5', arr)
2907
-         
2907
+
2908
               const ParamsQuery = arr
2908
               const ParamsQuery = arr
2909
               // console.log('长期处方5', ParamsQuery)
2909
               // console.log('长期处方5', ParamsQuery)
2910
 
2910
 
3057
                this.dialysisPrescription.impulse = this.dialysisPrescription.pre_impulse
3057
                this.dialysisPrescription.impulse = this.dialysisPrescription.pre_impulse
3058
                 var arr = this.dialysisPrescription
3058
                 var arr = this.dialysisPrescription
3059
                 console.log('arr', arr)
3059
                 console.log('arr', arr)
3060
-   
3060
+
3061
                 const ParamsQuery = arr
3061
                 const ParamsQuery = arr
3062
                 // console.log('长期处方8', ParamsQuery)
3062
                 // console.log('长期处方8', ParamsQuery)
3063
                 ParamsQuery['patient'] = this.patient.id
3063
                 ParamsQuery['patient'] = this.patient.id
3129
                   this.loading = false
3129
                   this.loading = false
3130
                   return
3130
                   return
3131
                 }
3131
                 }
3132
-                
3132
+
3133
                 console.log("预充了99999",this.dialysisPrescription.pre_impulse)
3133
                 console.log("预充了99999",this.dialysisPrescription.pre_impulse)
3134
                this.dialysisPrescription.impulse = this.dialysisPrescription.pre_impulse
3134
                this.dialysisPrescription.impulse = this.dialysisPrescription.pre_impulse
3135
                 var arr = this.dialysisPrescription
3135
                 var arr = this.dialysisPrescription
3182
             console.log('arr12333223', arr)
3182
             console.log('arr12333223', arr)
3183
 
3183
 
3184
             const ParamsQuery = arr
3184
             const ParamsQuery = arr
3185
-          
3185
+
3186
 
3186
 
3187
             ParamsQuery['patient'] = this.patient.id
3187
             ParamsQuery['patient'] = this.patient.id
3188
             ParamsQuery['record_date'] = this.record_date
3188
             ParamsQuery['record_date'] = this.record_date