|
@ -20,7 +20,7 @@ const stateOptions = [ |
|
|
{ value: 8, label: "已提交QAD" }, |
|
|
{ value: 8, label: "已提交QAD" }, |
|
|
{ value: 9, label: "红冲" }, |
|
|
{ value: 9, label: "红冲" }, |
|
|
]; |
|
|
]; |
|
|
const state = { title: "状态", type: "number", input: "select", options: stateOptions }; |
|
|
const state = { title: "扣减单状态", type: "number", input: "select", options: stateOptions }; |
|
|
const state2 = Object.assign(Object.assign({}, state), { |
|
|
const state2 = Object.assign(Object.assign({}, state), { |
|
|
options: stateOptions.filter((a) => parseInt(a.value) > 0).filter((a) => parseInt(a.value) !== 6 && parseInt(a.value) !== 7), |
|
|
options: stateOptions.filter((a) => parseInt(a.value) > 0).filter((a) => parseInt(a.value) !== 6 && parseInt(a.value) !== 7), |
|
|
}); |
|
|
}); |
|
@ -157,5 +157,23 @@ const codeType = { |
|
|
], |
|
|
], |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const invState = { |
|
|
|
|
|
title: "发票状态", |
|
|
|
|
|
type: "string", |
|
|
|
|
|
input: "select", |
|
|
|
|
|
options: [ |
|
|
|
|
|
{ value: 0, label: "未结状态" }, |
|
|
|
|
|
{ value: 1, label: "已开票" }, |
|
|
|
|
|
{ value: 2, label: "商务已审核" }, |
|
|
|
|
|
{ value: 3, label: "财务已审核" }, |
|
|
|
|
|
{ value: 4, label: "客户已收票" }, |
|
|
|
|
|
{ value: 5, label: "已扣减" }, |
|
|
|
|
|
{ value: 6, label: "扣减进行中" }, |
|
|
|
|
|
{ value: 7, label: "撤销扣减进行中" }, |
|
|
|
|
|
{ value: 8, label: "已提交QAD" }, |
|
|
|
|
|
{ value: 9, label: "红冲" }, |
|
|
|
|
|
], |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
export default businessType; |
|
|
export default businessType; |
|
|
export { version, state, state2, state3, transType, deliverBillType, deliverSubBillType, proType, billState, codeType }; |
|
|
export { version, state, state2, state3, transType, deliverBillType, deliverSubBillType, proType, billState, codeType, invState }; |
|
|