Browse Source

518合并代码

XMLWAN 2 years ago
parent
commit
9c32d003fd

+ 5 - 3
src/xt_pages/data/components/addDrugs.vue View File

606
           total:"",
606
           total:"",
607
           specification_name:"",
607
           specification_name:"",
608
           is_user:"2",
608
           is_user:"2",
609
+          sum_count:"",
610
+          sum_in_count:"",
609
         },
611
         },
610
 
612
 
611
         rules: {
613
         rules: {
721
         this.form.intro = ''
723
         this.form.intro = ''
722
       },
724
       },
723
       show(id, obj) {
725
       show(id, obj) {
726
+        console.log("obj3223323232332",obj)
724
         this.unitList = []
727
         this.unitList = []
725
         this.packingUnit = []
728
         this.packingUnit = []
726
         var arr =  getDataConfig('hemodialysis','units')
729
         var arr =  getDataConfig('hemodialysis','units')
889
         form['drug_dose_unit'] = this.form.drug_dose_unit
892
         form['drug_dose_unit'] = this.form.drug_dose_unit
890
         form['medical_insurance_number'] = this.form.medical_insurance_number
893
         form['medical_insurance_number'] = this.form.medical_insurance_number
891
         form['provinces_code'] = this.form.provinces_code
894
         form['provinces_code'] = this.form.provinces_code
892
-
893
-
894
-
895
         form['manufacturer'] = this.form.manufacturer
895
         form['manufacturer'] = this.form.manufacturer
896
         form['pharmacology_category'] = this.form.pharmacology_category
896
         form['pharmacology_category'] = this.form.pharmacology_category
897
         form['statistics_category'] = this.form.statistics_category
897
         form['statistics_category'] = this.form.statistics_category
930
         form['prescribing_number_unit'] = this.form.prescribing_number_unit
930
         form['prescribing_number_unit'] = this.form.prescribing_number_unit
931
         form['specification_name'] = this.form.specification_name
931
         form['specification_name'] = this.form.specification_name
932
         form['is_user'] = this.form.is_user
932
         form['is_user'] = this.form.is_user
933
+        form['sum_count'] = this.form.sum_count
934
+        form['sum_in_count'] = this.form.sum_in_count
933
         return form
935
         return form
934
       },
936
       },
