|
|
@ -1,15 +1,15 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div class="task-detail">
|
|
|
|
<div class="task-detail">
|
|
|
|
<div class="nav-btn">
|
|
|
|
<div class="nav-btn-box">
|
|
|
|
<a-button type="primary">完成任务</a-button>
|
|
|
|
<a-button class="nav-btn" type="primary">完成任务</a-button>
|
|
|
|
<a-button type="primary">保存</a-button>
|
|
|
|
<a-button class="nav-btn" type="primary">保存</a-button>
|
|
|
|
<a-button type="primary">发送SI</a-button>
|
|
|
|
<a-button class="nav-btn" type="primary">发送SI</a-button>
|
|
|
|
<a-button type="primary">提单确认</a-button>
|
|
|
|
<a-button class="nav-btn" type="primary">提单确认</a-button>
|
|
|
|
<a-button type="primary">取消完成任务</a-button>
|
|
|
|
<a-button class="nav-btn" type="primary">取消完成任务</a-button>
|
|
|
|
<a-button type="primary">关闭</a-button>
|
|
|
|
<a-button class="nav-btn" type="primary">关闭</a-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<x-card>
|
|
|
|
<x-card>
|
|
|
|
<div slot="content" style="padding-top:0;" class="mail-info">
|
|
|
|
<div slot="content" style="margin-top: -24px;" class="mail-info">
|
|
|
|
<div class="task-basic-box">
|
|
|
|
<div class="task-basic-box">
|
|
|
|
<div class="label">
|
|
|
|
<div class="label">
|
|
|
|
<div class="title">提单号</div>
|
|
|
|
<div class="title">提单号</div>
|
|
|
@ -26,286 +26,303 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</x-card>
|
|
|
|
</x-card>
|
|
|
|
<div class="mailing-info">
|
|
|
|
|
|
|
|
<x-card>
|
|
|
|
<a-collapse class="collapse-box" :bordered="false" expandIconPosition="right" v-model="showKey">
|
|
|
|
<div slot="content" style="margin-top: -5px;" class="mail-info">
|
|
|
|
<a-collapse-panel key="1">
|
|
|
|
<a-form-model :selfUpdate="true" ref="mailingFrom" :model="taskDetail">
|
|
|
|
<template slot="header">
|
|
|
|
<a-row :gutter="10">
|
|
|
|
<div class="base-tit"><i class="iconfont icon-a-fahuodaifahuo"></i>收发通信息</div>
|
|
|
|
<a-col :xs="24" :sm="24" :md="24" :lg="10" :xl="12">
|
|
|
|
</template>
|
|
|
|
<a-form-model-item has-feedback prop="shipper" class="sender-label">
|
|
|
|
<div class="mailing-info">
|
|
|
|
<div class="sender">
|
|
|
|
<x-card>
|
|
|
|
<div class="top"><div class="name"><span class="iconfont icon-bianji"></span>发货人</div></div>
|
|
|
|
<div slot="content" style="margin-top: -24px;" class="mail-info">
|
|
|
|
<div class="bottom">
|
|
|
|
<a-form-model :selfUpdate="true" ref="mailingFrom" :model="taskDetail">
|
|
|
|
<a-textarea
|
|
|
|
<a-row :gutter="10">
|
|
|
|
id="shipper-scroll"
|
|
|
|
<a-col :xs="24" :sm="24" :md="24" :lg="10" :xl="12">
|
|
|
|
:defaultValue="taskDetail.shipper"
|
|
|
|
<a-form-model-item has-feedback prop="shipper" class="sender-label">
|
|
|
|
v-model="showShipper"
|
|
|
|
<div class="sender">
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 5 }"
|
|
|
|
<div class="top"><div class="name"><span class="iconfont icon-bianji"></span>发货人</div></div>
|
|
|
|
style="height: 120px"
|
|
|
|
<div class="bottom">
|
|
|
|
@blur="textareaChange($event, 'shipper')"
|
|
|
|
<a-textarea
|
|
|
|
/>
|
|
|
|
id="shipper-scroll"
|
|
|
|
<div
|
|
|
|
:defaultValue="taskDetail.shipper"
|
|
|
|
class="line-count"
|
|
|
|
v-model="showShipper"
|
|
|
|
id="shipper-scroll-right"
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 5 }"
|
|
|
|
v-if="Object.keys(taskDetail).length > 1 && taskDetail.shipper.length > 1"
|
|
|
|
style="height: 120px"
|
|
|
|
>
|
|
|
|
@blur="textareaChange($event, 'shipper')"
|
|
|
|
<div v-for="(num, index) in taskDetail.shipper.split('\n')" :key="index">{{ num.length }}</div>
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
</div>
|
|
|
|
class="line-count"
|
|
|
|
</div>
|
|
|
|
id="shipper-scroll-right"
|
|
|
|
</a-form-model-item>
|
|
|
|
v-if="Object.keys(taskDetail).length > 1 && taskDetail.shipper.length > 1"
|
|
|
|
<a-form-model-item has-feedback prop="consignee" class="sender-label">
|
|
|
|
>
|
|
|
|
<div class="consignee">
|
|
|
|
<div v-for="(num, index) in taskDetail.shipper.split('\n')" :key="index">{{ num.length }}</div>
|
|
|
|
<div class="top"><div class="name"><span class="iconfont icon-bianji"></span>收货人</div></div>
|
|
|
|
</div>
|
|
|
|
<div class="bottom">
|
|
|
|
</div>
|
|
|
|
<a-textarea
|
|
|
|
|
|
|
|
id="consignee-scroll"
|
|
|
|
|
|
|
|
:defaultValue="taskDetail.consignee"
|
|
|
|
|
|
|
|
v-model="showConsignee"
|
|
|
|
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 5 }"
|
|
|
|
|
|
|
|
style="height: 120px"
|
|
|
|
|
|
|
|
@blur="textareaChange($event, 'consignee')"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<div
|
|
|
|
|
|
|
|
class="line-count"
|
|
|
|
|
|
|
|
id="consignee-scroll-right"
|
|
|
|
|
|
|
|
v-if="Object.keys(taskDetail).length > 1 && taskDetail.consignee.length > 1"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<div v-for="(num, index) in taskDetail.consignee.split('\n')" :key="index">{{ num.length }}</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
<a-form-model-item has-feedback prop="notifyparty" class="sender-label">
|
|
|
|
|
|
|
|
<div class="notifier">
|
|
|
|
|
|
|
|
<div class="top"><div class="name"><span class="iconfont icon-bianji"></span>通知人</div></div>
|
|
|
|
|
|
|
|
<div class="bottom">
|
|
|
|
|
|
|
|
<a-textarea
|
|
|
|
|
|
|
|
id="notifyparty-scroll"
|
|
|
|
|
|
|
|
:defaultValue="taskDetail.notifyparty"
|
|
|
|
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 5 }"
|
|
|
|
|
|
|
|
style="height: 120px"
|
|
|
|
|
|
|
|
v-model="showNotifier"
|
|
|
|
|
|
|
|
@blur="textareaChange($event, 'notifyparty')"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<div
|
|
|
|
|
|
|
|
class="line-count"
|
|
|
|
|
|
|
|
id="notifyparty-scroll-right"
|
|
|
|
|
|
|
|
v-if="Object.keys(taskDetail).length > 1 && taskDetail.notifyparty.length > 1"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<div v-for="(num, index) in taskDetail.notifyparty.split('\n')" :key="index">{{ num.length }}</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col class="right-content" :xs="24" :sm="24" :md="24" :lg="14" :xl="12">
|
|
|
|
|
|
|
|
<a-row :gutter="16">
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="装货港代码"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="portloadid"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<auto-complete
|
|
|
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
|
|
|
v-model="taskDetail.portloadid"
|
|
|
|
|
|
|
|
class="customer-input"
|
|
|
|
|
|
|
|
:data-source="portloadDataArr"
|
|
|
|
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
|
|
|
|
:dropdown-style="{ width: '300px' }"
|
|
|
|
|
|
|
|
@select="portloadSelect"
|
|
|
|
|
|
|
|
@change="portloadChange"
|
|
|
|
|
|
|
|
@focus="portloadChange"
|
|
|
|
|
|
|
|
></auto-complete>
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="装货港"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="portload"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<a-input :allowClear="true" v-model="taskDetail.portload" />
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="中转港代码"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="transportid"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<auto-complete
|
|
|
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
|
|
|
v-model="taskDetail.transportid"
|
|
|
|
|
|
|
|
class="customer-input"
|
|
|
|
|
|
|
|
:data-source="transportDataArr"
|
|
|
|
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
|
|
|
|
:dropdown-style="{ width: '300px' }"
|
|
|
|
|
|
|
|
@select="transportSelect"
|
|
|
|
|
|
|
|
@change="transportChange"
|
|
|
|
|
|
|
|
@focus="transportChange"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="中转港"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="transport"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<a-input :allowClear="true" v-model="taskDetail.transport" />
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="卸货港代码"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="portdischargeid"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<auto-complete
|
|
|
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
|
|
|
v-model="taskDetail.portdischargeid"
|
|
|
|
|
|
|
|
class="customer-input"
|
|
|
|
|
|
|
|
:data-source="portdischargeDataArr"
|
|
|
|
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
|
|
|
|
:dropdown-style="{ width: '300px' }"
|
|
|
|
|
|
|
|
@select="portdischargeSelect"
|
|
|
|
|
|
|
|
@change="portdischargeChange"
|
|
|
|
|
|
|
|
@focus="portdischargeChange"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="卸货港"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="portdischarge"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<a-input :allowClear="true" v-model="taskDetail.portdischarge" />
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="目的代码"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="destinationid"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<auto-complete
|
|
|
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
|
|
|
v-model="taskDetail.destinationid"
|
|
|
|
|
|
|
|
class="customer-input"
|
|
|
|
|
|
|
|
:data-source="destinationDataArr"
|
|
|
|
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
|
|
|
|
:dropdown-style="{ width: '300px' }"
|
|
|
|
|
|
|
|
@select="destinationSelect"
|
|
|
|
|
|
|
|
@change="destinationChange"
|
|
|
|
|
|
|
|
@focus="destinationChange"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="目的地"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="destination"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<a-input :allowClear="true" v-model="taskDetail.destination" />
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="件数"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="pkgs"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<a-input :allowClear="true" v-model="taskDetail.pkgs" type="number"/>
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="包装"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="kindpkgs"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<auto-complete
|
|
|
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
|
|
|
v-model="taskDetail.kindpkgs"
|
|
|
|
|
|
|
|
class="customer-input"
|
|
|
|
|
|
|
|
:data-source="kindpkgsDataArr"
|
|
|
|
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
|
|
|
|
:dropdown-style="{ width: '200px' }"
|
|
|
|
|
|
|
|
@select="kindpkgsSelect"
|
|
|
|
|
|
|
|
@change="kindpkgsChange"
|
|
|
|
|
|
|
|
@focus="kindpkgsChange"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
<a-form-model-item has-feedback prop="consignee" class="sender-label">
|
|
|
|
<a-col :span="12">
|
|
|
|
<div class="consignee">
|
|
|
|
<a-form-model-item
|
|
|
|
<div class="top"><div class="name"><span class="iconfont icon-bianji"></span>收货人</div></div>
|
|
|
|
class="from-label"
|
|
|
|
<div class="bottom">
|
|
|
|
label="毛重"
|
|
|
|
<a-textarea
|
|
|
|
:labelCol="labelCol"
|
|
|
|
id="consignee-scroll"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
:defaultValue="taskDetail.consignee"
|
|
|
|
has-feedback
|
|
|
|
v-model="showConsignee"
|
|
|
|
prop="kgs"
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 5 }"
|
|
|
|
>
|
|
|
|
style="height: 120px"
|
|
|
|
<div class="line-box">
|
|
|
|
@blur="textareaChange($event, 'consignee')"
|
|
|
|
<a-input :allowClear="true" v-model="taskDetail.kgs" /><span class="unit">KGS</span>
|
|
|
|
/>
|
|
|
|
|
|
|
|
<div
|
|
|
|
|
|
|
|
class="line-count"
|
|
|
|
|
|
|
|
id="consignee-scroll-right"
|
|
|
|
|
|
|
|
v-if="Object.keys(taskDetail).length > 1 && taskDetail.consignee.length > 1"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<div v-for="(num, index) in taskDetail.consignee.split('\n')" :key="index">{{ num.length }}</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
<a-form-model-item has-feedback prop="notifyparty" class="sender-label">
|
|
|
|
<a-col :span="12">
|
|
|
|
<div class="notifier">
|
|
|
|
<a-form-model-item
|
|
|
|
<div class="top"><div class="name"><span class="iconfont icon-bianji"></span>通知人</div></div>
|
|
|
|
class="from-label"
|
|
|
|
<div class="bottom">
|
|
|
|
label="尺寸"
|
|
|
|
<a-textarea
|
|
|
|
:labelCol="labelCol"
|
|
|
|
id="notifyparty-scroll"
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
:defaultValue="taskDetail.notifyparty"
|
|
|
|
has-feedback
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 5 }"
|
|
|
|
prop="cbm"
|
|
|
|
style="height: 120px"
|
|
|
|
>
|
|
|
|
v-model="showNotifier"
|
|
|
|
<div class="line-box">
|
|
|
|
@blur="textareaChange($event, 'notifyparty')"
|
|
|
|
<a-input :allowClear="true" v-model="taskDetail.cbm" /><span class="unit">CBM</span>
|
|
|
|
/>
|
|
|
|
|
|
|
|
<div
|
|
|
|
|
|
|
|
class="line-count"
|
|
|
|
|
|
|
|
id="notifyparty-scroll-right"
|
|
|
|
|
|
|
|
v-if="Object.keys(taskDetail).length > 1 && taskDetail.notifyparty.length > 1"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<div v-for="(num, index) in taskDetail.notifyparty.split('\n')" :key="index">{{ num.length }}</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col class="right-content" :xs="24" :sm="24" :md="24" :lg="14" :xl="12">
|
|
|
|
|
|
|
|
<a-row :gutter="16">
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="装货港代码"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="portloadid"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<auto-complete
|
|
|
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
|
|
|
v-model="taskDetail.portloadid"
|
|
|
|
|
|
|
|
class="customer-input"
|
|
|
|
|
|
|
|
:data-source="portloadDataArr"
|
|
|
|
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
|
|
|
|
:dropdown-style="{ width: '300px' }"
|
|
|
|
|
|
|
|
@select="portloadSelect"
|
|
|
|
|
|
|
|
@change="portloadChange"
|
|
|
|
|
|
|
|
@focus="portloadChange"
|
|
|
|
|
|
|
|
></auto-complete>
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="装货港"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="portload"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<a-input :allowClear="true" v-model="taskDetail.portload" />
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="中转港代码"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="transportid"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<auto-complete
|
|
|
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
|
|
|
v-model="taskDetail.transportid"
|
|
|
|
|
|
|
|
class="customer-input"
|
|
|
|
|
|
|
|
:data-source="transportDataArr"
|
|
|
|
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
|
|
|
|
:dropdown-style="{ width: '300px' }"
|
|
|
|
|
|
|
|
@select="transportSelect"
|
|
|
|
|
|
|
|
@change="transportChange"
|
|
|
|
|
|
|
|
@focus="transportChange"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="中转港"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="transport"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<a-input :allowClear="true" v-model="taskDetail.transport" />
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="卸货港代码"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="portdischargeid"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<auto-complete
|
|
|
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
|
|
|
v-model="taskDetail.portdischargeid"
|
|
|
|
|
|
|
|
class="customer-input"
|
|
|
|
|
|
|
|
:data-source="portdischargeDataArr"
|
|
|
|
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
|
|
|
|
:dropdown-style="{ width: '300px' }"
|
|
|
|
|
|
|
|
@select="portdischargeSelect"
|
|
|
|
|
|
|
|
@change="portdischargeChange"
|
|
|
|
|
|
|
|
@focus="portdischargeChange"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="卸货港"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="portdischarge"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<a-input :allowClear="true" v-model="taskDetail.portdischarge" />
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="目的代码"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="destinationid"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<auto-complete
|
|
|
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
|
|
|
v-model="taskDetail.destinationid"
|
|
|
|
|
|
|
|
class="customer-input"
|
|
|
|
|
|
|
|
:data-source="destinationDataArr"
|
|
|
|
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
|
|
|
|
:dropdown-style="{ width: '300px' }"
|
|
|
|
|
|
|
|
@select="destinationSelect"
|
|
|
|
|
|
|
|
@change="destinationChange"
|
|
|
|
|
|
|
|
@focus="destinationChange"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="目的地"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="destination"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<a-input :allowClear="true" v-model="taskDetail.destination" />
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="件数"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="pkgs"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<a-input :allowClear="true" v-model="taskDetail.pkgs" type="number"/>
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="包装"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="kindpkgs"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<auto-complete
|
|
|
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
|
|
|
v-model="taskDetail.kindpkgs"
|
|
|
|
|
|
|
|
class="customer-input"
|
|
|
|
|
|
|
|
:data-source="kindpkgsDataArr"
|
|
|
|
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
|
|
|
|
:dropdown-style="{ width: '200px' }"
|
|
|
|
|
|
|
|
@select="kindpkgsSelect"
|
|
|
|
|
|
|
|
@change="kindpkgsChange"
|
|
|
|
|
|
|
|
@focus="kindpkgsChange"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="毛重"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="kgs"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<div class="line-box">
|
|
|
|
|
|
|
|
<a-input :allowClear="true" v-model="taskDetail.kgs" /><span class="unit">KGS</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
class="from-label"
|
|
|
|
|
|
|
|
label="尺寸"
|
|
|
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="cbm"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<div class="line-box">
|
|
|
|
|
|
|
|
<a-input :allowClear="true" v-model="taskDetail.cbm" /><span class="unit">CBM</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
</a-row>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
</a-row>
|
|
|
|
</a-row>
|
|
|
|
</a-col>
|
|
|
|
</a-form-model>
|
|
|
|
</a-row>
|
|
|
|
</div>
|
|
|
|
</a-form-model>
|
|
|
|
</x-card>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</x-card>
|
|
|
|
</a-collapse-panel>
|
|
|
|
</div>
|
|
|
|
</a-collapse>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a-collapse class="collapse-box" :bordered="false" expandIconPosition="right" v-model="showKey">
|
|
|
|
|
|
|
|
<a-collapse-panel key="1">
|
|
|
|
|
|
|
|
<template slot="header">
|
|
|
|
|
|
|
|
<div class="base-tit"><i class="iconfont icon-goods"></i>货物信息</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<div></div>
|
|
|
|
|
|
|
|
</a-collapse-panel>
|
|
|
|
|
|
|
|
</a-collapse>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
@ -357,7 +374,8 @@ export default {
|
|
|
|
kindpkgsData: [],
|
|
|
|
kindpkgsData: [],
|
|
|
|
showShipper: '',
|
|
|
|
showShipper: '',
|
|
|
|
showConsignee: '',
|
|
|
|
showConsignee: '',
|
|
|
|
showNotifier: ''
|
|
|
|
showNotifier: '',
|
|
|
|
|
|
|
|
showKey: ['1']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
computed: {
|
|
|
@ -584,7 +602,7 @@ export default {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
width: 500px;
|
|
|
|
width: 500px;
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-top: 10px;
|
|
|
|
padding: 10px;
|
|
|
|
padding: 0 10px;
|
|
|
|
background: #fff;
|
|
|
|
background: #fff;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
.label{
|
|
|
|
.label{
|
|
|
@ -618,13 +636,15 @@ export default {
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sender-label{
|
|
|
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
.sender,
|
|
|
|
.sender,
|
|
|
|
.consignee,
|
|
|
|
.consignee,
|
|
|
|
.notifier {
|
|
|
|
.notifier {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
// margin-bottom: 20px;
|
|
|
|
.top {
|
|
|
|
.top {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
// margin-bottom: 15px;
|
|
|
|
min-height: 32px;
|
|
|
|
min-height: 32px;
|
|
|
|
line-height: 32px;
|
|
|
|
line-height: 32px;
|
|
|
|
overflow: hidden;
|
|
|
|
overflow: hidden;
|
|
|
@ -745,4 +765,41 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.collapse-box {
|
|
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
background: #fff;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.base-tit {
|
|
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
|
|
color: #666;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
height: 34px;
|
|
|
|
|
|
|
|
line-height: 40px;
|
|
|
|
|
|
|
|
margin-top: -5px;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
|
|
|
|
content: '';
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
width: 4px;
|
|
|
|
|
|
|
|
height: 30px;
|
|
|
|
|
|
|
|
background: @primary-color;
|
|
|
|
|
|
|
|
top: 6px;
|
|
|
|
|
|
|
|
left: 0px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
i {
|
|
|
|
|
|
|
|
margin-right: 7px;
|
|
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
|
|
|
color: @primary-color;
|
|
|
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-btn-box{
|
|
|
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
|
|
.nav-btn{
|
|
|
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|