|
@@ -238,145 +238,211 @@ function extractedGh (res,flag) {
|
|
|
$("#ghxjbs").html(res.ghsrgcmx.xjhs);
|
|
|
if (res.ghsrgcmx.xjsk != null) {
|
|
|
$("#ghxjsk").html(res.ghsrgcmx.xjsk.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghxjsk").html(0.00);
|
|
|
}
|
|
|
$("#ghxjtfbs").html(res.ghsrgcmx.xjthhs);
|
|
|
if (res.ghsrgcmx.xjth != null) {
|
|
|
$("#ghxjtf").html(res.ghsrgcmx.xjth.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghxjtf").html(0.00);
|
|
|
}
|
|
|
$("#ghxjssbs").html(res.ghsrgcmx.xjsshs);
|
|
|
if (res.ghsrgcmx.xjss != null) {
|
|
|
$("#ghxjss").html(res.ghsrgcmx.xjss.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghxjss").html(0.00);
|
|
|
}
|
|
|
//银行卡收款
|
|
|
$("#ghyhsbs").html(res.ghsrgcmx.yhkhs);
|
|
|
if (res.ghsrgcmx.yhksk != null) {
|
|
|
$("#ghyhksk").html(res.ghsrgcmx.yhksk.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghyhksk").html(0.00);
|
|
|
}
|
|
|
$("#ghyhktfbs").html(res.ghsrgcmx.yhkthhs);
|
|
|
if (res.ghsrgcmx.yhkth != null) {
|
|
|
$("#ghyhktf").html(res.ghsrgcmx.yhkth.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghyhktf").html(0.00);
|
|
|
}
|
|
|
$("#ghyhkssbs").html(res.ghsrgcmx.yhksshs);
|
|
|
if (res.ghsrgcmx.yhkss != null) {
|
|
|
$("#ghyhkss").html(res.ghsrgcmx.yhkss.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghyhkss").html(0.00);
|
|
|
}
|
|
|
//医保卡卡收款
|
|
|
$("#ghsybbs").html(res.ghsrgcmx.ybkhs);
|
|
|
if (res.ghsrgcmx.ybksk != null) {
|
|
|
$("#ghsybksk").html(res.ghsrgcmx.ybksk.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghsybksk").html(0.00);
|
|
|
}
|
|
|
$("#ghsybtfbs").html(res.ghsrgcmx.ybkthhs);
|
|
|
if (res.ghsrgcmx.ybkth != null) {
|
|
|
$("#ghsybtf").html(res.ghsrgcmx.ybkth.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghsybtf").html(0.00);
|
|
|
}
|
|
|
$("#ghsybssbs").html(res.ghsrgcmx.ybksshs);
|
|
|
if (res.ghsrgcmx.ybkss != null) {
|
|
|
$("#ghsybkss").html(res.ghsrgcmx.ybkss.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghsybkss").html(0.00);
|
|
|
}
|
|
|
if(flag){
|
|
|
//支付宝自助收款
|
|
|
$("#ghzfbbs").html(res.ghsrgcmx.zfbzzhs);
|
|
|
if (res.ghsrgcmx.zfbzzsk != null) {
|
|
|
$("#ghzfbsk").html(res.ghsrgcmx.zfbzzsk.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghzfbsk").html(0.00);
|
|
|
}
|
|
|
$("#ghzfbtfbs").html(res.ghsrgcmx.zfbzzthhs);
|
|
|
if (res.ghsrgcmx.zfbzzth != null) {
|
|
|
$("#ghzfbtf").html(res.ghsrgcmx.zfbzzth.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghzfbtf").html(0.00);
|
|
|
}
|
|
|
$("#ghzfbssbs").html(res.ghsrgcmx.zfbzzsshs);
|
|
|
if (res.ghsrgcmx.zfbzzss != null) {
|
|
|
$("#ghzfbss").html(res.ghsrgcmx.zfbzzss.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghzfbss").html(0.00);
|
|
|
}
|
|
|
//微信自助收款
|
|
|
$("#ghwxbs").html(res.ghsrgcmx.wxzzhs);
|
|
|
if (res.ghsrgcmx.wxzzsk != null) {
|
|
|
$("#ghwxsk").html(res.ghsrgcmx.wxzzsk.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghwxsk").html(0.00);
|
|
|
}
|
|
|
$("#ghwxtfbs").html(res.ghsrgcmx.wxzzthhs);
|
|
|
if (res.ghsrgcmx.wxzzth != null) {
|
|
|
$("#ghwxtf").html(res.ghsrgcmx.wxzzth.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghwxtf").html(0.00);
|
|
|
}
|
|
|
$("#ghwxssbs").html(res.ghsrgcmx.wxzzsshs);
|
|
|
if (res.ghsrgcmx.wxzzss != null) {
|
|
|
$("#ghwxss").html(res.ghsrgcmx.wxzzss.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghwxss").html(0.00);
|
|
|
}
|
|
|
}else {
|
|
|
//支付宝收款
|
|
|
$("#ghzfbbs").html(res.ghsrgcmx.zfbhs);
|
|
|
if (res.ghsrgcmx.zfbsk != null) {
|
|
|
$("#ghzfbsk").html(res.ghsrgcmx.zfbsk.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghzfbsk").html(0.00);
|
|
|
}
|
|
|
$("#ghzfbtfbs").html(res.ghsrgcmx.zfbthhs);
|
|
|
if (res.ghsrgcmx.zfbth != null) {
|
|
|
$("#ghzfbtf").html(res.ghsrgcmx.zfbth.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghzfbtf").html(0.00);
|
|
|
}
|
|
|
$("#ghzfbssbs").html(res.ghsrgcmx.zfbsshs);
|
|
|
if (res.ghsrgcmx.zfbss != null) {
|
|
|
$("#ghzfbss").html(res.ghsrgcmx.zfbss.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghzfbss").html(0.00);
|
|
|
}
|
|
|
//微信收款
|
|
|
$("#ghwxbs").html(res.ghsrgcmx.wxhs);
|
|
|
if (res.ghsrgcmx.wxsk != null) {
|
|
|
$("#ghwxsk").html(res.ghsrgcmx.wxsk.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghwxsk").html(0.00);
|
|
|
}
|
|
|
$("#ghwxtfbs").html(res.ghsrgcmx.wxthhs);
|
|
|
if (res.ghsrgcmx.wxth != null) {
|
|
|
$("#ghwxtf").html(res.ghsrgcmx.wxth.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghwxtf").html(0.00);
|
|
|
}
|
|
|
$("#ghwxssbs").html(res.ghsrgcmx.wxsshs);
|
|
|
if (res.ghsrgcmx.wxss != null) {
|
|
|
$("#ghwxss").html(res.ghsrgcmx.wxss.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghwxss").html(0.00);
|
|
|
}
|
|
|
}
|
|
|
//记账绿色通道收款
|
|
|
$("#ghzfbs").html(res.ghsrgcmx.byjzhs);
|
|
|
if (res.ghsrgcmx.byjzsk != null) {
|
|
|
$("#ghzfsk").html(res.ghsrgcmx.byjzsk.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghzfsk").html(0.00);
|
|
|
}
|
|
|
$("#ghzftfbs").html(res.ghsrgcmx.byjzthhs);
|
|
|
if (res.ghsrgcmx.byjzth != null) {
|
|
|
$("#ghzftf").html(res.ghsrgcmx.byjzth.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghzftf").html(0.00);
|
|
|
}
|
|
|
$("#ghzfssbs").html(res.ghsrgcmx.byjzsshs);
|
|
|
if (res.ghsrgcmx.byjzss != null) {
|
|
|
$("#ghzfss").html(res.ghsrgcmx.byjzss.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghzfss").html(0.00);
|
|
|
}
|
|
|
//总计收款
|
|
|
$("#ghzjbs").html(res.ghsrgcmx.hjhs);
|
|
|
if (res.ghsrgcmx.hjsk != null) {
|
|
|
$("#ghzjsk").html(res.ghsrgcmx.hjsk.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghzjsk").html(0.00);
|
|
|
}
|
|
|
$("#ghztfbs").html(res.ghsrgcmx.hjthhs);
|
|
|
if (res.ghsrgcmx.hjth != null) {
|
|
|
$("#ghzjtk").html(res.ghsrgcmx.hjth.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghzjtk").html(0.00);
|
|
|
}
|
|
|
$("#ghzjssbs").html(res.ghsrgcmx.hjsshs);
|
|
|
if (res.ghsrgcmx.hjss != null) {
|
|
|
$("#ghzjss").html(res.ghsrgcmx.hjss.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghzjss").html(0.00);
|
|
|
}
|
|
|
|
|
|
|
|
|
if (res.ghsrgcmx.ghjebhjz != null) {
|
|
|
$("#ghsjhj").html(res.ghsrgcmx.ghjebhjz.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghsjhj").html(0.00);
|
|
|
}
|
|
|
$("#ghsjhjdx").html(res.ghsrgcmx.ghjebhjzdx);
|
|
|
if (res.ghsrgcmx.byjzss != null) {
|
|
|
$("#ghzfsshj").html(res.ghsrgcmx.byjzss.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghzfsshj").html(0.00);
|
|
|
}
|
|
|
$("#ghzfdx").html(res.ghsrgcmx.byjzssdx);
|
|
|
|
|
|
if (res.ghsrgcmx.hjss != null) {
|
|
|
$("#ghzj").html(res.ghsrgcmx.hjss.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghzj").html(0.00);
|
|
|
}
|
|
|
$("#ghzjdx").html(res.ghsrgcmx.hjssdx);
|
|
|
if (res.ghsrgcmx.zcsr != null) {
|
|
|
$("#zcsr").html(res.ghsrgcmx.zcsr.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#zcsr").html(0.00);
|
|
|
}
|
|
|
if (res.ghsrgcmx.jcsr != null) {
|
|
|
$("#jcsr").html(res.ghsrgcmx.jcsr.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#jcsr").html(0.00);
|
|
|
}
|
|
|
if (res.ghsrgcmx.ghsr != null) {
|
|
|
$("#ghsr").html(res.ghsrgcmx.ghsr.toFixed(2));
|
|
|
+ }else {
|
|
|
+ $("#ghsr").html(0.00);
|
|
|
}
|
|
|
if (res.ghsrgcmx.zlksr != null) {
|
|
|
$("#zlksr").html(res.ghsrgcmx.zlksr.toFixed(2));
|