|
|
@ -2,16 +2,18 @@
|
|
|
|
<div class="basic-info">
|
|
|
|
<div class="basic-info">
|
|
|
|
<x-card>
|
|
|
|
<x-card>
|
|
|
|
<div slot="content" style="margin-top: -5px;">
|
|
|
|
<div slot="content" style="margin-top: -5px;">
|
|
|
|
<a-form style="margin-bottom:10px;">
|
|
|
|
<!-- <a-button type="primary" @click="checkbasic"> 验证 </a-button> -->
|
|
|
|
|
|
|
|
<a-form-model style="margin-bottom:10px;" ref="basicFrom" :model="details" :rules="rules">
|
|
|
|
<a-row class="from-box" :gutter="10">
|
|
|
|
<a-row class="from-box" :gutter="10">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8">
|
|
|
|
<a-form-item
|
|
|
|
<a-form-model-item
|
|
|
|
class="from-label"
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
prop="customername"
|
|
|
|
label="客户"
|
|
|
|
label="客户"
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
has-feedback>
|
|
|
|
has-feedback>
|
|
|
|
<div class="customer-box">
|
|
|
|
<div class="customer-box" style="padding-right:24px;">
|
|
|
|
<auto-complete
|
|
|
|
<auto-complete
|
|
|
|
:allowClear="true"
|
|
|
|
:allowClear="true"
|
|
|
|
class="customer-input"
|
|
|
|
class="customer-input"
|
|
|
@ -31,15 +33,27 @@
|
|
|
|
></span>
|
|
|
|
></span>
|
|
|
|
<span class="customer-btn iconfont icon-jiahao2fill" @click="changeCustomer('add')"></span>
|
|
|
|
<span class="customer-btn iconfont icon-jiahao2fill" @click="changeCustomer('add')"></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8">
|
|
|
|
<a-form-item class="from-label" label="提单号" :labelCol="labelCol2" :wrapperCol="wrapperCol2" has-feedback>
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="提单号"
|
|
|
|
|
|
|
|
prop="mblno"
|
|
|
|
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
|
|
|
|
has-feedback>
|
|
|
|
<a-input :allowClear="true" v-model="details.mblno" :disabled="ishd" />
|
|
|
|
<a-input :allowClear="true" v-model="details.mblno" :disabled="ishd" />
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8">
|
|
|
|
<a-form-item class="from-label" label="船公司" :labelCol="labelCol2" :wrapperCol="wrapperCol2" has-feedback>
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="船公司"
|
|
|
|
|
|
|
|
prop="carrierid"
|
|
|
|
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
|
|
|
|
has-feedback>
|
|
|
|
<!-- <auto-complete
|
|
|
|
<!-- <auto-complete
|
|
|
|
:allowClear="true"
|
|
|
|
:allowClear="true"
|
|
|
|
:data-source="carrierDataArr"
|
|
|
|
:data-source="carrierDataArr"
|
|
|
@ -58,15 +72,16 @@
|
|
|
|
{{ carrier.selectShowTab }}
|
|
|
|
{{ carrier.selectShowTab }}
|
|
|
|
</a-select-option>
|
|
|
|
</a-select-option>
|
|
|
|
</a-select>
|
|
|
|
</a-select>
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8">
|
|
|
|
<a-form-item
|
|
|
|
<a-form-model-item
|
|
|
|
class="from-label"
|
|
|
|
class="from-label"
|
|
|
|
label="订舱代理"
|
|
|
|
label="订舱代理"
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="forwarder"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<auto-complete
|
|
|
|
<auto-complete
|
|
|
|
:allowClear="true"
|
|
|
|
:allowClear="true"
|
|
|
@ -80,55 +95,80 @@
|
|
|
|
@focus="forwarderChange"
|
|
|
|
@focus="forwarderChange"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.forwarder" /> -->
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.forwarder" /> -->
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8">
|
|
|
|
<a-form-item class="from-label" label="PO NO" :labelCol="labelCol2" :wrapperCol="wrapperCol2" has-feedback>
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="PO NO"
|
|
|
|
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="pono">
|
|
|
|
<a-input :allowClear="true" v-model="details.pono" />
|
|
|
|
<a-input :allowClear="true" v-model="details.pono" />
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8">
|
|
|
|
<a-form-item
|
|
|
|
<a-form-model-item
|
|
|
|
class="from-label"
|
|
|
|
class="from-label"
|
|
|
|
label="分提单号"
|
|
|
|
label="分提单号"
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="hblno"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.hblno" />
|
|
|
|
<a-input :allowClear="true" v-model="details.hblno" />
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8">
|
|
|
|
<a-form-item
|
|
|
|
<a-form-model-item
|
|
|
|
class="from-label"
|
|
|
|
class="from-label"
|
|
|
|
label="订舱编号"
|
|
|
|
label="订舱编号"
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="bookingno"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.bookingno" />
|
|
|
|
<a-input :allowClear="true" v-model="details.bookingno" />
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<template v-if="details.carrierid === 'ESL'">
|
|
|
|
<template v-if="details.carrierid === 'ESL'">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8">
|
|
|
|
<a-form-item class="from-label" label="EP号" :labelCol="labelCol2" :wrapperCol="wrapperCol2" has-feedback>
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="EP号"
|
|
|
|
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="contractno">
|
|
|
|
<a-input :allowClear="true" v-model="details.contractno" />
|
|
|
|
<a-input :allowClear="true" v-model="details.contractno" />
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<template v-else>
|
|
|
|
<template v-else>
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8">
|
|
|
|
<a-form-item class="from-label" label="约号" :labelCol="labelCol2" :wrapperCol="wrapperCol2" has-feedback>
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="约号"
|
|
|
|
|
|
|
|
:labelCol="labelCol2"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol2"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="contractno">
|
|
|
|
<a-input :allowClear="true" v-model="details.contractno" />
|
|
|
|
<a-input :allowClear="true" v-model="details.contractno" />
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</a-row>
|
|
|
|
</a-row>
|
|
|
|
<div class="from-box2">
|
|
|
|
<div class="from-box2">
|
|
|
|
<a-row :gutter="10">
|
|
|
|
<a-row :gutter="10">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-form-item class="from-label" label="船名" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="船名"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="vessel">
|
|
|
|
<auto-complete
|
|
|
|
<auto-complete
|
|
|
|
:allowClear="true"
|
|
|
|
:allowClear="true"
|
|
|
|
class="customer-input"
|
|
|
|
class="customer-input"
|
|
|
@ -140,29 +180,31 @@
|
|
|
|
@change="vesselChange"
|
|
|
|
@change="vesselChange"
|
|
|
|
@focus="vesselChange"
|
|
|
|
@focus="vesselChange"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<template v-if="details.carrierid === 'ESL'">
|
|
|
|
<template v-if="details.carrierid === 'ESL'">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-form-item
|
|
|
|
<a-form-model-item
|
|
|
|
class="from-label"
|
|
|
|
class="from-label"
|
|
|
|
label="航线代码"
|
|
|
|
label="航线代码"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="lanecode"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.lanecode" />
|
|
|
|
<a-input :allowClear="true" v-model="details.lanecode" />
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<template v-else>
|
|
|
|
<template v-else>
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-form-item
|
|
|
|
<a-form-model-item
|
|
|
|
class="from-label"
|
|
|
|
class="from-label"
|
|
|
|
label="内部航次"
|
|
|
|
label="内部航次"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="voynoinner"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<auto-complete
|
|
|
|
<auto-complete
|
|
|
|
:allowClear="true"
|
|
|
|
:allowClear="true"
|
|
|
@ -175,28 +217,29 @@
|
|
|
|
@change="voynoinnerChange"
|
|
|
|
@change="voynoinnerChange"
|
|
|
|
@focus="voynoinnerChange"
|
|
|
|
@focus="voynoinnerChange"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-form-item
|
|
|
|
<a-form-model-item
|
|
|
|
class="from-label"
|
|
|
|
class="from-label"
|
|
|
|
label="海关航次"
|
|
|
|
label="海关航次"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="voyno"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.voyno" />
|
|
|
|
<a-input :allowClear="true" v-model="details.voyno" />
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-form-item
|
|
|
|
<a-form-model-item
|
|
|
|
class="from-label"
|
|
|
|
class="from-label"
|
|
|
|
label="开船日期"
|
|
|
|
label="开船日期"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="etd"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div class="date-box">
|
|
|
|
<div class="date-box">
|
|
|
|
<a-date-picker class="date-picker" format="YYYY-MM-DD" v-model="details.etd" @change="changeEtd">
|
|
|
|
<a-date-picker class="date-picker" format="YYYY-MM-DD" v-model="details.etd" @change="changeEtd">
|
|
|
@ -204,27 +247,34 @@
|
|
|
|
</a-date-picker>
|
|
|
|
</a-date-picker>
|
|
|
|
<span class="week" v-if="etdWeek">W{{ etdWeek || '--' }}</span>
|
|
|
|
<span class="week" v-if="etdWeek">W{{ etdWeek || '--' }}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
</a-row>
|
|
|
|
</a-row>
|
|
|
|
<a-row :gutter="10">
|
|
|
|
<a-row :gutter="10">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-form-item
|
|
|
|
<a-form-model-item
|
|
|
|
class="from-label"
|
|
|
|
class="from-label"
|
|
|
|
label="实际开船"
|
|
|
|
label="实际开船"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="atd"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div class="date-box">
|
|
|
|
<div class="date-box">
|
|
|
|
<a-date-picker class="date-picker" format="YYYY-MM-DD" v-model="details.atd">
|
|
|
|
<a-date-picker class="date-picker" format="YYYY-MM-DD" v-model="details.atd">
|
|
|
|
<a-icon slot="suffixIcon" type="time" style="display: none" />
|
|
|
|
<a-icon slot="suffixIcon" type="time" style="display: none" />
|
|
|
|
</a-date-picker>
|
|
|
|
</a-date-picker>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-form-item class="from-label" label="航线" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="航线"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="lanename">
|
|
|
|
<auto-complete
|
|
|
|
<auto-complete
|
|
|
|
:allowClear="true"
|
|
|
|
:allowClear="true"
|
|
|
|
class="customer-input"
|
|
|
|
class="customer-input"
|
|
|
@ -236,10 +286,16 @@
|
|
|
|
@change="lanenameChange"
|
|
|
|
@change="lanenameChange"
|
|
|
|
@focus="lanenameChange"
|
|
|
|
@focus="lanenameChange"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-form-item class="from-label" label="船代" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="船代"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="shipagency">
|
|
|
|
<auto-complete
|
|
|
|
<auto-complete
|
|
|
|
:allowClear="true"
|
|
|
|
:allowClear="true"
|
|
|
|
class="customer-input"
|
|
|
|
class="customer-input"
|
|
|
@ -251,31 +307,33 @@
|
|
|
|
@change="shipagencyChange"
|
|
|
|
@change="shipagencyChange"
|
|
|
|
@focus="shipagencyChange"
|
|
|
|
@focus="shipagencyChange"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<template v-if="details.carrierid === 'ESL'">
|
|
|
|
<template v-if="details.carrierid === 'ESL'">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-form-item
|
|
|
|
<a-form-model-item
|
|
|
|
class="from-label"
|
|
|
|
class="from-label"
|
|
|
|
label="约号"
|
|
|
|
label="约号"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="contractno"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.contractno" />
|
|
|
|
<a-input :allowClear="true" v-model="details.contractno" />
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</a-row>
|
|
|
|
</a-row>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a-row class="from-box3" :gutter="10">
|
|
|
|
<a-row class="from-box3" :gutter="10">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-form-item
|
|
|
|
<a-form-model-item
|
|
|
|
class="from-label"
|
|
|
|
class="from-label"
|
|
|
|
label="销售人员"
|
|
|
|
label="销售人员"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="sale"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<auto-complete
|
|
|
|
<auto-complete
|
|
|
|
:allowClear="true"
|
|
|
|
:allowClear="true"
|
|
|
@ -288,15 +346,16 @@
|
|
|
|
@change="saleChange"
|
|
|
|
@change="saleChange"
|
|
|
|
@focus="saleChange"
|
|
|
|
@focus="saleChange"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-form-item
|
|
|
|
<a-form-model-item
|
|
|
|
class="from-label"
|
|
|
|
class="from-label"
|
|
|
|
label="操作人员"
|
|
|
|
label="操作人员"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="op"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<auto-complete
|
|
|
|
<auto-complete
|
|
|
|
:allowClear="true"
|
|
|
|
:allowClear="true"
|
|
|
@ -309,15 +368,16 @@
|
|
|
|
@change="opChange"
|
|
|
|
@change="opChange"
|
|
|
|
@focus="opChange"
|
|
|
|
@focus="opChange"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-form-item
|
|
|
|
<a-form-model-item
|
|
|
|
class="from-label"
|
|
|
|
class="from-label"
|
|
|
|
label="单证人员"
|
|
|
|
label="单证人员"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="doc"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<auto-complete
|
|
|
|
<auto-complete
|
|
|
|
:allowClear="true"
|
|
|
|
:allowClear="true"
|
|
|
@ -330,15 +390,16 @@
|
|
|
|
@change="docChange"
|
|
|
|
@change="docChange"
|
|
|
|
@focus="docChange"
|
|
|
|
@focus="docChange"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
|
|
|
|
<a-form-item
|
|
|
|
<a-form-model-item
|
|
|
|
class="from-label"
|
|
|
|
class="from-label"
|
|
|
|
label="客服人员"
|
|
|
|
label="客服人员"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:labelCol="labelCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="custservice"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<auto-complete
|
|
|
|
<auto-complete
|
|
|
|
:allowClear="true"
|
|
|
|
:allowClear="true"
|
|
|
@ -351,10 +412,10 @@
|
|
|
|
@change="custserviceChange"
|
|
|
|
@change="custserviceChange"
|
|
|
|
@focus="custserviceChange"
|
|
|
|
@focus="custserviceChange"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
</a-row>
|
|
|
|
</a-row>
|
|
|
|
</a-form>
|
|
|
|
</a-form-model>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</x-card>
|
|
|
|
</x-card>
|
|
|
|
|
|
|
|
|
|
|
@ -650,7 +711,29 @@ export default {
|
|
|
|
// 选择客户 / 关系人弹窗 - end
|
|
|
|
// 选择客户 / 关系人弹窗 - end
|
|
|
|
customerContactsData: [],
|
|
|
|
customerContactsData: [],
|
|
|
|
ContactType: [],
|
|
|
|
ContactType: [],
|
|
|
|
customerContactsDataList: []
|
|
|
|
customerContactsDataList: [],
|
|
|
|
|
|
|
|
rules: {
|
|
|
|
|
|
|
|
// customername: [ { required: true, message: '请选择客户名', trigger: 'blur' } ],
|
|
|
|
|
|
|
|
// mblno: [{ required: true, message: '请输入提单号', trigger: 'blur' }],
|
|
|
|
|
|
|
|
// carrierid: [{ required: true, message: '请选择船公司', trigger: 'blur' }],
|
|
|
|
|
|
|
|
// forwarder: [{ required: true, message: '请输入订舱代理', trigger: 'blur' }],
|
|
|
|
|
|
|
|
// pono: [{ required: true, message: '请输入PO NO', trigger: 'blur' }],
|
|
|
|
|
|
|
|
// hblno: [{ required: true, message: '请输入分提单号', trigger: 'blur' }],
|
|
|
|
|
|
|
|
// bookingno: [{ required: true, message: '请输入订舱编号', trigger: 'blur' }],
|
|
|
|
|
|
|
|
// contractno: [{ required: true, message: '请输入EP号/约号', trigger: 'blur' }],
|
|
|
|
|
|
|
|
// vessel: [{ required: true, message: '请输入船名', trigger: 'blur' }],
|
|
|
|
|
|
|
|
// lanecode: [{ required: true, message: '请输入航线代码', trigger: 'blur' }],
|
|
|
|
|
|
|
|
// voynoinner: [{ required: true, message: '请输入内部航次', trigger: 'blur' }],
|
|
|
|
|
|
|
|
// voyno: [{ required: true, message: '请输入海关航次', trigger: 'blur' }],
|
|
|
|
|
|
|
|
// etd: [{ required: true, message: '请选择开船日期', trigger: 'blur' }],
|
|
|
|
|
|
|
|
// atd: [{ required: true, message: '请选择实际开船日期', trigger: 'blur' }],
|
|
|
|
|
|
|
|
// lanename: [{ required: true, message: '请输入航线', trigger: 'blur' }],
|
|
|
|
|
|
|
|
// shipagency: [{ required: true, message: '请输入船代', trigger: 'blur' }],
|
|
|
|
|
|
|
|
// sale: [{ required: true, message: '请选择销售人员', trigger: 'blur' }],
|
|
|
|
|
|
|
|
// op: [{ required: true, message: '请选择操作人员', trigger: 'blur' }],
|
|
|
|
|
|
|
|
// doc: [{ required: true, message: '请选择单证人员', trigger: 'blur' }],
|
|
|
|
|
|
|
|
// custservice: [{ required: true, message: '请选择客服人员', trigger: 'blur' }]
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
computed: {
|
|
|
@ -823,6 +906,17 @@ export default {
|
|
|
|
this.init()
|
|
|
|
this.init()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
checkbasic () {
|
|
|
|
|
|
|
|
this.$refs.basicFrom.validate(valid => {
|
|
|
|
|
|
|
|
console.log(valid)
|
|
|
|
|
|
|
|
if (valid) {
|
|
|
|
|
|
|
|
console.log('验证成功!');
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
console.log('验证失败!');
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
// ========== 关系人弹窗 ==========
|
|
|
|
// ========== 关系人弹窗 ==========
|
|
|
|
focusEvent2(data) {
|
|
|
|
focusEvent2(data) {
|
|
|
|
let Arr = data
|
|
|
|
let Arr = data
|
|
|
@ -1337,7 +1431,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
.customer-box {
|
|
|
|
.customer-box {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
margin-top: 2px;
|
|
|
|
.customer-input {
|
|
|
|
.customer-input {
|
|
|
|
flex: 1;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1367,6 +1461,9 @@ export default {
|
|
|
|
/deep/ .date-box {
|
|
|
|
/deep/ .date-box {
|
|
|
|
padding-top: 7px !important;
|
|
|
|
padding-top: 7px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-input[type="text"]{
|
|
|
|
|
|
|
|
height: 28px !important;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// .ant-calendar-picker-input{
|
|
|
|
// .ant-calendar-picker-input{
|
|
|
|
// padding: 0 4px;
|
|
|
|
// padding: 0 4px;
|
|
|
|