|
|
|
@ -1,115 +1,488 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<a-collapse default-active-key="1" :bordered="false" expandIconPosition="right">
|
|
|
|
|
<a-collapse-panel>
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<div class="base-tit"><i class="iconfont icon-a-fahuodaifahuo"></i>收发通信息</div>
|
|
|
|
|
</template>
|
|
|
|
|
<div class="mail-info">
|
|
|
|
|
<a-row :gutter="10">
|
|
|
|
|
<a-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
|
|
|
|
|
<div class="sender">
|
|
|
|
|
<div class="top">
|
|
|
|
|
<div class="name"><span class="iconfont icon-bianji"></span>发货人 </div>
|
|
|
|
|
<auto-complete
|
|
|
|
|
v-decorator="['name', { rules: [{ required: true, message: '请输入船名!' }] }]"
|
|
|
|
|
:data-source="dataSource"
|
|
|
|
|
option-label-prop="title"
|
|
|
|
|
placeholder="请输入船名"
|
|
|
|
|
:filter-option="filterOption"
|
|
|
|
|
/>
|
|
|
|
|
<a-button class="save-btn" type="link" size="small" icon="save">保存</a-button>
|
|
|
|
|
<div class="right">
|
|
|
|
|
<span class="btn-circle">*</span>
|
|
|
|
|
<span class="btn" @click="changeCode(35)">35</span>
|
|
|
|
|
<span class="btn" @click="changeCode(40)">40</span>
|
|
|
|
|
<span class="btn" @click="changeCode(50)">50</span>
|
|
|
|
|
</div>
|
|
|
|
|
<a-collapse class="collapse-box" :bordered="false" expandIconPosition="right">
|
|
|
|
|
<a-collapse-panel>
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<div class="base-tit"><i class="iconfont icon-a-fahuodaifahuo"></i>收发通信息</div>
|
|
|
|
|
</template>
|
|
|
|
|
<div class="mail-info">
|
|
|
|
|
<a-row :gutter="10">
|
|
|
|
|
<a-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
|
|
|
|
|
<div class="sender">
|
|
|
|
|
<div class="top">
|
|
|
|
|
<div class="name"><span class="iconfont icon-bianji"></span>发货人</div>
|
|
|
|
|
<auto-complete
|
|
|
|
|
v-decorator="['name', { rules: [{ required: true, message: '请输入船名!' }] }]"
|
|
|
|
|
:data-source="dataSource"
|
|
|
|
|
option-label-prop="title"
|
|
|
|
|
placeholder="请输入船名"
|
|
|
|
|
:filter-option="filterOption"
|
|
|
|
|
/>
|
|
|
|
|
<a-button class="save-btn" type="link" size="small" icon="save">保存</a-button>
|
|
|
|
|
<div class="right">
|
|
|
|
|
<span class="btn-circle">*</span>
|
|
|
|
|
<span class="btn" @click="changeCode(35)">35</span>
|
|
|
|
|
<span class="btn" @click="changeCode(40)">40</span>
|
|
|
|
|
<span class="btn" @click="changeCode(50)">50</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="bottom">
|
|
|
|
|
<a-textarea
|
|
|
|
|
v-model="senderInfo"
|
|
|
|
|
placeholder="Autosize height with minimum and maximum number of lines"
|
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 6 }"
|
|
|
|
|
style="height:100px;"
|
|
|
|
|
/>
|
|
|
|
|
<div class="line-count">
|
|
|
|
|
<template v-for="(num, index) in senderInfo.split('\n')">
|
|
|
|
|
<div :key="index">{{ num.length }}</div>
|
|
|
|
|
</template>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="bottom">
|
|
|
|
|
<a-textarea
|
|
|
|
|
v-model="senderInfo"
|
|
|
|
|
placeholder="Autosize height with minimum and maximum number of lines"
|
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 6 }"
|
|
|
|
|
style="height: 130px"
|
|
|
|
|
/>
|
|
|
|
|
<div class="line-count">
|
|
|
|
|
<template v-for="(num, index) in senderInfo.split('\n')">
|
|
|
|
|
<div :key="index">{{ num.length }}</div>
|
|
|
|
|
</template>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sender">
|
|
|
|
|
<div class="top">
|
|
|
|
|
<div class="name"><span class="iconfont icon-bianji"></span>发货人 </div>
|
|
|
|
|
<auto-complete
|
|
|
|
|
v-decorator="['name', { rules: [{ required: true, message: '请输入船名!' }] }]"
|
|
|
|
|
:data-source="dataSource"
|
|
|
|
|
option-label-prop="title"
|
|
|
|
|
placeholder="请输入船名"
|
|
|
|
|
:filter-option="filterOption"
|
|
|
|
|
/>
|
|
|
|
|
<a-button class="save-btn" type="link" size="small" icon="save">保存</a-button>
|
|
|
|
|
<div class="right">
|
|
|
|
|
<span class="btn-circle">*</span>
|
|
|
|
|
<span class="btn" @click="changeCode(35)">35</span>
|
|
|
|
|
<span class="btn" @click="changeCode(40)">40</span>
|
|
|
|
|
<span class="btn" @click="changeCode(50)">50</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="consignee">
|
|
|
|
|
<div class="top">
|
|
|
|
|
<div class="name"><span class="iconfont icon-bianji"></span>发货人</div>
|
|
|
|
|
<auto-complete
|
|
|
|
|
v-decorator="['name', { rules: [{ required: true, message: '请输入船名!' }] }]"
|
|
|
|
|
:data-source="dataSource"
|
|
|
|
|
option-label-prop="title"
|
|
|
|
|
placeholder="请输入船名"
|
|
|
|
|
:filter-option="filterOption"
|
|
|
|
|
/>
|
|
|
|
|
<a-button class="save-btn" type="link" size="small" icon="save">保存</a-button>
|
|
|
|
|
<div class="right">
|
|
|
|
|
<span class="btn-circle">*</span>
|
|
|
|
|
<span class="btn" @click="changeCode(35)">35</span>
|
|
|
|
|
<span class="btn" @click="changeCode(40)">40</span>
|
|
|
|
|
<span class="btn" @click="changeCode(50)">50</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="bottom">
|
|
|
|
|
<a-textarea
|
|
|
|
|
v-model="senderInfo"
|
|
|
|
|
placeholder="Autosize height with minimum and maximum number of lines"
|
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 6 }"
|
|
|
|
|
style="height:100px;"
|
|
|
|
|
/>
|
|
|
|
|
<div class="line-count">
|
|
|
|
|
<template v-for="(num, index) in senderInfo.split('\n')">
|
|
|
|
|
<div :key="index">{{ num.length }}</div>
|
|
|
|
|
</template>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="bottom">
|
|
|
|
|
<a-textarea
|
|
|
|
|
v-model="senderInfo"
|
|
|
|
|
placeholder="Autosize height with minimum and maximum number of lines"
|
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 6 }"
|
|
|
|
|
style="height: 130px"
|
|
|
|
|
/>
|
|
|
|
|
<div class="line-count">
|
|
|
|
|
<template v-for="(num, index) in senderInfo.split('\n')">
|
|
|
|
|
<div :key="index">{{ num.length }}</div>
|
|
|
|
|
</template>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sender">
|
|
|
|
|
<div class="top">
|
|
|
|
|
<div class="name"><span class="iconfont icon-bianji"></span>发货人 </div>
|
|
|
|
|
<auto-complete
|
|
|
|
|
v-decorator="['name', { rules: [{ required: true, message: '请输入船名!' }] }]"
|
|
|
|
|
:data-source="dataSource"
|
|
|
|
|
option-label-prop="title"
|
|
|
|
|
placeholder="请输入船名"
|
|
|
|
|
:filter-option="filterOption"
|
|
|
|
|
/>
|
|
|
|
|
<a-button class="save-btn" type="link" size="small" icon="save">保存</a-button>
|
|
|
|
|
<div class="right">
|
|
|
|
|
<span class="btn-circle">*</span>
|
|
|
|
|
<span class="btn" @click="changeCode(35)">35</span>
|
|
|
|
|
<span class="btn" @click="changeCode(40)">40</span>
|
|
|
|
|
<span class="btn" @click="changeCode(50)">50</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="notifier">
|
|
|
|
|
<div class="top">
|
|
|
|
|
<div class="name"><span class="iconfont icon-bianji"></span>发货人</div>
|
|
|
|
|
<auto-complete
|
|
|
|
|
v-decorator="['name', { rules: [{ required: true, message: '请输入船名!' }] }]"
|
|
|
|
|
:data-source="dataSource"
|
|
|
|
|
option-label-prop="title"
|
|
|
|
|
placeholder="请输入船名"
|
|
|
|
|
:filter-option="filterOption"
|
|
|
|
|
/>
|
|
|
|
|
<a-button class="save-btn" type="link" size="small" icon="save">保存</a-button>
|
|
|
|
|
<div class="right">
|
|
|
|
|
<span class="btn-circle">*</span>
|
|
|
|
|
<span class="btn" @click="changeCode(35)">35</span>
|
|
|
|
|
<span class="btn" @click="changeCode(40)">40</span>
|
|
|
|
|
<span class="btn" @click="changeCode(50)">50</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="bottom">
|
|
|
|
|
<a-textarea
|
|
|
|
|
v-model="senderInfo"
|
|
|
|
|
placeholder="Autosize height with minimum and maximum number of lines"
|
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 6 }"
|
|
|
|
|
style="height:100px;"
|
|
|
|
|
/>
|
|
|
|
|
<div class="line-count">
|
|
|
|
|
<template v-for="(num, index) in senderInfo.split('\n')">
|
|
|
|
|
<div :key="index">{{ num.length }}</div>
|
|
|
|
|
</template>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="bottom">
|
|
|
|
|
<a-textarea
|
|
|
|
|
v-model="senderInfo"
|
|
|
|
|
placeholder="Autosize height with minimum and maximum number of lines"
|
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 6 }"
|
|
|
|
|
style="height: 130px"
|
|
|
|
|
/>
|
|
|
|
|
<div class="line-count">
|
|
|
|
|
<template v-for="(num, index) in senderInfo.split('\n')">
|
|
|
|
|
<div :key="index">{{ num.length }}</div>
|
|
|
|
|
</template>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
</div>
|
|
|
|
|
</a-collapse-panel>
|
|
|
|
|
</a-collapse>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
|
|
|
|
|
<a-form :form="form">
|
|
|
|
|
<a-row :gutter="16">
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="场站"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<div style="display: flex">
|
|
|
|
|
<auto-complete
|
|
|
|
|
style="flex: 1"
|
|
|
|
|
v-decorator="['name', { rules: [{ required: true, message: '请输入场站!' }] }]"
|
|
|
|
|
:data-source="dataSource"
|
|
|
|
|
option-label-prop="title"
|
|
|
|
|
placeholder="请输入场站"
|
|
|
|
|
:filter-option="filterOption"
|
|
|
|
|
/>
|
|
|
|
|
<i class="iconfont icon-touxiang" style="margin: 0 4px"></i>
|
|
|
|
|
<i class="iconfont icon-bianji1"></i>
|
|
|
|
|
</div>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="报关行"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="请输入报关行"
|
|
|
|
|
v-decorator="['paramName', { rules: [{ required: true, message: '请输入报关行!' }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="车队"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="请输入车队"
|
|
|
|
|
v-decorator="['paramName', { rules: [{ required: true, message: '请输入车队!' }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="国外代理"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="请输入国外代理"
|
|
|
|
|
v-decorator="['paramName', { rules: [{ required: true, message: '请输入国外代理!' }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="预抵日期"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-date-picker
|
|
|
|
|
format="YYYY-MM-DD HH:mm:ss"
|
|
|
|
|
placeholder="预抵日期"
|
|
|
|
|
v-decorator="['createdTime', { rules: [{ required: false }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="截港时间"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-date-picker
|
|
|
|
|
format="YYYY-MM-DD HH:mm:ss"
|
|
|
|
|
placeholder="截港时间"
|
|
|
|
|
v-decorator="['createdTime', { rules: [{ required: false }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="截单时间"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-date-picker
|
|
|
|
|
format="YYYY-MM-DD HH:mm:ss"
|
|
|
|
|
placeholder="截单时间"
|
|
|
|
|
v-decorator="['createdTime', { rules: [{ required: false }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="VGM时间"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-date-picker
|
|
|
|
|
format="YYYY-MM-DD HH:mm:ss"
|
|
|
|
|
placeholder="VGM时间"
|
|
|
|
|
v-decorator="['createdTime', { rules: [{ required: false }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="装货港"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<auto-complete
|
|
|
|
|
v-decorator="['name', { rules: [{ required: true, message: '请输入装货港!' }] }]"
|
|
|
|
|
:data-source="dataSource"
|
|
|
|
|
option-label-prop="title"
|
|
|
|
|
placeholder="请输入装货港"
|
|
|
|
|
:filter-option="filterOption"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="装货港代码"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="请输入装货港代码"
|
|
|
|
|
v-decorator="['paramName', { rules: [{ required: true, message: '请输入装货港代码!' }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="中转港"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<auto-complete
|
|
|
|
|
v-decorator="['name', { rules: [{ required: true, message: '请输入中转港!' }] }]"
|
|
|
|
|
:data-source="dataSource"
|
|
|
|
|
option-label-prop="title"
|
|
|
|
|
placeholder="请输入中转港"
|
|
|
|
|
:filter-option="filterOption"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="中转港代码"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="请输入中转港代码"
|
|
|
|
|
v-decorator="['paramName', { rules: [{ required: true, message: '请输入中转港代码!' }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="卸货港"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<auto-complete
|
|
|
|
|
v-decorator="['name', { rules: [{ required: true, message: '请输入卸货港!' }] }]"
|
|
|
|
|
:data-source="dataSource"
|
|
|
|
|
option-label-prop="title"
|
|
|
|
|
placeholder="请输入卸货港"
|
|
|
|
|
:filter-option="filterOption"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="卸货港代码"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="请输入卸货港代码"
|
|
|
|
|
v-decorator="['paramName', { rules: [{ required: true, message: '请输入卸货港代码!' }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="目的地"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<auto-complete
|
|
|
|
|
v-decorator="['name', { rules: [{ required: true, message: '请输入目的地!' }] }]"
|
|
|
|
|
:data-source="dataSource"
|
|
|
|
|
option-label-prop="title"
|
|
|
|
|
placeholder="请输入目的地"
|
|
|
|
|
:filter-option="filterOption"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="目的代码"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="请输入目的代码"
|
|
|
|
|
v-decorator="['paramName', { rules: [{ required: true, message: '请输入目的代码!' }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="交货地"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<auto-complete
|
|
|
|
|
v-decorator="['name', { rules: [{ required: true, message: '请输入交货地!' }] }]"
|
|
|
|
|
:data-source="dataSource"
|
|
|
|
|
option-label-prop="title"
|
|
|
|
|
placeholder="请输入交货地"
|
|
|
|
|
:filter-option="filterOption"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="交货代码"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="请输入交货代码"
|
|
|
|
|
v-decorator="['paramName', { rules: [{ required: true, message: '请输入交货代码!' }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="收货地"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<auto-complete
|
|
|
|
|
v-decorator="['name', { rules: [{ required: true, message: '请输入收货地!' }] }]"
|
|
|
|
|
:data-source="dataSource"
|
|
|
|
|
option-label-prop="title"
|
|
|
|
|
placeholder="请输入收货地"
|
|
|
|
|
:filter-option="filterOption"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="收货代码"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="请输入收货代码"
|
|
|
|
|
v-decorator="['paramName', { rules: [{ required: true, message: '请输入收货代码!' }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="件数"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="请输入件数"
|
|
|
|
|
v-decorator="['paramName', { rules: [{ required: true, message: '请输入件数!' }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="包装"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<auto-complete
|
|
|
|
|
v-decorator="['name', { rules: [{ required: true, message: '请输入包装!' }] }]"
|
|
|
|
|
:data-source="dataSource"
|
|
|
|
|
option-label-prop="title"
|
|
|
|
|
placeholder="请输入包装"
|
|
|
|
|
:filter-option="filterOption"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="毛重"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="请输入毛重"
|
|
|
|
|
v-decorator="['paramName', { rules: [{ required: true, message: '请输入毛重!' }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item
|
|
|
|
|
class="from-label"
|
|
|
|
|
label="尺寸"
|
|
|
|
|
:labelCol="labelCol"
|
|
|
|
|
:wrapperCol="wrapperCol"
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="请输入尺寸"
|
|
|
|
|
v-decorator="['paramName', { rules: [{ required: true, message: '请输入尺寸!' }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
</a-form>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
</div>
|
|
|
|
|
</a-collapse-panel>
|
|
|
|
|
</a-collapse>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
|
import { XCard } from '@/components'
|
|
|
|
@ -123,6 +496,17 @@ export default {
|
|
|
|
|
return {
|
|
|
|
|
dataSource: ['Burns Bay Road', 'Downing Street', 'Wall Street'],
|
|
|
|
|
senderInfo: 'Hope has always been like a young man, clean and pure.',
|
|
|
|
|
form: this.$form.createForm(this),
|
|
|
|
|
labelCol: {
|
|
|
|
|
xs: { span: 24 },
|
|
|
|
|
sm: { span: 8 },
|
|
|
|
|
md: { span: 10 },
|
|
|
|
|
},
|
|
|
|
|
wrapperCol: {
|
|
|
|
|
xs: { span: 24 },
|
|
|
|
|
sm: { span: 15 },
|
|
|
|
|
md: { span: 13 },
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
@ -178,6 +562,10 @@ ${newStr.slice(split)}`
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="less" scoped>
|
|
|
|
|
.collapse-box{
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
background: #fff;
|
|
|
|
|
}
|
|
|
|
|
.base-tit {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
@ -200,18 +588,19 @@ ${newStr.slice(split)}`
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.sender,
|
|
|
|
|
.consignee {
|
|
|
|
|
.consignee,
|
|
|
|
|
.notifier {
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
.top {
|
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
.name {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
color: #666;
|
|
|
|
|
color: #666;
|
|
|
|
|
.iconfont {
|
|
|
|
|
margin-right: 4px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.save-btn {
|
|
|
|
@ -245,8 +634,8 @@ ${newStr.slice(split)}`
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
margin-right: 4px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
margin-top: 2px;
|
|
|
|
|
vertical-align: top;
|
|
|
|
|
margin-top: 2px;
|
|
|
|
|
vertical-align: top;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.bottom {
|
|
|
|
@ -272,4 +661,7 @@ ${newStr.slice(split)}`
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.from-label {
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|