|
|
|
@ -21,7 +21,7 @@ import {
|
|
|
|
|
GetServiceSelectList,
|
|
|
|
|
GetVoynoSelectList,
|
|
|
|
|
GetVesselSelectList,
|
|
|
|
|
GetClientGoodsList
|
|
|
|
|
GetClientGoodsList,
|
|
|
|
|
} from '/@/views/operation/seaexport/api/BookingLedger'
|
|
|
|
|
import { useOptionsStore } from '/@/store/modules/options'
|
|
|
|
|
const optionsStore = useOptionsStore()
|
|
|
|
@ -134,7 +134,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
if (!e && !obj) {
|
|
|
|
|
formModel.customerId = ''
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
@ -143,7 +143,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
label: '客户编号',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
required: false,
|
|
|
|
|
colProps: { span: 4 }
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'shipperCnId',
|
|
|
|
@ -175,9 +175,9 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
if (!e && !obj) {
|
|
|
|
|
formModel.shipperCnId = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'accountDate',
|
|
|
|
@ -189,7 +189,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
valueFormat: 'YYYY-MM',
|
|
|
|
|
format: 'YYYY-MM'
|
|
|
|
|
format: 'YYYY-MM',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -199,7 +199,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
required: false,
|
|
|
|
|
dynamicDisabled: true,
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
colSlot: 'isBusinessLocking'
|
|
|
|
|
colSlot: 'isBusinessLocking',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'blType',
|
|
|
|
@ -224,21 +224,21 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
if (!v && !obj) {
|
|
|
|
|
formModel.blType = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'blTypeCode',
|
|
|
|
|
label: '装运方式',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
field: 'sourceCode',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '业务来源',
|
|
|
|
@ -359,7 +359,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
label: '结算方式',
|
|
|
|
|
slot: 'stlName',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
colProps: { span: 4 }
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'stlDate',
|
|
|
|
@ -367,7 +367,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
slot: 'stlDate',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
// defaultValue: '',
|
|
|
|
|
colProps: { span: 4 }
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '揽货人',
|
|
|
|
@ -450,12 +450,12 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
showSearch: true,
|
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '所属部门',
|
|
|
|
@ -507,7 +507,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
if (!e && !obj) {
|
|
|
|
|
formModel.operatorId = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
@ -515,7 +515,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
field: 'operatorId',
|
|
|
|
|
label: '',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '客服',
|
|
|
|
@ -542,7 +542,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
if (!e && !obj) {
|
|
|
|
|
formModel.customerService = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
@ -550,7 +550,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
field: 'customerService',
|
|
|
|
|
label: '',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '单证',
|
|
|
|
@ -577,7 +577,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
if (!e && !obj) {
|
|
|
|
|
formModel.doc = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
@ -585,7 +585,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
field: 'doc',
|
|
|
|
|
label: '',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '海外客服',
|
|
|
|
@ -611,7 +611,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
if (!e && !obj) {
|
|
|
|
|
formModel.foreignCustomerService = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
@ -619,7 +619,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
field: 'foreignCustomerService',
|
|
|
|
|
label: '',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '所属分部',
|
|
|
|
@ -647,15 +647,15 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
} else {
|
|
|
|
|
formModel.saleOrgName = ''
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'saleDeptName',
|
|
|
|
|
label: '',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'saleDeptId',
|
|
|
|
@ -680,9 +680,9 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
} else {
|
|
|
|
|
formModel.saleDeptName = ''
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '',
|
|
|
|
@ -750,9 +750,9 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
if (!e && !obj) {
|
|
|
|
|
formModel.truckerId = ''
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '船公司id',
|
|
|
|
@ -786,9 +786,9 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
if (!e && !obj) {
|
|
|
|
|
formModel.carrierId = ''
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '订舱代理',
|
|
|
|
@ -821,7 +821,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
if (!e && !obj) {
|
|
|
|
|
formModel.forwarderId = ''
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
@ -858,9 +858,9 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
if (!e && !obj) {
|
|
|
|
|
formModel.shipAgencyId = ''
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '',
|
|
|
|
@ -893,9 +893,9 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
if (!e && !obj) {
|
|
|
|
|
formModel.yardId = ''
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '',
|
|
|
|
@ -932,7 +932,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// field: 'czRemark',
|
|
|
|
|
// label: '操作备注',
|
|
|
|
@ -989,9 +989,9 @@ export const mailingInfoFormSchemaL: FormSchema[] = [
|
|
|
|
|
formModel.shipper = obj.label
|
|
|
|
|
formModel.shipperContent = obj.content
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: ' ',
|
|
|
|
@ -1000,8 +1000,8 @@ export const mailingInfoFormSchemaL: FormSchema[] = [
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
colProps: { span: 24 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
slice: [30, 35, 40]
|
|
|
|
|
}
|
|
|
|
|
slice: [30, 35, 40],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// field: 'fhr',
|
|
|
|
@ -1073,9 +1073,9 @@ export const mailingInfoFormSchemaL: FormSchema[] = [
|
|
|
|
|
formModel.consignee = obj.label
|
|
|
|
|
formModel.consigneeContent = obj.content
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// field: 'shr',
|
|
|
|
@ -1112,8 +1112,8 @@ export const mailingInfoFormSchemaL: FormSchema[] = [
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
colProps: { span: 24 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
slice: [30, 35, 40]
|
|
|
|
|
}
|
|
|
|
|
slice: [30, 35, 40],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '',
|
|
|
|
@ -1177,9 +1177,9 @@ export const mailingInfoFormSchemaL: FormSchema[] = [
|
|
|
|
|
formModel.notifyParty = obj.label
|
|
|
|
|
formModel.notifyPartyContent = obj.content
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// field: 'tzr',
|
|
|
|
@ -1223,9 +1223,9 @@ export const mailingInfoFormSchemaL: FormSchema[] = [
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
colProps: { span: 24 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
slice: [30, 35, 40]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
slice: [30, 35, 40],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
@ -1296,7 +1296,7 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
|
labelField: 'voyNo',
|
|
|
|
|
valueField: 'voyNo',
|
|
|
|
|
resultField: 'data',
|
|
|
|
|
immediate: false
|
|
|
|
|
immediate: false,
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
@ -1327,9 +1327,9 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
|
formModel.receiptPlace = null
|
|
|
|
|
formModel.receiptPlaceId = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '收货地',
|
|
|
|
@ -1342,7 +1342,7 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
|
label: '收货地Id',
|
|
|
|
|
field: 'receiptPlaceId',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '装货港代码',
|
|
|
|
@ -1369,9 +1369,9 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
|
formModel.loadPortId = null
|
|
|
|
|
formModel.loadPort = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '装货港',
|
|
|
|
@ -1384,7 +1384,7 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
|
label: '装货港Id',
|
|
|
|
|
field: 'loadPortId',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '中转港代码',
|
|
|
|
@ -1413,7 +1413,7 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
|
formModel.transPortId = null
|
|
|
|
|
formModel.transPort = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
@ -1428,7 +1428,7 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
|
label: '中转港Id',
|
|
|
|
|
field: 'transPortId',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '卸货港代码',
|
|
|
|
@ -1457,9 +1457,9 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
|
formModel.dischargePortId = null
|
|
|
|
|
formModel.dischargePort = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '卸货港',
|
|
|
|
@ -1472,7 +1472,7 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
|
label: '卸货港Id',
|
|
|
|
|
field: 'dischargePortId',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '交货地代码',
|
|
|
|
@ -1516,7 +1516,7 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
|
label: '交货地Id',
|
|
|
|
|
field: 'deliveryPlaceId',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'closingDate',
|
|
|
|
@ -1529,7 +1529,7 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
|
componentProps: {
|
|
|
|
|
showTime: true,
|
|
|
|
|
allowClear: true,
|
|
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm'
|
|
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -1543,7 +1543,7 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
|
componentProps: {
|
|
|
|
|
showTime: true,
|
|
|
|
|
allowClear: true,
|
|
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm'
|
|
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -1605,7 +1605,7 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
|
if (!v && !obj) {
|
|
|
|
|
formModel.termDelivery = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
@ -1613,7 +1613,7 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
|
field: 'termDelivery',
|
|
|
|
|
label: '贸易方式',
|
|
|
|
|
component: 'Select',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'tradeTermCode',
|
|
|
|
@ -1638,7 +1638,7 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
|
if (!v && !obj) {
|
|
|
|
|
formModel.tradeTerm = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
@ -2032,9 +2032,9 @@ export const mastetMoreFormSchema: FormSchema[] = [
|
|
|
|
|
if (e) {
|
|
|
|
|
formModel.masterConsigneeContent = e.res
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '',
|
|
|
|
@ -2073,7 +2073,7 @@ export const cargoInfoFormSchema1: FormSchema[] = [
|
|
|
|
|
span: 12,
|
|
|
|
|
},
|
|
|
|
|
componentProps: {
|
|
|
|
|
slice: [14, 15]
|
|
|
|
|
slice: [14, 15],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -2084,9 +2084,9 @@ export const cargoInfoFormSchema1: FormSchema[] = [
|
|
|
|
|
dynamicDisabled: false,
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
slice: [30, 35, 40]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
slice: [30, 35, 40],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
export const cargoInfoFormSchema2: FormSchema[] = [
|
|
|
|
|
{
|
|
|
|
@ -2138,7 +2138,7 @@ export const cargoInfoFormSchema2: FormSchema[] = [
|
|
|
|
|
formActionType ? formActionType.submit() : null
|
|
|
|
|
}, 10)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
@ -2162,14 +2162,14 @@ export const cargoInfoFormSchema2: FormSchema[] = [
|
|
|
|
|
component: 'InputNumber',
|
|
|
|
|
required: false,
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
export const cargoInfoFormSchema3: FormSchema[] = [
|
|
|
|
|
{
|
|
|
|
|
label: '',
|
|
|
|
|
field: 'goodsId',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'goodsName',
|
|
|
|
@ -2197,7 +2197,7 @@ export const cargoInfoFormSchema3: FormSchema[] = [
|
|
|
|
|
formModel.goodsId = null
|
|
|
|
|
formModel.hsCode = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
@ -2386,8 +2386,8 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
// defaultValue: '',
|
|
|
|
|
colProps: { span: 8 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
autoSize: { minRows: 3, maxRows: 3 }
|
|
|
|
|
}
|
|
|
|
|
autoSize: { minRows: 3, maxRows: 3 },
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'bookingRemark',
|
|
|
|
@ -2398,8 +2398,8 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
// defaultValue: '',
|
|
|
|
|
colProps: { span: 8 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
autoSize: { minRows: 3, maxRows: 3 }
|
|
|
|
|
}
|
|
|
|
|
autoSize: { minRows: 3, maxRows: 3 },
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'closeDocRemark',
|
|
|
|
@ -2410,8 +2410,8 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
// defaultValue: '',
|
|
|
|
|
colProps: { span: 8 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
autoSize: { minRows: 3, maxRows: 3 }
|
|
|
|
|
}
|
|
|
|
|
autoSize: { minRows: 3, maxRows: 3 },
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'issueType',
|
|
|
|
@ -2445,7 +2445,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
formModel.noBill = null
|
|
|
|
|
formModel.copyNoBill = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
@ -2453,7 +2453,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
field: 'issueTypeCode',
|
|
|
|
|
label: '签单方式code',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'issueDate',
|
|
|
|
@ -2491,7 +2491,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
formModel.issuePlace = null
|
|
|
|
|
formModel.issuePlaceId = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
@ -2500,13 +2500,13 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
field: 'issuePlace',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
required: false,
|
|
|
|
|
colProps: { span: 4 }
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '签单地Id',
|
|
|
|
|
field: 'issuePlaceId',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'mblFrt',
|
|
|
|
@ -2535,7 +2535,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
if (!e && !obj) {
|
|
|
|
|
formModel.mblFrtCode = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
@ -2582,9 +2582,9 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
formModel.prepareAtId = null
|
|
|
|
|
formModel.prepareAtCode = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'service',
|
|
|
|
@ -2613,7 +2613,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
if (!e && !obj) {
|
|
|
|
|
formModel.serviceCode = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
@ -2621,7 +2621,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
field: 'serviceCode',
|
|
|
|
|
label: '运输条款代码',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'noBill',
|
|
|
|
@ -2654,9 +2654,9 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
showSearch: true,
|
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
// 客户类别下拉框数据
|
|
|
|
@ -2672,7 +2672,7 @@ export const personFormSchema: FormSchema[] = [
|
|
|
|
|
field: 'id',
|
|
|
|
|
label: '',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'customerType',
|
|
|
|
@ -2733,23 +2733,23 @@ export const personFormSchema: FormSchema[] = [
|
|
|
|
|
formModel.tel = ''
|
|
|
|
|
}
|
|
|
|
|
// 设置关系人下拉
|
|
|
|
|
GetOrderContactListByClientId({ id: v }).then(res => {
|
|
|
|
|
personList.value = res.data.map(item => {
|
|
|
|
|
GetOrderContactListByClientId({ id: v }).then((res) => {
|
|
|
|
|
personList.value = res.data.map((item) => {
|
|
|
|
|
return {
|
|
|
|
|
label: item.shortName,
|
|
|
|
|
value: item.id
|
|
|
|
|
value: item.id,
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'customerName',
|
|
|
|
|
label: '',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'customerContactId',
|
|
|
|
@ -2770,15 +2770,15 @@ export const personFormSchema: FormSchema[] = [
|
|
|
|
|
} else {
|
|
|
|
|
formModel.name = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'name',
|
|
|
|
|
label: '',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '邮箱',
|
|
|
|
@ -2798,15 +2798,15 @@ export const personFormSchema: FormSchema[] = [
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
show: false,
|
|
|
|
|
colProps: { span: 24 }
|
|
|
|
|
colProps: { span: 24 },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'note',
|
|
|
|
|
label: '备注',
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
component: 'InputTextArea',
|
|
|
|
|
colProps: { span: 24 }
|
|
|
|
|
}
|
|
|
|
|
colProps: { span: 24 },
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
// 关系人表格
|
|
|
|
|