Browse Source

UPDATE

master
姜旭之 1 year ago
parent
commit
4633167946
  1. 30
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/invoice/invoice_map_group.js
  2. 17
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/invoice/invoice_not_settle.js
  3. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/invoice/invoice_service.js
  4. 30
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/invoice/invoice_wait_detail.js
  5. 30
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-bbac/input/bbac_sa_detail_service.js
  6. 4
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-bbac/settlement/bbac_can_sa_detail_service.js
  7. 12
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-bbac/settlement/bbac_pd_detail_service.js
  8. 30
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-hbpo/input/hbpo_sa_detail_service.js
  9. 14
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-hbpo/settlement/hbpo_ba_detail_service.js
  10. 10
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-hbpo/settlement/hbpo_can_sa_detail_service.js
  11. 16
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-hbpo/settlement/hbpo_pd_detail_service.js
  12. 92
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/pub_sa_service.js
  13. 23
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/role.js
  14. 59
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js
  15. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/jit/input/jit_jit_pub_sa_service.js

30
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/invoice/invoice_map_group.js

@ -39,21 +39,9 @@ const schema = {
}, },
}; };
const baseUrl = "settleaccount/code-setting"; const baseUrl = "settleaccount/invoice_service";
const queryUrl = `${baseUrl}/get-list`; const queryUrl = `${baseUrl}/detail_queryUrl`;
const detailsUrl = `${baseUrl}/get/%s`;
const createUrl = `${baseUrl}/create`;
const updateUrl = `${baseUrl}/update/%s`;
const deleteUrl = `${baseUrl}/delete-list`;
const importUrl = `${baseUrl}/code-setting-upload-excel-import`;
const exportUrl = `${baseUrl}/export`;
const queryMethod = "POST"; const queryMethod = "POST";
const detailsMethod = "POST";
const createMethod = "POST";
const updateMethod = "POST";
const deleteMethod = "POST";
const importMethod = "POST";
const exportMethod = "POST";
export default function () { export default function () {
return { return {
@ -114,18 +102,8 @@ export default function () {
schema: schema, schema: schema,
}, },
edit: { edit: {
detailsUrl, queryUrl,
createUrl, queryMethod,
updateUrl,
deleteUrl,
importUrl,
exportUrl,
detailsMethod,
createMethod,
updateMethod,
deleteMethod,
importMethod,
exportMethod,
schema: schema, schema: schema,
}, },
}; };

17
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/invoice/invoice_not_settle.js

@ -39,7 +39,8 @@ const schema = {
}, },
}; };
const queryUrl = `${baseUrl}/get-list`; const baseUrl = "settleaccount/invoice_service";
const queryUrl = `${baseUrl}/detail_queryUrl`;
const queryMethod = "POST"; const queryMethod = "POST";
export default function () { export default function () {
@ -101,18 +102,8 @@ export default function () {
schema: schema, schema: schema,
}, },
edit: { edit: {
detailsUrl, queryUrl,
createUrl, queryMethod,
updateUrl,
deleteUrl,
importUrl,
exportUrl,
detailsMethod,
createMethod,
updateMethod,
deleteMethod,
importMethod,
exportMethod,
schema: schema, schema: schema,
}, },
}; };

2
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/invoice/invoice_service.js

@ -103,6 +103,7 @@ export default function () {
schema: schema, schema: schema,
}, },
edit: { edit: {
queryUrl,
exportUrl, exportUrl,
rejectUrl, rejectUrl,
passedUrl, passedUrl,
@ -111,6 +112,7 @@ export default function () {
rejectMethod, rejectMethod,
passedMethod, passedMethod,
sync_qadMethod, sync_qadMethod,
queryMethod,
schema: schema, schema: schema,
}, },
}; };

30
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/invoice/invoice_wait_detail.js

