|
@ -81,12 +81,12 @@ var loading = dialog({
|
|
if(res.status == 200){
|
|
if(res.status == 200){
|
|
loading.close();
|
|
loading.close();
|
|
vm.data=res.data
|
|
vm.data=res.data
|
|
if(vm.paytype=="1"){
|
|
|
|
vm.surplusMoney=vm.data.cardMoney?vm.data.cardMoney:0
|
|
|
|
vm.cardNo=vm.data.cardNo
|
|
|
|
}else{
|
|
|
|
|
|
if(vm.paytype=="2"){
|
|
vm.surplusMoney=vm.data.cardInpMoney?vm.data.cardInpMoney:0
|
|
vm.surplusMoney=vm.data.cardInpMoney?vm.data.cardInpMoney:0
|
|
vm.cardNo=vm.data.inpCardNo
|
|
vm.cardNo=vm.data.inpCardNo
|
|
|
|
}else{
|
|
|
|
vm.surplusMoney=vm.data.cardMoney?vm.data.cardMoney:0
|
|
|
|
vm.cardNo=vm.data.cardNo
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
loading.close();
|
|
loading.close();
|