wanggang
1 year ago
147 changed files with 320 additions and 9352 deletions
File diff suppressed because one or more lines are too long
@ -1,127 +0,0 @@ |
|||
import version from "./version.js"; |
|||
|
|||
const stateName = { |
|||
title: "状态", |
|||
type: "string", |
|||
input: "select", |
|||
options: [ |
|||
{ label: "执行完成(任务成功)", value: "Succeeded" }, |
|||
{ label: "执行完成(任务失败)", value: "Failed" }, |
|||
{ label: "执行中", value: "Processing" }, |
|||
{ label: "等待执行", value: "Enqueued" }, |
|||
], |
|||
}; |
|||
|
|||
const schema = { |
|||
title: "数据对比", |
|||
type: "object", |
|||
properties: { |
|||
type: { |
|||
title: "版本号", |
|||
type: "string", |
|||
}, |
|||
taskId: { |
|||
title: "单据流水号", |
|||
type: "string", |
|||
}, |
|||
email: { |
|||
title: "创建人", |
|||
type: "string", |
|||
}, |
|||
createdAt: { |
|||
title: "创建时间", |
|||
type: "DateTime", |
|||
}, |
|||
remark: { |
|||
title: "说明", |
|||
type: "string", |
|||
}, |
|||
stateName, |
|||
}, |
|||
}; |
|||
|
|||
const queryUrl = "settleaccount/Job/list"; |
|||
const deleteUrl = "settleaccount/Job/delete"; |
|||
const exportUrl = "settleaccount/pub_sa_detail_service/export"; |
|||
const compareUrl = "settleaccount/edi-se-compare/bbacedi-se-compare"; |
|||
const queryMethod = "POST"; |
|||
const deleteMethod = "POST"; |
|||
const exportMethod = "POST"; |
|||
const compareMethod = "POST"; |
|||
|
|||
export default function () { |
|||
return { |
|||
query: { |
|||
url: queryUrl, |
|||
method: queryMethod, |
|||
autoSubmit: true, |
|||
disableQueryOnLoad: false, |
|||
schema: { |
|||
title: "数据对比", |
|||
type: "object", |
|||
properties: { |
|||
type: Object.assign({ defaultSelected: false }, version), |
|||
name: { |
|||
type: "string", |
|||
default: null, |
|||
hidden: true, |
|||
}, |
|||
stateName, |
|||
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: { |
|||
deleteUrl, |
|||
exportUrl, |
|||
compareUrl, |
|||
deleteMethod, |
|||
exportMethod, |
|||
compareMethod, |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,132 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,135 +0,0 @@ |
|||
import version from "../../version.js"; |
|||
|
|||
const schema = { |
|||
title: "JIS结算数据", |
|||
type: "object", |
|||
properties: { |
|||
version, |
|||
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: "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, |
|||
}, |
|||
}; |
|||
} |
@ -1,131 +0,0 @@ |
|||
import version from "../../version.js"; |
|||
|
|||
const schema = { |
|||
title: "JIS发运数据", |
|||
type: "object", |
|||
properties: { |
|||
version, |
|||
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: "equal", |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,128 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,128 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,126 +0,0 @@ |
|||
const schema = { |
|||
title: "可结算单明细", |
|||
type: "object", |
|||
properties: { |
|||
settleBillNum: { |
|||
title: "关联结算单号", |
|||
type: "int", |
|||
}, |
|||
site: { |
|||
title: "工厂地点", |
|||
type: "string", |
|||
}, |
|||
version: { |
|||
title: "期间", |
|||
type: "string", |
|||
}, |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,100 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,126 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,103 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,103 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,132 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,135 +0,0 @@ |
|||
import version from "../../version.js"; |
|||
|
|||
const schema = { |
|||
title: "JIS结算数据", |
|||
type: "object", |
|||
properties: { |
|||
version, |
|||
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: "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, |
|||
}, |
|||
}; |
|||
} |
@ -1,131 +0,0 @@ |
|||
import version from "../../version.js"; |
|||
|
|||
const schema = { |
|||
title: "JIS发运数据", |
|||
type: "object", |
|||
properties: { |
|||
version, |
|||
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: "equal", |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,128 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,128 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,126 +0,0 @@ |
|||
const schema = { |
|||
title: "可结算单明细", |
|||
type: "object", |
|||
properties: { |
|||
settleBillNum: { |
|||
title: "关联结算单号", |
|||
type: "int", |
|||
}, |
|||
site: { |
|||
title: "工厂地点", |
|||
type: "string", |
|||
}, |
|||
version: { |
|||
title: "期间", |
|||
type: "string", |
|||
}, |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,100 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,126 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,103 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,103 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,101 +0,0 @@ |
|||
import version from "../version"; |
|||
import { state2, state3 } from "../state"; |
|||
const schema = { |
|||
title: "财务审核", |
|||
type: "object", |
|||
properties: { |
|||
version, |
|||
realnvBillNum: { |
|||
title: "实际纸质发票号", |
|||
type: "string", |
|||
}, |
|||
invbillNum: { |
|||
title: "系统生成发票号", |
|||
type: "string", |
|||
}, |
|||
amt: { |
|||
title: "未税金额", |
|||
type: "decimal", |
|||
}, |
|||
taxAmt: { |
|||
title: "税后金额", |
|||
type: "decimal", |
|||
}, |
|||
fileName: { |
|||
title: "开票Excel文件", |
|||
type: "string", |
|||
}, |
|||
businessType: { |
|||
title: "业务类别", |
|||
type: "EnumBusinessType", |
|||
}, |
|||
state2, |
|||
}, |
|||
}; |
|||
|
|||
const queryUrl = "settleaccount/invoice_service/detail_queryUrl"; |
|||
const queryMethod = "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: { |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,115 +0,0 @@ |
|||
import version from "../version.js"; |
|||
import { state2, state3 } from "../state.js"; |
|||
import invoiceState from "../invoiceState.js"; |
|||
|
|||
const schema = { |
|||
title: "通用代码", |
|||
type: "object", |
|||
properties: { |
|||
version, |
|||
invbillNum: { |
|||
title: "系统生成发票号", |
|||
type: "string", |
|||
link: true, |
|||
}, |
|||
invGroupNum: { |
|||
title: "发票分组号", |
|||
type: "string", |
|||
link: true, |
|||
}, |
|||
amt: { |
|||
title: "金额", |
|||
type: "decimal", |
|||
}, |
|||
state: state2, |
|||
invoiceState, |
|||
taxAmt: { |
|||
title: "税额", |
|||
type: "decimal", |
|||
}, |
|||
}, |
|||
}; |
|||
const queryUrl = "settleaccount/invoice_service/main-query"; |
|||
const exportUrl = "settleaccount/invoice_service/export"; |
|||
const rejectUrl = "settleaccount/invoice_service/reject"; |
|||
const passedUrl = "settleaccount/invoice_service/approval-passed"; |
|||
const sync_qadUrl = "settleaccount/invoice_service/sync_qad"; |
|||
const queryMethod = "POST"; |
|||
const exportMethod = "POST"; |
|||
const rejectMethod = "POST"; |
|||
const passedMethod = "POST"; |
|||
const sync_qadMethod = "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: { |
|||
exportUrl, |
|||
rejectUrl, |
|||
passedUrl, |
|||
sync_qadUrl, |
|||
// importJsonUrl,
|
|||
exportMethod, |
|||
rejectMethod, |
|||
passedMethod, |
|||
sync_qadMethod, |
|||
// importJsonMethod,
|
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,104 +0,0 @@ |
|||
import version from "../version.js"; |
|||
|
|||
const schema = { |
|||
title: "通用代码", |
|||
type: "object", |
|||
properties: { |
|||
version, |
|||
inGroupNum:{ |
|||
title:"发票分组号", |
|||
type:"string", |
|||
}, |
|||
settleGroupNum:{ |
|||
title:"结算分组号", |
|||
type:"string", |
|||
}, |
|||
lu:{ |
|||
title:"可结算分组号", |
|||
type:"string", |
|||
}, |
|||
lu1:{ |
|||
title:"不可结算分组号", |
|||
type:"string", |
|||
}, |
|||
qty:{ |
|||
title:"数量", |
|||
type:"decimal", |
|||
}, |
|||
extend1:{ |
|||
title:"扩展字段1", |
|||
type:"string", |
|||
}, |
|||
extend2:{ |
|||
title:"扩展字段2", |
|||
type:"string", |
|||
}, |
|||
}, |
|||
}; |
|||
|
|||
const queryUrl = "settleaccount/invoice_service/detail_queryUrl"; |
|||
const queryMethod = "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: { |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,120 +0,0 @@ |
|||
import version from "../version.js"; |
|||
|
|||
const schema = { |
|||
title: "通用代码", |
|||
type: "object", |
|||
properties: { |
|||
version, |
|||
invbillNum: { |
|||
title: "发票号", |
|||
type: "string", |
|||
}, |
|||
inGroupNum: { |
|||
title: "发票分组号", |
|||
type: "string", |
|||
}, |
|||
lu: { |
|||
title: "可结算分组号", |
|||
type: "string", |
|||
}, |
|||
price: { |
|||
title: "单价", |
|||
type: "decimal", |
|||
}, |
|||
qty: { |
|||
title: "数量", |
|||
type: "decimal", |
|||
}, |
|||
amt: { |
|||
title: "金额", |
|||
type: "decimal", |
|||
}, |
|||
bussiessType: { |
|||
title: "业务分类", |
|||
type: "EnumBusinessType", |
|||
}, |
|||
extend1: { |
|||
title: "扩展字段1", |
|||
type: "string", |
|||
}, |
|||
extend2: { |
|||
title: "扩展字段2", |
|||
type: "string", |
|||
}, |
|||
extend3: { |
|||
title: "扩展字段3", |
|||
type: "string", |
|||
}, |
|||
extend4: { |
|||
title: "扩展字段4", |
|||
type: "string", |
|||
}, |
|||
}, |
|||
}; |
|||
|
|||
const queryUrl = "settleaccount/invoice_service/detail_queryUrl"; |
|||
const queryMethod = "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: { |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,99 +0,0 @@ |
|||
const schema = { |
|||
title: "JIS结算数据", |
|||
type: "object", |
|||
properties: { |
|||
settleDate: { |
|||
title: "结算日期", |
|||
type: "string", |
|||
input: "dateTime", |
|||
}, |
|||
groupNum: { |
|||
title: "结算分组号", |
|||
type: "string", |
|||
}, |
|||
deliveryDate: { |
|||
title: "到货日期", |
|||
type: "string", |
|||
input: "dateTime", |
|||
}, |
|||
lu: { |
|||
title: "客户零件号", |
|||
type: "string", |
|||
}, |
|||
qty: { |
|||
title: "结算数量", |
|||
type: "number", |
|||
}, |
|||
pn: { |
|||
title: "生产号", |
|||
type: "string", |
|||
}, |
|||
}, |
|||
}; |
|||
|
|||
const queryUrl = "settleaccount/bbac_sa_service/detail_query"; |
|||
const queryMethod = "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: { |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,186 +0,0 @@ |
|||
const schema = { |
|||
title: "JIS发运数据", |
|||
type: "object", |
|||
properties: { |
|||
wmsBillNum: { |
|||
title: "发货单号", |
|||
type: "string", |
|||
}, |
|||
num: { |
|||
title: "单据编号", |
|||
type: "string", |
|||
}, |
|||
billTime: { |
|||
title: "发货时间", |
|||
type: "string", |
|||
input: "datetime", |
|||
}, |
|||
oper: { |
|||
title: "发货人", |
|||
type: "string", |
|||
}, |
|||
orderNum: { |
|||
title: "排序单号", |
|||
type: "string", |
|||
}, |
|||
seq: { |
|||
title: "订单序号", |
|||
type: "string", |
|||
}, |
|||
realCode: { |
|||
title: "实际生产码", |
|||
type: "string", |
|||
}, |
|||
vinCode: { |
|||
title: "订单生产码", |
|||
type: "string", |
|||
}, |
|||
codeType: { |
|||
title: "生产码类型", |
|||
type: "string", |
|||
}, |
|||
realPartCode: { |
|||
title: "实际零件号", |
|||
type: "string", |
|||
}, |
|||
partCode: { |
|||
title: "零件号", |
|||
type: "string", |
|||
}, |
|||
batch: { |
|||
title: "批次", |
|||
type: "string", |
|||
}, |
|||
mesConfigCode: { |
|||
title: "MES配置码", |
|||
type: "string", |
|||
}, |
|||
fromLoc: { |
|||
title: "来源库位", |
|||
type: "string", |
|||
}, |
|||
toLoc: { |
|||
title: "目标库位", |
|||
type: "string", |
|||
}, |
|||
refVinCode: { |
|||
title: "参照订单生产码", |
|||
type: "string", |
|||
}, |
|||
billCharacter: { |
|||
title: "单据性质", |
|||
type: "string", |
|||
}, |
|||
refBillNum: { |
|||
title: "发货关联单号", |
|||
type: "string", |
|||
}, |
|||
erpToLoc: { |
|||
title: "Erp目标库位", |
|||
type: "string", |
|||
}, |
|||
origiCode: { |
|||
title: "原生产码", |
|||
type: "string", |
|||
}, |
|||
remark: { |
|||
title: "备注", |
|||
type: "string", |
|||
}, |
|||
uniqueCode: { |
|||
title: "塑件唯一码", |
|||
type: "string", |
|||
}, |
|||
pjsNum: { |
|||
title: "PJS顺序号", |
|||
type: "string", |
|||
}, |
|||
matchNumber: { |
|||
title: "虚拟小总成", |
|||
type: "string", |
|||
}, |
|||
deliverCode: { |
|||
title: "发货条码", |
|||
type: "string", |
|||
}, |
|||
position: { |
|||
title: "客户位置", |
|||
type: "string", |
|||
}, |
|||
}, |
|||
}; |
|||
|
|||
const queryUrl = "settleaccount/bbac_se_detail_service/get-list"; |
|||
const exportUrl = "settleaccount/bbac_se_detail_service/export"; |
|||
const syncUrl = "settleaccount/bbacse-sync/invoke"; |
|||
const queryMethod = "POST"; |
|||
const exportMethod = "POST"; |
|||
const syncMethod = "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: "wmsBillNum", |
|||
action: "like", |
|||
value: null, |
|||
readOnly: true, |
|||
}, |
|||
], |
|||
}, |
|||
skipCount: { |
|||
hidden: true, |
|||
default: 0, |
|||
}, |
|||
maxResultCount: { |
|||
hidden: true, |
|||
default: 10, |
|||
}, |
|||
sorting: { |
|||
hidden: true, |
|||
}, |
|||
}, |
|||
}, |
|||
}, |
|||
table: { |
|||
schema: schema, |
|||
}, |
|||
edit: { |
|||
exportUrl, |
|||
syncUrl, |
|||
exportMethod, |
|||
syncMethod, |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,118 +0,0 @@ |
|||
import version from "../../version.js"; |
|||
|
|||
const schema = { |
|||
title: "EDI数据", |
|||
type: "object", |
|||
properties: { |
|||
keyCode: { |
|||
title: "LU+生产码", |
|||
type: "string", |
|||
}, |
|||
version, |
|||
lu: { |
|||
title: "零件号", |
|||
type: "string", |
|||
}, |
|||
pn: { |
|||
title: "生产码", |
|||
type: "string", |
|||
}, |
|||
seqNumber: { |
|||
title: "日顺序号", |
|||
type: "string", |
|||
}, |
|||
assemblyCode: { |
|||
title: "小总成号", |
|||
type: "string", |
|||
}, |
|||
injectionCode: { |
|||
title: "注塑码", |
|||
type: "string", |
|||
}, |
|||
qty: { |
|||
title: "EDI数量", |
|||
type: "number", |
|||
}, |
|||
beginDate: { |
|||
title: "订货时间", |
|||
type: "string", |
|||
input: "datetime", |
|||
}, |
|||
id: { |
|||
type: "string", |
|||
hidden: true, |
|||
showForList: false, |
|||
}, |
|||
}, |
|||
}; |
|||
|
|||
const queryUrl = "settleaccount/bbac_se_edi_service/get-list"; |
|||
const exportUrl = "settleaccount/bbac_se_edi_service/export"; |
|||
const queryMethod = "POST"; |
|||
const exportMethod = "POST"; |
|||
|
|||
export default function () { |
|||
return { |
|||
query: { |
|||
url: queryUrl, |
|||
method: queryMethod, |
|||
hasFilter: true, |
|||
schema: { |
|||
title: "EDI数据", |
|||
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: { |
|||
exportUrl, |
|||
exportMethod, |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,123 +0,0 @@ |
|||
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 queryUrl = "settleaccount/b-bAC_BA_SERVICE/detail-query"; |
|||
const queryMethod = "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, |
|||
}, |
|||
businessType: { |
|||
hidden: true, |
|||
default: 0, |
|||
}, |
|||
}, |
|||
}, |
|||
}, |
|||
table: { |
|||
schema: schema, |
|||
}, |
|||
edit: { |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,125 +0,0 @@ |
|||
const schema = { |
|||
title: "发票分组号明细", |
|||
type: "object", |
|||
properties: { |
|||
// settleBillNum: {
|
|||
// title: "关联结算单号",
|
|||
// type: "int",
|
|||
// },
|
|||
// site: {
|
|||
// title: "工厂地点",
|
|||
// type: "string",
|
|||
// },
|
|||
version: { |
|||
title: "期间", |
|||
type: "string", |
|||
}, |
|||
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", |
|||
}, |
|||
groupNum: { |
|||
title: "结算分组号", |
|||
type: "string", |
|||
}, |
|||
}, |
|||
}; |
|||
|
|||
const queryUrl = "settleaccount/bbac_can_sa_service/detail-query"; |
|||
const queryMethod = "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, |
|||
}, |
|||
businessType: { |
|||
hidden: true, |
|||
default: 0, |
|||
}, |
|||
}, |
|||
}, |
|||
}, |
|||
table: { |
|||
schema: schema, |
|||
}, |
|||
edit: { |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,102 +0,0 @@ |
|||
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 queryUrl = "settleaccount/bbac_can_sa_service/main-query"; |
|||
const exportUrl = "settleaccount/bbac_can_sa_service/export"; |
|||
const invoiceUrl = "settleaccount/bbac_can_sa_service/generate-invoice"; |
|||
const queryMethod = "POST"; |
|||
const exportMethod = "POST"; |
|||
const invoiceMethod = "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, |
|||
}, |
|||
businessType: { |
|||
hidden: true, |
|||
default: 0, |
|||
}, |
|||
}, |
|||
}, |
|||
}, |
|||
table: { |
|||
schema: schema, |
|||
}, |
|||
edit: { |
|||
exportUrl, |
|||
invoiceUrl, |
|||
exportMethod, |
|||
invoiceMethod, |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,129 +0,0 @@ |
|||
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 queryUrl = "settleaccount/bbac_not_sa_service/detail-query"; |
|||
const exportUrl = "settleaccount/bbac_not_sa_service/export"; |
|||
const settlementUrl = "settleaccount/bbac_not_sa_service/generate-settlement-order"; |
|||
const queryMethod = "POST"; |
|||
const exportMethod = "POST"; |
|||
const settlementMethod = "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, |
|||
}, |
|||
businessType: { |
|||
hidden: true, |
|||
default: 0, |
|||
}, |
|||
}, |
|||
}, |
|||
}, |
|||
table: { |
|||
schema: schema, |
|||
}, |
|||
edit: { |
|||
exportUrl, |
|||
settlementUrl, |
|||
exportMethod, |
|||
settlementMethod, |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,110 +0,0 @@ |
|||
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 queryUrl = "settleaccount/b-bAC_PD_SERVICE/main-query"; |
|||
const exportUrl = "settleaccount/b-bAC_PD_SERVICE/export"; |
|||
const rejectUrl = "settleaccount/b-bAC_PD_SERVICE/reject"; |
|||
const passedUrl = "settleaccount/b-bAC_PD_SERVICE/approval-passed"; |
|||
const queryMethod = "POST"; |
|||
const exportMethod = "POST"; |
|||
const rejectMethod = "POST"; |
|||
const passedMethod = "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, |
|||
}, |
|||
businessType: { |
|||
hidden: true, |
|||
default: 0, |
|||
}, |
|||
}, |
|||
}, |
|||
}, |
|||
table: { |
|||
schema: schema, |
|||
}, |
|||
edit: { |
|||
exportUrl, |
|||
rejectUrl, |
|||
passedUrl, |
|||
exportMethod, |
|||
rejectMethod, |
|||
passedMethod, |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,100 +0,0 @@ |
|||
const schema = { |
|||
title: "JIS结算数据", |
|||
type: "object", |
|||
properties: { |
|||
settleDate: { |
|||
title: "结算日期", |
|||
type: "string", |
|||
input: "dateTime", |
|||
}, |
|||
groupNum: { |
|||
title: "结算分组号", |
|||
type: "string", |
|||
}, |
|||
deliveryDate: { |
|||
title: "到货日期", |
|||
type: "string", |
|||
input: "dateTime", |
|||
}, |
|||
lu: { |
|||
title: "客户零件号", |
|||
type: "string", |
|||
}, |
|||
qty: { |
|||
title: "结算数量", |
|||
type: "number", |
|||
}, |
|||
pn: { |
|||
title: "生产号", |
|||
type: "string", |
|||
}, |
|||
}, |
|||
}; |
|||
|
|||
const baseUrl = "settleaccount/hbpo_sa_service"; |
|||
const queryUrl = `${baseUrl}detail_query`; |
|||
const queryMethod = "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: { |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,186 +0,0 @@ |
|||
const schema = { |
|||
title: "JIS发运数据", |
|||
type: "object", |
|||
properties: { |
|||
wmsBillNum: { |
|||
title: "发货单号", |
|||
type: "string", |
|||
}, |
|||
num: { |
|||
title: "单据编号", |
|||
type: "string", |
|||
}, |
|||
billTime: { |
|||
title: "发货时间", |
|||
type: "string", |
|||
input: "datetime", |
|||
}, |
|||
oper: { |
|||
title: "发货人", |
|||
type: "string", |
|||
}, |
|||
orderNum: { |
|||
title: "排序单号", |
|||
type: "string", |
|||
}, |
|||
seq: { |
|||
title: "订单序号", |
|||
type: "string", |
|||
}, |
|||
realCode: { |
|||
title: "实际生产码", |
|||
type: "string", |
|||
}, |
|||
vinCode: { |
|||
title: "订单生产码", |
|||
type: "string", |
|||
}, |
|||
codeType: { |
|||
title: "生产码类型", |
|||
type: "string", |
|||
}, |
|||
realPartCode: { |
|||
title: "实际零件号", |
|||
type: "string", |
|||
}, |
|||
partCode: { |
|||
title: "零件号", |
|||
type: "string", |
|||
}, |
|||
batch: { |
|||
title: "批次", |
|||
type: "string", |
|||
}, |
|||
mesConfigCode: { |
|||
title: "MES配置码", |
|||
type: "string", |
|||
}, |
|||
fromLoc: { |
|||
title: "来源库位", |
|||
type: "string", |
|||
}, |
|||
toLoc: { |
|||
title: "目标库位", |
|||
type: "string", |
|||
}, |
|||
refVinCode: { |
|||
title: "参照订单生产码", |
|||
type: "string", |
|||
}, |
|||
billCharacter: { |
|||
title: "单据性质", |
|||
type: "string", |
|||
}, |
|||
refBillNum: { |
|||
title: "发货关联单号", |
|||
type: "string", |
|||
}, |
|||
erpToLoc: { |
|||
title: "Erp目标库位", |
|||
type: "string", |
|||
}, |
|||
origiCode: { |
|||
title: "原生产码", |
|||
type: "string", |
|||
}, |
|||
remark: { |
|||
title: "备注", |
|||
type: "string", |
|||
}, |
|||
uniqueCode: { |
|||
title: "塑件唯一码", |
|||
type: "string", |
|||
}, |
|||
pjsNum: { |
|||
title: "PJS顺序号", |
|||
type: "string", |
|||
}, |
|||
matchNumber: { |
|||
title: "虚拟小总成", |
|||
type: "string", |
|||
}, |
|||
deliverCode: { |
|||
title: "发货条码", |
|||
type: "string", |
|||
}, |
|||
position: { |
|||
title: "客户位置", |
|||
type: "string", |
|||
}, |
|||
}, |
|||
}; |
|||
|
|||
const queryUrl = "settleaccount/hbpo_se_detail_service/get-list"; |
|||
const exportUrl = "settleaccount/hbpo_se_detail_service/export"; |
|||
const syncUrl = "settleaccount/hbpose-sync/invoke"; |
|||
const queryMethod = "POST"; |
|||
const exportMethod = "POST"; |
|||
const syncMethod = "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: "wmsBillNum", |
|||
action: "like", |
|||
value: null, |
|||
readOnly: true, |
|||
}, |
|||
], |
|||
}, |
|||
skipCount: { |
|||
hidden: true, |
|||
default: 0, |
|||
}, |
|||
maxResultCount: { |
|||
hidden: true, |
|||
default: 10, |
|||
}, |
|||
sorting: { |
|||
hidden: true, |
|||
}, |
|||
}, |
|||
}, |
|||
}, |
|||
table: { |
|||
schema: schema, |
|||
}, |
|||
edit: { |
|||
exportUrl, |
|||
syncUrl, |
|||
exportMethod, |
|||
syncMethod, |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,118 +0,0 @@ |
|||
import version from "../../version.js"; |
|||
|
|||
const schema = { |
|||
title: "EDI数据", |
|||
type: "object", |
|||
properties: { |
|||
keyCode: { |
|||
title: "LU+生产码", |
|||
type: "string", |
|||
}, |
|||
version, |
|||
lu: { |
|||
title: "零件号", |
|||
type: "string", |
|||
}, |
|||
pn: { |
|||
title: "生产码", |
|||
type: "string", |
|||
}, |
|||
seqNumber: { |
|||
title: "日顺序号", |
|||
type: "string", |
|||
}, |
|||
assemblyCode: { |
|||
title: "小总成号", |
|||
type: "string", |
|||
}, |
|||
injectionCode: { |
|||
title: "注塑码", |
|||
type: "string", |
|||
}, |
|||
qty: { |
|||
title: "EDI数量", |
|||
type: "number", |
|||
}, |
|||
beginDate: { |
|||
title: "订货时间", |
|||
type: "string", |
|||
input: "datetime", |
|||
}, |
|||
id: { |
|||
type: "string", |
|||
hidden: true, |
|||
showForList: false, |
|||
}, |
|||
}, |
|||
}; |
|||
|
|||
const queryUrl = "settleaccount/hbpo_se_edi_service/get-list"; |
|||
const exportUrl = "settleaccount/hbpo_se_edi_service/export"; |
|||
const queryMethod = "POST"; |
|||
const exportMethod = "POST"; |
|||
|
|||
export default function () { |
|||
return { |
|||
query: { |
|||
url: queryUrl, |
|||
method: queryMethod, |
|||
hasFilter: true, |
|||
schema: { |
|||
title: "EDI数据", |
|||
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: { |
|||
exportUrl, |
|||
exportMethod, |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,127 +0,0 @@ |
|||
import version from "../../version.js"; |
|||
import { state2, state3 } from "../../state.js"; |
|||
|
|||
const schema = { |
|||
title: "不可结算单", |
|||
type: "object", |
|||
properties: { |
|||
state2, |
|||
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/hbpo_ba_service"; |
|||
const queryUrl = `${baseUrl}/detail-query`; |
|||
|
|||
const queryMethod = "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, |
|||
}, |
|||
businessType: { |
|||
hidden: true, |
|||
default: 0, |
|||
}, |
|||
}, |
|||
}, |
|||
}, |
|||
table: { |
|||
schema: schema, |
|||
}, |
|||
edit: { |
|||
queryUrl, |
|||
queryMethod, |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,128 +0,0 @@ |
|||
const schema = { |
|||
title: "可结算单明细", |
|||
type: "object", |
|||
properties: { |
|||
// settleBillNum: {
|
|||
// title: "关联结算单号",
|
|||
// type: "int",
|
|||
// },
|
|||
// site: {
|
|||
// title: "工厂地点",
|
|||
// type: "string",
|
|||
// },
|
|||
version: { |
|||
title: "期间", |
|||
type: "string", |
|||
}, |
|||
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", |
|||
}, |
|||
groupNum: { |
|||
title: "结算分组号", |
|||
type: "string", |
|||
}, |
|||
}, |
|||
}; |
|||
|
|||
const baseUrl = "settleaccount/hbpo_can_sa_service"; |
|||
const queryUrl = `${baseUrl}/detail_query`; |
|||
const queryMethod = "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, |
|||
}, |
|||
businessType: { |
|||
hidden: true, |
|||
default: 0, |
|||
}, |
|||
}, |
|||
}, |
|||
}, |
|||
table: { |
|||
schema: schema, |
|||
}, |
|||
edit: { |
|||
queryUrl, |
|||
queryMethod, |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,104 +0,0 @@ |
|||
import version from "../../version.js"; |
|||
import state from "../../state.js"; |
|||
|
|||
const schema = { |
|||
title: "可结算单", |
|||
type: "object", |
|||
properties: { |
|||
version, |
|||
state, |
|||
billNum: { |
|||
title: "结算单据", |
|||
type: "string", |
|||
}, |
|||
settleBillNum: { |
|||
title: "关联结算单号", |
|||
type: "string", |
|||
}, |
|||
invGroupNum: { |
|||
title: "发票分组号", |
|||
type: "string", |
|||
}, |
|||
}, |
|||
}; |
|||
|
|||
const baseUrl = "settleaccount/hbpo_can_sa_service"; |
|||
const queryUrl = `${baseUrl}/main-query`; |
|||
const exportUrl = `${baseUrl}/export`; |
|||
const invoiceUrl = "settleaccount/hbpo_can_sa_service/generate-invoice"; |
|||
|
|||
const queryMethod = "POST"; |
|||
const exportMethod = "POST"; |
|||
const invoiceMethod = "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, |
|||
}, |
|||
businessType: { |
|||
hidden: true, |
|||
default: 0, |
|||
}, |
|||
}, |
|||
}, |
|||
}, |
|||
table: { |
|||
schema: schema, |
|||
}, |
|||
edit: { |
|||
exportUrl, |
|||
invoiceUrl, |
|||
exportMethod, |
|||
invoiceMethod, |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,129 +0,0 @@ |
|||
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 queryUrl = "settleaccount/hbpo_not_sa_service/detail-query"; |
|||
const exportUrl = "settleaccount/hbpo_not_sa_service/export"; |
|||
const settlementUrl = "settleaccount/hbpo_not_sa_service/generate-settlement-order"; |
|||
const queryMethod = "POST"; |
|||
const exportMethod = "POST"; |
|||
const settlementMethod = "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, |
|||
}, |
|||
businessType: { |
|||
hidden: true, |
|||
default: 0, |
|||
}, |
|||
}, |
|||
}, |
|||
}, |
|||
table: { |
|||
schema: schema, |
|||
}, |
|||
edit: { |
|||
exportUrl, |
|||
settlementUrl, |
|||
exportMethod, |
|||
settlementMethod, |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,101 +0,0 @@ |
|||
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/hbpo_pd_service"; |
|||
const queryUrl = `${baseUrl}/detail_query`; |
|||
const queryMethod = "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, |
|||
}, |
|||
businessType: { |
|||
hidden: true, |
|||
default: 0, |
|||
}, |
|||
}, |
|||
}, |
|||
}, |
|||
table: { |
|||
schema: schema, |
|||
}, |
|||
edit: { |
|||
queryUrl, |
|||
queryMethod, |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,110 +0,0 @@ |
|||
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 queryUrl = "settleaccount/h-bPO_PD_SERVICE/main-query"; |
|||
const exportUrl = "settleaccount/h-bPO_PD_SERVICE/export"; |
|||
const passedUrl = "settleaccount/h-bPO_PD_SERVICE/approval-passed"; |
|||
const rejectUrl = "settleaccount/h-bPO_PD_SERVICE/reject"; |
|||
const queryMethod = "POST"; |
|||
const exportMethod = "POST"; |
|||
const passedMethod = "POST"; |
|||
const rejectMethod = "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, |
|||
}, |
|||
businessType: { |
|||
hidden: true, |
|||
default: 0, |
|||
}, |
|||
}, |
|||
}, |
|||
}, |
|||
table: { |
|||
schema: schema, |
|||
}, |
|||
edit: { |
|||
exportUrl, |
|||
passedUrl, |
|||
rejectUrl, |
|||
exportMethod, |
|||
passedMethod, |
|||
rejectMethod, |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
@ -1,135 +0,0 @@ |
|||
import version from "../../version.js"; |
|||
|
|||
const schema = { |
|||
title: "JIS结算数据", |
|||
type: "object", |
|||
properties: { |
|||
version, |
|||
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: "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, |
|||
}, |
|||
}; |
|||
} |
@ -1,132 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,131 +0,0 @@ |
|||
import version from "../../version.js"; |
|||
|
|||
const schema = { |
|||
title: "JIS发运数据", |
|||
type: "object", |
|||
properties: { |
|||
version, |
|||
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: "equal", |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,128 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,128 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,126 +0,0 @@ |
|||
const schema = { |
|||
title: "可结算单明细", |
|||
type: "object", |
|||
properties: { |
|||
settleBillNum: { |
|||
title: "关联结算单号", |
|||
type: "int", |
|||
}, |
|||
site: { |
|||
title: "工厂地点", |
|||
type: "string", |
|||
}, |
|||
version: { |
|||
title: "期间", |
|||
type: "string", |
|||
}, |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,100 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,126 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,103 +0,0 @@ |
|||
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, |
|||
}, |
|||
}; |
|||
} |
@ -1,103 +0,0 @@ |
|||
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,156 @@ |
|||
import version from "../version.js"; |
|||
import { state2 } from "../state.js"; |
|||
import businessType from "../businessType.js"; |
|||
import invoiceState from "../invoiceState.js"; |
|||
|
|||
const state = Object.assign({}, state2); |
|||
state.input = "tabs"; |
|||
const schema = { |
|||
title: "商务审批", |
|||
type: "object", |
|||
properties: { |
|||
version, |
|||
realnvBillNum: { |
|||
title: "金税发票号", |
|||
type: "string", |
|||
}, |
|||
invbillNum: { |
|||
title: "系统发票号", |
|||
type: "string", |
|||
link: true, |
|||
}, |
|||
amt: { |
|||
title: "未税金额", |
|||
type: "number", |
|||
}, |
|||
taxAmt: { |
|||
title: "税后金额", |
|||
type: "number", |
|||
}, |
|||
invGroupNum: { |
|||
title: "发票分组号", |
|||
type: "number", |
|||
link: true, |
|||
}, |
|||
businessType, |
|||
state, |
|||
invoiceState, |
|||
taxDiff: { |
|||
title: "发票税后尾差", |
|||
type: "number", |
|||
}, |
|||
clientCode: { |
|||
title: "客户代码", |
|||
type: "string", |
|||
}, |
|||
}, |
|||
}; |
|||
|
|||
export default function (businessType, type) { |
|||
let service = null; |
|||
if (type === "shangwu") { |
|||
if (businessType === "JisBBAC") { |
|||
service = "bbac_ba_service"; |
|||
} else if (businessType === "JisBBAC") { |
|||
service = "hbpo_ba_service"; |
|||
} else { |
|||
service = "pub_ba_service"; |
|||
} |
|||
} else { |
|||
service = "invoice_service"; |
|||
} |
|||
const queryUrl = `settleaccount/${service}/main-query`; |
|||
const exportUrl = `settleaccount/${service}/export`; |
|||
const invoiceUrl = `settleaccount/${service}/generate-invoice`; |
|||
const receivedUrl = `settleaccount/${service}/received`; |
|||
const rejectUrl = `settleaccount/${service}/reject`; |
|||
const reissueUrl = `settleaccount/${service}/reissue-invoice`; |
|||
const queryMethod = "POST"; |
|||
const exportMethod = "POST"; |
|||
const invoiceMethod = "POST"; |
|||
const receivedMethod = "POST"; |
|||
const rejectMethod = "POST"; |
|||
const reissueMethod = "POST"; |
|||
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, |
|||
}, |
|||
{ |
|||
logic: "and", |
|||
column: "state", |
|||
action: "equal", |
|||
value: null, |
|||
readOnly: true, |
|||
}, |
|||
], |
|||
}, |
|||
skipCount: { |
|||
hidden: true, |
|||
default: 0, |
|||
}, |
|||
maxResultCount: { |
|||
hidden: true, |
|||
default: 10, |
|||
}, |
|||
sorting: { |
|||
hidden: true, |
|||
}, |
|||
businessType: { |
|||
hidden: true, |
|||
default: 0, |
|||
}, |
|||
}, |
|||
}, |
|||
}, |
|||
table: { |
|||
schema: schema, |
|||
}, |
|||
edit: { |
|||
exportUrl, |
|||
invoiceUrl, |
|||
receivedUrl, |
|||
rejectUrl, |
|||
reissueUrl, |
|||
exportMethod, |
|||
invoiceMethod, |
|||
receivedMethod, |
|||
rejectMethod, |
|||
reissueMethod, |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
File diff suppressed because it is too large
@ -1,24 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/job-service.js"; |
|||
import { ref, onMounted, onUnmounted } from "vue"; |
|||
|
|||
export default { |
|||
components: { AppList }, |
|||
template: html`<app-list ref="appListRef" :config="config" @command="onCommand" />`, |
|||
setup() { |
|||
const config = useConfig(); |
|||
config.query.schema.title = "发运与结算"; |
|||
const onCommand = async (item, rows) => { |
|||
console.log(item.path, item, rows); |
|||
}; |
|||
config.query.schema.properties.name.default = "备件结算与发运数据对比"; |
|||
config.query.schema.properties.businessType.default = "BeiJian"; |
|||
const appListRef = ref(null); |
|||
onMounted(() => |
|||
PubSub.subscribe(config.query.schema.properties.businessType.default, async () => await appListRef.value.load()) |
|||
); |
|||
onUnmounted(() => PubSub.unsubscribe(config.query.schema.properties.businessType.default)); |
|||
return { config, onCommand, appListRef }; |
|||
}, |
|||
}; |
@ -1,16 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/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); |
|||
}; |
|||
config.query.schema.properties.businessType.default = "BeiJian"; |
|||
return { config, onCommand }; |
|||
}, |
|||
}; |
@ -1,16 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/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); |
|||
}; |
|||
config.query.schema.properties.businessType.default = "BeiJian"; |
|||
return { config, onCommand }; |
|||
}, |
|||
}; |
@ -1,23 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import { ref } from "vue"; |
|||
import useConfig from "../../../models/pub_ba_service.js"; |
|||
import AppCheck from "../../_check.js"; |
|||
|
|||
export default { |
|||
components: { AppList, AppCheck }, |
|||
template: html`<app-list :config="config" @command="onCommand" />
|
|||
<app-check v-if="visable" v-model="visable" :data="data" :isBusiness="true" />`,
|
|||
setup() { |
|||
const config = useConfig(); |
|||
const visable = ref(false); |
|||
const data = ref(null); |
|||
const onCommand = async (item, rows) => { |
|||
data.value = { [item.path]: rows[0][item.path] }; |
|||
visable.value = true; |
|||
console.log(item.path, item, rows); |
|||
}; |
|||
config.query.schema.properties.businessType.default = "BeiJian"; |
|||
return { config, onCommand, visable, data }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/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 }; |
|||
}, |
|||
}; |
@ -1,16 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/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 }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/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 }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/pub_pd_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 }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/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 }; |
|||
}, |
|||
}; |
@ -1,24 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/job-service.js"; |
|||
import { ref, onMounted, onUnmounted } from "vue"; |
|||
|
|||
export default { |
|||
components: { AppList }, |
|||
template: html`<app-list ref="appListRef" :config="config" @command="onCommand" />`, |
|||
setup() { |
|||
const config = useConfig(); |
|||
config.query.schema.title = "发运与结算"; |
|||
const onCommand = async (item, rows) => { |
|||
console.log(item.path, item, rows); |
|||
}; |
|||
config.query.schema.properties.businessType.default = "YinDuJian"; |
|||
config.query.schema.properties.name.default = "印度件结算与发运数据对比"; |
|||
const appListRef = ref(null); |
|||
onMounted(() => |
|||
PubSub.subscribe(config.query.schema.properties.name.default, async () => await appListRef.value.load()) |
|||
); |
|||
onUnmounted(() => PubSub.unsubscribe(config.query.schema.properties.businessType.default)); |
|||
return { config, onCommand, appListRef }; |
|||
}, |
|||
}; |
@ -1,16 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/job-service.js"; |
|||
|
|||
export default { |
|||
components: { AppList }, |
|||
template: html`<app-list :config="config" @command="onCommand" />`, |
|||
setup() { |
|||
const config = useConfig(); |
|||
config.query.schema.title = "发运与结算二次"; |
|||
const onCommand = async (item, rows) => { |
|||
console.log(item.path, item, rows); |
|||
}; |
|||
return { config, onCommand }; |
|||
}, |
|||
}; |
@ -1,16 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/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); |
|||
}; |
|||
config.query.schema.properties.businessType.default = "YinDuJian"; |
|||
return { config, onCommand }; |
|||
}, |
|||
}; |
@ -1,16 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/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); |
|||
}; |
|||
config.query.schema.properties.businessType.default = "YinDuJian"; |
|||
return { config, onCommand }; |
|||
}, |
|||
}; |
@ -1,23 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import { ref } from "vue"; |
|||
import useConfig from "../../../models/pub_ba_service.js"; |
|||
import AppCheck from "../../_check.js"; |
|||
|
|||
export default { |
|||
components: { AppList, AppCheck }, |
|||
template: html`<app-list :config="config" @command="onCommand" />
|
|||
<app-check v-if="visable" v-model="visable" :data="data" :isBusiness="true" />`,
|
|||
setup() { |
|||
const config = useConfig(); |
|||
const visable = ref(false); |
|||
const data = ref(null); |
|||
const onCommand = async (item, rows) => { |
|||
data.value = { [item.path]: rows[0][item.path] }; |
|||
visable.value = true; |
|||
console.log(item.path, item, rows); |
|||
}; |
|||
config.query.schema.properties.businessType.default = "YinDuJian"; |
|||
return { config, onCommand, visable, data }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/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 }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/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 }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/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 }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/pub_pd_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 }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/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 }; |
|||
}, |
|||
}; |
@ -1,23 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import AppForm from "../../../components/form/index.js"; |
|||
import html from "html"; |
|||
import { ref } from "vue"; |
|||
import useConfig from "../../../models/invoice/invoice_map_group.js"; |
|||
import AppCheck from "../_check.js"; |
|||
|
|||
export default { |
|||
components: { AppList, AppForm, AppCheck }, |
|||
template: html`<app-list :config="config" @command="onCommand" />
|
|||
<app-check v-if="visable" v-model="visable" :data="data" />`,
|
|||
setup() { |
|||
const config = useConfig(); |
|||
const visable = ref(false); |
|||
const data = ref(null); |
|||
const onCommand = async (item, rows) => { |
|||
data.value = { [item.path]: rows[0][item.path] }; |
|||
visable.value = true; |
|||
console.log(item.path, item, rows); |
|||
}; |
|||
return { config, onCommand, visable, data }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/invoice/invoice_not_settle.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 }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/invoice/invoice_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 }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/invoice/invoice_wait_detail.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 }; |
|||
}, |
|||
}; |
@ -1,22 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/bbac-edi-se-compare.js"; |
|||
import { ref, onMounted, onUnmounted } from "vue"; |
|||
|
|||
export default { |
|||
components: { AppList }, |
|||
template: html`<app-list ref="appListRef" :config="config" @command="onCommand" />`, |
|||
setup() { |
|||
const config = useConfig(); |
|||
config.query.schema.title = "EDI与发运数据"; |
|||
const onCommand = async (item, rows) => { |
|||
console.log(item.path, item, rows); |
|||
}; |
|||
//
|
|||
const appListRef = ref(null); |
|||
const event = "SaSeCompare"; |
|||
onMounted(() => PubSub.subscribe(event, async () => await appListRef.value.load())); |
|||
onUnmounted(() => PubSub.unsubscribe(event)); |
|||
return { config, onCommand, appListRef }; |
|||
}, |
|||
}; |
@ -1,22 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/job-service.js"; |
|||
import { ref, onMounted, onUnmounted } from "vue"; |
|||
|
|||
export default { |
|||
components: { AppList }, |
|||
template: html`<app-list ref="appListRef" :config="config" @command="onCommand" />`, |
|||
setup() { |
|||
const config = useConfig(); |
|||
config.query.schema.title = "EDI、发运与结算"; |
|||
const onCommand = async (item, rows) => { |
|||
console.log(item.path, item, rows); |
|||
}; |
|||
//
|
|||
const appListRef = ref(null); |
|||
const event = "SaSeCompare"; |
|||
onMounted(() => PubSub.subscribe(event, async () => await appListRef.value.load())); |
|||
onUnmounted(() => PubSub.unsubscribe(event)); |
|||
return { config, onCommand, appListRef }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/jis-bbac/input/bbac_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 }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/jis-bbac/input/bbac_se_edi_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 }; |
|||
}, |
|||
}; |
@ -1,16 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/jis-bbac/settlement/bbac_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); |
|||
}; |
|||
config.query.schema.properties.businessType.default = "JisBBAC"; |
|||
return { config, onCommand }; |
|||
}, |
|||
}; |
@ -1,23 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import { ref } from "vue"; |
|||
import useConfig from "../../../models/pub_ba_service.js"; |
|||
import AppCheck from "../../_check.js"; |
|||
|
|||
export default { |
|||
components: { AppList, AppCheck }, |
|||
template: html`<app-list :config="config" @command="onCommand" />
|
|||
<app-check v-if="visable" v-model="visable" :data="data" :isBusiness="true" />`,
|
|||
setup() { |
|||
const config = useConfig(); |
|||
const visable = ref(false); |
|||
const data = ref(null); |
|||
const onCommand = async (item, rows) => { |
|||
data.value = { [item.path]: rows[0][item.path] }; |
|||
visable.value = true; |
|||
console.log(item.path, item, rows); |
|||
}; |
|||
config.query.schema.properties.businessType.default = "JisBBAC"; |
|||
return { config, onCommand, visable, data }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/jis-bbac/settlement/bbac_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 }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/jis-bbac/settlement/bbac_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 }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/jis-bbac/settlement/bbac_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 }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/jis-bbac/settlement/bbac_pd_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 }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/jis-bbac/settlement/bbac_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 }; |
|||
}, |
|||
}; |
@ -1,22 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/job-service.js"; |
|||
import { ref, onMounted, onUnmounted } from "vue"; |
|||
|
|||
export default { |
|||
components: { AppList }, |
|||
template: html`<app-list ref="appListRef" :config="config" @command="onCommand" />`, |
|||
setup() { |
|||
const config = useConfig(); |
|||
config.query.schema.title = "EDI、发运与结算"; |
|||
const onCommand = async (item, rows) => { |
|||
console.log(item.path, item, rows); |
|||
}; |
|||
//
|
|||
const appListRef = ref(null); |
|||
const event = "SaSeCompare"; |
|||
onMounted(() => PubSub.subscribe(event, async () => await appListRef.value.load())); |
|||
onUnmounted(() => PubSub.unsubscribe(event)); |
|||
return { config, onCommand, appListRef }; |
|||
}, |
|||
}; |
@ -1,22 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/hbpo-edi-se-compare.js"; |
|||
import { ref, onMounted, onUnmounted } from "vue"; |
|||
|
|||
export default { |
|||
components: { AppList }, |
|||
template: html`<app-list ref="appListRef" :config="config" @command="onCommand" />`, |
|||
setup() { |
|||
const config = useConfig(); |
|||
config.query.schema.title = "EDI与发运数据"; |
|||
const onCommand = async (item, rows) => { |
|||
console.log(item.path, item, rows); |
|||
}; |
|||
//
|
|||
const appListRef = ref(null); |
|||
const event = "SaSeCompare"; |
|||
onMounted(() => PubSub.subscribe(event, async () => await appListRef.value.load())); |
|||
onUnmounted(() => PubSub.unsubscribe(event)); |
|||
return { config, onCommand, appListRef }; |
|||
}, |
|||
}; |
@ -1,15 +0,0 @@ |
|||
import AppList from "../../../components/list/index.js"; |
|||
import html from "html"; |
|||
import useConfig from "../../../models/jis-hbpo/input/hbpo_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 }; |
|||
}, |
|||
}; |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue