Forráskód Böngészése

缴费页面增加“余额”二字

chenyue 6 éve
szülő
commit
2c62182687

+ 1 - 1
html/payment/html/patientIDCards-pay.html

@ -44,7 +44,7 @@
						<span class="card-icon" style="float: right;">住院</span>
					</div>
					<div class="pb10 c-t-center c-ff9526 c-f25">
						¥ {{data.cardInpMoney}} 元
						<span class="c-f14 c-333" style="vertical-align: middle;">余额  </span>¥ {{data.cardInpMoney}} 元
					</div>
					<div class="pb10 c-999 pr10 c-f12 c-t-right createdata">						
					</div>

+ 9 - 3
html/payment/js/patientIDCards.js

@ -45,17 +45,23 @@ var checktype=false;
			},
			//设置默认就诊卡
			setDefault:function(id,isDefault){
				var vm=this
				var vm=this				
				var loading = dialog({
					contentType: 'load',
					skin: 'bk-popup',
					content:'设置中...'
				});
				loading.showModal()
				sendPost("/patient/card/defaultOpe", {id:id,isDefault:isDefault}, "json", "post",function(){
		          }, function(res){
		          	loading.close()
	                if(res.status == 200){
	                  dialog({contentType:'tipsbox',bottom:true, skin:'bk-popup' , content:res.msg}).show();
					  vm.getData()
	                }else{
	                  dialog({contentType:'tipsbox',bottom:true, skin:'bk-popup' , content:'数据获取失败'}).show();
	                }
	            })
				
	            })				
			},
			//跳转绑定就诊卡
			gotoBindingCard:function(){