Procházet zdrojové kódy

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

28169 před 2 dny
rodič
revize
14d7c57f79

+ 12 - 6
src/xt_pages/outpatientCharges/components/chargeDialog.vue Zobrazit soubor

@@ -78,30 +78,33 @@
78 78
         </el-radio-group>
79 79
       </el-form-item>
80 80
 
81
-      <el-form-item label="" style="width:100%;" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278 || this.$store.getters.xt_user.org.id == 10510 ||  this.$store.getters.xt_user.org.id == 10610  ||  this.$store.getters.xt_user.org.id == 10537 ||  this.$store.getters.xt_user.org.id == 10635">
81
+      <el-form-item label="" style="width:100%;" v-if="this.$store.getters.xt_user.org.id == 0  || this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278 || this.$store.getters.xt_user.org.id == 10510 ||  this.$store.getters.xt_user.org.id == 10610  ||  this.$store.getters.xt_user.org.id == 10537 ||  this.$store.getters.xt_user.org.id == 10635">
82 82
 
83 83
         <el-checkbox-group v-model="form.pay_wayss">
84 84
           <el-checkbox :label="item.value" v-for="(item,index) in payWays" :key="item.value">{{ item.label }}</el-checkbox>
85 85
         </el-checkbox-group>
86 86
       </el-form-item>
87 87
 
88
-      <el-form-item label="现金支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510 || this.$store.getters.xt_user.org.id == 10610 ||  this.$store.getters.xt_user.org.id == 10537 || this.$store.getters.xt_user.org.id == 10635">
88
+      <el-form-item label="现金支付金额:" v-if="this.$store.getters.xt_user.org.id == 0  || this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510 || this.$store.getters.xt_user.org.id == 10610 ||  this.$store.getters.xt_user.org.id == 10537 || this.$store.getters.xt_user.org.id == 10635">
89 89
         <el-input class="number_style" v-model="form.cash_pay" ></el-input>
90 90
       </el-form-item>
91 91
 
92
-      <el-form-item label="微信支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510  || this.$store.getters.xt_user.org.id == 10610 ||  this.$store.getters.xt_user.org.id == 10537 || this.$store.getters.xt_user.org.id == 10635">
92
+      <el-form-item label="微信支付金额:" v-if="this.$store.getters.xt_user.org.id == 0  || this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510  || this.$store.getters.xt_user.org.id == 10610 ||  this.$store.getters.xt_user.org.id == 10537 || this.$store.getters.xt_user.org.id == 10635">
93 93
         <el-input class="number_style" v-model="form.wechat_pay" ></el-input>
94 94
       </el-form-item>
95
-      <el-form-item label="银行卡支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510  || this.$store.getters.xt_user.org.id == 10610 ||  this.$store.getters.xt_user.org.id == 10537 || this.$store.getters.xt_user.org.id == 10635">
95
+      <el-form-item label="银行卡支付金额:" v-if="this.$store.getters.xt_user.org.id == 0  || this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510  || this.$store.getters.xt_user.org.id == 10610 ||  this.$store.getters.xt_user.org.id == 10537 || this.$store.getters.xt_user.org.id == 10635">
96 96
         <el-input class="number_style" v-model="form.band_card_pay" ></el-input>
97 97
       </el-form-item>
98
-      <el-form-item label="支付宝支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510 || this.$store.getters.xt_user.org.id == 10610 ||  this.$store.getters.xt_user.org.id == 10537 || this.$store.getters.xt_user.org.id == 10635 ">
98
+      <el-form-item label="支付宝支付金额:" v-if="this.$store.getters.xt_user.org.id == 0  || this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510 || this.$store.getters.xt_user.org.id == 10610 ||  this.$store.getters.xt_user.org.id == 10537 || this.$store.getters.xt_user.org.id == 10635 ">
99 99
         <el-input class="number_style" v-model="form.ali_pay" ></el-input>
100 100
       </el-form-item>
101 101
       <el-form-item label="积分支付:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510 || this.$store.getters.xt_user.org.id == 10610 ||  this.$store.getters.xt_user.org.id == 10537 || this.$store.getters.xt_user.org.id == 10635 ">
102 102
         <el-input class="number_style" v-model="form.jifen_pay" ></el-input>
103 103
       </el-form-item>
104
-      <el-form-item label="其他说明:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510 || this.$store.getters.xt_user.org.id == 10610 ||  this.$store.getters.xt_user.org.id == 10537 || this.$store.getters.xt_user.org.id == 10635 ">
104
+      <el-form-item label="储值卡说明:" v-if="this.$store.getters.xt_user.org.id == 0 || this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510 || this.$store.getters.xt_user.org.id == 10610 ||  this.$store.getters.xt_user.org.id == 10537 || this.$store.getters.xt_user.org.id == 10635 ">
105
+        <el-input class="number_style" v-model="form.card_desc" ></el-input>
106
+      </el-form-item>
107
+      <el-form-item label="其他说明:" v-if="this.$store.getters.xt_user.org.id == 0  || this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510 || this.$store.getters.xt_user.org.id == 10610 ||  this.$store.getters.xt_user.org.id == 10537 || this.$store.getters.xt_user.org.id == 10635 ">
105 108
         <el-input class="number_style" v-model="form.oth_desc" ></el-input>
106 109
       </el-form-item>
107 110
 
@@ -218,6 +221,7 @@
218 221
           wechat_pay:"",
219 222
           ali_pay:"",
220 223
           jifen_pay:"",
224
+          card_desc:"",
221 225
         },
222 226
         payWays: [
223 227
           {value: "1", label: '现金'},
@@ -227,6 +231,8 @@
227 231
           {value: "7", label: '积分'},
228 232
           {value: "4", label: '医保卡'},
229 233
           {value: "8", label: '其他'},
234
+          {value: "9", label: '储值卡'},
235
+
230 236
         ],
231 237
         total:"",
232 238
 

+ 15 - 0
src/xt_pages/outpatientTool/components/settle.vue Zobrazit soubor

@@ -214,6 +214,13 @@
214 214
           </template>
215 215
         </el-table-column>
216 216
 
217
+        <el-table-column align="center" prop="cash_pay" label="储值卡说明">
218
+          <!--          <template slot-scope="scope">{{scope.row.cash_pay}}</template>-->
219
+          <template slot-scope="scope" style="width: 100px">
220
+            <el-input v-model="scope.row.card_desc" oninput="value=value.replace(/[^0-9.]/g,'')"></el-input>
221
+            <el-button size="small" @click="change(scope.row.id,scope.row.card_desc,'card_desc')">修改</el-button>
222
+          </template>
223
+        </el-table-column>
217 224
         <el-table-column align="center" prop="item_name" label="其他说明">
218 225
 <!--          <template slot-scope="scope">{{scope.row.oth_desc}}</template>-->
219 226
           <template slot-scope="scope" style="width: 100px">
@@ -378,6 +385,14 @@
378 385
 <!--        </template>-->
379 386
       </el-table-column>
380 387
 
388
+
389
+      <el-table-column align="center" prop="item_name" label="其他说明">
390
+        <template slot-scope="scope">{{scope.row.card_desc}}</template>
391
+        <!--        <template slot-scope="scope" style="width: 100px">-->
392
+        <!--          <el-input v-model="scope.row.oth_desc"></el-input>-->
393
+        <!--        </template>-->
394
+      </el-table-column>
395
+
381 396
       <el-table-column align="center" prop="item_name" label="其他说明">
382 397
                   <template slot-scope="scope">{{scope.row.oth_desc}}</template>
383 398
 <!--        <template slot-scope="scope" style="width: 100px">-->