@ -39,21 +39,9 @@ const schema = {
}, },
}; };
const baseUrl = "settleaccount/code-setting"; const baseUrl = "settleaccount/invoice_service";
const queryUrl = `${baseUrl}/get-list`; const queryUrl = `${baseUrl}/detail_queryUrl`;
const detailsUrl = `${baseUrl}/get/%s`;
const createUrl = `${baseUrl}/create`;
const updateUrl = `${baseUrl}/update/%s`;
const deleteUrl = `${baseUrl}/delete-list`;
const importUrl = `${baseUrl}/code-setting-upload-excel-import`;
const exportUrl = `${baseUrl}/export`;
const queryMethod = "POST"; const queryMethod = "POST";
const detailsMethod = "POST";
const createMethod = "POST";
const updateMethod = "POST";
const deleteMethod = "POST";
const importMethod = "POST";
const exportMethod = "POST";
export default function () { export default function () {
return { return {
@ -114,18 +102,8 @@ export default function () {
schema: schema, schema: schema,
}, },
edit: { edit: {
detailsUrl, queryUrl,
createUrl, queryMethod,
updateUrl,
deleteUrl,
importUrl,
exportUrl,
detailsMethod,
createMethod,
updateMethod,
deleteMethod,
importMethod,
exportMethod,
schema: schema, schema: schema,
}, },
}; };

30
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-bbac/input/bbac_sa_detail_service.js

@ -39,21 +39,9 @@ const schema = {
}, },
}; };
const baseUrl = "settleaccount/bbac_sa_detail_service"; const queryUrl = "settleaccount/bbac_sa_service/detail_query";
const queryUrl = `${baseUrl}/get-list`;
const detailsUrl = `${baseUrl}/get/%s`;
const createUrl = `${baseUrl}/create`;
const updateUrl = `${baseUrl}/update/%s`;
const deleteUrl = `${baseUrl}/delete-list`;
const importUrl = `${baseUrl}/code-setting-upload-excel-import`;
const exportUrl = `${baseUrl}/export`;
const queryMethod = "POST"; const queryMethod = "POST";
const detailsMethod = "POST";
const createMethod = "POST";
const updateMethod = "POST";
const deleteMethod = "POST";
const importMethod = "POST";
const exportMethod = "POST";
export default function () { export default function () {
return { return {
@ -114,18 +102,8 @@ export default function () {
schema: schema, schema: schema,
}, },
edit: { edit: {
detailsUrl, queryUrl,
createUrl, queryMethod,
updateUrl,
deleteUrl,
importUrl,
exportUrl,
detailsMethod,
createMethod,
updateMethod,
deleteMethod,
importMethod,
exportMethod,
schema: schema, schema: schema,
}, },
}; };

4
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-bbac/settlement/bbac_can_sa_detail_service.js

@ -53,7 +53,7 @@ const schema = {
}, },
}; };
const baseUrl = "settleaccount/bbac_can_sa_detail_service"; const baseUrl = "settleaccount/bbac_can_sa_service";
const queryUrl = `${baseUrl}/detail-query`; const queryUrl = `${baseUrl}/detail-query`;
const queryMethod = "POST"; const queryMethod = "POST";
@ -116,6 +116,8 @@ export default function () {
schema: schema, schema: schema,
}, },
edit: { edit: {
queryUrl,
queryMethod,
schema: schema, schema: schema,
}, },
}; };

12
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-bbac/settlement/bbac_pd_detail_service.js

