|
@ -1,5 +1,5 @@ |
|
|
const schema = { |
|
|
const schema = { |
|
|
title: "物料主数据", |
|
|
title: "客户零件关系", |
|
|
type: "object", |
|
|
type: "object", |
|
|
properties: { |
|
|
properties: { |
|
|
erpMaterialCode: { |
|
|
erpMaterialCode: { |
|
@ -19,8 +19,10 @@ const schema = { |
|
|
|
|
|
|
|
|
const baseUrl = "settleaccount/material-relationship"; |
|
|
const baseUrl = "settleaccount/material-relationship"; |
|
|
const queryUrl = `${baseUrl}/get-list`; |
|
|
const queryUrl = `${baseUrl}/get-list`; |
|
|
|
|
|
const importUrl = `${baseUrl}/import`; |
|
|
const exportUrl = `${baseUrl}/export`; |
|
|
const exportUrl = `${baseUrl}/export`; |
|
|
const queryMethod = "POST"; |
|
|
const queryMethod = "POST"; |
|
|
|
|
|
const importMethod = "POST"; |
|
|
const exportMethod = "POST"; |
|
|
const exportMethod = "POST"; |
|
|
|
|
|
|
|
|
export default function () { |
|
|
export default function () { |
|
@ -30,7 +32,7 @@ export default function () { |
|
|
url: queryUrl, |
|
|
url: queryUrl, |
|
|
method: queryMethod, |
|
|
method: queryMethod, |
|
|
schema: { |
|
|
schema: { |
|
|
title: "物料主数据", |
|
|
title: "客户零件关系", |
|
|
type: "object", |
|
|
type: "object", |
|
|
properties: { |
|
|
properties: { |
|
|
filters: { |
|
|
filters: { |
|
@ -82,8 +84,10 @@ export default function () { |
|
|
}, |
|
|
}, |
|
|
edit: { |
|
|
edit: { |
|
|
queryUrl, |
|
|
queryUrl, |
|
|
|
|
|
importUrl, |
|
|
exportUrl, |
|
|
exportUrl, |
|
|
queryMethod, |
|
|
queryMethod, |
|
|
|
|
|
importMethod, |
|
|
exportMethod, |
|
|
exportMethod, |
|
|
schema: schema, |
|
|
schema: schema, |
|
|
}, |
|
|
}, |
|
|