|
|
|
@ -1,15 +1,15 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="task-detail">
|
|
|
|
|
<div class="nav-btn">
|
|
|
|
|
<a-button type="primary">完成任务</a-button>
|
|
|
|
|
<a-button type="primary">保存</a-button>
|
|
|
|
|
<a-button type="primary">发送SI</a-button>
|
|
|
|
|
<a-button type="primary">提单确认</a-button>
|
|
|
|
|
<a-button type="primary">取消完成任务</a-button>
|
|
|
|
|
<a-button type="primary">关闭</a-button>
|
|
|
|
|
<div class="nav-btn-box">
|
|
|
|
|
<a-button class="nav-btn" type="primary">完成任务</a-button>
|
|
|
|
|
<a-button class="nav-btn" type="primary">保存</a-button>
|
|
|
|
|
<a-button class="nav-btn" type="primary">发送SI</a-button>
|
|
|
|
|
<a-button class="nav-btn" type="primary">提单确认</a-button>
|
|
|
|
|
<a-button class="nav-btn" type="primary">取消完成任务</a-button>
|
|
|
|
|
<a-button class="nav-btn" type="primary">关闭</a-button>
|
|
|
|
|
</div>
|
|
|
|
|
<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="label">
|
|
|
|
|
<div class="title">提单号</div>
|
|
|
|
@ -26,286 +26,303 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</x-card>
|
|
|
|
|
<div class="mailing-info">
|
|
|
|
|
<x-card>
|
|
|
|
|
<div slot="content" style="margin-top: -5px;" class="mail-info">
|
|
|
|
|
<a-form-model :selfUpdate="true" ref="mailingFrom" :model="taskDetail">
|
|
|
|
|
<a-row :gutter="10">
|
|
|
|
|
<a-col :xs="24" :sm="24" :md="24" :lg="10" :xl="12">
|
|
|
|
|
<a-form-model-item has-feedback prop="shipper" class="sender-label">
|
|
|
|
|
<div class="sender">
|
|
|
|
|
<div class="top"><div class="name"><span class="iconfont icon-bianji"></span>发货人</div></div>
|
|
|
|
|
<div class="bottom">
|
|
|
|
|
<a-textarea
|
|
|
|
|
id="shipper-scroll"
|
|
|
|
|
:defaultValue="taskDetail.shipper"
|
|
|
|
|
v-model="showShipper"
|
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 5 }"
|
|
|
|
|
style="height: 120px"
|
|
|
|
|
@blur="textareaChange($event, 'shipper')"
|
|
|
|
|
/>
|
|
|
|
|
<div
|
|
|
|
|
class="line-count"
|
|
|
|
|
id="shipper-scroll-right"
|
|
|
|
|
v-if="Object.keys(taskDetail).length > 1 && taskDetail.shipper.length > 1"
|
|
|
|
|
>
|
|
|
|
|
<div v-for="(num, index) in taskDetail.shipper.split('\n')" :key="index">{{ num.length }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item has-feedback prop="consignee" class="sender-label">
|
|
|
|
|
<div class="consignee">
|
|
|
|
|
<div class="top"><div class="name"><span class="iconfont icon-bianji"></span>收货人</div></div>
|
|
|
|
|
<div class="bottom">
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
<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-a-fahuodaifahuo"></i>收发通信息</div>
|
|
|
|
|
</template>
|
|
|
|
|
<div class="mailing-info">
|
|
|
|
|
<x-card>
|
|
|
|
|
<div slot="content" style="margin-top: -24px;" class="mail-info">
|
|
|
|
|
<a-form-model :selfUpdate="true" ref="mailingFrom" :model="taskDetail">
|
|
|
|
|
<a-row :gutter="10">
|
|
|
|
|
<a-col :xs="24" :sm="24" :md="24" :lg="10" :xl="12">
|
|
|
|
|
<a-form-model-item has-feedback prop="shipper" class="sender-label">
|
|
|
|
|
<div class="sender">
|
|
|
|
|
<div class="top"><div class="name"><span class="iconfont icon-bianji"></span>发货人</div></div>
|
|
|
|
|
<div class="bottom">
|
|
|
|
|
<a-textarea
|
|
|
|
|
id="shipper-scroll"
|
|
|
|
|
:defaultValue="taskDetail.shipper"
|
|
|
|
|
v-model="showShipper"
|
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 5 }"
|
|
|
|
|
style="height: 120px"
|
|
|
|
|
@blur="textareaChange($event, 'shipper')"
|
|
|
|
|
/>
|
|
|
|
|
<div
|
|
|
|
|
class="line-count"
|
|
|
|
|
id="shipper-scroll-right"
|
|
|
|
|
v-if="Object.keys(taskDetail).length > 1 && taskDetail.shipper.length > 1"
|
|
|
|
|
>
|
|
|
|
|
<div v-for="(num, index) in taskDetail.shipper.split('\n')" :key="index">{{ num.length }}</div>
|
|
|
|
|
</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-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>
|
|
|
|
|
<a-form-model-item has-feedback prop="consignee" class="sender-label">
|
|
|
|
|
<div class="consignee">
|
|
|
|
|
<div class="top"><div class="name"><span class="iconfont icon-bianji"></span>收货人</div></div>
|
|
|
|
|
<div class="bottom">
|
|
|
|
|
<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-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>
|
|
|
|
|
<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>
|
|
|
|
|
</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-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-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
</a-form-model>
|
|
|
|
|
</a-form-model>
|
|
|
|
|
</div>
|
|
|
|
|
</x-card>
|
|
|
|
|
</div>
|
|
|
|
|
</x-card>
|
|
|
|
|
</div>
|
|
|
|
|
</a-collapse-panel>
|
|
|
|
|
</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>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
@ -357,7 +374,8 @@ export default {
|
|
|
|
|
kindpkgsData: [],
|
|
|
|
|
showShipper: '',
|
|
|
|
|
showConsignee: '',
|
|
|
|
|
showNotifier: ''
|
|
|
|
|
showNotifier: '',
|
|
|
|
|
showKey: ['1']
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
@ -584,7 +602,7 @@ export default {
|
|
|
|
|
display: flex;
|
|
|
|
|
width: 500px;
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
padding: 0 10px;
|
|
|
|
|
background: #fff;
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
.label{
|
|
|
|
@ -618,13 +636,15 @@ export default {
|
|
|
|
|
padding-left: 5px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sender-label{
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
.sender,
|
|
|
|
|
.consignee,
|
|
|
|
|
.notifier {
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
// margin-bottom: 20px;
|
|
|
|
|
.top {
|
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
// margin-bottom: 15px;
|
|
|
|
|
min-height: 32px;
|
|
|
|
|
line-height: 32px;
|
|
|
|
|
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>
|
|
|
|
|