|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<a-form-model :model="form" :label-col="labelCol" :wrapper-col="wrapperCol">
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item class="strong" label="客户名称">
|
|
|
|
|
<a-select
|
|
|
|
|
v-model="form.custCode"
|
|
|
|
@ -26,7 +26,7 @@
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item class="strong" label="用户名">
|
|
|
|
|
<a-select size="small" v-model="form.userId" style="width: 100%" @change="handleChangeUser">
|
|
|
|
|
<a-spin v-if="fetching" slot="notFoundContent" size="small" />
|
|
|
|
@ -36,14 +36,14 @@
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item class="strong" label="模板名称">
|
|
|
|
|
<a-input size="small" v-model="form.templateName" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-row v-if="form.carrierId!='EMC'">
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item class="strong" label="船公司">
|
|
|
|
|
<a-select
|
|
|
|
|
v-model="form.carrierId"
|
|
|
|
@ -59,7 +59,7 @@
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item class="strong" label="模板类型">
|
|
|
|
|
<a-select v-model="form.category" style="width: 100%" show-search size="small">
|
|
|
|
|
<a-select-option value="BOOKING">订舱</a-select-option>
|
|
|
|
@ -68,183 +68,356 @@
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item class="strong" label="是否启用模板">
|
|
|
|
|
<a-checkbox style="margin-left: 20px;" v-model="form.isEnable"></a-checkbox>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-row v-if="form.carrierId=='EMC'">
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item class="strong" label="船公司">
|
|
|
|
|
<a-select
|
|
|
|
|
v-model="form.carrierId"
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
show-search
|
|
|
|
|
:filter-option="filterOption"
|
|
|
|
|
size="small"
|
|
|
|
|
@change="handleChangeCarrier">
|
|
|
|
|
<a-spin v-if="fetching" slot="notFoundContent" size="small" />
|
|
|
|
|
<a-select-option v-for="item in carrierList" :key="item.code">
|
|
|
|
|
{{ item.cnName }} / {{ item.code }}
|
|
|
|
|
</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item class="strong" label="模板类型">
|
|
|
|
|
<a-select v-model="form.category" style="width: 100%" show-search size="small">
|
|
|
|
|
<a-select-option value="BOOKING">订舱</a-select-option>
|
|
|
|
|
<a-select-option value="DRAFT">草稿</a-select-option>
|
|
|
|
|
<a-select-option value="TEMPLATE">模板</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item class="strong" label="是否接受订舱通知">
|
|
|
|
|
<a-checkbox style="margin-left: 20px;" v-model="form.notifyNext"></a-checkbox>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item class="strong" label="是否启用模板">
|
|
|
|
|
<a-checkbox style="margin-left: 20px;" v-model="form.isEnable"></a-checkbox>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row v-if="form.carrierId!='EMC'">
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item class="strong" label="合约号">
|
|
|
|
|
<a-input size="small" v-model="form.contractNO" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item class="strong" label="订舱账号">
|
|
|
|
|
<a-input size="small" v-model="form.bookingAccount" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<div style="margin: 20px 0;margin-left: 10px;">
|
|
|
|
|
<span style="font-size: 14px;font-weight: bold;color: black;">船期匹配优先级</span>
|
|
|
|
|
<span>(船舶路径默认直达优先,航程默认最短优先,离港日期默认最早优先,预抵日期默认最早优先)</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="padding-left: 30px;">
|
|
|
|
|
<draggable style="display: flex;" v-model="priorityList" animation="300">
|
|
|
|
|
<div v-for="(item, index) in priorityList" :key="index" class="box-item">
|
|
|
|
|
{{ item.name }} <a-checkbox style="margin-left: 10px" v-model="item.checked"></a-checkbox>
|
|
|
|
|
</div>
|
|
|
|
|
</draggable>
|
|
|
|
|
</div>
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-model-item class="strong" label="起运时间">
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="当前加几天"
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
size="small"
|
|
|
|
|
v-model="form.startDay" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-row v-if="form.carrierId=='EMC'">
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item class="strong" label="合约">
|
|
|
|
|
<a-select allowClear v-model="form.contractType" style="width: 30%;margin-right: 5%" show-search size="small">
|
|
|
|
|
<a-select-option value="SC">SC</a-select-option>
|
|
|
|
|
<a-select-option value="HT">HT</a-select-option>
|
|
|
|
|
<a-select-option value="LT">LT</a-select-option>
|
|
|
|
|
<a-select-option value="SQ">SQ</a-select-option>
|
|
|
|
|
<a-select-option value="RS">RS</a-select-option>
|
|
|
|
|
<a-select-option value="LM">LM</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
<a-input size="small" style="width: 60%" v-model="form.contractNO" placeholder="约号">
|
|
|
|
|
</a-input></a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-model-item class="strong" label="时间范围">
|
|
|
|
|
<a-select allowClear v-model="form.endWeek" style="width: 100%" show-search size="small">
|
|
|
|
|
<a-select-option :value="1">及后一周</a-select-option>
|
|
|
|
|
<a-select-option :value="2">及后二周</a-select-option>
|
|
|
|
|
<a-select-option :value="3">及后三周</a-select-option>
|
|
|
|
|
<a-select-option :value="4">及后四周</a-select-option>
|
|
|
|
|
<a-select-option :value="5">及后五周</a-select-option>
|
|
|
|
|
<a-select-option :value="6">及后六周</a-select-option>
|
|
|
|
|
<a-select-option :value="7">及后七周</a-select-option>
|
|
|
|
|
<a-select-option :value="8">及后八周</a-select-option>
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item class="strong" label="签约方">
|
|
|
|
|
<a-select allowClear v-model="form.signType" style="width: 100%;" show-search size="small">
|
|
|
|
|
<a-select-option value="shipper">shipper</a-select-option>
|
|
|
|
|
<a-select-option value="party">party</a-select-option>
|
|
|
|
|
<a-select-option value="forwarder">forwarder</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item class="strong" label="订舱网点">
|
|
|
|
|
<a-input size="small" v-model="form.cancelAddr" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item class="strong" label="提单签发地">
|
|
|
|
|
<a-input size="small" v-model="form.billSignLoc" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row style="margin-top: 20px;">
|
|
|
|
|
<a-row v-if="form.carrierId=='EMC'">
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item class="strong" label="订舱账号">
|
|
|
|
|
<a-input size="small" v-model="form.bookingAccount" placeholder="订舱账号" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item class="strong" label="内参号">
|
|
|
|
|
<a-input size="small" v-model="form.customerInnerCode" placeholder="内参号" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-model-item class="strong" label="提单数量">
|
|
|
|
|
<a-input size="small" v-model="form.billCount" placeholder="不填默认1" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<div v-if="form.carrierId!='EMC'">
|
|
|
|
|
<div style="margin: 20px 0;margin-left: 10px;">
|
|
|
|
|
<span style="font-size: 14px;font-weight: bold;color: black;">船期匹配优先级</span>
|
|
|
|
|
<span>(船舶路径默认直达优先,航程默认最短优先,离港日期默认最早优先,预抵日期默认最早优先)</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="padding-left: 30px;" >
|
|
|
|
|
<draggable style="display: flex;" v-model="priorityList" animation="300">
|
|
|
|
|
<div v-for="(item, index) in priorityList" :key="index" class="box-item">
|
|
|
|
|
{{ item.name }} <a-checkbox style="margin-left: 10px" v-model="item.checked"></a-checkbox>
|
|
|
|
|
</div>
|
|
|
|
|
</draggable>
|
|
|
|
|
</div>
|
|
|
|
|
<a-row >
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-model-item class="strong" label="起运时间">
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="当前加几天"
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
size="small"
|
|
|
|
|
v-model="form.startDay" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-model-item class="strong" label="时间范围">
|
|
|
|
|
<a-select allowClear v-model="form.endWeek" style="width: 100%" show-search size="small">
|
|
|
|
|
<a-select-option :value="1">及后一周</a-select-option>
|
|
|
|
|
<a-select-option :value="2">及后二周</a-select-option>
|
|
|
|
|
<a-select-option :value="3">及后三周</a-select-option>
|
|
|
|
|
<a-select-option :value="4">及后四周</a-select-option>
|
|
|
|
|
<a-select-option :value="5">及后五周</a-select-option>
|
|
|
|
|
<a-select-option :value="6">及后六周</a-select-option>
|
|
|
|
|
<a-select-option :value="7">及后七周</a-select-option>
|
|
|
|
|
<a-select-option :value="8">及后八周</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row style="margin-top: 20px;">
|
|
|
|
|
<a-col :span="12" >
|
|
|
|
|
<div style="padding-left: 80px">
|
|
|
|
|
<span style="font-weight: bold;font-size: 15px;margin-right: 10px;color: black">发货人</span>
|
|
|
|
|
<span style="color: red">注意:模板生效时,此处填写内容,默认以此内容订舱,没填以订单中内容订舱</span>
|
|
|
|
|
</div>
|
|
|
|
|
<a-form-model-item label="发货人名称" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input size="small" v-model="form.shipperName" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="发货人地址" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input size="small" v-model="form.shipperAddress" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="地理信息" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input placeholder="国家" style="width: 19%;" size="small" v-model="form.shipperCountry" />
|
|
|
|
|
<a-input placeholder="省份" style="width: 19%;margin: 0 1%;" size="small" v-model="form.shipperProvince" />
|
|
|
|
|
<a-input placeholder="城市" style="width: 19%;" size="small" v-model="form.shipperCity" />
|
|
|
|
|
<a-input placeholder="县/区" style="width: 19%;margin: 0 1%;" size="small" v-model="form.shipperCounty" />
|
|
|
|
|
<a-input placeholder="邮编" style="width: 19%;" size="small" v-model="form.shipperPostCode" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="联系人信息" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input placeholder="姓" style="width: 19%;" size="small" v-model="form.shipperFirstName" />
|
|
|
|
|
<a-input placeholder="名" style="width: 19%;margin: 0 1%;" size="small" v-model="form.shipperLastName" />
|
|
|
|
|
<a-input placeholder="区号" style="width: 19%;" size="small" v-model="form.shipperPhoneCountryCode" />
|
|
|
|
|
<a-input placeholder="电话号" style="width: 19%;margin: 0 1%;" size="small" v-model="form.shipperPhone" />
|
|
|
|
|
<a-input placeholder="分机号" style="width: 19%;" size="small" v-model="form.shipperPhoneExtension" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<div style="padding-left: 80px">
|
|
|
|
|
<span style="font-weight: bold;font-size: 15px;margin-right: 10px;color: black">订舱公司</span>
|
|
|
|
|
<span style="color: red">注意:模板生效时,此处填写内容,默认以此内容订舱,没填以订单中内容订舱</span>
|
|
|
|
|
</div>
|
|
|
|
|
<a-form-model-item label="订舱人名称" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input size="small" v-model="form.bookingName" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="订舱人地址" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input size="small" v-model="form.bookingAddress" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="地理信息" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input placeholder="国家" style="width: 19%;" size="small" v-model="form.bookingCountry" />
|
|
|
|
|
<a-input placeholder="省份" style="width: 19%;margin: 0 1%;" size="small" v-model="form.bookingProvince" />
|
|
|
|
|
<a-input placeholder="城市" style="width: 19%;" size="small" v-model="form.bookingCity" />
|
|
|
|
|
<a-input placeholder="县/区" style="width: 19%;margin: 0 1%;" size="small" v-model="form.bookingCounty" />
|
|
|
|
|
<a-input placeholder="邮编" style="width: 19%;" size="small" v-model="form.bookingPostCode" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="联系人信息" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input placeholder="姓" style="width: 19%;" size="small" v-model="form.bookingFirstName" />
|
|
|
|
|
<a-input placeholder="名" style="width: 19%;margin: 0 1%;" size="small" v-model="form.bookingLastName" />
|
|
|
|
|
<a-input placeholder="区号" style="width: 19%;" size="small" v-model="form.bookingPhoneCountryCode" />
|
|
|
|
|
<a-input placeholder="电话号码" style="width: 19%;margin: 0 1%;" size="small" v-model="form.bookingPhone" />
|
|
|
|
|
<a-input placeholder="分机号" style="width: 19%;" size="small" v-model="form.bookingPhoneExtension " />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row style="margin-top: 20px;">
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<div style="padding-left: 80px">
|
|
|
|
|
<span style="font-weight: bold;font-size: 15px;margin-right: 10px;color: black">收货人</span>
|
|
|
|
|
<span style="color: red">注意:模板生效时,此处填写内容,默认以此内容订舱,没填以订单中内容订舱</span>
|
|
|
|
|
</div>
|
|
|
|
|
<a-form-model-item label="收货人名称" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input size="small" v-model="form.consigneeName" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="收货人地址" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input size="small" v-model="form.consigneeAddress" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="地理信息" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input placeholder="国家" style="width: 19%;" size="small" v-model="form.consigneeCountry" />
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="省份"
|
|
|
|
|
style="width: 19%;margin: 0 1%;"
|
|
|
|
|
size="small"
|
|
|
|
|
v-model="form.consigneeProvince" />
|
|
|
|
|
<a-input placeholder="城市" style="width: 19%;" size="small" v-model="form.consigneeCity" />
|
|
|
|
|
<a-input placeholder="县/区" style="width: 19%;margin: 0 1%;" size="small" v-model="form.consigneeCounty" />
|
|
|
|
|
<a-input placeholder="邮编" style="width: 19%;" size="small" v-model="form.consigneePostCode" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="联系人信息" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input placeholder="姓" style="width: 19%;" size="small" v-model="form.consigneeFirstName" />
|
|
|
|
|
<a-input placeholder="名" style="width: 19%;margin: 0 1%;" size="small" v-model="form.consigneeLastName" />
|
|
|
|
|
<a-input placeholder="国家区号" style="width: 19%;" size="small" v-model="form.consigneePhoneCountryCode" />
|
|
|
|
|
<a-input placeholder="区号" style="width: 19%;margin: 0 1%;" size="small" v-model="form.consigneePhoneCode" />
|
|
|
|
|
<a-input placeholder="分机号" style="width: 19%;" size="small" v-model="form.consigneePhoneExtension" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<div style="padding-left: 80px">
|
|
|
|
|
<span style="font-weight: bold;font-size: 15px;margin-right: 10px;color: black">通知人</span>
|
|
|
|
|
<span style="color: red">注意:模板生效时,此处填写内容,默认以此内容订舱,没填以订单中内容订舱</span>
|
|
|
|
|
</div>
|
|
|
|
|
<a-form-model-item label="通知人名称" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input size="small" v-model="form.notifypartName" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="通知人地址" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input size="small" v-model="form.notifypartAddress" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="地理信息" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input placeholder="国家" style="width: 19%;" size="small" v-model="form.notifypartCountry" />
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="省份"
|
|
|
|
|
style="width: 19%;margin: 0 1%;"
|
|
|
|
|
size="small"
|
|
|
|
|
v-model="form.notifypartProvince" />
|
|
|
|
|
<a-input placeholder="城市" style="width: 19%;" size="small" v-model="form.notifypartCity" />
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="县/区"
|
|
|
|
|
style="width: 19%;margin: 0 1%;"
|
|
|
|
|
size="small"
|
|
|
|
|
v-model="form.notifypartCounty" />
|
|
|
|
|
<a-input placeholder="邮编" style="width: 19%;" size="small" v-model="form.notifypartPostCode" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="联系人信息" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input placeholder="姓" style="width: 19%;" size="small" v-model="form.notifypartFirstName" />
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="名"
|
|
|
|
|
style="width: 19%;margin: 0 1%;"
|
|
|
|
|
size="small"
|
|
|
|
|
v-model="form.notifypartLastName" />
|
|
|
|
|
<a-input placeholder="区号" style="width: 19%;" size="small" v-model="form.notifypartPhoneCountryCode" />
|
|
|
|
|
<a-input placeholder="电话号码" style="width: 19%;margin: 0 1%;" size="small" v-model="form.notifypartPhone" />
|
|
|
|
|
<a-input placeholder="分机号" style="width: 19%;" size="small" v-model="form.notifypartPhoneExtension" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-model-item :label-col="{span:4}" :wrapper-col="{span:18}" class="strong" label="拖车公司">
|
|
|
|
|
<a-input
|
|
|
|
|
size="small"
|
|
|
|
|
placeholder="若勾选进一步通知,此项内容不生效"
|
|
|
|
|
style="width: 77%;margin-right: 5px;"
|
|
|
|
|
v-model="form.truckCompany" />
|
|
|
|
|
<a-checkbox v-model="form.notifyNext">进一步通知</a-checkbox>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
</div>
|
|
|
|
|
<a-row style="margin-top: 20px;" v-if="form.carrierId=='EMC'" >
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<div style="padding-left: 80px">
|
|
|
|
|
<span style="font-weight: bold;font-size: 15px;margin-right: 10px;color: black">发货人</span>
|
|
|
|
|
<span style="color: red">注意:模板生效时,此处填写内容,默认以此内容订舱,没填以订单中内容订舱</span>
|
|
|
|
|
</div>
|
|
|
|
|
<a-form-model-item label="发货人名称">
|
|
|
|
|
<a-form-model-item label="发货人名称" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input size="small" v-model="form.shipperName" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="发货人地址">
|
|
|
|
|
<a-input size="small" v-model="form.shipperAddress" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="地理信息">
|
|
|
|
|
<a-input placeholder="国家" style="width: 19%;" size="small" v-model="form.shipperCountry" />
|
|
|
|
|
<a-input placeholder="省份" style="width: 19%;margin: 0 1%;" size="small" v-model="form.shipperProvince" />
|
|
|
|
|
<a-input placeholder="城市" style="width: 19%;" size="small" v-model="form.shipperCity" />
|
|
|
|
|
<a-input placeholder="县/区" style="width: 19%;margin: 0 1%;" size="small" v-model="form.shipperCounty" />
|
|
|
|
|
<a-input placeholder="邮编" style="width: 19%;" size="small" v-model="form.shipperPostCode" />
|
|
|
|
|
<a-form-model-item label="联系人信息" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-select allowClear v-model="form.shipperSex" style="width: 13%;" placeholder="性别" size="small">
|
|
|
|
|
<a-select-option value="男">男</a-select-option>
|
|
|
|
|
<a-select-option value="女">女</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
<a-input placeholder="姓" style="width: 13%;margin: 0 1%;" size="small" v-model="form.shipperFirstName" />
|
|
|
|
|
<a-input placeholder="名" style="width: 13%;" size="small" v-model="form.shipperLastName" />
|
|
|
|
|
<a-input placeholder="国家区号" style="width: 13%;margin: 0 1%;" size="small" v-model="form.shipperPhoneCountryCode" />
|
|
|
|
|
<a-input placeholder="城市区号" style="width: 13%;" size="small" v-model="form.shipperPhoneCode" />
|
|
|
|
|
<a-input placeholder="电话" style="width: 13%;margin: 0 1%;" size="small" v-model="form.shipperPhone" />
|
|
|
|
|
<a-input placeholder="分机号" style="width: 16%;" size="small" v-model="form.shipperPhoneExtension" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="联系人信息">
|
|
|
|
|
<a-input placeholder="姓" style="width: 19%;" size="small" v-model="form.shipperFirstName" />
|
|
|
|
|
<a-input placeholder="名" style="width: 19%;margin: 0 1%;" size="small" v-model="form.shipperLastName" />
|
|
|
|
|
<a-input placeholder="国家区号" style="width: 19%;" size="small" v-model="form.shipperPhoneCountryCode" />
|
|
|
|
|
<a-input placeholder="省市区号" style="width: 19%;margin: 0 1%;" size="small" v-model="form.shipperPhoneCode" />
|
|
|
|
|
<a-input placeholder="电话号码" style="width: 19%;" size="small" v-model="form.shipperPhone" />
|
|
|
|
|
<a-form-model-item label="内参号码" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input size="small" v-model="form.shipperInnerCode" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<div style="padding-left: 80px">
|
|
|
|
|
<span style="font-weight: bold;font-size: 15px;margin-right: 10px;color: black">订舱公司</span>
|
|
|
|
|
<span style="font-weight: bold;font-size: 15px;margin-right: 10px;color: black">货代公司</span>
|
|
|
|
|
<span style="color: red">注意:模板生效时,此处填写内容,默认以此内容订舱,没填以订单中内容订舱</span>
|
|
|
|
|
</div>
|
|
|
|
|
<a-form-model-item label="订舱人名称">
|
|
|
|
|
<a-form-model-item label="订舱人名称" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input size="small" v-model="form.bookingName" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="订舱人地址">
|
|
|
|
|
<a-input size="small" v-model="form.bookingAddress" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="地理信息">
|
|
|
|
|
<a-input placeholder="国家" style="width: 19%;" size="small" v-model="form.bookingCountry" />
|
|
|
|
|
<a-input placeholder="省份" style="width: 19%;margin: 0 1%;" size="small" v-model="form.bookingProvince" />
|
|
|
|
|
<a-input placeholder="城市" style="width: 19%;" size="small" v-model="form.bookingCity" />
|
|
|
|
|
<a-input placeholder="县/区" style="width: 19%;margin: 0 1%;" size="small" v-model="form.bookingCounty" />
|
|
|
|
|
<a-input placeholder="邮编" style="width: 19%;" size="small" v-model="form.bookingPostCode" />
|
|
|
|
|
<a-form-model-item label="联系人信息" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-select allowClear v-model="form.bookingSex" style="width: 13%;" placeholder="性别" size="small">
|
|
|
|
|
<a-select-option value="男">男</a-select-option>
|
|
|
|
|
<a-select-option value="女">女</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
<a-input placeholder="姓" style="width: 13%;margin: 0 1%" size="small" v-model="form.bookingFirstName" />
|
|
|
|
|
<a-input placeholder="名" style="width: 13%;" size="small" v-model="form.bookingLastName" />
|
|
|
|
|
<a-input placeholder="国家区号" style="width: 13%;margin: 0 1%" size="small" v-model="form.bookingPhoneCountryCode" />
|
|
|
|
|
<a-input placeholder="城市区号" style="width: 13%;" size="small" v-model="form.bookingPhoneCode" />
|
|
|
|
|
<a-input placeholder="电话号码" style="width: 13%;margin: 0 1%;" size="small" v-model="form.bookingPhone" />
|
|
|
|
|
<a-input placeholder="分机号" style="width: 16%;" size="small" v-model="form.bookingPhoneExtension " />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="联系人信息">
|
|
|
|
|
<a-input placeholder="姓" style="width: 19%;" size="small" v-model="form.bookingFirstName" />
|
|
|
|
|
<a-input placeholder="名" style="width: 19%;margin: 0 1%;" size="small" v-model="form.bookingLastName" />
|
|
|
|
|
<a-input placeholder="国家区号" style="width: 19%;" size="small" v-model="form.bookingPhoneCountryCode" />
|
|
|
|
|
<a-input placeholder="省市区号" style="width: 19%;margin: 0 1%;" size="small" v-model="form.bookingPhoneCode" />
|
|
|
|
|
<a-input placeholder="电话号码" style="width: 19%;" size="small" v-model="form.bookingPhone" />
|
|
|
|
|
<a-form-model-item label="内参号码" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input size="small" v-model="form.bookingInnerCode" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row style="margin-top: 20px;">
|
|
|
|
|
<a-row style="margin-top: 20px;" v-if="form.carrierId=='EMC'">
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<div style="padding-left: 80px">
|
|
|
|
|
<span style="font-weight: bold;font-size: 15px;margin-right: 10px;color: black">收货人</span>
|
|
|
|
|
<span style="color: red">注意:模板生效时,此处填写内容,默认以此内容订舱,没填以订单中内容订舱</span>
|
|
|
|
|
</div>
|
|
|
|
|
<a-form-model-item label="收货人名称">
|
|
|
|
|
<a-form-model-item label="收货人名称" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input size="small" v-model="form.consigneeName" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="收货人地址">
|
|
|
|
|
<a-input size="small" v-model="form.consigneeAddress" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="地理信息">
|
|
|
|
|
<a-input placeholder="国家" style="width: 19%;" size="small" v-model="form.consigneeCountry" />
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="省份"
|
|
|
|
|
style="width: 19%;margin: 0 1%;"
|
|
|
|
|
size="small"
|
|
|
|
|
v-model="form.consigneeProvince" />
|
|
|
|
|
<a-input placeholder="城市" style="width: 19%;" size="small" v-model="form.consigneeCity" />
|
|
|
|
|
<a-input placeholder="县/区" style="width: 19%;margin: 0 1%;" size="small" v-model="form.consigneeCounty" />
|
|
|
|
|
<a-input placeholder="邮编" style="width: 19%;" size="small" v-model="form.consigneePostCode" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="联系人信息">
|
|
|
|
|
<a-input placeholder="姓" style="width: 19%;" size="small" v-model="form.consigneeFirstName" />
|
|
|
|
|
<a-input placeholder="名" style="width: 19%;margin: 0 1%;" size="small" v-model="form.consigneeLastName" />
|
|
|
|
|
<a-input placeholder="国家区号" style="width: 19%;" size="small" v-model="form.consigneePhoneCountryCode" />
|
|
|
|
|
<a-input placeholder="省市区号" style="width: 19%;margin: 0 1%;" size="small" v-model="form.consigneePhoneCode" />
|
|
|
|
|
<a-input placeholder="电话号码" style="width: 19%;" size="small" v-model="form.consigneePhone" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<div style="padding-left: 80px">
|
|
|
|
|
<span style="font-weight: bold;font-size: 15px;margin-right: 10px;color: black">通知人</span>
|
|
|
|
|
<span style="color: red">注意:模板生效时,此处填写内容,默认以此内容订舱,没填以订单中内容订舱</span>
|
|
|
|
|
</div>
|
|
|
|
|
<a-form-model-item label="通知人名称">
|
|
|
|
|
<a-form-model-item label="通知人名称" :label-col="{span:4}" :wrapper-col="{span:18}">
|
|
|
|
|
<a-input size="small" v-model="form.notifypartName" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="通知人地址">
|
|
|
|
|
<a-input size="small" v-model="form.notifypartAddress" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="地理信息">
|
|
|
|
|
<a-input placeholder="国家" style="width: 19%;" size="small" v-model="form.notifypartCountry" />
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="省份"
|
|
|
|
|
style="width: 19%;margin: 0 1%;"
|
|
|
|
|
size="small"
|
|
|
|
|
v-model="form.notifypartProvince" />
|
|
|
|
|
<a-input placeholder="城市" style="width: 19%;" size="small" v-model="form.notifypartCity" />
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="县/区"
|
|
|
|
|
style="width: 19%;margin: 0 1%;"
|
|
|
|
|
size="small"
|
|
|
|
|
v-model="form.notifypartCounty" />
|
|
|
|
|
<a-input placeholder="邮编" style="width: 19%;" size="small" v-model="form.notifypartPostCode" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="联系人信息">
|
|
|
|
|
<a-input placeholder="姓" style="width: 19%;" size="small" v-model="form.notifypartFirstName" />
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="名"
|
|
|
|
|
style="width: 19%;margin: 0 1%;"
|
|
|
|
|
size="small"
|
|
|
|
|
v-model="form.notifypartLastName" />
|
|
|
|
|
<a-input placeholder="国家区号" style="width: 19%;" size="small" v-model="form.notifypartPhoneCountryCode" />
|
|
|
|
|
<a-input placeholder="省市区号" style="width: 19%;margin: 0 1%;" size="small" v-model="form.notifypartPhoneCode" />
|
|
|
|
|
<a-input placeholder="电话号码" style="width: 19%;" size="small" v-model="form.notifypartPhone" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row>
|
|
|
|
@ -263,21 +436,9 @@
|
|
|
|
|
<a-textarea v-model="form.soRemark" style="width: 90%;" :auto-size="{ minRows: 3, maxRows: 5 }" />
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-model-item class="strong" label="拖车公司">
|
|
|
|
|
<a-input
|
|
|
|
|
size="small"
|
|
|
|
|
placeholder="若勾选进一步通知,此项内容不生效"
|
|
|
|
|
style="width: 77%;margin-right: 5px;"
|
|
|
|
|
v-model="form.truckCompany" />
|
|
|
|
|
<a-checkbox v-model="form.notifyNext">进一步通知</a-checkbox>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-row >
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-model-item class="strong" label="接受BC邮箱">
|
|
|
|
|
<a-form-model-item :label-col="{span:4}" :wrapper-col="{span:18}" class="strong" label="接受BC邮箱">
|
|
|
|
|
<a-input size="small" placeholder="多个以分号隔开,若不填,默认传下单操作邮箱" v-model="form.bcReceiveEmail" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -297,9 +458,9 @@ export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
form: {},
|
|
|
|
|
labelCol: { span: 4 },
|
|
|
|
|
labelCol: { span: 8 },
|
|
|
|
|
loading: false,
|
|
|
|
|
wrapperCol: { span: 18 },
|
|
|
|
|
wrapperCol: { span: 16 },
|
|
|
|
|
suggestList: [],
|
|
|
|
|
priorityList: [
|
|
|
|
|
{
|
|
|
|
@ -375,8 +536,8 @@ export default {
|
|
|
|
|
this.suggestList = []
|
|
|
|
|
this.usreList = []
|
|
|
|
|
if (this.$route.query.carrierid) {
|
|
|
|
|
this.form.carrierId = this.$route.query.carrierid
|
|
|
|
|
this.form.carrier = this.$route.query.carrier
|
|
|
|
|
this.$set(this.form, 'carrierId', this.$route.query.carrierid)
|
|
|
|
|
this.$set(this.form, 'carrier', this.$route.query.carrier)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (this.$route.query.type === 'edit') {
|
|
|
|
|