记账凭证

This commit is contained in:
CRM8000 2024-11-21 11:02:12 +08:00
parent d043dad43a
commit 949ba1366b
2 changed files with 7 additions and 2 deletions

View File

@ -49,7 +49,9 @@ class VoucherDAO extends PSIBaseExDAO
$start = $params["start"]; $start = $params["start"];
$limit = $params["limit"]; $limit = $params["limit"];
$sql = "select id, v_status, v_word, ref, v_dt $sql = "select id, v_status, v_word, ref, v_dt, input_user_name, input_dt,
confirm_user_name, gl_user_name, gl_dt, charge_user_name,
cash_user_name, biz_user_name, bill_number
from t_voucher from t_voucher
where (company_id = '%s') and (v_year = %d) and (v_month = %d)"; where (company_id = '%s') and (v_year = %d) and (v_month = %d)";
$queryParams = []; $queryParams = [];
@ -86,6 +88,8 @@ class VoucherDAO extends PSIBaseExDAO
"word" => $v["v_word"], "word" => $v["v_word"],
"ref" => $v["ref"], "ref" => $v["ref"],
"voucherDT" => $this->toYMD($v["v_dt"]), "voucherDT" => $this->toYMD($v["v_dt"]),
"inputUserName" => $v["input_user_name"],
"inputDT" => $v["input_dt"],
]; ];
} }

View File

@ -574,6 +574,7 @@ PCL.define("PSI.SLN0002.Voucher.MainForm", {
fields: ["id", "voucherStatus", "word", "ref", "voucherDT", "confirmUserName", "confirmDT", fields: ["id", "voucherStatus", "word", "ref", "voucherDT", "confirmUserName", "confirmDT",
"glUserName", "glDT", "chargeUserName", "glUserName", "glDT", "chargeUserName",
"cashUserName", "bizUserName", "billNumber", "orgName", "cashUserName", "bizUserName", "billNumber", "orgName",
"inputUserName", "inputDT",
] ]
}); });
const store = PCL.create("PCL.data.Store", { const store = PCL.create("PCL.data.Store", {
@ -652,7 +653,7 @@ PCL.define("PSI.SLN0002.Voucher.MainForm", {
sortable: false sortable: false
}, { }, {
header: "制单时间", header: "制单时间",
dataIndex: "dateCreated", dataIndex: "inputDT",
width: 150, width: 150,
menuDisabled: true, menuDisabled: true,
sortable: false sortable: false