|
|
|
@ -2,7 +2,8 @@
|
|
|
|
|
<div class="operation-area">
|
|
|
|
|
<a-card
|
|
|
|
|
:bordered="false"
|
|
|
|
|
:bodyStyle="{ 'padding-top': ' 6px', 'padding-left': '5px', 'padding-bottom': '0px', 'margin-bottom': '4px' }">
|
|
|
|
|
:bodyStyle="{ 'padding-top': ' 6px', 'padding-left': '5px', 'padding-bottom': '0px', 'margin-bottom': '4px' }"
|
|
|
|
|
>
|
|
|
|
|
<div class="btn-list more-view">
|
|
|
|
|
<a-popconfirm
|
|
|
|
|
placement="bottom"
|
|
|
|
@ -10,7 +11,8 @@
|
|
|
|
|
ok-text="是"
|
|
|
|
|
cancel-text="否"
|
|
|
|
|
@confirm="refreshPage"
|
|
|
|
|
@cancel="cancelRefresh">
|
|
|
|
|
@cancel="cancelRefresh"
|
|
|
|
|
>
|
|
|
|
|
<button><span class="iconfont icon-shuaxin" :style="{ fontSize: '17px' }"></span>刷新</button>
|
|
|
|
|
</a-popconfirm>
|
|
|
|
|
<button @click="copyBooking"><span class="iconfont icon-fuzhi1"></span>复制</button>
|
|
|
|
@ -53,7 +55,13 @@
|
|
|
|
|
</a-upload>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btn-list single-view-1" :style="{ width: '110px' }">
|
|
|
|
|
<a-popconfirm title="确定删除当前订舱?" ok-text="是" cancel-text="否" @confirm="removeOrder" @cancel="cancelRemove">
|
|
|
|
|
<a-popconfirm
|
|
|
|
|
title="确定删除当前订舱?"
|
|
|
|
|
ok-text="是"
|
|
|
|
|
cancel-text="否"
|
|
|
|
|
@confirm="removeOrder"
|
|
|
|
|
@cancel="cancelRemove"
|
|
|
|
|
>
|
|
|
|
|
<button><span class="iconfont icon-shanchu1"></span>删除</button>
|
|
|
|
|
</a-popconfirm>
|
|
|
|
|
<button @click="addChild()" v-if="!details.hbList || details.hbList.length === 0">
|
|
|
|
@ -62,6 +70,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btn-list single-view-4">
|
|
|
|
|
<button @click="FnGoSendCar"><span class="iconfont icon-yunshu1"></span>派车</button>
|
|
|
|
|
<button @click="FnGoExpress"><span class="iconfont icon-goods"></span>快递</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btn-list single-view-1" :class="{ inLoad: inChildLoading || !changeFlag }">
|
|
|
|
|
<button @click="changePage('prev')"><span class="iconfont icon-shang"></span>上一票</button>
|
|
|
|
@ -85,7 +94,8 @@
|
|
|
|
|
:confirmLoading="bookingModelconfirm"
|
|
|
|
|
:maskClosable="false"
|
|
|
|
|
@ok="handleModelSubmit"
|
|
|
|
|
@cancel="handleModelCancel">
|
|
|
|
|
@cancel="handleModelCancel"
|
|
|
|
|
>
|
|
|
|
|
<template v-if="['bookingSpace', 'cutOff'].includes(modelType)">
|
|
|
|
|
<a-form>
|
|
|
|
|
<a-row :gutter="16">
|
|
|
|
@ -95,7 +105,8 @@
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 6 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback
|
|
|
|
|
class="ant-form-file">
|
|
|
|
|
class="ant-form-file"
|
|
|
|
|
>
|
|
|
|
|
<a-radio-group v-model="bookingModelFrom.fileRole">
|
|
|
|
|
<a-radio :style="radioStyle" :value="9"> 原始 </a-radio>
|
|
|
|
|
<a-radio :disabled="forwarderFlag" :style="radioStyle" :value="1"> 更新 </a-radio>
|
|
|
|
@ -107,10 +118,18 @@
|
|
|
|
|
</a-form>
|
|
|
|
|
<template slot="footer">
|
|
|
|
|
<a-button @click="handleModelCancel">关闭</a-button>
|
|
|
|
|
<a-button type="primary" @click="handleModelSubmit('save')" :loading="EDISloading">保存 <template
|
|
|
|
|
v-if="modelType === 'cutOff'">ESI</template><template v-else>EDI</template>文件</a-button>
|
|
|
|
|
<a-button type="primary" @click="handleModelSubmit('send')" :loading="EDIUloading">上传 <template
|
|
|
|
|
v-if="modelType === 'cutOff'">ESI</template><template v-else>EDI</template></a-button>
|
|
|
|
|
<a-button
|
|
|
|
|
type="primary"
|
|
|
|
|
@click="handleModelSubmit('save')"
|
|
|
|
|
:loading="EDISloading"
|
|
|
|
|
>保存 <template v-if="modelType === 'cutOff'">ESI</template><template v-else>EDI</template>文件</a-button
|
|
|
|
|
>
|
|
|
|
|
<a-button
|
|
|
|
|
type="primary"
|
|
|
|
|
@click="handleModelSubmit('send')"
|
|
|
|
|
:loading="EDIUloading"
|
|
|
|
|
>上传 <template v-if="modelType === 'cutOff'">ESI</template><template v-else>EDI</template></a-button
|
|
|
|
|
>
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
@ -122,7 +141,8 @@
|
|
|
|
|
type="primary"
|
|
|
|
|
@click="removeModel"
|
|
|
|
|
:loading="DelLoading"
|
|
|
|
|
v-if="['initCabin'].includes(modelType) || ['ladingBill'].includes(modelType)">
|
|
|
|
|
v-if="['initCabin'].includes(modelType) || ['ladingBill'].includes(modelType)"
|
|
|
|
|
>
|
|
|
|
|
删除
|
|
|
|
|
</a-button>
|
|
|
|
|
<template v-if="modelType === 'initCabin' || modelType === 'ladingBill'">
|
|
|
|
@ -139,7 +159,13 @@
|
|
|
|
|
DOCX
|
|
|
|
|
</a-button> -->
|
|
|
|
|
</template>
|
|
|
|
|
<a-button class="btn" type="primary" v-if="modelType == 'initCabin'" @click="sendModel" :loading="SendLoading">
|
|
|
|
|
<a-button
|
|
|
|
|
class="btn"
|
|
|
|
|
type="primary"
|
|
|
|
|
v-if="modelType == 'initCabin'"
|
|
|
|
|
@click="sendModel"
|
|
|
|
|
:loading="SendLoading"
|
|
|
|
|
>
|
|
|
|
|
发送
|
|
|
|
|
</a-button>
|
|
|
|
|
<a-button class="btn" type="primary" v-if="modelType == 'initCabin'" @click="handleOpenHis">
|
|
|
|
@ -160,7 +186,8 @@
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 2 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 21 } }"
|
|
|
|
|
has-feedback
|
|
|
|
|
:style="{ marginLeft: '-18px' }">
|
|
|
|
|
:style="{ marginLeft: '-18px' }"
|
|
|
|
|
>
|
|
|
|
|
<a-input :allowClear="true" v-model="initCabinFrom.toName" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -169,7 +196,8 @@
|
|
|
|
|
label="打印格式"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 6 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="initCabinFrom.attn" /> -->
|
|
|
|
|
<a-select :allowClear="true" v-model="initCabinFrom.templateId">
|
|
|
|
|
<a-select-option v-for="item in initCabinSendData" :value="item.id" :key="item.id">
|
|
|
|
@ -185,7 +213,8 @@
|
|
|
|
|
label="ATTN"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input :allowClear="true" v-model="initCabinFrom.attn" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -194,7 +223,8 @@
|
|
|
|
|
label="电话"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input :allowClear="true" v-model="initCabinFrom.attnTel" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -203,7 +233,8 @@
|
|
|
|
|
label="邮箱"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 6 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input :allowClear="true" v-model="initCabinFrom.attnMail" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -212,7 +243,8 @@
|
|
|
|
|
label="手机"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 6 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input :allowClear="true" v-model="initCabinFrom.attnPhone" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -222,7 +254,8 @@
|
|
|
|
|
label="FROM"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input :allowClear="true" v-model="initCabinFrom.fromName" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -231,7 +264,8 @@
|
|
|
|
|
label="电话"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input :allowClear="true" v-model="initCabinFrom.fromTel" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -240,7 +274,8 @@
|
|
|
|
|
label="邮箱"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 6 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input :allowClear="true" v-model="initCabinFrom.fromMail" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -249,7 +284,8 @@
|
|
|
|
|
label="手机"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 6 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input :allowClear="true" v-model="initCabinFrom.fromPhone" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -261,7 +297,8 @@
|
|
|
|
|
label="提箱小票链接"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 3 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<div class="box-flex">
|
|
|
|
|
<a-input class="box-input" :allowClear="true" v-model="initCabinFrom.orderUrl.urlTxxp" />
|
|
|
|
|
<span @click="copyFun(initCabinFrom.orderUrl.urlTxxp)"><i class="iconfont icon-fuzhi2"></i></span>
|
|
|
|
@ -273,7 +310,8 @@
|
|
|
|
|
label="VGM链接"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 3 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<div class="box-flex">
|
|
|
|
|
<a-input class="box-input" :allowClear="true" v-model="initCabinFrom.orderUrl.urlVgm" />
|
|
|
|
|
<span @click="copyFun(initCabinFrom.orderUrl.urlVgm)"><i class="iconfont icon-fuzhi2"></i></span>
|
|
|
|
@ -285,10 +323,14 @@
|
|
|
|
|
label="SI&VGM链接"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 3 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<div class="box-flex">
|
|
|
|
|
<a-input class="box-input" :allowClear="true" v-model="initCabinFrom.orderUrl.urlVgmSi" />
|
|
|
|
|
<span @click="copyFun(initCabinFrom.orderUrl.urlVgmSi)"><i class="iconfont icon-fuzhi2"></i></span>
|
|
|
|
|
<span
|
|
|
|
|
@click="copyFun(initCabinFrom.orderUrl.urlVgmSi)"
|
|
|
|
|
><i class="iconfont icon-fuzhi2"></i
|
|
|
|
|
></span>
|
|
|
|
|
</div>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -299,7 +341,8 @@
|
|
|
|
|
label="场站"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-select
|
|
|
|
|
class="customer-input"
|
|
|
|
|
style="width:195px;"
|
|
|
|
@ -308,7 +351,8 @@
|
|
|
|
|
@change="handleYardChange"
|
|
|
|
|
show-search
|
|
|
|
|
:filter-option="filterOption"
|
|
|
|
|
:dropdownMatchSelectWidth="false">
|
|
|
|
|
:dropdownMatchSelectWidth="false"
|
|
|
|
|
>
|
|
|
|
|
<a-select-option v-for="(yard, yindex) in yardSelectData" :key="yindex" :value="yindex">
|
|
|
|
|
{{ yard.selectShowTab }}
|
|
|
|
|
</a-select-option>
|
|
|
|
@ -320,12 +364,14 @@
|
|
|
|
|
label="联系人"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input
|
|
|
|
|
class="box-input"
|
|
|
|
|
style="width:195px;"
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
v-model="initCabinFrom.yardcontract" />
|
|
|
|
|
v-model="initCabinFrom.yardcontract"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
@ -333,12 +379,14 @@
|
|
|
|
|
label="电话"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-input
|
|
|
|
|
class="box-input"
|
|
|
|
|
style="width:195px;"
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
v-model="initCabinFrom.yardcontracttel" />
|
|
|
|
|
v-model="initCabinFrom.yardcontracttel"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
@ -346,14 +394,16 @@
|
|
|
|
|
label="截港时间"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<!-- {{ details.closingdate || '--' }} -->
|
|
|
|
|
<a-date-picker
|
|
|
|
|
:show-time="{ format: 'HH:00:00' }"
|
|
|
|
|
style="width:120px;"
|
|
|
|
|
format="YYYY-MM-DD HH:00:00"
|
|
|
|
|
v-model="initCabinFrom.closingTime"
|
|
|
|
|
@change="closingdateChange">
|
|
|
|
|
@change="closingdateChange"
|
|
|
|
|
>
|
|
|
|
|
<a-icon slot="suffixIcon" type="time" style="display: none" />
|
|
|
|
|
</a-date-picker>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -363,14 +413,16 @@
|
|
|
|
|
label="截单时间"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<!-- {{ details.closedocdate || '--' }} -->
|
|
|
|
|
<a-date-picker
|
|
|
|
|
style="width:120px;"
|
|
|
|
|
:show-time="{ format: 'HH:00:00' }"
|
|
|
|
|
format="YYYY-MM-DD HH:00:00"
|
|
|
|
|
v-model="initCabinFrom.closeDocTime"
|
|
|
|
|
@change="closedocdateChange">
|
|
|
|
|
@change="closedocdateChange"
|
|
|
|
|
>
|
|
|
|
|
<a-icon slot="suffixIcon" type="time" style="display: none" />
|
|
|
|
|
</a-date-picker>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -380,14 +432,16 @@
|
|
|
|
|
label="截VGM时间"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<!-- {{ details.closevgmdate || '--' }} -->
|
|
|
|
|
<a-date-picker
|
|
|
|
|
show-time
|
|
|
|
|
style="width:120px;"
|
|
|
|
|
format="YYYY-MM-DD HH:mm:ss"
|
|
|
|
|
v-model="initCabinFrom.vgmTime"
|
|
|
|
|
@change="closevgmdateChange">
|
|
|
|
|
@change="closevgmdateChange"
|
|
|
|
|
>
|
|
|
|
|
<a-icon slot="suffixIcon" type="time" style="display: none" />
|
|
|
|
|
</a-date-picker>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -399,14 +453,16 @@
|
|
|
|
|
label="备注"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 3 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<div class="box-flex">
|
|
|
|
|
<a-textarea
|
|
|
|
|
class="remark-input"
|
|
|
|
|
style="width:1000px !important; text-align: left;"
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
:auto-size="{ minRows: 7, maxRows: 7 }"
|
|
|
|
|
v-model="initCabinFrom.remark" />
|
|
|
|
|
v-model="initCabinFrom.remark"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <div class="box-flex">
|
|
|
|
|
<a-input
|
|
|
|
@ -428,13 +484,18 @@
|
|
|
|
|
label="VGM提交地址"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 3 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<div class="box-flex">
|
|
|
|
|
<a-input
|
|
|
|
|
style="width:1000px !important; text-align: left;"
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
v-model="initCabinFrom.orderUrl.urlVgm" />
|
|
|
|
|
<span style="margin-left:7px;"><i class="iconfont icon-fuzhi2"><!--复制--></i></span>
|
|
|
|
|
v-model="initCabinFrom.orderUrl.urlVgm"
|
|
|
|
|
/>
|
|
|
|
|
<span
|
|
|
|
|
style="margin-left:7px;"
|
|
|
|
|
><i class="iconfont icon-fuzhi2"><!--复制--></i></span
|
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -445,7 +506,8 @@
|
|
|
|
|
label="主提单号"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
{{ details.mblno || '--' }}
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -454,7 +516,8 @@
|
|
|
|
|
label="分提单号"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
{{ details.hblno || '--' }}
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -463,7 +526,8 @@
|
|
|
|
|
label="海关航次"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
{{ details.voyno || '--' }}
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -472,7 +536,8 @@
|
|
|
|
|
label="开船日期"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
{{ details.etd || '--' }}
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -481,7 +546,8 @@
|
|
|
|
|
label="截港时间"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
{{ details.closingdate || '--' }}
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -490,7 +556,8 @@
|
|
|
|
|
label="截单时间"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
{{ details.closedocdate || '--' }}
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -499,7 +566,8 @@
|
|
|
|
|
label="截VGM时间"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 4 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
{{ details.closevgmdate || '--' }}
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -508,7 +576,8 @@
|
|
|
|
|
label="装货港"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
{{ details.portload || '--' }}
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -517,7 +586,8 @@
|
|
|
|
|
label="卸货港"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
{{ details.portdischarge || '--' }}
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -526,7 +596,8 @@
|
|
|
|
|
label="目的地"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
{{ details.destination || '--' }}
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -535,7 +606,8 @@
|
|
|
|
|
label="件重尺"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
{{ details.pkgs || '--' }} / {{ details.kgs || '--' }} / {{ details.cbm || '--' }}
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -546,13 +618,15 @@
|
|
|
|
|
label="备注"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 3 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<div class="box-flex">
|
|
|
|
|
<a-textarea
|
|
|
|
|
style="width:1000px !important; text-align: left;"
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
:auto-size="{ minRows: 3, maxRows: 3 }"
|
|
|
|
|
v-model="initCabinFrom.remark" />
|
|
|
|
|
v-model="initCabinFrom.remark"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -602,7 +676,8 @@
|
|
|
|
|
@click="FnCilckTemplateType(item.id)"
|
|
|
|
|
class="items"
|
|
|
|
|
:span="11"
|
|
|
|
|
:offset="index % 2 == 0 ? 0 : 1">
|
|
|
|
|
:offset="index % 2 == 0 ? 0 : 1"
|
|
|
|
|
>
|
|
|
|
|
<span>·</span>{{ item.displayName }}
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
@ -620,7 +695,8 @@
|
|
|
|
|
placement="right"
|
|
|
|
|
:visible="OcrVisible"
|
|
|
|
|
@close="OcrOnClose"
|
|
|
|
|
class="OCRBox">
|
|
|
|
|
class="OCRBox"
|
|
|
|
|
>
|
|
|
|
|
<a-row justify="end" :style="{ width: '100%', marginTop: '5px' }">
|
|
|
|
|
<a-col :span="6" :offset="18">
|
|
|
|
|
<span>缩放比例:</span>
|
|
|
|
@ -642,7 +718,8 @@
|
|
|
|
|
@mousedown="mousedown"
|
|
|
|
|
@mouseup="mouseup"
|
|
|
|
|
@mousemove="mousemove"
|
|
|
|
|
:style="{ backgroundImage: `url(${imgSrc})` }"></canvas>
|
|
|
|
|
:style="{ backgroundImage: `url(${imgSrc})` }"
|
|
|
|
|
></canvas>
|
|
|
|
|
<ul class="CvBox" v-if="CvBoxType" :style="{ left: `${Bx}px`, top: `${By}px` }">
|
|
|
|
|
<li v-for="item in BCvData" :key="item.name" @click="FnClickCvBox(item)">{{ item.name }}</li>
|
|
|
|
|
</ul>
|
|
|
|
@ -660,13 +737,15 @@
|
|
|
|
|
label="请选择订阅内容"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 6 } }"
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
has-feedback>
|
|
|
|
|
has-feedback
|
|
|
|
|
>
|
|
|
|
|
<a-checkbox-group
|
|
|
|
|
class="trace-check"
|
|
|
|
|
v-model="traceValue"
|
|
|
|
|
name="checkboxgroup"
|
|
|
|
|
:options="traceOptions"
|
|
|
|
|
@change="onTraceChange" />
|
|
|
|
|
@change="onTraceChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
@ -697,7 +776,8 @@
|
|
|
|
|
:showLabel="['shortName']"
|
|
|
|
|
:openSearch="true"
|
|
|
|
|
:isCopy="false"
|
|
|
|
|
@change="getSelectViewRes"></selectView>
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
></selectView>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
@ -733,21 +813,22 @@
|
|
|
|
|
@change="tablePaginationChange"
|
|
|
|
|
:pagination="pagination"
|
|
|
|
|
:columns="columns"
|
|
|
|
|
:data-source="data">
|
|
|
|
|
<a slot="action" slot-scope="text,record" @click="handleInto(record)">引入</a>
|
|
|
|
|
:data-source="data"
|
|
|
|
|
>
|
|
|
|
|
<a slot="action" slot-scope="text, record" @click="handleInto(record)">引入</a>
|
|
|
|
|
</a-table>
|
|
|
|
|
</a-spin>
|
|
|
|
|
</a-modal>
|
|
|
|
|
<a-modal width="1100px" ref="form" :maskClosable="false" v-model="historyDataFlag" title="历史信息">
|
|
|
|
|
<a-spin :spinning="hisLoading">
|
|
|
|
|
<div class="hisBox">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="hisBox"></div>
|
|
|
|
|
<a-table
|
|
|
|
|
:scroll="{ x: '900' }"
|
|
|
|
|
@change="tablePaginationChange"
|
|
|
|
|
:pagination="pagination"
|
|
|
|
|
:columns="hisColums"
|
|
|
|
|
:data-source="hisData">
|
|
|
|
|
:data-source="hisData"
|
|
|
|
|
>
|
|
|
|
|
</a-table>
|
|
|
|
|
</a-spin>
|
|
|
|
|
</a-modal>
|
|
|
|
@ -1066,9 +1147,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
|
...mapGetters([
|
|
|
|
|
'saveFlag'
|
|
|
|
|
])
|
|
|
|
|
...mapGetters(['saveFlag'])
|
|
|
|
|
},
|
|
|
|
|
components: {
|
|
|
|
|
preOrder, selectView, textareaView
|
|
|
|
@ -1672,6 +1751,16 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
FnGoExpress() {
|
|
|
|
|
console.log(this.id)
|
|
|
|
|
this.$router.push({
|
|
|
|
|
name: 'ExpressModuleDetails',
|
|
|
|
|
query: {
|
|
|
|
|
type: 'Add',
|
|
|
|
|
Ids: `${this.id}`
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// ========== OCR ==========
|
|
|
|
|
FnClickCvBox(data) {
|
|
|
|
|
const Arr = ['pkgs', 'cbm', 'kgs', 'portdischarge', 'destination', 'kindpkgs']
|
|
|
|
@ -2041,10 +2130,10 @@ export default {
|
|
|
|
|
this.EDISloading = false
|
|
|
|
|
this.EDIUloading = false
|
|
|
|
|
if (res.data.type === 'application/json') {
|
|
|
|
|
const reader = new FileReader();
|
|
|
|
|
reader.readAsText(res.data, 'utf-8');
|
|
|
|
|
const reader = new FileReader()
|
|
|
|
|
reader.readAsText(res.data, 'utf-8')
|
|
|
|
|
reader.onload = () => {
|
|
|
|
|
const _res = JSON.parse(reader.result);
|
|
|
|
|
const _res = JSON.parse(reader.result)
|
|
|
|
|
console.log(_res)
|
|
|
|
|
this.$message.error(_res.message)
|
|
|
|
|
}
|
|
|
|
@ -2105,7 +2194,7 @@ export default {
|
|
|
|
|
_this.sendXHZ()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onCancel() { },
|
|
|
|
|
onCancel() {},
|
|
|
|
|
class: 'test'
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
@ -2384,7 +2473,7 @@ export default {
|
|
|
|
|
this.changeFlag = false
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
this.changeFlag = true
|
|
|
|
|
}, 4000);
|
|
|
|
|
}, 4000)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
copyBooking() {
|
|
|
|
|