Kaynağa Gözat

出纳优化

lihong 1 ay önce
ebeveyn
işleme
884871dc88

+ 2 - 2
src/components/zfsf/PatientInfoHead.vue

@@ -9,9 +9,9 @@
   </div>
   <el-descriptions :column="6" border style="width:100%;" >
     <el-descriptions-item label="住院号">
-      <el-popover :visible="visible" :width="700" placement="right-end" trigger="click" @show="clearPatientTable">
+      <el-popover :visible="visible" :width="700" placement="right-end" trigger="click" @show="clearPatientTable" @hide="visible=false">
         <template #reference>
-          <el-input v-model="inpatientParam.inpatientNo"   @click="visible = true" style="width: 100px" @keyup.enter="queryChange" />
+          <el-input v-model="inpatientParam.inpatientNo" clearable :readonly="true"  @click="visible = true" style="width: 100px" @keyup.enter="queryChange" />
         </template>
         <div style="width: 670px;">
           <el-input v-model="headParam.inpatientNo" placeholder="支持住院号/姓名/门诊号查询" clearable @keyup.enter="selectPatientPage" style="width: 170px"></el-input>

+ 25 - 13
src/views/hospitalization/zfsf/CashierProcessInfo.vue

@@ -1,6 +1,14 @@
 <template>
   <div class="layout_container">
     <header>
+      <div style="height:25px;margin-bottom: 5px">
+        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+        <el-button :disabled="saveFlag"  icon="Check" type="primary" @click="saveCashData">保存</el-button>
+        <el-button :disabled="qxFlag"   icon="Minus" type="danger"  @click="cancelCash">取消出纳</el-button>
+        <el-button  type="primary"   icon="RefreshLeft"  @click="chongZhiData" >清空</el-button>
+        <el-button  type="warning"    icon="Money"  @click="openPos" >智能POS工具包</el-button>
+        <PrintSelect @getPrintCode="selectPrintCode"></PrintSelect>
+      </div>
       <PatientBaseList ref="patientBaseListRef" :inOutFlag="1" @selectPatientInfo="selectPatient"></PatientBaseList>
     </header>
     <div class="layout_main">
@@ -41,13 +49,6 @@
               </el-col>
             </el-row>
           </el-form>
-            <div style="height:25px">
-              <el-button :disabled="saveFlag" icon="Check" type="success" @click="saveCashData">保存</el-button>
-              <el-button :disabled="qxFlag"  icon="Minus" type="danger"  @click="cancelCash">取消出纳</el-button>
-              <el-button  type="primary" icon="RefreshLeft"  @click="chongZhiData" >清空</el-button>
-              <el-button  type="primary" icon="Money"  @click="openPos" >智能POS工具包</el-button>
-              <PrintSelect @getPrintCode="selectPrintCode"></PrintSelect>
-            </div>
           </div>
         </el-header>
         <el-container>
@@ -69,7 +70,12 @@
                           <el-button v-if="scope.row.settType ==='交纳' && (scope.row.depoType==='3' || scope.row.depoType==='O') "  type="primary" @click="shuaKa(scope.row,scope.$index)">刷卡/扫码</el-button>
                         </template>
                       </el-table-column>
-                      <el-table-column  property="settType" width="50" />
+                      <el-table-column  property="settType" width="50" >
+                        <template #default="scope">
+                          <span v-if="scope.row.settType ==='退款'" style="color: blue;font-size: 15px">{{scope.row.settType}}</span>
+                          <span v-if="scope.row.settType !=='退款'" style="color: red;font-size: 15px">{{scope.row.settType}}</span>
+                        </template>
+                      </el-table-column>
                       <el-table-column  property="depoType" label="类型" >
                         <template #default="scope">
                           <el-select v-model="scope.row.depoType" style="width: 100px">
@@ -97,10 +103,10 @@
                     <div v-if="jkInfoList.length > 0" style="width: 200px;margin-left: 100px" class="layout_overflow_auto">
                       <el-descriptions size="large" :column="1" border  >
                         <el-descriptions-item label="交纳:">
-                          <span class="f-size" style="color: blue" >{{jkHj.jnZj}} </span>
+                          <span class="f-size" style="color: red" >{{jkHj.jnZj}} </span>
                         </el-descriptions-item>
                         <el-descriptions-item label="退款:">
-                          <span class="f-size" style="color: red">{{jkHj.tkZj}}  </span>
+                          <span class="f-size" style="color: blue">{{jkHj.tkZj}}  </span>
                         </el-descriptions-item>
                         <el-descriptions-item label="总计:">
                           <span class="f-size">{{jkHj.zj}} </span>
@@ -126,16 +132,17 @@
                 </div>
                 <div class="border_solid layout_overflow_auto" style="float: right;width: 49%;height: 100%">
                   <el-table :data="zyFpInfoList" style="width: 100%"  height="180">
-                    <el-table-column   label="操作" width="200"  >
+                    <el-table-column   label="操作" width="240"  >
                       <template #default="scope">
                         <el-button v-if="scope.row.inpatientNo !=null && fpVersion==='0'" icon="Printer" type="success" @click="selectPrintZyFp(scope.row)">打印</el-button>
                         <el-button v-if="scope.row.inpatientNo !=null && fpVersion==='1'" icon="Upload" title="上传电子发票" type="primary" @click="uploadZyFp(scope.row,3)"></el-button>
                         <el-button v-if="scope.row.inpatientNo !=null && fpVersion==='1'" icon="Download" title="下载电子发票" type="primary" @click="openDzfp(scope.row,3)"></el-button>
+                        &nbsp;&nbsp;
                         <el-button v-if="scope.row.inpatientNo !=null && fpVersion==='1'" icon="Delete" title="作废电子发票" type="danger" @click="uploadZyFp(scope.row,4)"></el-button>
                         <el-button v-if="scope.row.inpatientNo !=null && fpVersion==='1'" icon="Download" title="下载已作废电子发票" type="danger" @click="downDzFp(scope.row,4,'0')"></el-button>
                       </template>
                     </el-table-column>
-                    <el-table-column  property="ledgerSn" label="账页" />
+                    <el-table-column  property="ledgerSn" label="账页"  />
                     <el-table-column v-if="fpVersion === '0'"  property="receiptNo" label="发票号" />
                     <el-table-column  property="responceUnitName" label="类型" />
                     <el-table-column  property="totalCharge" label="发票金额" />
@@ -1125,5 +1132,10 @@ const getZySettType= (row)=>{
 #zyFpId p {
   line-height: 10px;
 }
-
+.red-color{
+  color: red !important;
+}
+.blue-color{
+  color: blue !important;
+}
 </style>