姜旭之
2 years ago
99 changed files with 5490 additions and 194 deletions
@ -0,0 +1,132 @@ |
|||||
|
const schema = { |
||||
|
title: "通用代码", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
project: { |
||||
|
title: "项目", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
value: { |
||||
|
title: "值", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
description: { |
||||
|
title: "描述", |
||||
|
type: "string", |
||||
|
input: "textarea", |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
{ max: 60 }, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/code-setting"; |
||||
|
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 detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
const importMethod = "POST"; |
||||
|
const exportMethod = "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: "project", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
importUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
importMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,132 @@ |
|||||
|
const schema = { |
||||
|
title: "JIS结算数据", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
project: { |
||||
|
title: "项目", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
value: { |
||||
|
title: "值", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
description: { |
||||
|
title: "描述", |
||||
|
type: "string", |
||||
|
input: "textarea", |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
{ max: 60 }, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_sa_detail_service"; |
||||
|
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 detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
const importMethod = "POST"; |
||||
|
const exportMethod = "POST"; |
||||
|
|
||||
|
export default function () { |
||||
|
return { |
||||
|
query: { |
||||
|
url: queryUrl, |
||||
|
method: queryMethod, |
||||
|
hasFilter: true, |
||||
|
schema: { |
||||
|
title: "JIS结算数据", |
||||
|
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: "project", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
importUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
importMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,132 @@ |
|||||
|
const schema = { |
||||
|
title: "JIS结算数据", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
project: { |
||||
|
title: "项目", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
value: { |
||||
|
title: "值", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
description: { |
||||
|
title: "描述", |
||||
|
type: "string", |
||||
|
input: "textarea", |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
{ max: 60 }, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_sa_service"; |
||||
|
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 detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
const importMethod = "POST"; |
||||
|
const exportMethod = "POST"; |
||||
|
|
||||
|
export default function () { |
||||
|
return { |
||||
|
query: { |
||||
|
url: queryUrl, |
||||
|
method: queryMethod, |
||||
|
hasFilter: true, |
||||
|
schema: { |
||||
|
title: "JIS结算数据", |
||||
|
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: "project", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
importUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
importMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,132 @@ |
|||||
|
const schema = { |
||||
|
title: "JIS发运数据", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
version: { |
||||
|
title: "版本", |
||||
|
type: "string", |
||||
|
}, |
||||
|
shippingDate: { |
||||
|
title: "发货时间", |
||||
|
type: "string", |
||||
|
input: "datetime", |
||||
|
}, |
||||
|
wmsBillNum: { |
||||
|
title: "发运单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
lu: { |
||||
|
title: "零件号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
pn: { |
||||
|
title: "生产号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
keyCode: { |
||||
|
title: "组合键值(LU+PN)", |
||||
|
type: "string", |
||||
|
}, |
||||
|
qty: { |
||||
|
title: "数量", |
||||
|
type: "number", |
||||
|
}, |
||||
|
seqNumber: { |
||||
|
title: "日顺序号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
assemblyCode: { |
||||
|
title: "小总成号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
injectionCode: { |
||||
|
title: "注塑码", |
||||
|
type: "string", |
||||
|
}, |
||||
|
beginDate: { |
||||
|
title: "订单时间", |
||||
|
type: "string", |
||||
|
input: "datetime", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_se_detail_service"; |
||||
|
const queryUrl = `${baseUrl}/get-list`; |
||||
|
// const deleteUrl = `${baseUrl}/delete-list`;
|
||||
|
const importUrl = `${baseUrl}/import`; |
||||
|
const exportUrl = `${baseUrl}/export`; |
||||
|
const queryMethod = "POST"; |
||||
|
// const deleteMethod = "POST";
|
||||
|
const importMethod = "POST"; |
||||
|
const exportMethod = "POST"; |
||||
|
|
||||
|
export default function () { |
||||
|
return { |
||||
|
query: { |
||||
|
url: queryUrl, |
||||
|
method: queryMethod, |
||||
|
hasFilter: true, |
||||
|
schema: { |
||||
|
title: "JIS发运数据", |
||||
|
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: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
// deleteUrl,
|
||||
|
importUrl, |
||||
|
exportUrl, |
||||
|
// deleteMethod,
|
||||
|
importMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,126 @@ |
|||||
|
const schema = { |
||||
|
title: "可结算单明细", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
settleBillNum: { |
||||
|
title: "关联结算单号", |
||||
|
type: "int", |
||||
|
}, |
||||
|
site: { |
||||
|
title: "工厂地点", |
||||
|
type: "string", |
||||
|
}, |
||||
|
version: { |
||||
|
title: "版本", |
||||
|
type: "int", |
||||
|
}, |
||||
|
price: { |
||||
|
title: "单价", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
billNum: { |
||||
|
title: "结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
settleDate: { |
||||
|
title: "结算日期", |
||||
|
type: "DateTime", |
||||
|
}, |
||||
|
settleInvGroupNumDate: { |
||||
|
title: "发票组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
lu: { |
||||
|
title: "零件号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
materialDesc: { |
||||
|
title: "物料描述", |
||||
|
type: "string", |
||||
|
}, |
||||
|
pn: { |
||||
|
title: "生产号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
qty: { |
||||
|
title: "结算数量", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
groupNumy: { |
||||
|
title: "结算分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/hbpo_can_sa_detail_service"; |
||||
|
const queryUrl = `${baseUrl}/get-list`; |
||||
|
const detailsUrl = `${baseUrl}/get/%s`; |
||||
|
const queryMethod = "POST"; |
||||
|
const detailsMethod = "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: "billNum", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
detailsMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,128 @@ |
|||||
|
import version from "../../version.js"; |
||||
|
import { state2, state3 } from "../../state.js"; |
||||
|
|
||||
|
const schema = { |
||||
|
title: "商务审批", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
settleBillNum: { |
||||
|
title: "关联结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
site: { |
||||
|
title: "工厂地点", |
||||
|
type: "string", |
||||
|
}, |
||||
|
version, |
||||
|
state2, |
||||
|
price: { |
||||
|
title: "单价", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
billNum: { |
||||
|
title: "结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
|
||||
|
settleDate: { |
||||
|
title: "结算日期", |
||||
|
type: "DateTime", |
||||
|
}, |
||||
|
invGroupNum: { |
||||
|
title: "发票分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
lu: { |
||||
|
title: "零件号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
pn: { |
||||
|
title: "生产号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
qty: { |
||||
|
title: "结算数量", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
groupNum: { |
||||
|
title: "结算分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_ba_service"; |
||||
|
const queryUrl = `${baseUrl}/main-query`; |
||||
|
const detailsUrl = `${baseUrl}/get/%s`; |
||||
|
const exportUrl = `${baseUrl}/export`; |
||||
|
const queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const exportMethod = "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: { |
||||
|
detailsUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,100 @@ |
|||||
|
import version from "../../version.js"; |
||||
|
import state from "../../state.js"; |
||||
|
|
||||
|
const schema = { |
||||
|
title: "发票分组号", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
version, |
||||
|
billNum: { |
||||
|
title: "结算单据", |
||||
|
type: "string", |
||||
|
}, |
||||
|
settleBillNum: { |
||||
|
title: "关联结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
state, |
||||
|
invGroupNum: { |
||||
|
title: "发票分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_can_sa_service"; |
||||
|
const queryUrl = `${baseUrl}/main-query`; |
||||
|
const detailsUrl = `${baseUrl}/get/%s`; |
||||
|
const exportUrl = `${baseUrl}/export`; |
||||
|
const queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const exportMethod = "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: { |
||||
|
detailsUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
exportMethod, |
||||
|
|
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,126 @@ |
|||||
|
import version from "../../version.js"; |
||||
|
|
||||
|
const schema = { |
||||
|
title: "不可结算单", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
settleBillNum: { |
||||
|
title: "关联结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
site: { |
||||
|
title: "工厂地点", |
||||
|
type: "string", |
||||
|
}, |
||||
|
version, |
||||
|
price: { |
||||
|
title: "单价", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
billNum: { |
||||
|
title: "结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
|
||||
|
settleDate: { |
||||
|
title: "结算日期", |
||||
|
type: "DateTime", |
||||
|
}, |
||||
|
invGroupNum: { |
||||
|
title: "发票分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
lu: { |
||||
|
title: "零件号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
pn: { |
||||
|
title: "生产号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
qty: { |
||||
|
title: "结算数量", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
groupNum: { |
||||
|
title: "结算分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_not_sa_service"; |
||||
|
const queryUrl = `${baseUrl}/detail-query`; |
||||
|
const detailsUrl = `${baseUrl}/get/%s`; |
||||
|
const exportUrl = `${baseUrl}/export`; |
||||
|
const queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const exportMethod = "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: { |
||||
|
detailsUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,103 @@ |
|||||
|
import version from "../../version.js"; |
||||
|
import { state2, state3 } from "../../state.js"; |
||||
|
|
||||
|
const schema = { |
||||
|
title: "寄售库库存扣减审批", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
version, |
||||
|
state3, |
||||
|
billNum: { |
||||
|
title: "结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
settleBillNum: { |
||||
|
title: "关联结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
invGroupNum: { |
||||
|
title: "发票分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
site: { |
||||
|
title: "地点", |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_pd_service"; |
||||
|
const queryUrl = `${baseUrl}/main-query`; |
||||
|
const detailsUrl = `${baseUrl}/get/%s`; |
||||
|
const exportUrl = `${baseUrl}/export`; |
||||
|
const queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const exportMethod = "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: { |
||||
|
detailsUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,132 @@ |
|||||
|
const schema = { |
||||
|
title: "通用代码", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
project: { |
||||
|
title: "项目", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
value: { |
||||
|
title: "值", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
description: { |
||||
|
title: "描述", |
||||
|
type: "string", |
||||
|
input: "textarea", |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
{ max: 60 }, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/code-setting"; |
||||
|
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 detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
const importMethod = "POST"; |
||||
|
const exportMethod = "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: "project", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
importUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
importMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,132 @@ |
|||||
|
const schema = { |
||||
|
title: "通用代码", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
project: { |
||||
|
title: "项目", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
value: { |
||||
|
title: "值", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
description: { |
||||
|
title: "描述", |
||||
|
type: "string", |
||||
|
input: "textarea", |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
{ max: 60 }, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/code-setting"; |
||||
|
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 detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
const importMethod = "POST"; |
||||
|
const exportMethod = "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: "project", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
importUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
importMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,132 @@ |
|||||
|
const schema = { |
||||
|
title: "JIS结算数据", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
project: { |
||||
|
title: "项目", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
value: { |
||||
|
title: "值", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
description: { |
||||
|
title: "描述", |
||||
|
type: "string", |
||||
|
input: "textarea", |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
{ max: 60 }, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_sa_detail_service"; |
||||
|
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 detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
const importMethod = "POST"; |
||||
|
const exportMethod = "POST"; |
||||
|
|
||||
|
export default function () { |
||||
|
return { |
||||
|
query: { |
||||
|
url: queryUrl, |
||||
|
method: queryMethod, |
||||
|
hasFilter: true, |
||||
|
schema: { |
||||
|
title: "JIS结算数据", |
||||
|
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: "project", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
importUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
importMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,132 @@ |
|||||
|
const schema = { |
||||
|
title: "JIS结算数据", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
project: { |
||||
|
title: "项目", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
value: { |
||||
|
title: "值", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
description: { |
||||
|
title: "描述", |
||||
|
type: "string", |
||||
|
input: "textarea", |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
{ max: 60 }, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_sa_service"; |
||||
|
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 detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
const importMethod = "POST"; |
||||
|
const exportMethod = "POST"; |
||||
|
|
||||
|
export default function () { |
||||
|
return { |
||||
|
query: { |
||||
|
url: queryUrl, |
||||
|
method: queryMethod, |
||||
|
hasFilter: true, |
||||
|
schema: { |
||||
|
title: "JIS结算数据", |
||||
|
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: "project", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
importUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
importMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,132 @@ |
|||||
|
const schema = { |
||||
|
title: "JIS发运数据", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
version: { |
||||
|
title: "版本", |
||||
|
type: "string", |
||||
|
}, |
||||
|
shippingDate: { |
||||
|
title: "发货时间", |
||||
|
type: "string", |
||||
|
input: "datetime", |
||||
|
}, |
||||
|
wmsBillNum: { |
||||
|
title: "发运单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
lu: { |
||||
|
title: "零件号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
pn: { |
||||
|
title: "生产号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
keyCode: { |
||||
|
title: "组合键值(LU+PN)", |
||||
|
type: "string", |
||||
|
}, |
||||
|
qty: { |
||||
|
title: "数量", |
||||
|
type: "number", |
||||
|
}, |
||||
|
seqNumber: { |
||||
|
title: "日顺序号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
assemblyCode: { |
||||
|
title: "小总成号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
injectionCode: { |
||||
|
title: "注塑码", |
||||
|
type: "string", |
||||
|
}, |
||||
|
beginDate: { |
||||
|
title: "订单时间", |
||||
|
type: "string", |
||||
|
input: "datetime", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_se_detail_service"; |
||||
|
const queryUrl = `${baseUrl}/get-list`; |
||||
|
// const deleteUrl = `${baseUrl}/delete-list`;
|
||||
|
const importUrl = `${baseUrl}/import`; |
||||
|
const exportUrl = `${baseUrl}/export`; |
||||
|
const queryMethod = "POST"; |
||||
|
// const deleteMethod = "POST";
|
||||
|
const importMethod = "POST"; |
||||
|
const exportMethod = "POST"; |
||||
|
|
||||
|
export default function () { |
||||
|
return { |
||||
|
query: { |
||||
|
url: queryUrl, |
||||
|
method: queryMethod, |
||||
|
hasFilter: true, |
||||
|
schema: { |
||||
|
title: "JIS发运数据", |
||||
|
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: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
// deleteUrl,
|
||||
|
importUrl, |
||||
|
exportUrl, |
||||
|
// deleteMethod,
|
||||
|
importMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,128 @@ |
|||||
|
import version from "../../version.js"; |
||||
|
import { state2, state3 } from "../../state.js"; |
||||
|
|
||||
|
const schema = { |
||||
|
title: "商务审批", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
settleBillNum: { |
||||
|
title: "关联结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
site: { |
||||
|
title: "工厂地点", |
||||
|
type: "string", |
||||
|
}, |
||||
|
version, |
||||
|
state2, |
||||
|
price: { |
||||
|
title: "单价", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
billNum: { |
||||
|
title: "结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
|
||||
|
settleDate: { |
||||
|
title: "结算日期", |
||||
|
type: "DateTime", |
||||
|
}, |
||||
|
invGroupNum: { |
||||
|
title: "发票分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
lu: { |
||||
|
title: "零件号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
pn: { |
||||
|
title: "生产号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
qty: { |
||||
|
title: "结算数量", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
groupNum: { |
||||
|
title: "结算分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_ba_service"; |
||||
|
const queryUrl = `${baseUrl}/main-query`; |
||||
|
const detailsUrl = `${baseUrl}/get/%s`; |
||||
|
const exportUrl = `${baseUrl}/export`; |
||||
|
const queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const exportMethod = "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: { |
||||
|
detailsUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,126 @@ |
|||||
|
const schema = { |
||||
|
title: "可结算单明细", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
settleBillNum: { |
||||
|
title: "关联结算单号", |
||||
|
type: "int", |
||||
|
}, |
||||
|
site: { |
||||
|
title: "工厂地点", |
||||
|
type: "string", |
||||
|
}, |
||||
|
version: { |
||||
|
title: "版本", |
||||
|
type: "int", |
||||
|
}, |
||||
|
price: { |
||||
|
title: "单价", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
billNum: { |
||||
|
title: "结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
settleDate: { |
||||
|
title: "结算日期", |
||||
|
type: "DateTime", |
||||
|
}, |
||||
|
settleInvGroupNumDate: { |
||||
|
title: "发票组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
lu: { |
||||
|
title: "零件号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
materialDesc: { |
||||
|
title: "物料描述", |
||||
|
type: "string", |
||||
|
}, |
||||
|
pn: { |
||||
|
title: "生产号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
qty: { |
||||
|
title: "结算数量", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
groupNumy: { |
||||
|
title: "结算分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/hbpo_can_sa_detail_service"; |
||||
|
const queryUrl = `${baseUrl}/get-list`; |
||||
|
const detailsUrl = `${baseUrl}/get/%s`; |
||||
|
const queryMethod = "POST"; |
||||
|
const detailsMethod = "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: "billNum", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
detailsMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,100 @@ |
|||||
|
import version from "../../version.js"; |
||||
|
import state from "../../state.js"; |
||||
|
|
||||
|
const schema = { |
||||
|
title: "发票分组号", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
version, |
||||
|
billNum: { |
||||
|
title: "结算单据", |
||||
|
type: "string", |
||||
|
}, |
||||
|
settleBillNum: { |
||||
|
title: "关联结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
state, |
||||
|
invGroupNum: { |
||||
|
title: "发票分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_can_sa_service"; |
||||
|
const queryUrl = `${baseUrl}/main-query`; |
||||
|
const detailsUrl = `${baseUrl}/get/%s`; |
||||
|
const exportUrl = `${baseUrl}/export`; |
||||
|
const queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const exportMethod = "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: { |
||||
|
detailsUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
exportMethod, |
||||
|
|
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,126 @@ |
|||||
|
import version from "../../version.js"; |
||||
|
|
||||
|
const schema = { |
||||
|
title: "不可结算单", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
settleBillNum: { |
||||
|
title: "关联结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
site: { |
||||
|
title: "工厂地点", |
||||
|
type: "string", |
||||
|
}, |
||||
|
version, |
||||
|
price: { |
||||
|
title: "单价", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
billNum: { |
||||
|
title: "结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
|
||||
|
settleDate: { |
||||
|
title: "结算日期", |
||||
|
type: "DateTime", |
||||
|
}, |
||||
|
invGroupNum: { |
||||
|
title: "发票分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
lu: { |
||||
|
title: "零件号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
pn: { |
||||
|
title: "生产号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
qty: { |
||||
|
title: "结算数量", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
groupNum: { |
||||
|
title: "结算分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_not_sa_service"; |
||||
|
const queryUrl = `${baseUrl}/detail-query`; |
||||
|
const detailsUrl = `${baseUrl}/get/%s`; |
||||
|
const exportUrl = `${baseUrl}/export`; |
||||
|
const queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const exportMethod = "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: { |
||||
|
detailsUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,103 @@ |
|||||
|
import version from "../../version.js"; |
||||
|
import { state2, state3 } from "../../state.js"; |
||||
|
|
||||
|
const schema = { |
||||
|
title: "寄售库库存扣减审批", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
version, |
||||
|
state3, |
||||
|
billNum: { |
||||
|
title: "结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
settleBillNum: { |
||||
|
title: "关联结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
invGroupNum: { |
||||
|
title: "发票分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
site: { |
||||
|
title: "地点", |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_pd_service"; |
||||
|
const queryUrl = `${baseUrl}/main-query`; |
||||
|
const detailsUrl = `${baseUrl}/get/%s`; |
||||
|
const exportUrl = `${baseUrl}/export`; |
||||
|
const queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const exportMethod = "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: { |
||||
|
detailsUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,131 @@ |
|||||
|
import version from "../../version.js"; |
||||
|
import { state2, state3 } from "../../state.js"; |
||||
|
|
||||
|
const schema = { |
||||
|
title: "通用代码", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
version, |
||||
|
state2, |
||||
|
realnvBillNum: { |
||||
|
title: "实际纸质发票号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
amt: { |
||||
|
title: "未税金额", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
taxAmt: { |
||||
|
title: "税后金额", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
invGroupNum: { |
||||
|
title: "发票分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
fileName: { |
||||
|
title: "开票Excel文件", |
||||
|
type: "string", |
||||
|
}, |
||||
|
businessType: { |
||||
|
title: "业务类别", |
||||
|
type: "EnumBusinessType", |
||||
|
}, |
||||
|
state: { |
||||
|
title: "发票状态", |
||||
|
type: "int", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/invoice_service"; |
||||
|
const queryUrl = `${baseUrl}/main-query`; |
||||
|
const detailsUrl = `${baseUrl}/get/%s`; |
||||
|
const createUrl = `${baseUrl}/create`; |
||||
|
const updateUrl = `${baseUrl}/update/%s`; |
||||
|
const deleteUrl = `${baseUrl}/delete-list`; |
||||
|
const importUrl = `${baseUrl}/invoice_service-upload-excel-import`; |
||||
|
const exportUrl = `${baseUrl}/export`; |
||||
|
const queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
const importMethod = "POST"; |
||||
|
const exportMethod = "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: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
importUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
importMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,137 @@ |
|||||
|
const schema = { |
||||
|
title: "期间设置", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
year: { |
||||
|
title: "年度", |
||||
|
type: "string", |
||||
|
hidden: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
period: { |
||||
|
title: "期间", |
||||
|
type: "string", |
||||
|
hidden: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
version: { |
||||
|
title: "版本", |
||||
|
type: "string", |
||||
|
input: "month", |
||||
|
format: "YYYYMM", |
||||
|
showForList: true, |
||||
|
watch: "(model,value)=>{model.year=value.substr(0,4);model.period=value.substr(4,2);}", |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
trigger: "blur", |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
state: { |
||||
|
title: "状态", |
||||
|
type: "boolean", |
||||
|
showForList: true, |
||||
|
default: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/centralized-control"; |
||||
|
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 queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
|
||||
|
export default function () { |
||||
|
return { |
||||
|
baseUrl, |
||||
|
query: { |
||||
|
url: queryUrl, |
||||
|
method: queryMethod, |
||||
|
hasFilter: true, |
||||
|
schema: { |
||||
|
title: "期间设置", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
filters: { |
||||
|
type: "array", |
||||
|
hidden: true, |
||||
|
items: { |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
logic: { |
||||
|
type: "int", |
||||
|
}, |
||||
|
column: { |
||||
|
type: "string", |
||||
|
}, |
||||
|
action: { |
||||
|
type: "int", |
||||
|
}, |
||||
|
value: { |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
default: [ |
||||
|
{ |
||||
|
logic: "and", |
||||
|
column: "year", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,137 @@ |
|||||
|
const schema = { |
||||
|
title: "期间设置", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
year: { |
||||
|
title: "年度", |
||||
|
type: "string", |
||||
|
hidden: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
period: { |
||||
|
title: "期间", |
||||
|
type: "string", |
||||
|
hidden: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
version: { |
||||
|
title: "版本", |
||||
|
type: "string", |
||||
|
input: "month", |
||||
|
format: "YYYYMM", |
||||
|
showForList: true, |
||||
|
watch: "(model,value)=>{model.year=value.substr(0,4);model.period=value.substr(4,2);}", |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
trigger: "blur", |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
state: { |
||||
|
title: "状态", |
||||
|
type: "boolean", |
||||
|
showForList: true, |
||||
|
default: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/centralized-control"; |
||||
|
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 queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
|
||||
|
export default function () { |
||||
|
return { |
||||
|
baseUrl, |
||||
|
query: { |
||||
|
url: queryUrl, |
||||
|
method: queryMethod, |
||||
|
hasFilter: true, |
||||
|
schema: { |
||||
|
title: "期间设置", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
filters: { |
||||
|
type: "array", |
||||
|
hidden: true, |
||||
|
items: { |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
logic: { |
||||
|
type: "int", |
||||
|
}, |
||||
|
column: { |
||||
|
type: "string", |
||||
|
}, |
||||
|
action: { |
||||
|
type: "int", |
||||
|
}, |
||||
|
value: { |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
default: [ |
||||
|
{ |
||||
|
logic: "and", |
||||
|
column: "year", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,137 @@ |
|||||
|
const schema = { |
||||
|
title: "期间设置", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
year: { |
||||
|
title: "年度", |
||||
|
type: "string", |
||||
|
hidden: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
period: { |
||||
|
title: "期间", |
||||
|
type: "string", |
||||
|
hidden: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
version: { |
||||
|
title: "版本", |
||||
|
type: "string", |
||||
|
input: "month", |
||||
|
format: "YYYYMM", |
||||
|
showForList: true, |
||||
|
watch: "(model,value)=>{model.year=value.substr(0,4);model.period=value.substr(4,2);}", |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
trigger: "blur", |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
state: { |
||||
|
title: "状态", |
||||
|
type: "boolean", |
||||
|
showForList: true, |
||||
|
default: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/centralized-control"; |
||||
|
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 queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
|
||||
|
export default function () { |
||||
|
return { |
||||
|
baseUrl, |
||||
|
query: { |
||||
|
url: queryUrl, |
||||
|
method: queryMethod, |
||||
|
hasFilter: true, |
||||
|
schema: { |
||||
|
title: "期间设置", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
filters: { |
||||
|
type: "array", |
||||
|
hidden: true, |
||||
|
items: { |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
logic: { |
||||
|
type: "int", |
||||
|
}, |
||||
|
column: { |
||||
|
type: "string", |
||||
|
}, |
||||
|
action: { |
||||
|
type: "int", |
||||
|
}, |
||||
|
value: { |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
default: [ |
||||
|
{ |
||||
|
logic: "and", |
||||
|
column: "year", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,137 @@ |
|||||
|
const schema = { |
||||
|
title: "期间设置", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
year: { |
||||
|
title: "年度", |
||||
|
type: "string", |
||||
|
hidden: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
period: { |
||||
|
title: "期间", |
||||
|
type: "string", |
||||
|
hidden: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
version: { |
||||
|
title: "版本", |
||||
|
type: "string", |
||||
|
input: "month", |
||||
|
format: "YYYYMM", |
||||
|
showForList: true, |
||||
|
watch: "(model,value)=>{model.year=value.substr(0,4);model.period=value.substr(4,2);}", |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
trigger: "blur", |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
state: { |
||||
|
title: "状态", |
||||
|
type: "boolean", |
||||
|
showForList: true, |
||||
|
default: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/centralized-control"; |
||||
|
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 queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
|
||||
|
export default function () { |
||||
|
return { |
||||
|
baseUrl, |
||||
|
query: { |
||||
|
url: queryUrl, |
||||
|
method: queryMethod, |
||||
|
hasFilter: true, |
||||
|
schema: { |
||||
|
title: "期间设置", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
filters: { |
||||
|
type: "array", |
||||
|
hidden: true, |
||||
|
items: { |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
logic: { |
||||
|
type: "int", |
||||
|
}, |
||||
|
column: { |
||||
|
type: "string", |
||||
|
}, |
||||
|
action: { |
||||
|
type: "int", |
||||
|
}, |
||||
|
value: { |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
default: [ |
||||
|
{ |
||||
|
logic: "and", |
||||
|
column: "year", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,137 @@ |
|||||
|
const schema = { |
||||
|
title: "期间设置", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
year: { |
||||
|
title: "年度", |
||||
|
type: "string", |
||||
|
hidden: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
period: { |
||||
|
title: "期间", |
||||
|
type: "string", |
||||
|
hidden: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
version: { |
||||
|
title: "版本", |
||||
|
type: "string", |
||||
|
input: "month", |
||||
|
format: "YYYYMM", |
||||
|
showForList: true, |
||||
|
watch: "(model,value)=>{model.year=value.substr(0,4);model.period=value.substr(4,2);}", |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
trigger: "blur", |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
state: { |
||||
|
title: "状态", |
||||
|
type: "boolean", |
||||
|
showForList: true, |
||||
|
default: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/centralized-control"; |
||||
|
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 queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
|
||||
|
export default function () { |
||||
|
return { |
||||
|
baseUrl, |
||||
|
query: { |
||||
|
url: queryUrl, |
||||
|
method: queryMethod, |
||||
|
hasFilter: true, |
||||
|
schema: { |
||||
|
title: "期间设置", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
filters: { |
||||
|
type: "array", |
||||
|
hidden: true, |
||||
|
items: { |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
logic: { |
||||
|
type: "int", |
||||
|
}, |
||||
|
column: { |
||||
|
type: "string", |
||||
|
}, |
||||
|
action: { |
||||
|
type: "int", |
||||
|
}, |
||||
|
value: { |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
default: [ |
||||
|
{ |
||||
|
logic: "and", |
||||
|
column: "year", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,137 @@ |
|||||
|
const schema = { |
||||
|
title: "期间设置", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
year: { |
||||
|
title: "年度", |
||||
|
type: "string", |
||||
|
hidden: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
period: { |
||||
|
title: "期间", |
||||
|
type: "string", |
||||
|
hidden: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
version: { |
||||
|
title: "版本", |
||||
|
type: "string", |
||||
|
input: "month", |
||||
|
format: "YYYYMM", |
||||
|
showForList: true, |
||||
|
watch: "(model,value)=>{model.year=value.substr(0,4);model.period=value.substr(4,2);}", |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
trigger: "blur", |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
state: { |
||||
|
title: "状态", |
||||
|
type: "boolean", |
||||
|
showForList: true, |
||||
|
default: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/centralized-control"; |
||||
|
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 queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
|
||||
|
export default function () { |
||||
|
return { |
||||
|
baseUrl, |
||||
|
query: { |
||||
|
url: queryUrl, |
||||
|
method: queryMethod, |
||||
|
hasFilter: true, |
||||
|
schema: { |
||||
|
title: "期间设置", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
filters: { |
||||
|
type: "array", |
||||
|
hidden: true, |
||||
|
items: { |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
logic: { |
||||
|
type: "int", |
||||
|
}, |
||||
|
column: { |
||||
|
type: "string", |
||||
|
}, |
||||
|
action: { |
||||
|
type: "int", |
||||
|
}, |
||||
|
value: { |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
default: [ |
||||
|
{ |
||||
|
logic: "and", |
||||
|
column: "year", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,137 @@ |
|||||
|
const schema = { |
||||
|
title: "期间设置", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
year: { |
||||
|
title: "年度", |
||||
|
type: "string", |
||||
|
hidden: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
period: { |
||||
|
title: "期间", |
||||
|
type: "string", |
||||
|
hidden: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
version: { |
||||
|
title: "版本", |
||||
|
type: "string", |
||||
|
input: "month", |
||||
|
format: "YYYYMM", |
||||
|
showForList: true, |
||||
|
watch: "(model,value)=>{model.year=value.substr(0,4);model.period=value.substr(4,2);}", |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
trigger: "blur", |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
state: { |
||||
|
title: "状态", |
||||
|
type: "boolean", |
||||
|
showForList: true, |
||||
|
default: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/centralized-control"; |
||||
|
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 queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
|
||||
|
export default function () { |
||||
|
return { |
||||
|
baseUrl, |
||||
|
query: { |
||||
|
url: queryUrl, |
||||
|
method: queryMethod, |
||||
|
hasFilter: true, |
||||
|
schema: { |
||||
|
title: "期间设置", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
filters: { |
||||
|
type: "array", |
||||
|
hidden: true, |
||||
|
items: { |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
logic: { |
||||
|
type: "int", |
||||
|
}, |
||||
|
column: { |
||||
|
type: "string", |
||||
|
}, |
||||
|
action: { |
||||
|
type: "int", |
||||
|
}, |
||||
|
value: { |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
default: [ |
||||
|
{ |
||||
|
logic: "and", |
||||
|
column: "year", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,132 @@ |
|||||
|
const schema = { |
||||
|
title: "通用代码", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
project: { |
||||
|
title: "项目", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
value: { |
||||
|
title: "值", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
description: { |
||||
|
title: "描述", |
||||
|
type: "string", |
||||
|
input: "textarea", |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
{ max: 60 }, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/code-setting"; |
||||
|
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 detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
const importMethod = "POST"; |
||||
|
const exportMethod = "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: "project", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
importUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
importMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,132 @@ |
|||||
|
const schema = { |
||||
|
title: "通用代码", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
project: { |
||||
|
title: "项目", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
value: { |
||||
|
title: "值", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
description: { |
||||
|
title: "描述", |
||||
|
type: "string", |
||||
|
input: "textarea", |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
{ max: 60 }, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/code-setting"; |
||||
|
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 detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
const importMethod = "POST"; |
||||
|
const exportMethod = "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: "project", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
importUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
importMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,132 @@ |
|||||
|
const schema = { |
||||
|
title: "JIS结算数据", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
project: { |
||||
|
title: "项目", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
value: { |
||||
|
title: "值", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
description: { |
||||
|
title: "描述", |
||||
|
type: "string", |
||||
|
input: "textarea", |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
{ max: 60 }, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_sa_service"; |
||||
|
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 detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
const importMethod = "POST"; |
||||
|
const exportMethod = "POST"; |
||||
|
|
||||
|
export default function () { |
||||
|
return { |
||||
|
query: { |
||||
|
url: queryUrl, |
||||
|
method: queryMethod, |
||||
|
hasFilter: true, |
||||
|
schema: { |
||||
|
title: "JIS结算数据", |
||||
|
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: "project", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
importUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
importMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,132 @@ |
|||||
|
const schema = { |
||||
|
title: "JIS结算数据", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
project: { |
||||
|
title: "项目", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
value: { |
||||
|
title: "值", |
||||
|
type: "string", |
||||
|
readOnly: true, |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
description: { |
||||
|
title: "描述", |
||||
|
type: "string", |
||||
|
input: "textarea", |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
{ max: 60 }, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_sa_detail_service"; |
||||
|
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 detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
const importMethod = "POST"; |
||||
|
const exportMethod = "POST"; |
||||
|
|
||||
|
export default function () { |
||||
|
return { |
||||
|
query: { |
||||
|
url: queryUrl, |
||||
|
method: queryMethod, |
||||
|
hasFilter: true, |
||||
|
schema: { |
||||
|
title: "JIS结算数据", |
||||
|
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: "project", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
importUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
importMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,132 @@ |
|||||
|
const schema = { |
||||
|
title: "JIS发运数据", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
version: { |
||||
|
title: "版本", |
||||
|
type: "string", |
||||
|
}, |
||||
|
shippingDate: { |
||||
|
title: "发货时间", |
||||
|
type: "string", |
||||
|
input: "datetime", |
||||
|
}, |
||||
|
wmsBillNum: { |
||||
|
title: "发运单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
lu: { |
||||
|
title: "零件号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
pn: { |
||||
|
title: "生产号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
keyCode: { |
||||
|
title: "组合键值(LU+PN)", |
||||
|
type: "string", |
||||
|
}, |
||||
|
qty: { |
||||
|
title: "数量", |
||||
|
type: "number", |
||||
|
}, |
||||
|
seqNumber: { |
||||
|
title: "日顺序号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
assemblyCode: { |
||||
|
title: "小总成号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
injectionCode: { |
||||
|
title: "注塑码", |
||||
|
type: "string", |
||||
|
}, |
||||
|
beginDate: { |
||||
|
title: "订单时间", |
||||
|
type: "string", |
||||
|
input: "datetime", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_se_detail_service"; |
||||
|
const queryUrl = `${baseUrl}/get-list`; |
||||
|
// const deleteUrl = `${baseUrl}/delete-list`;
|
||||
|
const importUrl = `${baseUrl}/import`; |
||||
|
const exportUrl = `${baseUrl}/export`; |
||||
|
const queryMethod = "POST"; |
||||
|
// const deleteMethod = "POST";
|
||||
|
const importMethod = "POST"; |
||||
|
const exportMethod = "POST"; |
||||
|
|
||||
|
export default function () { |
||||
|
return { |
||||
|
query: { |
||||
|
url: queryUrl, |
||||
|
method: queryMethod, |
||||
|
hasFilter: true, |
||||
|
schema: { |
||||
|
title: "JIS发运数据", |
||||
|
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: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
// deleteUrl,
|
||||
|
importUrl, |
||||
|
exportUrl, |
||||
|
// deleteMethod,
|
||||
|
importMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,126 @@ |
|||||
|
const schema = { |
||||
|
title: "可结算单明细", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
settleBillNum: { |
||||
|
title: "关联结算单号", |
||||
|
type: "int", |
||||
|
}, |
||||
|
site: { |
||||
|
title: "工厂地点", |
||||
|
type: "string", |
||||
|
}, |
||||
|
version: { |
||||
|
title: "版本", |
||||
|
type: "int", |
||||
|
}, |
||||
|
price: { |
||||
|
title: "单价", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
billNum: { |
||||
|
title: "结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
settleDate: { |
||||
|
title: "结算日期", |
||||
|
type: "DateTime", |
||||
|
}, |
||||
|
settleInvGroupNumDate: { |
||||
|
title: "发票组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
lu: { |
||||
|
title: "零件号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
materialDesc: { |
||||
|
title: "物料描述", |
||||
|
type: "string", |
||||
|
}, |
||||
|
pn: { |
||||
|
title: "生产号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
qty: { |
||||
|
title: "结算数量", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
groupNumy: { |
||||
|
title: "结算分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/hbpo_can_sa_detail_service"; |
||||
|
const queryUrl = `${baseUrl}/get-list`; |
||||
|
const detailsUrl = `${baseUrl}/get/%s`; |
||||
|
const queryMethod = "POST"; |
||||
|
const detailsMethod = "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: "billNum", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
detailsMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,128 @@ |
|||||
|
import version from "../../version.js"; |
||||
|
import { state2, state3 } from "../../state.js"; |
||||
|
|
||||
|
const schema = { |
||||
|
title: "商务审批", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
settleBillNum: { |
||||
|
title: "关联结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
site: { |
||||
|
title: "工厂地点", |
||||
|
type: "string", |
||||
|
}, |
||||
|
version, |
||||
|
state2, |
||||
|
price: { |
||||
|
title: "单价", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
billNum: { |
||||
|
title: "结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
|
||||
|
settleDate: { |
||||
|
title: "结算日期", |
||||
|
type: "DateTime", |
||||
|
}, |
||||
|
invGroupNum: { |
||||
|
title: "发票分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
lu: { |
||||
|
title: "零件号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
pn: { |
||||
|
title: "生产号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
qty: { |
||||
|
title: "结算数量", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
groupNum: { |
||||
|
title: "结算分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_ba_service"; |
||||
|
const queryUrl = `${baseUrl}/main-query`; |
||||
|
const detailsUrl = `${baseUrl}/get/%s`; |
||||
|
const exportUrl = `${baseUrl}/export`; |
||||
|
const queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const exportMethod = "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: { |
||||
|
detailsUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,100 @@ |
|||||
|
import version from "../../version.js"; |
||||
|
import state from "../../state.js"; |
||||
|
|
||||
|
const schema = { |
||||
|
title: "发票分组号", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
version, |
||||
|
billNum: { |
||||
|
title: "结算单据", |
||||
|
type: "string", |
||||
|
}, |
||||
|
settleBillNum: { |
||||
|
title: "关联结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
state, |
||||
|
invGroupNum: { |
||||
|
title: "发票分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_can_sa_service"; |
||||
|
const queryUrl = `${baseUrl}/main-query`; |
||||
|
const detailsUrl = `${baseUrl}/get/%s`; |
||||
|
const exportUrl = `${baseUrl}/export`; |
||||
|
const queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const exportMethod = "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: { |
||||
|
detailsUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
exportMethod, |
||||
|
|
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,126 @@ |
|||||
|
import version from "../../version.js"; |
||||
|
|
||||
|
const schema = { |
||||
|
title: "不可结算单", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
settleBillNum: { |
||||
|
title: "关联结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
site: { |
||||
|
title: "工厂地点", |
||||
|
type: "string", |
||||
|
}, |
||||
|
version, |
||||
|
price: { |
||||
|
title: "单价", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
billNum: { |
||||
|
title: "结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
|
||||
|
settleDate: { |
||||
|
title: "结算日期", |
||||
|
type: "DateTime", |
||||
|
}, |
||||
|
invGroupNum: { |
||||
|
title: "发票分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
lu: { |
||||
|
title: "零件号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
pn: { |
||||
|
title: "生产号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
qty: { |
||||
|
title: "结算数量", |
||||
|
type: "decimal", |
||||
|
}, |
||||
|
groupNum: { |
||||
|
title: "结算分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_not_sa_service"; |
||||
|
const queryUrl = `${baseUrl}/detail-query`; |
||||
|
const detailsUrl = `${baseUrl}/get/%s`; |
||||
|
const exportUrl = `${baseUrl}/export`; |
||||
|
const queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const exportMethod = "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: { |
||||
|
detailsUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,103 @@ |
|||||
|
import version from "../../version.js"; |
||||
|
import { state2, state3 } from "../../state.js"; |
||||
|
|
||||
|
const schema = { |
||||
|
title: "寄售库库存扣减审批", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
version, |
||||
|
state3, |
||||
|
billNum: { |
||||
|
title: "结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
settleBillNum: { |
||||
|
title: "关联结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
invGroupNum: { |
||||
|
title: "发票分组号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
site: { |
||||
|
title: "地点", |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/bbac_pd_service"; |
||||
|
const queryUrl = `${baseUrl}/main-query`; |
||||
|
const detailsUrl = `${baseUrl}/get/%s`; |
||||
|
const exportUrl = `${baseUrl}/export`; |
||||
|
const queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const exportMethod = "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: { |
||||
|
detailsUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,14 @@ |
|||||
|
const options = [ |
||||
|
{ value: 0, label: "未结状态" }, |
||||
|
{ value: 1, label: "已开票" }, |
||||
|
{ value: 2, label: "商务已审核" }, |
||||
|
{ value: 3, label: "财务已审核" }, |
||||
|
{ value: 4, label: "客户已收票" }, |
||||
|
{ value: 5, label: "已扣减" }, |
||||
|
]; |
||||
|
const state = { title: "状态", type: "string", input: "select", options }; |
||||
|
const state2 = Object.assign(Object.assign({}, state), { options: options.filter((a) => a.value > 0) }); |
||||
|
const state3 = Object.assign(Object.assign({}, state), { options: options.filter((a) => a.value > 3) }); |
||||
|
|
||||
|
export default state; |
||||
|
export { state2, state3 }; |
@ -0,0 +1,8 @@ |
|||||
|
export default { |
||||
|
title: "期间", |
||||
|
type: "string", |
||||
|
input: "select", |
||||
|
url: "settleaccount/centralized-control/get-all", |
||||
|
value: "version", |
||||
|
label: "version", |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/bj/contrast/bj_pub_sa_detail_jobservice.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/bj/contrast/bj_second_pub_sa_detail_jobservice.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/bj/input/bj_pub_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/bj/input/bj_pub_sa_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/bj/input/bj_pub_se_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/bj/settlement/bj_pub_ba_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/bj/settlement/bj_pub_ba_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/bj/settlement/bj_pub_can_sa_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/bj/settlement/bj_pub_not_sa_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/bj/settlement/bj_pub_pd_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/in/contrast/in_pub_sa_detail_jobservice.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/in/contrast/in_second_pub_sa_detail_jobservice.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/in/input/in_pub_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/in/input/in_pub_sa_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/in/input/in_pub_se_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/in/settlement/in_pub_ba_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/in/settlement/in_pub_can_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/in/settlement/in_pub_can_sa_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/in/settlement/in_pub_not_sa_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/in/settlement/in_pub_pd_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/jis-hbpo/settlement/hbpo_ba_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/jis-bbac/contrast/first_bbac_sa_detail_jobservice.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/jis-bbac/contrast/second_bbac_sa_detail_jobservice.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/jis-bbac/contrast/third_bbac_sa_detail_jobservice.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/jis-hbpo/contrast/first_hbpo_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/jis-hbpo/contrast/hbpo_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/jis-hbpo/contrast/second_hbpo_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/jit/contrast/jit_pub_sa_detail_jobservice.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/jit/contrast/jit_second_pub_sa_detail_jobservice.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/jit/input/jit_jit_pub_sa_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/jit/input/jit_pub_sa_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/jit/input/jit_pub_se_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/jit/settlement/jit_pub_ba_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/jit/settlement/jit_pub_ba_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/jit/settlement/jit_pub_can_sa_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/jit/settlement/jit_pub_not_sa_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/jit/settlement/jit_pub_pd_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
Binary file not shown.
Loading…
Reference in new issue