|
|
@ -7,6 +7,11 @@ export const billTypeData = [
|
|
|
|
{ code: 4, value: '已开出' },
|
|
|
|
{ code: 4, value: '已开出' },
|
|
|
|
{ code: 5, value: '部分开出' },
|
|
|
|
{ code: 5, value: '部分开出' },
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
export const CategoryData = [
|
|
|
|
|
|
|
|
{ code: 0, value: '普通发票' },
|
|
|
|
|
|
|
|
{ code: 1, value: '电子发票' },
|
|
|
|
|
|
|
|
{ code: 2, value: '纸质发票' },
|
|
|
|
|
|
|
|
]
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
GetControllerClientList,
|
|
|
|
GetControllerClientList,
|
|
|
|
} from '/@/views/operation/seaexport/api/BookingLedger'
|
|
|
|
} from '/@/views/operation/seaexport/api/BookingLedger'
|
|
|
@ -169,7 +174,7 @@ export const columns: BasicColumn[] = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '实际开出发票号',
|
|
|
|
title: '实际开出发票号',
|
|
|
|
dataIndex: 'orgName',
|
|
|
|
dataIndex: 'AcutalInvoiceNO',
|
|
|
|
width: 100,
|
|
|
|
width: 100,
|
|
|
|
align: 'left',
|
|
|
|
align: 'left',
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -199,7 +204,7 @@ export const columns: BasicColumn[] = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '开票日期',
|
|
|
|
title: '开票日期',
|
|
|
|
dataIndex: 'applyDate',
|
|
|
|
dataIndex: 'InvoiceDate',
|
|
|
|
width: 100,
|
|
|
|
width: 100,
|
|
|
|
align: 'left',
|
|
|
|
align: 'left',
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -285,8 +290,9 @@ export const detailForm: FormSchema[] = [
|
|
|
|
colProps: { span: 4 },
|
|
|
|
colProps: { span: 4 },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
field: 'applicationNO',
|
|
|
|
field: 'AcutalInvoiceNO',
|
|
|
|
label: '实际发票号',
|
|
|
|
label: '实际发票号',
|
|
|
|
|
|
|
|
dynamicDisabled: true,
|
|
|
|
component: 'Input',
|
|
|
|
component: 'Input',
|
|
|
|
colProps: { span: 4 },
|
|
|
|
colProps: { span: 4 },
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -329,4 +335,83 @@ export const detailForm: FormSchema[] = [
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
field: 'Category',
|
|
|
|
|
|
|
|
label: '申请类型',
|
|
|
|
|
|
|
|
component: 'Select',
|
|
|
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
|
|
|
componentProps: {
|
|
|
|
|
|
|
|
options: CategoryData,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
field: 'invoiceCurrency',
|
|
|
|
|
|
|
|
label: '发票币别',
|
|
|
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
|
|
|
componentProps: () => {
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
api: GetFeeCurrencySelectList,
|
|
|
|
|
|
|
|
labelField: 'name',
|
|
|
|
|
|
|
|
valueField: 'codeName',
|
|
|
|
|
|
|
|
resultField: 'data',
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
label: '委托单位',
|
|
|
|
|
|
|
|
field: 'customerId',
|
|
|
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
|
|
|
required: false,
|
|
|
|
|
|
|
|
dynamicDisabled: false,
|
|
|
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
|
|
|
componentProps: () => {
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
api: () => {
|
|
|
|
|
|
|
|
return new Promise((resolve) => {
|
|
|
|
|
|
|
|
GetControllerClientList().then((res) => {
|
|
|
|
|
|
|
|
res.data.forEach((item) => {
|
|
|
|
|
|
|
|
if (item.codeName) item.shortName = item.codeName + '/' + item.shortName
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
resolve(res)
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
immediate: false,
|
|
|
|
|
|
|
|
labelField: 'shortName',
|
|
|
|
|
|
|
|
valueField: 'codeName',
|
|
|
|
|
|
|
|
resultField: 'data',
|
|
|
|
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
label: '代开客户',
|
|
|
|
|
|
|
|
field: 'autualCustomerName',
|
|
|
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
|
|
|
required: false,
|
|
|
|
|
|
|
|
dynamicDisabled: false,
|
|
|
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
|
|
|
componentProps: () => {
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
api: () => {
|
|
|
|
|
|
|
|
return new Promise((resolve) => {
|
|
|
|
|
|
|
|
GetControllerClientList().then((res) => {
|
|
|
|
|
|
|
|
resolve(res)
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
immediate: false,
|
|
|
|
|
|
|
|
labelField: 'shortName',
|
|
|
|
|
|
|
|
valueField: 'shortName',
|
|
|
|
|
|
|
|
resultField: 'data',
|
|
|
|
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
]
|
|
|
|
]
|
|
|
|