发票+任务+舱位

dev
sunzehua 3 weeks ago
parent eaafd5e3f0
commit 3942c17303

@ -1250,7 +1250,7 @@ export const freeSearchFormSchema: FormSchema[] = [
}, },
{ {
label: '船名', label: '船名',
field: 'vesselId', field: 'vessel',
component: 'ApiSelect', component: 'ApiSelect',
required: false, required: false,
dynamicDisabled: false, dynamicDisabled: false,
@ -1260,7 +1260,7 @@ export const freeSearchFormSchema: FormSchema[] = [
api: GetVesselSelectList, api: GetVesselSelectList,
immediate: false, immediate: false,
labelField: 'vesselName', labelField: 'vesselName',
valueField: 'id', valueField: 'vesselName',
resultField: 'data' resultField: 'data'
} }
} }
@ -1272,22 +1272,19 @@ export const freeSearchFormSchema: FormSchema[] = [
component: 'Input' component: 'Input'
}, },
{ {
label: '核算单位', field: 'saleDeptId',
field: 'enterprise', label: '所属分部',
component: 'ApiSelect', component: 'ApiSelect',
dynamicDisabled: false,
colProps: { span: 4 }, colProps: { span: 4 },
componentProps: () => { componentProps: () => {
return { return {
api: GetClientListByCode, api: GetOrgList,
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'id',
resultField: 'data', resultField: 'data',
immediate: false labelField: 'label',
} valueField: 'id',
} }
}, },
},
] ]
export const freeTableDetailColums: BasicColumn[] = [ export const freeTableDetailColums: BasicColumn[] = [
@ -1466,12 +1463,12 @@ export const freeColum: BasicColumn[] = [
}, },
{ {
title: '船名', title: '船名',
dataIndex: 'changeOrder', dataIndex: 'vesselName',
width: 100, width: 100,
}, },
{ {
title: '航次', title: '航次',
dataIndex: 'vesselName', dataIndex: 'voyno',
width: 100, width: 100,
}, },
{ {

@ -988,18 +988,18 @@ export const freeTableColums: BasicColumn[] = [
width: 100, width: 100,
}, },
{ {
title: 'RMB未', title: 'RMB未',
dataIndex: 'unchargedRMB', dataIndex: 'unpaidRMB',
width: 100, width: 100,
}, },
{ {
title: 'USD未', title: 'USD未',
dataIndex: 'unchargedUSD', dataIndex: 'unpaidUSD',
width: 100, width: 100,
}, },
{ {
title: '其他未', title: '其他未',
dataIndex: 'unchargedOther', dataIndex: 'unpaidOther',
width: 100, width: 100,
}, },
{ {
@ -1013,18 +1013,18 @@ export const freeTableColums: BasicColumn[] = [
width: 100, width: 100,
}, },
{ {
title: 'RMB未', title: 'RMB未',
dataIndex: 'unpaidRMB', dataIndex: 'unchargedRMB',
width: 100, width: 100,
}, },
{ {
title: 'USD未', title: 'USD未',
dataIndex: 'unpaidUSD', dataIndex: 'unchargedUSD',
width: 100, width: 100,
}, },
{ {
title: '其他未', title: '其他未',
dataIndex: 'unpaidOther', dataIndex: 'unchargedOther',
width: 100, width: 100,
}, },
{ {
@ -1250,7 +1250,7 @@ export const freeSearchFormSchema: FormSchema[] = [
}, },
{ {
label: '船名', label: '船名',
field: 'vesselId', field: 'vessel',
component: 'ApiSelect', component: 'ApiSelect',
required: false, required: false,
dynamicDisabled: false, dynamicDisabled: false,
@ -1260,7 +1260,7 @@ export const freeSearchFormSchema: FormSchema[] = [
api: GetVesselSelectList, api: GetVesselSelectList,
immediate: false, immediate: false,
labelField: 'vesselName', labelField: 'vesselName',
valueField: 'id', valueField: 'vesselName',
resultField: 'data' resultField: 'data'
} }
} }
@ -1271,23 +1271,6 @@ export const freeSearchFormSchema: FormSchema[] = [
colProps: { span: 4 }, colProps: { span: 4 },
component: 'Input' component: 'Input'
}, },
{
label: '核算单位',
field: 'enterprise',
component: 'ApiSelect',
dynamicDisabled: false,
colProps: { span: 4 },
componentProps: () => {
return {
api: GetClientListByCode,
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'id',
resultField: 'data',
immediate: false
}
}
},
] ]
export const freeTableDetailColums: BasicColumn[] = [ export const freeTableDetailColums: BasicColumn[] = [
@ -1466,12 +1449,12 @@ export const freeColum: BasicColumn[] = [
}, },
{ {
title: '船名', title: '船名',
dataIndex: 'changeOrder', dataIndex: 'vesselName',
width: 100, width: 100,
}, },
{ {
title: '航次', title: '航次',
dataIndex: 'vesselName', dataIndex: 'voyno',
width: 100, width: 100,
}, },
{ {

@ -5,7 +5,7 @@
--> -->
<template> <template>
<div> <div>
<a-modal width="1500px" @cancel="openFlag = false" :visible="openFlag" title="添加费结算明细" :footer="null"> <a-modal width="1500px" @cancel="openFlag = false" :visible="openFlag" title="添加费结算明细" :footer="null">
<div style="padding-bottom: 25px;"> <div style="padding-bottom: 25px;">
<a-spin :spinning="loading"> <a-spin :spinning="loading">
<BasicTable class="ds-table" @register="registerTable" @row-click="onRowClick"> <BasicTable class="ds-table" @register="registerTable" @row-click="onRowClick">

@ -6,7 +6,7 @@ export const billTypeData = [
{ value: 2, label: '已审核' }, { value: 2, label: '已审核' },
] ]
import { import {
GetVouchingClerkList,GetIssueTypeSelectList,GetControllerClientList,GetVesselSelectList GetVouchingClerkList,GetIssueTypeSelectList,GetControllerClientList,GetVesselSelectList,GetSaleList,GetCustomerServiceList
} from '/@/views/operation/seaexport/api/BookingLedger' } from '/@/views/operation/seaexport/api/BookingLedger'
export const searchFormSchema: FormSchema[] = [ export const searchFormSchema: FormSchema[] = [
{ {
@ -57,6 +57,54 @@ export const searchFormSchema: FormSchema[] = [
} }
}, },
}, },
{
label: '操作',
field: 'operator',
component: 'ApiSelect',
required: false,
dynamicDisabled: false,
colProps: { span: 4 },
componentProps: ({ formModel }) => {
return {
api: GetCustomerServiceList,
labelField: 'pinYinCode',
valueField: 'id',
showName: 'userName',
immediate: false,
resultField: 'data',
onChange: (e, obj) => {
if (e && obj) {
}
if (!e && !obj) {
}
},
}
},
},
{
label: '销售',
field: 'sale',
component: 'ApiSelect',
required: false,
dynamicDisabled: false,
colProps: { span: 4 },
componentProps: ({ formModel }) => {
return {
api: GetSaleList,
labelField: 'pinYinCode',
valueField: 'id',
showName: 'userName',
immediate: false,
resultField: 'data',
onChange: (e, obj) => {
if (e && obj) {
}
if (!e && !obj) {
}
},
}
},
},
{ {
field: 'issueType', field: 'issueType',
label: '签单方式', label: '签单方式',
@ -245,6 +293,12 @@ export const columns: BasicColumn[] = [
width: 100, width: 100,
align: 'left', align: 'left',
}, },
{
title: '委托编号',
dataIndex: 'customerNo',
width: 100,
align: 'left',
},
{ {
title: '主单分单', title: '主单分单',
dataIndex: 'masterHBillName', dataIndex: 'masterHBillName',
@ -269,6 +323,12 @@ export const columns: BasicColumn[] = [
width: 100, width: 100,
align: 'left', align: 'left',
}, },
{
title: '操作',
dataIndex: 'operatorName',
width: 100,
align: 'left',
},
{ {
title: '结算方式', title: '结算方式',
dataIndex: 'stlName', dataIndex: 'stlName',

@ -531,39 +531,41 @@ export const detailSearchFormSchema: FormSchema[] = [
{ {
field: 'saleDeptId', field: 'saleDeptId',
label: '所属分部', label: '所属分部',
defaultValue: '',
component: 'ApiSelect', component: 'ApiSelect',
colProps: { span: 4 }, colProps: { span: 4 },
componentProps: () => { componentProps: () => {
return { return {
api: GetOrgList, api: GetOrgList,
resultField: 'data', resultField: 'data',
labelField: 'label',
valueField: 'id',
} }
}, },
}, },
{ // {
label: '操作', // label: '操作',
field: 'operator', // field: 'operator',
component: 'ApiSelect', // component: 'ApiSelect',
required: false, // required: false,
dynamicDisabled: false, // dynamicDisabled: false,
colProps: { span: 4 }, // colProps: { span: 4 },
componentProps: ({ formModel }) => { // componentProps: ({ formModel }) => {
return { // return {
api: GetCustomerServiceList, // api: GetCustomerServiceList,
labelField: 'pinYinCode', // labelField: 'pinYinCode',
valueField: 'userName', // valueField: 'userName',
showName: 'userName', // showName: 'userName',
allowClear: true, // allowClear: true,
showSearch: true, // showSearch: true,
immediate: false, // immediate: false,
resultField: 'data', // resultField: 'data',
onChange: (e, obj) => { // onChange: (e, obj) => {
// }
// }
// },
// },
}
}
},
},
] ]

@ -12,7 +12,7 @@
添加发票明细 添加发票明细
</a-button> </a-button>
<a-popconfirm title="确定要删除勾选的数据?" ok-text="" cancel-text="" @confirm="deleteRow"> <a-popconfirm title="确定要删除勾选的数据?" ok-text="" cancel-text="" @confirm="deleteRow">
<a-button style="margin: 0 10px;" type="link"> <a-button v-if="resData.status!=2 && resData.status!=4" style="margin: 0 10px;" type="link">
<span class="iconfont icon-shanchu1"></span> <span class="iconfont icon-shanchu1"></span>
删除发票明细 删除发票明细
</a-button> </a-button>

@ -28,19 +28,19 @@ const FeeRangeList = [
] ]
export const searchFormSchema: FormSchema[] = [ export const searchFormSchema: FormSchema[] = [
{ {
field: 'applicationNO', field: 'mblno:hblno:bookingNO:customerNo',
label: '编号检索', label: '编号检索',
component: 'Input', component: 'Input',
colProps: { span: 4 }, colProps: { span: 4 },
}, },
{ {
field: 'applicationNO', field: 'InvoiceHeader',
label: '购方抬头', label: '购方抬头',
component: 'Input', component: 'Input',
colProps: { span: 4 }, colProps: { span: 4 },
}, },
{ {
field: 'createByName', field: 'orgName',
label: '销方公司', label: '销方公司',
component: 'Input', component: 'Input',
colProps: { span: 4 }, colProps: { span: 4 },
@ -548,7 +548,7 @@ export const applySearch: FormSchema[] = [
colProps: { span: 4 }, colProps: { span: 4 },
}, },
{ {
field: 'applicationNO', field: 'mblno:hblno:bookingNO:customerNo',
label: '编号', label: '编号',
component: 'Input', component: 'Input',
colProps: { span: 4 }, colProps: { span: 4 },
@ -603,16 +603,14 @@ export const applySearch: FormSchema[] = [
{ {
label: '申请人', label: '申请人',
component: 'Input', component: 'Input',
field: 'feeType', field: 'createByName',
colProps: { span: 4 }, colProps: { span: 4 },
width: 100,
}, },
{ {
label: '申请类型', label: '申请类型',
component: 'Input', component: 'Input',
colProps: { span: 4 }, colProps: { span: 4 },
field: 'feeType', field: 'feeType',
width: 100,
}, },
] ]
@ -957,7 +955,7 @@ export const freeSearch: FormSchema[] = [
}, },
}, },
{ {
field: 'debitNo', field: 'mblno:hblno:bookingNO:customerNo',
label: '编号检索', label: '编号检索',
component: 'Input', component: 'Input',
show: true, show: true,
@ -1040,6 +1038,8 @@ export const freeSearch: FormSchema[] = [
return { return {
api: GetOrgList, api: GetOrgList,
resultField: 'data', resultField: 'data',
labelField: 'label',
valueField: 'id',
} }
}, },
}, },

Loading…
Cancel
Save