瀏覽代碼

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

28169 1 年之前
父節點
當前提交
d87a3c8cab

+ 2 - 1
src/store/modules/globalConfig.js 查看文件

1991
     }
1991
     }
1992
     ],
1992
     ],
1993
 
1993
 
1994
-    good_unit: [{
1994
+    good_unit: [
1995
+      {
1995
       id: 1,
1996
       id: 1,
1996
       name: '支'
1997
       name: '支'
1997
     },
1998
     },

+ 14 - 13
src/xt_pages/data/components/drugs.vue 查看文件

530
 
530
 
531
           val.min_number =  parseInt(val.min_number)
531
           val.min_number =  parseInt(val.min_number)
532
           console.log("Val323323232",val)
532
           console.log("Val323323232",val)
533
-          
533
+
534
           editBaseDrugLib(val,untit).then(response => {
534
           editBaseDrugLib(val,untit).then(response => {
535
             if (response.data.state == 0) {
535
             if (response.data.state == 0) {
536
               this.$message.error(response.data.msg);
536
               this.$message.error(response.data.msg);
721
               if(this.formValue.drug_classify == 0){
721
               if(this.formValue.drug_classify == 0){
722
                  this.formValue.drug_classify = ""
722
                  this.formValue.drug_classify = ""
723
               }
723
               }
724
-             
724
+
725
 
725
 
726
 
726
 
727
               this.$refs.addDrugs.show(id, this.formValue)
727
               this.$refs.addDrugs.show(id, this.formValue)
1451
         };
1451
         };
1452
         console.log("params222222222",params)
1452
         console.log("params222222222",params)
1453
 
1453
 
1454
-        postDrugInformation(params).then(response=>{
1455
-           if(response.data.state == 1){
1456
-             var msg =  response.data.data.msg;
1457
-             this.getList();
1458
-             this.getAllManufacturer();
1459
-             this.GetAllConfig();
1460
-             this.$message.success("导入成功!")
1461
 
1454
 
1462
-           }else{
1463
-             this.$message.error("导入失败,请下载日志查看")
1464
-           }
1465
-        })
1455
+        // postDrugInformation(params).then(response=>{
1456
+        //    if(response.data.state == 1){
1457
+        //      var msg =  response.data.data.msg;
1458
+        //      this.getList();
1459
+        //      this.getAllManufacturer();
1460
+        //      this.GetAllConfig();
1461
+        //      this.$message.success("导入成功!")
1462
+        //
1463
+        //    }else{
1464
+        //      this.$message.error("导入失败,请下载日志查看")
1465
+        //    }
1466
+        // })
1466
       },
1467
       },
1467
       generateTxt: function(log) {
1468
       generateTxt: function(log) {
1468
         var content = '';
1469
         var content = '';

+ 24 - 3
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

822
                     <el-col :span="8">
822
                     <el-col :span="8">
823
                         <el-form-item
823
                         <el-form-item
824
                                 label="置换液:"
824
                                 label="置换液:"
825
-                                v-if="isShows('置换液')"
825
+                                v-if="isShows('置换液')&&this.$store.getters.xt_user.org.id != 10206"
826
                                 v-show="huShow"
826
                                 v-show="huShow"
827
                                 prop="displace_liqui_part"
827
                                 prop="displace_liqui_part"
828
                                 :rules="isCheckmust('置换液')"
828
                                 :rules="isCheckmust('置换液')"
840
                                 ></el-option>
840
                                 ></el-option>
841
                             </el-select>
841
                             </el-select>
842
                         </el-form-item>
842
                         </el-form-item>
843
+                      <el-form-item
844
+                        label="置换液:"
845
+                        v-if="isShows('置换方式')&&this.$store.getters.xt_user.org.id == 10206"
846
+                        v-show="huShow"
847
+                        prop="displace_liqui_part"
848
+                        :rules="isCheckmust('置换方式')"
849
+                      >
850
+                        <el-select
851
+                          v-model="dialysisPrescription.displace_liqui_part"
852
+                          placeholder="请选择"
853
+                        >
854
+                          <el-option :key="0" label="请选择" :value="0"></el-option>
855
+                          <el-option
856
+                            v-for="(option, index) in displace_liqui_part_option"
857
+                            :key="index + 'u'"
858
+                            :label="option.name"
859
+                            :value="option.id"
860
+                          ></el-option>
861
+                        </el-select>
862
+                      </el-form-item>
863
+
843
                     </el-col>
864
                     </el-col>
844
 
865
 
845
                     <el-col :span="8"
866
                     <el-col :span="8"
2772
         if(moment().weekday() == 0){
2793
         if(moment().weekday() == 0){
2773
            total_day ="周日"
2794
            total_day ="周日"
2774
         }
2795
         }
2775
-       
2796
+
2776
         if(this.targetAdvices!=null && this.targetAdvices.length >0){
2797
         if(this.targetAdvices!=null && this.targetAdvices.length >0){
2777
             for (let i = 0; i < this.targetAdvices.length; i++) {
2798
             for (let i = 0; i < this.targetAdvices.length; i++) {
2778
               if(this.targetAdvices[i].week_day.indexOf(total_day)!=-1){
2799
               if(this.targetAdvices[i].week_day.indexOf(total_day)!=-1){
3449
                   ParamsQuery['patient'] = this.patient.id
3470
                   ParamsQuery['patient'] = this.patient.id
3450
                   ParamsQuery['record_date'] = this.record_date
3471
                   ParamsQuery['record_date'] = this.record_date
3451
                   ParamsQuery['mode'] = '1'
3472
                   ParamsQuery['mode'] = '1'
3452
-               
3473
+
3453
                   postSoulution(ParamsQuery).then(response => {
3474
                   postSoulution(ParamsQuery).then(response => {
3454
                     if (response.data.state == 0) {
3475
                     if (response.data.state == 0) {
3455
                       this.$message.error(response.data.msg)
3476
                       this.$message.error(response.data.msg)

+ 12 - 12
src/xt_pages/outpatientCharges/invoiceTemplate/printFive.vue 查看文件

45
             <div :style="{position: 'absolute',top:(315 + (index * 400))  + 'px',left:460+ 'px'}">{{ list.medfee_sumamt }}</div>
45
             <div :style="{position: 'absolute',top:(315 + (index * 400))  + 'px',left:460+ 'px'}">{{ list.medfee_sumamt }}</div>
46
             <div v-if="index == pageArr.length - 1" :style="{position: 'absolute',top:(330 + (index * 400))  + 'px',left:110+ 'px',width:100 + '%'}">
46
             <div v-if="index == pageArr.length - 1" :style="{position: 'absolute',top:(330 + (index * 400))  + 'px',left:110+ 'px',width:100 + '%'}">
47
                 <div style="display:flex;">
47
                 <div style="display:flex;">
48
-                  <div style="width:170px">医疗总费用:{{ list.order.medfee_sumamt }}</div>
48
+                  <div style="width:160px">医疗总费用:{{ list.order.medfee_sumamt }}</div>
49
                   <div style="width:170px">基金支付总额:{{ list.order.fund_pay_sumamt }}</div>
49
                   <div style="width:170px">基金支付总额:{{ list.order.fund_pay_sumamt }}</div>
50
-                  <div style="width:170px">统筹支出:{{ list.order.hifp_pay }}</div>
51
-                  <div style="width:170px">大病支出:{{list.order.hifmi_pay}}</div>
50
+                  <div style="width:150px">统筹支出:{{ list.order.hifp_pay }}</div>
51
+                  <div style="width:160px">大病支出:{{list.order.hifmi_pay}}</div>
52
 
52
 
53
                 </div>
53
                 </div>
54
                 <div style="display:flex;">
54
                 <div style="display:flex;">
55
                   <div style="width:170px">个人账户支付:{{ list.order.acct_pay }}</div>
55
                   <div style="width:170px">个人账户支付:{{ list.order.acct_pay }}</div>
56
-                  <div style="width:170px">现金支出:{{ list.order.psn_cash_pay }}</div>
57
-                  <div style="width:170px">本次账户:0</div>
58
-                  <div style="width:170px">上次账户:0</div>
56
+                  <div style="width:160px">现金支出:{{ list.order.psn_cash_pay }}</div>
57
+                  <div style="width:150px">本次账户:0</div>
58
+                  <div style="width:150px">上次账户:0</div>
59
                 </div>
59
                 </div>
60
               <div style="display:flex;">
60
               <div style="display:flex;">
61
                 <div style="width:170px">账户余额:{{ list.order.balc }}</div>
61
                 <div style="width:170px">账户余额:{{ list.order.balc }}</div>
62
                 <div style="width:170px">其他支出:{{ list.order.oth_pay }}</div>
62
                 <div style="width:170px">其他支出:{{ list.order.oth_pay }}</div>
63
-                <div style="width:170px">民政支出:0</div>
63
+                <div style="width:150px">民政支出:0</div>
64
               </div>
64
               </div>
65
               <div style="display:flex;">
65
               <div style="display:flex;">
66
                 <div style="width:220px">医疗救助基金支出:{{ list.order.maf_pay }}</div>
66
                 <div style="width:220px">医疗救助基金支出:{{ list.order.maf_pay }}</div>
69
 
69
 
70
             </div>
70
             </div>
71
             <div>
71
             <div>
72
-                <div :style="{position: 'absolute',top:(390 + (index * 400))  + 'px',left:100+ 'px'}">{{ org_name }}</div>
73
-                <div :style="{position: 'absolute',top:(390 + (index * 400))  + 'px',left:360+ 'px'}">{{ paramsObj.chargeName }}</div>
74
-                <div :style="{position: 'absolute',top:(390 + (index * 400))  + 'px',left:520+ 'px'}">
72
+                <div :style="{position: 'absolute',top:(405 + (index * 400))  + 'px',left:100+ 'px'}">{{ org_name }}</div>
73
+                <div :style="{position: 'absolute',top:(405 + (index * 400))  + 'px',left:360+ 'px'}">{{ paramsObj.chargeName }}</div>
74
+                <div :style="{position: 'absolute',top:(405 + (index * 400))  + 'px',left:520+ 'px'}">
75
                     <span>{{  paramsObj.setl_time ? paramsObj.setl_time.split(' ')[0].slice(0,4) : getTime(list.date, '{y}-{m}-{d}').slice(0,4) }}</span>
75
                     <span>{{  paramsObj.setl_time ? paramsObj.setl_time.split(' ')[0].slice(0,4) : getTime(list.date, '{y}-{m}-{d}').slice(0,4) }}</span>
76
                 </div>
76
                 </div>
77
-                <div :style="{position: 'absolute',top:(390 + (index * 400))  + 'px',left:560+ 'px'}">
77
+                <div :style="{position: 'absolute',top:(405 + (index * 400))  + 'px',left:560+ 'px'}">
78
                     <span>{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(5,7)) : getTime(list.date, '{y}-{m}-{d}').slice(5,7) }}</span>
78
                     <span>{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(5,7)) : getTime(list.date, '{y}-{m}-{d}').slice(5,7) }}</span>
79
                 </div>
79
                 </div>
80
-                <div :style="{position: 'absolute',top:(390 + (index * 400))  + 'px',left:600+ 'px'}">
80
+                <div :style="{position: 'absolute',top:(405 + (index * 400))  + 'px',left:600+ 'px'}">
81
                     <span>{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(8,11)) : getTime(list.date, '{y}-{m}-{d}').slice(8,11) }}</span>
81
                     <span>{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(8,11)) : getTime(list.date, '{y}-{m}-{d}').slice(8,11) }}</span>
82
                 </div>
82
                 </div>
83
             </div>
83
             </div>

+ 11 - 0
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue 查看文件

2948
             org_id: this.$store.getters.xt_user.org_id
2948
             org_id: this.$store.getters.xt_user.org_id
2949
 
2949
 
2950
           }
2950
           }
2951
+          if (this.activeName == 'first') {
2952
+            obj['settle_accounts_type'] = 1
2953
+          } else if (this.activeName == 'second') {
2954
+            obj['start_time'] = this.other_start_time
2955
+            obj['end_time'] = this.other_end_time
2956
+            obj['settle_accounts_type'] = 2
2957
+          } else {
2958
+            obj['start_time'] = this.other_start_time_two
2959
+            obj['end_time'] = this.other_end_time_two
2960
+            obj['settle_accounts_type'] = 2
2961
+          }
2951
           axios.get("http://127.0.0.1:9532" + '/nmg/coordinate/settleAccount', {
2962
           axios.get("http://127.0.0.1:9532" + '/nmg/coordinate/settleAccount', {
2952
             params: obj
2963
             params: obj
2953
           })
2964
           })