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
         <div>透析号:{{ patient.dialysis_no }}</div>
7
         <div>透析号:{{ patient.dialysis_no }}</div>
8
         <div>性别:{{ patient.gender == 1 ? '男' : '女' }}</div>
8
         <div>性别:{{ patient.gender == 1 ? '男' : '女' }}</div>
9
         <div>年龄:{{ patient.age }} 岁</div>
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
           <!-- {{ hospital.in_hosptial_time }} 至
12
           <!-- {{ hospital.in_hosptial_time }} 至
12
           {{ hospital.out_hosptial_time }} -->
13
           {{ hospital.out_hosptial_time }} -->
13
         </div>
14
         </div>

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

1
 <template>
1
 <template>
2
   <div id='invoice-print' style="position: relative;">
2
   <div id='invoice-print' style="position: relative;">
3
     <div>
3
     <div>
4
-      <div style="position: absolute;top:60px;left:30px">
4
+      <div style="position: absolute;top:50px;left:30px">
5
         阜阳经沃血液透析中心
5
         阜阳经沃血液透析中心
6
       </div>
6
       </div>
7
       <div style="display: flex;">
7
       <div style="display: flex;">
8
-        <div :style="{position: 'absolute',top:'80px',left:'30px'}">
8
+        <div :style="{position: 'absolute',top:'70px',left:'30px'}">
9
           {{paramsObj.name}}
9
           {{paramsObj.name}}
10
         </div>
10
         </div>
11
-        <div :style="{position: 'absolute',top:'80px',left:'200px'}">
11
+        <div :style="{position: 'absolute',top:'70px',left:'200px'}">
12
           {{list.order.fa_piao_number}}
12
           {{list.order.fa_piao_number}}
13
         </div>
13
         </div>
14
       </div>
14
       </div>
19
         <div :style="{position: 'absolute',top:'100px',left:'190px'}">
19
         <div :style="{position: 'absolute',top:'100px',left:'190px'}">
20
           
20
           
21
         </div>
21
         </div>
22
-        <div :style="{position: 'absolute',top:'100px',left:'300px'}">
22
+        <div :style="{position: 'absolute',top:'90px',left:'300px'}">
23
         {{printDate}}
23
         {{printDate}}
24
         </div>
24
         </div>
25
       </div>
25
       </div>
62
       </div>
62
       </div>
63
     <!--金额 -->
63
     <!--金额 -->
64
     <div style="display: flex;">
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
     </div>
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
     <div style="display: flex;">
71
     <div style="display: flex;">
72
       <div :style="{position: 'absolute',top:'390px',left:'106px'}">{{list.admin_user_name}}</div>
72
       <div :style="{position: 'absolute',top:'390px',left:'106px'}">{{list.admin_user_name}}</div>
73
       <div :style="{position: 'absolute',top:'390px',left:'300px'}">{{list.order_number}}</div>
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
                 style="width: 200px"
19
                 style="width: 200px"
20
                 v-model="keywords"
20
                 v-model="keywords"
21
                 class="filter-item"
21
                 class="filter-item"
22
-                placeholder="请输入耗材名称"
22
+                placeholder="请输入药品名称"
23
                 clearable
23
                 clearable
24
               />
24
               />
25
               <el-button
25
               <el-button
294
         var now_in_number = 0
294
         var now_in_number = 0
295
         stock_in_number = row.warehousing_count * row.XtBaseDrug.min_number
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
        if(parseInt(row.last_stock_max_number)<0 && parseInt(row.last_stock_min_number)<0){
298
        if(parseInt(row.last_stock_max_number)<0 && parseInt(row.last_stock_min_number)<0){
299
         this.$message.error("盘点后数量不能为负数!")
299
         this.$message.error("盘点后数量不能为负数!")
300
         return false
300
         return false

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

47
                  {{scope.row.specification_name}}
47
                  {{scope.row.specification_name}}
48
                </template>
48
                </template>
49
             </el-table-column>
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
                 <template slot-scope="scope">
51
                 <template slot-scope="scope">
52
                   {{scope.row.warehousing_unit}}
52
                   {{scope.row.warehousing_unit}}
53
                </template>
53
                </template>
54
-            </el-table-column>
54
+            </el-table-column> -->
55
           
55
           
56
             <el-table-column prop="name" label="进价" width="80"  align="center">
56
             <el-table-column prop="name" label="进价" width="80"  align="center">
57
                 <template slot-scope="scope">
57
                 <template slot-scope="scope">

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

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