姜旭之
1 year ago
23 changed files with 148 additions and 242 deletions
@ -1,117 +0,0 @@ |
|||
import version from "../version.js"; |
|||
import { state2, state3 } from "../state.js"; |
|||
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/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, |
|||
exportMethod, |
|||
rejectMethod, |
|||
passedMethod, |
|||
sync_qadMethod, |
|||
schema: schema, |
|||
}, |
|||
}; |
|||
} |
Loading…
Reference in new issue