935
       getlist() {
937
       getlist() {

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

529
           val['id'] = this.current_id;
529
           val['id'] = this.current_id;
530
 
530
 
531
           val.min_number =  parseInt(val.min_number)
531
           val.min_number =  parseInt(val.min_number)
532
-
532
+          console.log("Val323323232",val)
533
+          
533
           editBaseDrugLib(val,untit).then(response => {
534
           editBaseDrugLib(val,untit).then(response => {
534
             if (response.data.state == 0) {
535
             if (response.data.state == 0) {
535
               this.$message.error(response.data.msg);
536
               this.$message.error(response.data.msg);
720
               if(this.formValue.drug_classify == 0){
721
               if(this.formValue.drug_classify == 0){
721
                  this.formValue.drug_classify = ""
722
                  this.formValue.drug_classify = ""
722
               }
723
               }
723
-
724
+             
724
 
725
 
725
 
726
 
726
               this.$refs.addDrugs.show(id, this.formValue)
727
               this.$refs.addDrugs.show(id, this.formValue)

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_fortyOne.vue View File

707
                                 <td width="80">钠浓度(ml/h)/<br />温度(°C)</td>
707
                                 <td width="80">钠浓度(ml/h)/<br />温度(°C)</td>
708
                                 <td width="50">脉搏<br />(次/分)</td>
708
                                 <td width="50">脉搏<br />(次/分)</td>
709
                                 <td width="60">血压<br />(mmHg)</td>
709
                                 <td width="60">血压<br />(mmHg)</td>
710
-                                <td width="50">血容量</td>
710
+                                <td width="50">血容量<br />(L)</td>
711
                                 <td width="50">签名</td>
711
                                 <td width="50">签名</td>
712
                                 <td width="200">病情变化及处理</td>
712
                                 <td width="200">病情变化及处理</td>
713
                                 </tr>
713
                                 </tr>

+ 1 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

28
           <el-col :span="8" v-if="isShow('实际超滤量')">
28
           <el-col :span="8" v-if="isShow('实际超滤量')">
29
             <el-form-item
29
             <el-form-item
30
               label="实际超滤量(ml): "
30
               label="实际超滤量(ml): "
31
-              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.$store.getters.xt_user.template_info.org_id == 9555 "  >
31
+              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 9555 "  >
32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33
             </el-form-item>
33
             </el-form-item>
34
             <el-form-item label="实际超滤量(L): " v-else>
34
             <el-form-item label="实际超滤量(L): " v-else>

+ 7 - 1
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue View File

791
         this.lastPredialysisEvaluation = last_predialysis_evaluation
791
         this.lastPredialysisEvaluation = last_predialysis_evaluation
792
        
792
        
793
        
793
        
794
-        console.log("获取上次数据",this.lastPredialysisEvaluation)
794
+        console.log("获取上次数据",this.lastPredialysisEvaluation, this.$store.getters.xt_user.org.id )
795
         if(this.lastPredialysisEvaluation != null) {
795
         if(this.lastPredialysisEvaluation != null) {
796
+        // if(this.lastPredialysisEvaluation.remark == "" && this.$store.getters.xt_user.org.id == 10307){
797
+        //     console.log("2o2o3232o23o2o3o23")
798
+        //     this.assessmentBeforeDislysis.remark = "患者已确认无发热,无流行病学接触史"
799
+        // } 
796
          if(this.lastPredialysisEvaluation.thromubus_type == 1){
800
          if(this.lastPredialysisEvaluation.thromubus_type == 1){
797
           this.assessmentBeforeDislysis.thromubus_type = this.lastPredialysisEvaluation.thromubus_type.toString()
801
           this.assessmentBeforeDislysis.thromubus_type = this.lastPredialysisEvaluation.thromubus_type.toString()
798
            this.thrombuShow = true
802
            this.thrombuShow = true
822
           if(this.lastPredialysisEvaluation.period == 2){
826
           if(this.lastPredialysisEvaluation.period == 2){
823
              this.lastPredialysisEvaluation.period = "2"
827
              this.lastPredialysisEvaluation.period = "2"
824
           }
828
           }
829
+         
825
         }
830
         }
826
 
831
 
827
 
832
 
1298
       }
1303
       }
1299
     },
1304
     },
1300
     created() {
1305
     created() {
1306
+  
1301
       this.last_dialysis_after = getDataConfig('hemodialysis', 'last_dialysis_after')
1307
       this.last_dialysis_after = getDataConfig('hemodialysis', 'last_dialysis_after')
1302
       this.dialysis_interphase = getDataConfig('hemodialysis', 'dialysis_duration')
1308
       this.dialysis_interphase = getDataConfig('hemodialysis', 'dialysis_duration')
1303
       this.symptom_before_dialysis = getDataConfig('hemodialysis', 'dialysis_before')
1309
       this.symptom_before_dialysis = getDataConfig('hemodialysis', 'dialysis_before')

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue View File

641
                         <td width="80">钠浓度(ml/h)/<br />温度(°C)</td>
641
                         <td width="80">钠浓度(ml/h)/<br />温度(°C)</td>
642
                         <td width="50">脉搏<br />(次/分)</td>
642
                         <td width="50">脉搏<br />(次/分)</td>
643
                         <td width="60">血压<br />(mmHg)</td>
643
                         <td width="60">血压<br />(mmHg)</td>
644
-                        <td width="50">血容量</td>
644
+                        <td width="50">血容量<br />L</td>
645
                         <td width="50">签名</td>
645
                         <td width="50">签名</td>
646
                         <td width="200">病情变化及处理</td>
646
                         <td width="200">病情变化及处理</td>
647
                       </tr>
647
                       </tr>

+ 18 - 8
src/xt_pages/qcd/officesControlAnalysis/time.vue View File

177
         { value: 0, label: '全部', source: 0, lapseto: 0 },
177
         { value: 0, label: '全部', source: 0, lapseto: 0 },
178
         { value: 1, label: '转出', source: 0, lapseto: 2 },
178
         { value: 1, label: '转出', source: 0, lapseto: 2 },
179
         { value: 2, label: '留治', source: 0, lapseto: 1 }
179
         { value: 2, label: '留治', source: 0, lapseto: 1 }
180
-      ],originType:0,
180
+      ],
181
+      originType:0,
181
       originState: [
182
       originState: [
182
         { value: 0, label: '全部', source: 0},
183
         { value: 0, label: '全部', source: 0},
183
         { value: 2, label: '住院', source: 2},
184
         { value: 2, label: '住院', source: 2},
693
           var countwo = response.data.data.countwo
694
           var countwo = response.data.data.countwo
694
 
695
 
695
           var systolicTotal = response.data.data.systolicTotal
696
           var systolicTotal = response.data.data.systolicTotal
696
-          console.log('systolictotal', systolicTotal)
697
+          
697
           var sysstandTotal = 0
698
           var sysstandTotal = 0
698
           var systolic = response.data.data.systolic
699
           var systolic = response.data.data.systolic
699
-          console.log('systolic', systolic)
700
+
700
           var sysarr = []
701
           var sysarr = []
701
           for (let i = 0; i < systolic.length; i++) {
702
           for (let i = 0; i < systolic.length; i++) {
702
             if (systolic[i].systolic_blood_pressure >= this.sysmin && systolic[i].systolic_blood_pressure <= this.syslarge) {
703
             if (systolic[i].systolic_blood_pressure >= this.sysmin && systolic[i].systolic_blood_pressure <= this.syslarge) {
704
             }
705
             }
705
           }
706
           }
706
           sysstandTotal = sysarr.length
707
           sysstandTotal = sysarr.length
707
-          console.log('sysarr', sysarr)
708
+       
708
 
709
 
709
           var diastotal = response.data.data.diastotal
710
           var diastotal = response.data.data.diastotal
710
           var diasstandtotal = 0
711
           var diasstandtotal = 0
711
 
712
 
712
           var diastolic = response.data.data.diastolic
713
           var diastolic = response.data.data.diastolic
713
-          // console.log("diastolic",diastolic)
714
+          
714
           var diaArr = []
715
           var diaArr = []
715
           for (let i = 0; i < diastolic.length; i++) {
716
           for (let i = 0; i < diastolic.length; i++) {
716
             if (diastolic[i].diastolic_blood_pressure >= this.diamin && diastolic[i].diastolic_blood_pressure <= this.dialarge) {
717
             if (diastolic[i].diastolic_blood_pressure >= this.diamin && diastolic[i].diastolic_blood_pressure <= this.dialarge) {
717
               diaArr.push(diastolic[i])
718
               diaArr.push(diastolic[i])
718
             }
719
             }
719
           }
720
           }
720
-          // console.log("diaArr",diaArr)
721
+         
721
           diasstandtotal = diaArr.length
722
           diasstandtotal = diaArr.length
722
           var normData = response.data.data.normData
723
           var normData = response.data.data.normData
723
 
724
 
761
               }
762
               }
762
             }
763
             }
763
           }
764
           }
764
-
765
+          console.log("count23322322332",count)
766
+          console.log("normdate23233323",normData)
765
           var arrtwo = this.arrayDate(count, normData)
767
           var arrtwo = this.arrayDate(count, normData)
766
-
768
+          console.log("23323332323232323223",arrtwo)
767
           for (let i = 0; i < arrtwo.length; i++) {
769
           for (let i = 0; i < arrtwo.length; i++) {
768
             this.$set(arrtwo[i], 'Count', 0)
770
             this.$set(arrtwo[i], 'Count', 0)
769
           }
771
           }
778
             arr.push(item)
780
             arr.push(item)
779
           })
