Browse Source

修改log

master
姜旭之 1 year ago
parent
commit
d7f78d2cea
  1. 45
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/inventory/log.js
  2. 6
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/inventory/log.js

45
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/inventory/log.js

@ -152,27 +152,30 @@ export default function () {
value: null,
readOnly: true,
},
{
logic: "and",
column: "billTime",
action: "BiggerThanOrEqual",
value: null,
readOnly: true,
},
{
logic: "and",
column: "billTime",
action: "SmallThanOrEqual",
value: null,
readOnly: true,
},
{
logic: "and",
column: "isReplenished",
action: "equal",
value: true,
readOnly: true,
},
// {
// logic: "and",
// column: "billTime",
// action: "biggerThanOrEqual",
// value: null,
// readOnly: true,
// hidden: true,
// },
// {
// logic: "and",
// column: "billTime",
// action: "smallThanOrEqual",
// value: null,
// readOnly: true,
// hidden: true,
// },
// {
// logic: "and",
// column: "isReplenished",
// action: "equal",
// value: true,
// readOnly: true,
// hidden: true,
// },
{
logic: "and",
column: "billType",

6
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/inventory/log.js

@ -33,9 +33,9 @@ export default {
return postData;
}
const openDialog = async () => {
// const url =
// const method =
// const postData = buildQuery();
const url = "settleaccount/vmi/replenished-export";
const method = "POST";
const postData = buildQuery();
const response = await request(url, postData, { method });
if (!response.errors) {
window.open(getUrl(`settleaccount/getblobfile/download/${response.data}`));

Loading…
Cancel
Save