@ -27,12 +27,8 @@ const schema = {
}; };
const baseUrl = "settleaccount/bbac_pd_service"; const baseUrl = "settleaccount/bbac_pd_service";
const queryUrl = `${baseUrl}/main-query`; const queryUrl = `${baseUrl}/detail-query`;
const detailsUrl = `${baseUrl}/get/%s`;
const exportUrl = `${baseUrl}/export`;
const queryMethod = "POST"; const queryMethod = "POST";
const detailsMethod = "POST";
const exportMethod = "POST";
export default function () { export default function () {
return { return {
@ -93,10 +89,8 @@ export default function () {
schema: schema, schema: schema,
}, },
edit: { edit: {
detailsUrl, queryUrl,
exportUrl, queryMethod,
detailsMethod,
exportMethod,
schema: schema, schema: schema,
}, },
}; };

30
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-hbpo/input/hbpo_sa_detail_service.js

@ -39,21 +39,9 @@ const schema = {
}, },
}; };
const baseUrl = "settleaccount/hbpo_sa_detail_service"; const baseUrl = "settleaccount/hbpo_sa_service";
const queryUrl = `${baseUrl}/get-list`; const queryUrl = `${baseUrl}detail_query`;
const detailsUrl = `${baseUrl}/get/%s`;
const createUrl = `${baseUrl}/create`;
const updateUrl = `${baseUrl}/update/%s`;
const deleteUrl = `${baseUrl}/delete-list`;
const importUrl = `${baseUrl}/code-setting-upload-excel-import`;
const exportUrl = `${baseUrl}/export`;
const queryMethod = "POST"; const queryMethod = "POST";
const detailsMethod = "POST";
const createMethod = "POST";
const updateMethod = "POST";
const deleteMethod = "POST";
const importMethod = "POST";
const exportMethod = "POST";
export default function () { export default function () {
return { return {
@ -114,18 +102,8 @@ export default function () {
schema: schema, schema: schema,
}, },
edit: { edit: {
detailsUrl, queryUrl,
createUrl, queryMethod,
updateUrl,
deleteUrl,
importUrl,
exportUrl,
detailsMethod,
createMethod,
updateMethod,
deleteMethod,
importMethod,
exportMethod,
schema: schema, schema: schema,
}, },
}; };

14
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-hbpo/settlement/hbpo_ba_detail_service.js

@ -52,12 +52,10 @@ const schema = {
}; };
const baseUrl = "settleaccount/hbpo_ba_service"; const baseUrl = "settleaccount/hbpo_ba_service";
const queryUrl = `${baseUrl}/main-query`; const queryUrl = `${baseUrl}/detail-query`;
const detailsUrl = `${baseUrl}/get/%s`;
const exportUrl = `${baseUrl}/export`;
const queryMethod = "POST"; const queryMethod = "POST";
const detailsMethod = "POST";
const exportMethod = "POST";
export default function () { export default function () {
return { return {
@ -118,10 +116,8 @@ export default function () {
schema: schema, schema: schema,
}, },
edit: { edit: {
detailsUrl, queryUrl,
exportUrl, queryMethod,
detailsMethod,
exportMethod,
schema: schema, schema: schema,
}, },
}; };

10
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-hbpo/settlement/hbpo_can_sa_detail_service.js

@ -53,11 +53,9 @@ const schema = {
}, },
}; };
const baseUrl = "settleaccount/hbpo_can_sa_detail_service"; const baseUrl = "settleaccount/hbpo_can_sa_service";
const queryUrl = `${baseUrl}/get-list`; const queryUrl = `${baseUrl}/detail_query`;
const detailsUrl = `${baseUrl}/get/%s`;
const queryMethod = "POST"; const queryMethod = "POST";
const detailsMethod = "POST";
export default function () { export default function () {
return { return {
@ -118,8 +116,8 @@ export default function () {
schema: schema, schema: schema,
}, },
edit: { edit: {
detailsUrl, queryUrl,
detailsMethod, queryMethod,
schema: schema, schema: schema,
}, },
}; };

16
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-hbpo/settlement/hbpo_pd_detail_service.js

@ -27,16 +27,8 @@ const schema = {
}; };
const baseUrl = "settleaccount/hbpo_pd_service"; const baseUrl = "settleaccount/hbpo_pd_service";
const queryUrl = `${baseUrl}/get-list`; const queryUrl = `${baseUrl}/detail_query`;
const detailsUrl = `${baseUrl}/get/%s`;
const createUrl = `${baseUrl}/create`;
const updateUrl = `${baseUrl}/update/%s`;
const deleteUrl = `${baseUrl}/delete-list`;
const importUrl = `${baseUrl}/code-setting-upload-excel-import`;
const exportUrl = `${baseUrl}/export`;
const queryMethod = "POST"; const queryMethod = "POST";
const detailsMethod = "POST";
const exportMethod = "POST";
export default function () { export default function () {
return { return {
@ -97,10 +89,8 @@ export default function () {
schema: schema, schema: schema,
}, },
edit: { edit: {
detailsUrl, queryUrl,
exportUrl, queryMethod,
detailsMethod,
exportMethod,
schema: schema, schema: schema,
}, },
}; };

92
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/pub_sa_service.js

@ -0,0 +1,92 @@
import version from "./version.js";
import state from "./state.js";
const schema = {
title: "结算数据",
type: "object",
properties: {
version,
state,
billNum: {
title: "关联结算单号",
type: "string",
},
},
};
const queryUrl = "settleaccount/pub_sa_service/get-list";
const deleteUrl = "settleaccount/pub_sa_service/delete";
const importUrl = "settleaccount/pub_sa_service/import-by-business-type";
const queryMethod = "POST";
const deleteMethod = "POST";
const importMethod = "POST";
export default function () {
return {
query: {
url: queryUrl,
method: queryMethod,
hasFilter: true,
schema: {
title: "结算数据",
type: "object",
properties: {
filters: {
title: "项目",
type: "array",
hidden: true,
items: {
type: "object",
properties: {
logic: {
type: "int",
},
column: {
type: "string",
},
action: {
type: "int",
},
value: {
type: "string",
},
},
},
default: [
{
logic: "and",
column: "version",
action: "equal",
value: null,
readOnly: true,
},
],
},
skipCount: {
hidden: true,
default: 0,
},
maxResultCount: {
hidden: true,
default: 10,
},
sorting: {
hidden: true,
},
},
},
},
table: {
schema: schema,
},
edit: {
queryUrl,
deleteUrl,
importUrl,
queryMethod,
deleteMethod,
importMethod,
schema: schema,
},
};
}

23
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/role.js

@ -19,20 +19,20 @@ const schema = {
}, },
}; };
const queryUrl = "identity/roles"; const queryUrl = "role/get-list";
const deletetUrl = "identity/roles/{id}"; const deleteUrl = "role/delete/%s";
const updateUrl = "identity/roles/{id}"; const updateUrl = "role/update/%s";
const createUrl = "identity/roles/{id}"; const createUrl = "role/create";
const queryMethod = "GET"; const queryMethod = "GET";
const deletetMethod = "DELETE"; const deleteMethod = "DELETE";
const updateMethod = "PUT"; const updateMethod = "PUT";
const createMethod = "GET"; const createMethod = "POST";
export default function () { export default function () {
return { return {
query: { query: {
url: "identity/roles", url: queryUrl,
method: "GET", method: queryMethod,
schema: { schema: {
title: "用户", title: "用户",
type: "object", type: "object",
@ -56,12 +56,11 @@ export default function () {
schema: schema, schema: schema,
}, },
edit: { edit: {
queryUrl, deleteUrl,
deletetUrl,
updateUrl, updateUrl,
createUrl, createUrl,
queryMethod,
deletetMethod, deleteMethod,
updateMethod, updateMethod,
createMethod, createMethod,
schema: schema, schema: schema,

59
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js

@ -259,6 +259,15 @@ export default [
isTop: true, isTop: true,
}, },
}, },
{
path: "update-data",
meta: {
type: "button",
title: "更新结算数据状态",
icon: "file",
isTop: true,
},
},
{ {
path: "export", path: "export",
meta: { meta: {
@ -869,6 +878,15 @@ export default [
isTop: true, isTop: true,
}, },
}, },
{
path: "update-data",
meta: {
type: "button",
title: "更新结算数据状态",
icon: "file",
isTop: true,
},
},
{ {
path: "export", path: "export",
meta: { meta: {
@ -1359,6 +1377,15 @@ export default [
isTop: true, isTop: true,
}, },
}, },
{
path: "update-data",
meta: {
type: "button",
title: "更新结算数据状态",
icon: "file",
isTop: true,
},
},
{ {
path: "export", path: "export",
meta: { meta: {
@ -1829,6 +1856,15 @@ export default [
isTop: true, isTop: true,
}, },
}, },
{
path: "update-data",
meta: {
type: "button",
title: "更新结算数据状态",
icon: "file",
isTop: true,
},
},
{ {
path: "export", path: "export",
meta: { meta: {
@ -2299,6 +2335,15 @@ export default [
isTop: true, isTop: true,
}, },
}, },
{
path: "update-data",
meta: {
type: "button",
title: "更新结算数据状态",
icon: "file",
isTop: true,
},
},
{ {
path: "export", path: "export",
meta: { meta: {
@ -2719,6 +2764,7 @@ export default [
type: "group", type: "group",
title: "实际采购成本", title: "实际采购成本",
icon: "folder", icon: "folder",
isHidden: true,
}, },
children: [ children: [
{ {
@ -2727,6 +2773,7 @@ export default [
type: "page", type: "page",
title: "实际采购成本", title: "实际采购成本",
icon: "file", icon: "file",
isHidden: true,
}, },
children: [ children: [
{ {
@ -2813,7 +2860,7 @@ export default [
path: "record", path: "record",
meta: { meta: {
type: "page", type: "page",
title: "库存事查询", title: "库存事查询",
icon: "file", icon: "file",
}, },
children: [ children: [
@ -2836,6 +2883,16 @@ export default [
pattern: "paged", pattern: "paged",
}, },
}, },
{
path: "data-export",
meta: {
type: "button",
title: "补货数据导出",
icon: "file",
isTop: true,
pattern: "paged",
},
},
], ],
}, },
{ {

2
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/jit/input/jit_jit_pub_sa_service.js

@ -1,6 +1,6 @@
import AppList from "../../../components/list/index.js"; import AppList from "../../../components/list/index.js";
import html from "html"; import html from "html";
import useConfig from "../../../models/jit/input/jit_jit_pub_sa_service.js"; import useConfig from "../../../models/pub_sa_service.js";
export default { export default {
components: { AppList }, components: { AppList },

Loading…
Cancel
Save