bug 修复
This commit is contained in:
@@ -471,6 +471,19 @@ const dutyVue = (function () {
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
dateFormat(v, f) {
|
||||
if (v == null || v == '') {
|
||||
return '';
|
||||
}
|
||||
if (!f) {
|
||||
f = 'YYYY-MM-DD';
|
||||
}
|
||||
var m = new moment(v);
|
||||
if (m.year() < 1910) {
|
||||
return '';
|
||||
}
|
||||
return new moment(v).format(f);
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
||||
@@ -261,18 +261,6 @@ function SearchClientBalance() {
|
||||
|
||||
$("#WorstCastClientPayable").prop("disabled", "true");
|
||||
$("#PayableFund").prop("disabled", "true");
|
||||
switch ($("#ShownType").val()) {
|
||||
case "default":
|
||||
$("#WorstCastClientPayable").prop("disabled", "");
|
||||
$("#PayableFund").prop("disabled", "");
|
||||
break;
|
||||
case "ClientBalanceGap": param.IsClientBalanceGap = true; break;
|
||||
case "GetOuterMargin": param.IsGetOuterMarginGap = true; break;
|
||||
default:
|
||||
$("#WorstCastClientPayable").prop("disabled", "");
|
||||
$("#PayableFund").prop("disabled", "");
|
||||
break;
|
||||
}
|
||||
if (!param.ValueDateStart) {
|
||||
// param.ValueDateStart = param.ValueDate;
|
||||
}
|
||||
@@ -374,7 +362,7 @@ function SendReport() {
|
||||
if (isXiangCai) {
|
||||
payablemargin = numeral($("#Margin").text()).format("0.00");
|
||||
}
|
||||
main.open("向{0}发送报告".template(clientName), "/clientbalance/TradeMarketClientSend?clientid=" + param.ClientId + "&payablemargin=" + payablemargin + "&payableFund=" + numeral($("#PayableFund").val()).format("0.00") + "&reportType=" + $("#ShownType").val() + "&ParentFlag=" + param.ParentFlag, { area: ['65%', '95%'] });
|
||||
main.open("向{0}发送报告".template(clientName), "/clientbalance/TradeMarketClientSend?clientid=" + param.ClientId + "&payablemargin=" + payablemargin + "&payableFund=" + numeral($("#PayableFund").val()).format("0.00") + "&reportType=GetOuterMargin" + "&ParentFlag=" + param.ParentFlag, { area: ['65%', '95%'] });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user