781
           })
780
           arr.sort(this.compare('sort'))
782
           arr.sort(this.compare('sort'))
783
+           console.log("wwowwoowwowo",this.normData)
784
+           console.log("arr23323323332",arr)
781
 
785
 
782
           for (const key in this.normData) {
786
           for (const key in this.normData) {
783
             this.modesData.xAxis.push(this.normData[key].item_name)
787
             this.modesData.xAxis.push(this.normData[key].item_name)
787
               this.modesData.series.push(0)
791
               this.modesData.series.push(0)
788
             }
792
             }
789
           }
793
           }
794
+          
790
           this.chart.series[0].data = this.modesData.series
795
           this.chart.series[0].data = this.modesData.series
791
           this.chart.xAxis.data = this.modesData.xAxis
796
           this.chart.xAxis.data = this.modesData.xAxis
792
           this.getArrLength(this.chart.xAxis.data)
797
           this.getArrLength(this.chart.xAxis.data)
810
         var obj = array2[i]
815
         var obj = array2[i]
811
         var num = obj.inspection_minor   //staff_id   就是要对比的key
816
         var num = obj.inspection_minor   //staff_id   就是要对比的key
812
         var isExist = false
817
         var isExist = false
818
+
813
         for (var j = 0; j < array1.length; j++) {
819
         for (var j = 0; j < array1.length; j++) {
814
           var aj = array1[j]
820
           var aj = array1[j]
821
+          
815
           var n = aj.item_id
822
           var n = aj.item_id
823
+         
816
           if (n == num) {
824
           if (n == num) {
817
             isExist = true
825
             isExist = true
818
             break
826
             break
819
           }
827
           }
820
         }
828
         }
