|
@ -1,6 +1,7 @@ |
|
|
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' |
|
|
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' |
|
|
import { dateFormatter,dateFormatter2 } from '@/utils/formatTime' |
|
|
import { dateFormatter,dateFormatter2 } from '@/utils/formatTime' |
|
|
import { accountantFormart } from '@/utils/formatter' |
|
|
import { accountantFormart } from '@/utils/formatter' |
|
|
|
|
|
import dayjs from 'dayjs' |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @returns {Array} 供应商发票记录主表 |
|
|
* @returns {Array} 供应商发票记录主表 |
|
@ -1646,7 +1647,7 @@ export const SupplierinvoiceRecordMainTransfer = useCrudSchemas(reactive<CrudSch |
|
|
field: 'adjustmentJournal', |
|
|
field: 'adjustmentJournal', |
|
|
form: { |
|
|
form: { |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
value:'APINVCOR', |
|
|
value:'APADJ', |
|
|
disabled: true, |
|
|
disabled: true, |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@ -1666,6 +1667,7 @@ export const SupplierinvoiceRecordMainTransfer = useCrudSchemas(reactive<CrudSch |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
|
|
|
value:dayjs().valueOf(), |
|
|
style: {width:'100%'}, |
|
|
style: {width:'100%'}, |
|
|
type: 'date', |
|
|
type: 'date', |
|
|
dateFormat: 'YYYY-MM-DD', |
|
|
dateFormat: 'YYYY-MM-DD', |
|
@ -1694,8 +1696,11 @@ export const SupplierinvoiceRecordMainTransfer = useCrudSchemas(reactive<CrudSch |
|
|
|
|
|
|
|
|
//表单校验
|
|
|
//表单校验
|
|
|
export const SupplierinvoiceRecordMainTransferRules = reactive({ |
|
|
export const SupplierinvoiceRecordMainTransferRules = reactive({ |
|
|
requestNumber: [ |
|
|
reversepostingdate: [ |
|
|
{ required: true, message: '请选择申请单号', trigger: 'change' } |
|
|
{ required: true, message: '请选择过账日期', trigger: 'change' } |
|
|
|
|
|
], |
|
|
|
|
|
tcCInvoiceRemark: [ |
|
|
|
|
|
{ required: true, message: '请填写说明', trigger: 'change' } |
|
|
], |
|
|
], |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|