|
|
|
@ -36,224 +36,234 @@ import {
|
|
|
|
|
GetEnterpriseClientList,
|
|
|
|
|
} from '/@/views/operation/seaexport/api/BookingLedger'
|
|
|
|
|
import { getDictDropDown } from '/@/api/common'
|
|
|
|
|
import { getDictOption } from '/@/utils/dictUtil'
|
|
|
|
|
let ListData: any = {}
|
|
|
|
|
const FnblType: API.DataResult = await getDictDropDown({ code: 'bl_type' })
|
|
|
|
|
const FnblType: any = getDictDropDown({ code: 'bl_type' })
|
|
|
|
|
if (FnblType.succeeded) {
|
|
|
|
|
ListData.blType = []
|
|
|
|
|
FnblType.data.forEach((e) => {
|
|
|
|
|
ListData.blType.push({ label: e.name, value: e.value })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FnsaleDeptId: API.DataResult = await GetDeptList()
|
|
|
|
|
const FnsaleDeptId: any = GetDeptList()
|
|
|
|
|
if (FnsaleDeptId.succeeded) {
|
|
|
|
|
ListData.saleDeptId = []
|
|
|
|
|
FnsaleDeptId.data.forEach((e) => {
|
|
|
|
|
ListData.saleDeptId.push({ label: e.orgName, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const Fncustomername: API.DataResult = await GetControllerClientList()
|
|
|
|
|
const Fncustomername: any = GetControllerClientList()
|
|
|
|
|
if (Fncustomername.succeeded) {
|
|
|
|
|
ListData.customername = []
|
|
|
|
|
Fncustomername.data.forEach((e) => {
|
|
|
|
|
ListData.customername.push({ label: e.orgName, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FnsourceId: API.DataResult = await GetClientSourceSelectList()
|
|
|
|
|
const FnsourceId: any = GetClientSourceSelectList()
|
|
|
|
|
if (FnsourceId.succeeded) {
|
|
|
|
|
ListData.sourceId = []
|
|
|
|
|
FnsourceId.data.forEach((e) => {
|
|
|
|
|
ListData.sourceId.push({ label: e.sourceName, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FnstlName: API.DataResult = await GetClientStlModeSelectList()
|
|
|
|
|
const FnstlName: any = GetClientStlModeSelectList()
|
|
|
|
|
if (FnstlName.succeeded) {
|
|
|
|
|
ListData.stlName = []
|
|
|
|
|
FnstlName.data.forEach((e) => {
|
|
|
|
|
ListData.stlName.push({ label: e.stlName, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const Fncarrier: API.DataResult = await GetCarrierlist()
|
|
|
|
|
const Fncarrier: any = GetCarrierlist()
|
|
|
|
|
if (Fncarrier.succeeded) {
|
|
|
|
|
ListData.carrier = []
|
|
|
|
|
Fncarrier.data.forEach((e) => {
|
|
|
|
|
ListData.carrier.push({ label: e.carrier, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FnforwarderId: API.DataResult = await GetAgentCnClientList()
|
|
|
|
|
const FnforwarderId: any = GetAgentCnClientList()
|
|
|
|
|
if (FnforwarderId.succeeded) {
|
|
|
|
|
ListData.forwarderId = []
|
|
|
|
|
FnforwarderId.data.forEach((e) => {
|
|
|
|
|
ListData.forwarderId.push({ label: e.forwarderId, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const Fnvessel: API.DataResult = await GetVesselSelectList()
|
|
|
|
|
const Fnvessel: any = GetVesselSelectList()
|
|
|
|
|
if (Fnvessel.succeeded) {
|
|
|
|
|
ListData.vessel = []
|
|
|
|
|
Fnvessel.data.forEach((e) => {
|
|
|
|
|
ListData.vessel.push({ label: e.vesselName, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const Fnvoyno: API.DataResult = await GetVoynoSelectList()
|
|
|
|
|
const Fnvoyno: any = GetVoynoSelectList()
|
|
|
|
|
if (Fnvoyno.succeeded) {
|
|
|
|
|
ListData.voyno = []
|
|
|
|
|
Fnvoyno.data.forEach((e) => {
|
|
|
|
|
ListData.voyno.push({ label: e.voynoName, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FnlaneId: API.DataResult = await GetClientLanesSelectList()
|
|
|
|
|
const FnlaneId: any = GetClientLanesSelectList()
|
|
|
|
|
if (FnlaneId.succeeded) {
|
|
|
|
|
ListData.laneId = []
|
|
|
|
|
FnlaneId.data.forEach((e) => {
|
|
|
|
|
ListData.laneId.push({ label: e.laneName, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FnshipAgencyId: API.DataResult = await GetShipAgencyClientList()
|
|
|
|
|
const FnshipAgencyId: any = GetShipAgencyClientList()
|
|
|
|
|
if (FnshipAgencyId.succeeded) {
|
|
|
|
|
ListData.shipAgencyId = []
|
|
|
|
|
FnshipAgencyId.data.forEach((e) => {
|
|
|
|
|
ListData.shipAgencyId.push({ label: e.shipAgencyIdName, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FnsaleId: API.DataResult = await GetSaleUserList()
|
|
|
|
|
const FnsaleId: any = GetSaleUserList()
|
|
|
|
|
if (FnsaleId.succeeded) {
|
|
|
|
|
ListData.saleId = []
|
|
|
|
|
FnsaleId.data.forEach((e) => {
|
|
|
|
|
ListData.saleId.push({ label: e.userName, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FnreceiptPlaceId: API.DataResult = await GetClientPortSelectList()
|
|
|
|
|
const FnreceiptPlaceId: any = GetClientPortSelectList()
|
|
|
|
|
if (FnreceiptPlaceId.succeeded) {
|
|
|
|
|
ListData.receiptPlaceId = []
|
|
|
|
|
FnreceiptPlaceId.data.forEach((e) => {
|
|
|
|
|
ListData.receiptPlaceId.push({ ...e, label: e.portName, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const Fnyard: API.DataResult = await GetYardClientList()
|
|
|
|
|
const Fnyard: any = GetYardClientList()
|
|
|
|
|
if (Fnyard.succeeded) {
|
|
|
|
|
ListData.yard = []
|
|
|
|
|
Fnyard.data.forEach((e) => {
|
|
|
|
|
ListData.yard.push({ label: e.name, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const Fncustomser: API.DataResult = await GetCustomClientList()
|
|
|
|
|
const Fncustomser: any = GetCustomClientList()
|
|
|
|
|
if (Fncustomser.succeeded) {
|
|
|
|
|
ListData.customser = []
|
|
|
|
|
Fncustomser.data.forEach((e) => {
|
|
|
|
|
ListData.customser.push({ label: e.name, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FnagentId: API.DataResult = await GetAgentClientList()
|
|
|
|
|
const FnagentId: any = GetAgentClientList()
|
|
|
|
|
if (FnagentId.succeeded) {
|
|
|
|
|
ListData.agentId = []
|
|
|
|
|
FnagentId.data.forEach((e) => {
|
|
|
|
|
ListData.agentId.push({ label: e.shortName, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FntermDelivery: API.DataResult = await getDictDropDown({ code: 'term_delivery' })
|
|
|
|
|
const FntermDelivery: any = getDictDropDown({ code: 'term_delivery' })
|
|
|
|
|
if (FntermDelivery.succeeded) {
|
|
|
|
|
ListData.termDelivery = []
|
|
|
|
|
FntermDelivery.data.forEach((e) => {
|
|
|
|
|
ListData.termDelivery.push({ label: e.name, value: e.value })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FnwareHouse: API.DataResult = await GetWareHouseClientList()
|
|
|
|
|
const FnwareHouse: any = GetWareHouseClientList()
|
|
|
|
|
if (FnwareHouse.succeeded) {
|
|
|
|
|
ListData.wareHouse = []
|
|
|
|
|
FnwareHouse.data.forEach((e) => {
|
|
|
|
|
ListData.wareHouse.push({ label: e.shortName, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const Fntrucker: API.DataResult = await GetTruckClientList()
|
|
|
|
|
const Fntrucker: any = GetTruckClientList()
|
|
|
|
|
if (Fntrucker.succeeded) {
|
|
|
|
|
ListData.trucker = []
|
|
|
|
|
Fntrucker.data.forEach((e) => {
|
|
|
|
|
ListData.trucker.push({ label: e.shortName, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FnissueType: API.DataResult = await GetIssueTypeSelectList()
|
|
|
|
|
const FnissueType: any = GetIssueTypeSelectList()
|
|
|
|
|
if (FnissueType.succeeded) {
|
|
|
|
|
ListData.issueType = []
|
|
|
|
|
FnissueType.data.forEach((e) => {
|
|
|
|
|
ListData.issueType.push({ label: e.enName, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FnnoBill: API.DataResult = await getDictDropDown({ code: 'no_bill' })
|
|
|
|
|
const FnnoBill: any = getDictDropDown({ code: 'no_bill' })
|
|
|
|
|
if (FnnoBill.succeeded) {
|
|
|
|
|
ListData.noBill = []
|
|
|
|
|
FnnoBill.data.forEach((e) => {
|
|
|
|
|
ListData.noBill.push({ label: e.name, value: e.value })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FncopyNoBill: API.DataResult = await getDictDropDown({ code: 'copy_no_bill' })
|
|
|
|
|
const FncopyNoBill: any = getDictDropDown({ code: 'copy_no_bill' })
|
|
|
|
|
if (FncopyNoBill.succeeded) {
|
|
|
|
|
ListData.copyNoBill = []
|
|
|
|
|
FncopyNoBill.data.forEach((e) => {
|
|
|
|
|
ListData.copyNoBill.push({ label: e.name, value: e.value })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FnmblFrt: API.DataResult = await GetClientFrtSelectList()
|
|
|
|
|
const FnmblFrt: any = GetClientFrtSelectList()
|
|
|
|
|
if (FnmblFrt.succeeded) {
|
|
|
|
|
ListData.mblFrt = []
|
|
|
|
|
FnmblFrt.data.forEach((e) => {
|
|
|
|
|
ListData.mblFrt.push({ label: e.cnName, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FnprepareAt: API.DataResult = await GetClientPortSelectList()
|
|
|
|
|
const FnprepareAt: any = GetClientPortSelectList()
|
|
|
|
|
if (FnprepareAt.succeeded) {
|
|
|
|
|
ListData.prepareAt = []
|
|
|
|
|
FnprepareAt.data.forEach((e) => {
|
|
|
|
|
ListData.prepareAt.push({ label: e.cnName, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FnpayableAt: API.DataResult = await GetClientPortSelectList()
|
|
|
|
|
const FnpayableAt: any = GetClientPortSelectList()
|
|
|
|
|
if (FnpayableAt.succeeded) {
|
|
|
|
|
ListData.payableAt = []
|
|
|
|
|
FnpayableAt.data.forEach((e) => {
|
|
|
|
|
ListData.payableAt.push({ label: e.cnName, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const Fnservice: API.DataResult = await GetServiceSelectList()
|
|
|
|
|
const Fnservice: any = GetServiceSelectList()
|
|
|
|
|
if (Fnservice.succeeded) {
|
|
|
|
|
ListData.service = []
|
|
|
|
|
Fnservice.data.forEach((e) => {
|
|
|
|
|
ListData.service.push({ label: e.enName, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FntradeTerm: API.DataResult = await getDictDropDown({ code: 'packing_type' })
|
|
|
|
|
const FntradeTerm: any = getDictDropDown({ code: 'packing_type' })
|
|
|
|
|
if (FntradeTerm.succeeded) {
|
|
|
|
|
ListData.tradeTerm = []
|
|
|
|
|
FntradeTerm.data.forEach((e) => {
|
|
|
|
|
ListData.tradeTerm.push({ label: e.name, value: e.value })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FngoodsName: API.DataResult = await GetPackageSelectList()
|
|
|
|
|
const FngoodsName: any = GetPackageSelectList()
|
|
|
|
|
if (FngoodsName.succeeded) {
|
|
|
|
|
ListData.goodsName = []
|
|
|
|
|
FngoodsName.data.forEach((e) => {
|
|
|
|
|
ListData.goodsName.push({ label: e.packageName, value: e.id })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FncargoId: API.DataResult = await getDictDropDown({ code: 'cargo_tag' })
|
|
|
|
|
const FncargoId: any = getDictDropDown({ code: 'cargo_tag' })
|
|
|
|
|
if (FncargoId.succeeded) {
|
|
|
|
|
ListData.cargoId = []
|
|
|
|
|
FncargoId.data.forEach((e) => {
|
|
|
|
|
ListData.cargoId.push({ label: e.name, value: e.value })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const Fnenterprise: API.DataResult = await GetEnterpriseClientList()
|
|
|
|
|
const Fnenterprise: any = GetEnterpriseClientList()
|
|
|
|
|
if (Fnenterprise.succeeded) {
|
|
|
|
|
ListData.enterprise = []
|
|
|
|
|
Fnenterprise.data.forEach((e) => {
|
|
|
|
|
ListData.enterprise.push({ label: e.name, value: e.value })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const FninsperctService: API.DataResult = await GetEnterpriseClientList()
|
|
|
|
|
const FninsperctService: any = GetEnterpriseClientList()
|
|
|
|
|
if (FninsperctService.succeeded) {
|
|
|
|
|
ListData.insperctService = []
|
|
|
|
|
FninsperctService.data.forEach((e) => {
|
|
|
|
|
ListData.insperctService.push({ label: e.name, value: e.value })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// const Fnctn: any = await getDictDropDown({ code: 'ctn_code' })
|
|
|
|
|
const Fnctn: any = getDictOption('ctn_code')
|
|
|
|
|
|
|
|
|
|
if (Fnctn.length) {
|
|
|
|
|
ListData.ctn = []
|
|
|
|
|
Fnctn.forEach((e) => {
|
|
|
|
|
ListData.ctn.push({ label: e.name, value: e.value })
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
import { BasicColumn, FormSchema } from '/@/components/Table'
|
|
|
|
|
import { Tag } from 'ant-design-vue'
|
|
|
|
|
//列表
|
|
|
|
@ -425,7 +435,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
onChange: async (e) => {
|
|
|
|
|
if (e) {
|
|
|
|
|
const { updateSchema } = formActionType
|
|
|
|
|
const FnsourceDetailId: API.DataResult = await GetClientSourceDetailSelectList({
|
|
|
|
|
const FnsourceDetailId: any = GetClientSourceDetailSelectList({
|
|
|
|
|
id: e,
|
|
|
|
|
})
|
|
|
|
|
if (FnsourceDetailId.succeeded) {
|
|
|
|
@ -509,7 +519,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'mblno',
|
|
|
|
|
label: '订舱编号',
|
|
|
|
|
label: '主题单号',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
required: false,
|
|
|
|
|
dynamicDisabled: false,
|
|
|
|
@ -1997,16 +2007,64 @@ export const ediMoreFormSchema: FormSchema[] = [
|
|
|
|
|
// mastetMore表单
|
|
|
|
|
export const mastetMoreFormSchema: FormSchema[] = [
|
|
|
|
|
{
|
|
|
|
|
label: '',
|
|
|
|
|
field: 'masterShipperContent',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'masterShipperId',
|
|
|
|
|
component: 'SelectTextArea',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
componentProps: ({ schema, tableAction, formActionType, formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
label: '发货人',
|
|
|
|
|
onChange: (e) => {
|
|
|
|
|
formModel.masterShipperContent = e.res
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '',
|
|
|
|
|
field: 'masterConsigneeContent',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'masterConsigneeId',
|
|
|
|
|
component: 'SelectTextArea',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
componentProps: ({ schema, tableAction, formActionType, formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
label: '收货人',
|
|
|
|
|
onChange: (e) => {
|
|
|
|
|
formModel.masterConsigneeContent = e.res
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '',
|
|
|
|
|
field: 'masterNotifyPartyContent',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'masterNotifyPartyId',
|
|
|
|
|
component: 'SelectTextArea',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
componentProps: ({ schema, tableAction, formActionType, formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
label: '通知人',
|
|
|
|
|
onChange: (e) => {
|
|
|
|
|
formModel.masterNotifyPartyContent = e.res
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
// goodsTable 表格
|
|
|
|
@ -2022,17 +2080,36 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
dataIndex: 'ctn',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
width: 80,
|
|
|
|
|
editComponent: 'Select',
|
|
|
|
|
editComponentProps: {
|
|
|
|
|
options: ListData.ctn,
|
|
|
|
|
allowClear: true,
|
|
|
|
|
showSearch: true,
|
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
// editComponentProps: ({ schema, tableAction, formActionType, formModel }) => {
|
|
|
|
|
// return {
|
|
|
|
|
// options: ListData.ctn,
|
|
|
|
|
// allowClear: true,
|
|
|
|
|
// showSearch: true,
|
|
|
|
|
// filterOption: (input: string, option: any) => {
|
|
|
|
|
// return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
|
// },
|
|
|
|
|
// onChange: (e) => {
|
|
|
|
|
// formModel.ctnCode = e.res
|
|
|
|
|
// },
|
|
|
|
|
// }
|
|
|
|
|
// },
|
|
|
|
|
width: 120,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '箱量',
|
|
|
|
|
dataIndex: 'ctnNum',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editComponent: 'InputNumber',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2041,7 +2118,6 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2050,7 +2126,6 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2058,8 +2133,7 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
dataIndex: 'pkgs',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editComponent: 'InputNumber',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2068,7 +2142,6 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2076,8 +2149,7 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
dataIndex: 'kgs',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editComponent: 'InputNumber',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2085,8 +2157,7 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
dataIndex: 'size',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editComponent: 'InputNumber',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2094,8 +2165,7 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
dataIndex: 'tareWeight',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editComponent: 'InputNumber',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2104,7 +2174,6 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2113,7 +2182,6 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2121,8 +2189,11 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
dataIndex: 'weightDate',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editComponent: 'DatePicker',
|
|
|
|
|
editComponentProps: {
|
|
|
|
|
showTime: true,
|
|
|
|
|
allowClear: true,
|
|
|
|
|
},
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2131,7 +2202,7 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editRule: true,
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2140,7 +2211,6 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
@ -2149,8 +2219,7 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
dataIndex: 'kgs',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editComponent: 'InputNumber',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2159,7 +2228,6 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
@ -2169,7 +2237,6 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2178,7 +2245,6 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
@ -2188,7 +2254,6 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2197,7 +2262,6 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2206,7 +2270,6 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
@ -2216,7 +2279,6 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2225,7 +2287,6 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2234,7 +2295,6 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2242,8 +2302,7 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
dataIndex: 'truckFee',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editComponent: 'InputNumber',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2251,8 +2310,8 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
dataIndex: 'freeStorageDay',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editComponent: 'InputNumber',
|
|
|
|
|
editRule: true,
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2260,8 +2319,8 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
dataIndex: 'storageDay',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editComponent: 'InputNumber',
|
|
|
|
|
editRule: true,
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2269,8 +2328,7 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
dataIndex: 'storagePrice',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editComponent: 'InputNumber',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2278,8 +2336,7 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
dataIndex: 'storageFee',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editComponent: 'InputNumber',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2287,8 +2344,8 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
dataIndex: 'freeCtnDay',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editComponent: 'InputNumber',
|
|
|
|
|
editRule: true,
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2296,8 +2353,8 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
dataIndex: 'ctnDay',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editComponent: 'InputNumber',
|
|
|
|
|
editRule: true,
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2305,8 +2362,7 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
dataIndex: 'ctnPrice',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editComponent: 'InputNumber',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2314,8 +2370,7 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
dataIndex: 'ctnFee',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editComponent: 'InputNumber',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2323,8 +2378,14 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
dataIndex: 'isTemp',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editComponent: 'Select',
|
|
|
|
|
editComponentProps: {
|
|
|
|
|
// 数据源1:固定数据
|
|
|
|
|
options: [
|
|
|
|
|
{ label: '是', value: true },
|
|
|
|
|
{ label: '否', value: false },
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2333,7 +2394,6 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2342,7 +2402,6 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2350,8 +2409,11 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
dataIndex: 'pickUpTime',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editComponent: 'DatePicker',
|
|
|
|
|
editComponentProps: {
|
|
|
|
|
showTime: true,
|
|
|
|
|
allowClear: true,
|
|
|
|
|
},
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2359,8 +2421,11 @@ export const goodsTablecolumns: BasicColumn[] = [
|
|
|
|
|
dataIndex: 'actualArrivalPortTime',
|
|
|
|
|
align: 'left',
|
|
|
|
|
editRow: true,
|
|
|
|
|
editComponent: 'Input',
|
|
|
|
|
editDefaultValue: '',
|
|
|
|
|
editComponent: 'DatePicker',
|
|
|
|
|
editComponentProps: {
|
|
|
|
|
showTime: true,
|
|
|
|
|
allowClear: true,
|
|
|
|
|
},
|
|
|
|
|
width: 80,
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|