829
+       
821
         if (!isExist) {
830
         if (!isExist) {
831
+          
822
           result.push(obj)
832
           result.push(obj)
823
         }
833
         }
824
       }
834
       }

+ 1 - 1
src/xt_pages/stock/drugs/inventoryDetails.vue View File

27
                 >
27
                 >
28
             </div>
28
             </div>
29
             <div>
29
             <div>
30
-               <el-button size="small" type="primary" @click="print_1">打印</el-button>
30
+               <!-- <el-button size="small" type="primary" @click="print_1">打印</el-button> -->
31
                <el-button size="small" type="primary" @click="print">盘点模版打印</el-button>
31
                <el-button size="small" type="primary" @click="print">盘点模版打印</el-button>
32
             </div>
32
             </div>
33
             <!-- <div>
33
             <!-- <div>

+ 68 - 5
src/xt_pages/stock/drugs/print.vue View File

37
                         <td>{{item.warehousing_unit}}</td>
37
                         <td>{{item.warehousing_unit}}</td>
38
                         <td>{{getNumber(item.id)}}</td>
38
                         <td>{{getNumber(item.id)}}</td>
39
                         <td>{{item.manufacturer}}</td>
39
                         <td>{{item.manufacturer}}</td>
40
-                        <td>{{item.storehouse_id}}</td>
40
+                        <td>{{getHouseName(item.storehouse_id)}}</td>
41
                         <td> 
41
                         <td> 
42
                             <span v-if="item.stock_max_number>0">{{item.stock_max_number}}{{item.warehousing_unit}} </span>  
42
                             <span v-if="item.stock_max_number>0">{{item.stock_max_number}}{{item.warehousing_unit}} </span>  
43
                             <span v-if="item.stock_min_number>0">{{item.stock_min_number}}{{item.min_unit}}</span>
43
                             <span v-if="item.stock_min_number>0">{{item.stock_min_number}}{{item.min_unit}}</span>
52
                           <span v-if="item.inventory_type == 11">盘亏</span>  
52
                           <span v-if="item.inventory_type == 11">盘亏</span>  
53
                         </td>
53
                         </td>
54
                         <td>{{getPrice(item.id)}}</td>
54
                         <td>{{getPrice(item.id)}}</td>
55
-                        <td>{{getTotalPrice(item.last_stock_max_number,item.last_stock_min_number,item.min_number,item.id,item.stock_max_number,item.stock_min_number)}}</td>
55
+                        <td v-if="item.inventory_type == 11">{{getTotalPrice(item.stock_max_number,item.stock_min_number,item.min_number,item.id,item.warehousing_unit,item.min_unit) - getReduceTotalPrice(item.last_stock_max_number,item.last_stock_min_number,item.min_number,item.id,item.warehousing_unit,item.min_unit)}}</td>
56
+                        <td v-if="item.inventory_type == 10">{{getTotalPrice(item.last_stock_max_number,item.last_stock_min_number,item.min_number,item.id,item.warehousing_unit,item.min_unit) - getReduceTotalPrice(item.stock_max_number,item.stock_min_number,item.min_number,item.id,item.warehousing_unit,item.min_unit)}}</td>
57
+                        <td v-if="item.inventory_type != 10 && item.inventory_type!=11">0</td>
56
                     </tr>
