Browse Source

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

陈少旭 11 months ago
parent
commit
c96847b22c

+ 2 - 1
src/xt_pages/outpatientCharges/allListTemplate/printOne.vue View File

@@ -7,7 +7,8 @@
7 7
         <div>透析号:{{ patient.dialysis_no }}</div>
8 8
         <div>性别:{{ patient.gender == 1 ? '男' : '女' }}</div>
9 9
         <div>年龄:{{ patient.age }} 岁</div>
10
-        <div v-if="$store.getters.xt_user.org_id  == 10644">开方日期:{{ gettime(order.setl_time) }}
10
+        <div v-if="$store.getters.xt_user.org_id  == 10644 || 
11
+              $store.getters.xt_user.org_id  == 0">开方日期:{{ getTimes(order.settle_accounts_date) }}
11 12
           <!-- {{ hospital.in_hosptial_time }} 至
12 13
           {{ hospital.out_hosptial_time }} -->
13 14
         </div>

+ 9 - 9
src/xt_pages/outpatientCharges/invoiceTemplate/printtwelve.vue View File

@@ -1,14 +1,14 @@
1 1
 <template>
2 2
   <div id='invoice-print' style="position: relative;">
3 3
     <div>
4
-      <div style="position: absolute;top:60px;left:30px">
4
+      <div style="position: absolute;top:50px;left:30px">
5 5
         阜阳经沃血液透析中心
6 6
       </div>
7 7
       <div style="display: flex;">
8
-        <div :style="{position: 'absolute',top:'80px',left:'30px'}">
8
+        <div :style="{position: 'absolute',top:'70px',left:'30px'}">
9 9
           {{paramsObj.name}}
10 10
         </div>
11
-        <div :style="{position: 'absolute',top:'80px',left:'200px'}">
11
+        <div :style="{position: 'absolute',top:'70px',left:'200px'}">
12 12
           {{list.order.fa_piao_number}}
13 13
         </div>
14 14
       </div>
@@ -19,7 +19,7 @@
19 19
         <div :style="{position: 'absolute',top:'100px',left:'190px'}">
20 20
           
21 21
         </div>
22
-        <div :style="{position: 'absolute',top:'100px',left:'300px'}">
22
+        <div :style="{position: 'absolute',top:'90px',left:'300px'}">
23 23
         {{printDate}}
24 24
         </div>
25 25
       </div>
@@ -62,12 +62,12 @@
62 62
       </div>
63 63
     <!--金额 -->
64 64
     <div style="display: flex;">
65
-      <div :style="{position: 'absolute',top:'310px',left:'146px',}">{{list.order.medfee_sumamt}}</div>
66
-      <div :style="{position: 'absolute',top:'310px',left:'270px'}">个人支付:{{list.order.psn_cash_pay}}</div>
65
+      <div :style="{position: 'absolute',top:'300px',left:'146px',}">{{list.order.medfee_sumamt}}</div>
66
+      <div :style="{position: 'absolute',top:'300px',left:'270px'}">个人支付:{{list.order.psn_cash_pay}}</div>
67 67
     </div>
68
-    <div :style="{position: 'absolute',top:'330px',left:'190px'}">{{zhongwen}}</div>
69
-    <div :style="{position: 'absolute',top:'350px',left:'190px'}">{{'统筹支付:' + list.order.hifp_pay}}</div>
70
-    <div :style="{position: 'absolute',top:'370px',left:'300px'}">{{list.order.acct_pay}}</div>
68
+    <div :style="{position: 'absolute',top:'320px',left:'190px'}">{{zhongwen}}</div>
69
+    <div :style="{position: 'absolute',top:'340px',left:'190px'}">{{'统筹支付:' + list.order.hifp_pay}}</div>
70
+    <div :style="{position: 'absolute',top:'360px',left:'300px'}">{{list.order.acct_pay}}</div>
71 71
     <div style="display: flex;">
72 72
       <div :style="{position: 'absolute',top:'390px',left:'106px'}">{{list.admin_user_name}}</div>
73 73
       <div :style="{position: 'absolute',top:'390px',left:'300px'}">{{list.order_number}}</div>

+ 2 - 2
src/xt_pages/stock/drugs/historyDrugInvetory.vue View File

@@ -19,7 +19,7 @@
19 19
                 style="width: 200px"
20 20
                 v-model="keywords"
21 21
                 class="filter-item"
22
-                placeholder="请输入耗材名称"
22
+                placeholder="请输入药品名称"
23 23
                 clearable
24 24
               />
25 25
               <el-button
@@ -294,7 +294,7 @@
294 294
         var now_in_number = 0
295 295
         stock_in_number = row.warehousing_count * row.XtBaseDrug.min_number
296 296
 
297
-        now_in_number = row.last_stock_max_number * row.XtBaseDrug.min_number + row.last_stock_min_number
297
+        now_in_number = parseInt(row.last_stock_max_number * row.XtBaseDrug.min_number) +parseInt(row.last_stock_min_number) 
298 298
        if(parseInt(row.last_stock_max_number)<0 && parseInt(row.last_stock_min_number)<0){
299 299
         this.$message.error("盘点后数量不能为负数!")
300 300
         return false

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

@@ -47,11 +47,11 @@
47 47
                  {{scope.row.specification_name}}
48 48
                </template>
49 49
             </el-table-column>
50
-            <el-table-column prop="name" label="单位" width="80"  align="center">
50
+            <!-- <el-table-column prop="name" label="单位" width="80"  align="center">
51 51
                 <template slot-scope="scope">
52 52
                   {{scope.row.warehousing_unit}}
53 53
                </template>
54
-            </el-table-column>
54
+            </el-table-column> -->
55 55
           
56 56
             <el-table-column prop="name" label="进价" width="80"  align="center">
57 57
                 <template slot-scope="scope">

+ 1 - 0
src/xt_pages/stock/historyInventory.vue View File

@@ -282,6 +282,7 @@
282 282
        })
283 283
      },
284 284
      UpdateWarehouseInfo(row){
285
+    
285 286
        if(parseInt(row.last_stock_count)<0){
286 287
         this.$message.error("盘点后数量不能为负数!")
287 288
         return false