mirror of
https://gitee.com/crm8000/PSI
synced 2024-11-23 08:50:16 +00:00
记账凭证
This commit is contained in:
parent
6794ba6deb
commit
d6be6b4b5a
@ -864,12 +864,17 @@ PCL.define("PSI.SLN0002.Voucher.MainForm", {
|
||||
if (value == 0 || isNaN(value)) {
|
||||
return "";
|
||||
} else {
|
||||
return value;
|
||||
const s = PCL.util.Format.number(value, "0,0.00");
|
||||
if (value < 0) {
|
||||
return `<span style='color:red'>${s}</span>`;
|
||||
} else {
|
||||
return s;
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
header: "贷方金额",
|
||||
dataIndex: "crebit",
|
||||
dataIndex: "credit",
|
||||
menuDisabled: true,
|
||||
sortable: false,
|
||||
align: "right",
|
||||
@ -879,7 +884,12 @@ PCL.define("PSI.SLN0002.Voucher.MainForm", {
|
||||
if (value == 0 || isNaN(value)) {
|
||||
return "";
|
||||
} else {
|
||||
return value;
|
||||
const s = PCL.util.Format.number(value, "0,0.00");
|
||||
if (value < 0) {
|
||||
return `<span style='color:red'>${s}</span>`;
|
||||
} else {
|
||||
return s;
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
|
Loading…
Reference in New Issue
Block a user