58
                     </tr>
57
                     </tbody>
59
                     </tbody>
58
                 </table>
60
                 </table>
144
           }
146
           }
145
           return number
147
           return number
146
          },
148
          },
147
-         getTotalPrice(last_stock_max_number,last_stock_min_number,min_number,id,stock_max_number,stock_min_number){
149
+         getTotalPrice(last_stock_max_number,last_stock_min_number,min_number,id,last_max_unit,last_min_unit){
148
            var retail_price = 0
150
            var retail_price = 0
149
            var totail_price =0
151
            var totail_price =0
152
+           var max_unit = ""
153
+           var min_unit = ""
154
+           var max_number = 0
150
            for(let i=0;i<this.inventoryList.length;i++){
155
            for(let i=0;i<this.inventoryList.length;i++){
151
             if(id == this.inventoryList[i].id){
156
             if(id == this.inventoryList[i].id){
152
               retail_price = this.inventoryList[i].drug_warehouse_info.retail_price
157
               retail_price = this.inventoryList[i].drug_warehouse_info.retail_price
158
+              max_unit = this.inventoryList[i].drug.max_unit
159
+              min_unit = this.inventoryList[i].drug.min_unit
153
             }
160
             }
154
           }
161
           }
155
-          var totail_price = (stock_max_number*min_number +stock_min_number - last_stock_max_number * min_number + last_stock_min_number) * retail_price
156
-        //  var totail_price = last_stock_max_number * min_number * retail_price + last_stock_min_number * retail_price 
162
+          console.log("max_unit",max_unit)
163
+          console.log("min_unit",min_unit)
164
+          if(last_max_unit == max_unit){
165
+            if(last_stock_max_number%min_number == 0){
166
+              totail_price = (last_stock_max_number/min_number) * retail_price + last_stock_min_number * retail_price
167
+            }
168
+            if(last_stock_max_number%min_number != 0){
169
+                totail_price = (last_stock_max_number/min_number)* retail_price + (last_stock_min_number%min_number) * retail_price + last_stock_min_number * retail_price
170
+            }
171
+          }
172
+          if(last_min_unit == min_unit){
173
+            totail_price = last_stock_max_number * retail_price + last_stock_min_number * retail_price
174
+          }
175
+          if(totail_price > 0){
176
+             return totail_price.toFixed(4)
177
+          }else{
178
+            return ""
179
+          }
180
+         },
181
+         getReduceTotalPrice(last_stock_max_number,last_stock_min_number,min_number,id,last_max_unit,last_min_unit){
182
+           var retail_price = 0
183
+           var totail_price =0
184
+           var max_unit = ""
185
+           var min_unit = ""
186
+           var max_number = 0
187
+           for(let i=0;i<this.inventoryList.length;i++){
188
+            if(id == this.inventoryList[i].id){
189
+              retail_price = this.inventoryList[i].drug_warehouse_info.retail_price
190
+              max_unit = this.inventoryList[i].drug.max_unit
191
+              min_unit = this.inventoryList[i].drug.min_unit
192
+            }
193
+          }
194
+          console.log("max_unit",max_unit)
195
+          console.log("min_unit",min_unit)
196
+          if(last_max_unit == max_unit){
197
+            if(last_stock_max_number%min_number == 0){
198
+              totail_price = (last_stock_max_number/min_number) * retail_price + last_stock_min_number * retail_price
199
+            }
200
+            if(last_stock_max_number%min_number != 0){
201
+                totail_price = (last_stock_max_number/min_number)* retail_price + (last_stock_min_number%min_number) * retail_price + last_stock_min_number * retail_price
202
+            }
203
+          }
204
+          if(last_min_unit == min_unit){
205
+            totail_price = last_stock_max_number * retail_price + last_stock_min_number * retail_price
206
+          }
157
           if(totail_price > 0){
207
           if(totail_price > 0){
158
              return totail_price.toFixed(4)
208
              return totail_price.toFixed(4)
159
           }else{
209
           }else{
171
           return retail_price
221
           return retail_price
172
           }
222
           }
173
           
223
           
224
+         },
225
+         getHouseName(id){
226
+         var storehouse_name = ""
227
+         for(let i=0;i<this.houseList.length;i++){
228
+           if(id == this.houseList[i].id){
229
+              storehouse_name = this.houseList[i].storehouse_name
230
+           }
231
+         }
232
+         if(storehouse_name == "全部"){
233
+           return ""
234
+         }else{
235
+           return storehouse_name
174
          }
236
          }
237
+       }
175
     },
238
     },
176
     created(){
239
     created(){
177
 
240
 

+ 16 - 8
src/xt_pages/stock/print_all.vue View File

31
                         <td width="60">总额</td>
31
                         <td width="60">总额</td>
32
                         
32
                         
33
                     </tr>
33
                     </tr>
34
-                    <tr v-for="(item,index) in tableData" :key="index">
34
+                    <tr v-for="(item,index) in tableList" :key="index">
35
                         <td>{{item.good_name}}</td>
35
                         <td>{{item.good_name}}</td>
36
                         <td>{{item.specification_name}}</td>
36
                         <td>{{item.specification_name}}</td>
37
                         <td>{{item.packing_unit}}</td>
37
                         <td>{{item.packing_unit}}</td>
40
                         <td>{{getHouseName(item.storehouse_id)}}</td>
40
                         <td>{{getHouseName(item.storehouse_id)}}</td>
41
                         <td>{{item.stock_count}}</td>
41
                         <td>{{item.stock_count}}</td>
42
                         <td>{{item.last_stock_count}}</td>
42
                         <td>{{item.last_stock_count}}</td>
43
-                        <td>  
43
+                        <td>
44
                           <span v-if="item.stock_count > item.last_stock_count">盘亏</span>
44
                           <span v-if="item.stock_count > item.last_stock_count">盘亏</span>
45
-                          <span v-if="item.stock_count < item.last_stock_count">盘盈</span>
45
+                           <span v-if="item.stock_count < item.last_stock_count">盘盈</span></td>
46
+                        <td></td>
47
+                         <td></td>
48
+                        <!-- <td>  
49
+                          <span v-if="parseInt(item.stock_count) > parseInt(item.last_stock_count)">盘亏</span>
50
+                          <span v-if="parseInt(item.stock_count) < parseInt(item.last_stock_count)">盘盈</span>
46
                         </td>
51
                         </td>
47
                         <td>{{item.buy_price}}</td>
52
                         <td>{{item.buy_price}}</td>
48
                         <td>
53
                         <td>
49
                           <span v-if="item.stock_count > item.last_stock_count">{{((item.stock_count - item.last_stock_count)  * item.buy_price).toFixed(2)}}</span> 
54
                           <span v-if="item.stock_count > item.last_stock_count">{{((item.stock_count - item.last_stock_count)  * item.buy_price).toFixed(2)}}</span> 
50
-                        </td>
55
+                          <span v-if="item.stock_count < item.last_stock_count">{{((item.last_stock_count - item.stock_count)  * item.buy_price).toFixed(2)}}</span> 
56
+                          <span v-if="item.stock_count = item.last_stock_count">0</span> 
57
+                        </td> -->
51
                     </tr>
58
                     </tr>
52
                     </tbody>
59
                     </tbody>
53
                 </table>
60
                 </table>
75
           ],
82
           ],
76
           org_name: this.$store.getters.xt_user.org.org_name,
83
           org_name: this.$store.getters.xt_user.org.org_name,
77
           ids:"",
84
           ids:"",
78
-          tableData:[],
85
+          tableList:[],
79
           manufacturerList:[],
86
           manufacturerList:[],
80
           houseList:[],
87
           houseList:[],
81
         }
88
         }
110
           }
117
           }
111
          getPrintList(params).then(response=>{
118
          getPrintList(params).then(response=>{
112
            if(response.data.state == 1){
119
            if(response.data.state == 1){
113
-             var list =  response.data.data.list
114
-             console.log("list233233232323",list)
115
-             this.tableData = list
120
+             var list = response.data.data.list
121
+             console.log("list232332232323",response.data.data.list)
122
+             this.tableList = list
123
+             console.log("list233233232323",this.tableList)
116
              this.houseList = response.data.data.houseList
124
              this.houseList = response.data.data.houseList
117
            }
125
            }
118
          })
126
          })