去除 placeholder

dev
张同海 2 years ago
parent df4d603ed0
commit 8c98a2db73

@ -9,7 +9,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入发送方EDI代码" v-model="details.bookingEDIExt.sendCode" />
<a-input :allowClear="true" v-model="details.bookingEDIExt.sendCode" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -19,7 +19,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入接收方EDI代码" v-model="details.bookingEDIExt.receiveCode" />
<a-input :allowClear="true" v-model="details.bookingEDIExt.receiveCode" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -29,7 +29,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入通知放EDI代码" v-model="details.bookingEDIExt.notifyCdoe" />
<a-input :allowClear="true" v-model="details.bookingEDIExt.notifyCdoe" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -39,7 +39,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入销售EDI代码" v-model="details.bookingEDIExt.salerCode" />
<a-input :allowClear="true" v-model="details.bookingEDIExt.salerCode" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -49,11 +49,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input
:allowClear="true"
placeholder="请输入Master Bol Indicator"
v-model="details.bookingEDIExt.masterBolIndicator"
/>
<a-input :allowClear="true" v-model="details.bookingEDIExt.masterBolIndicator" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -63,11 +59,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input
:allowClear="true"
placeholder="请输入EMANIFEST HBL"
v-model="details.bookingEDIExt.emanifestHbl"
/>
<a-input :allowClear="true" v-model="details.bookingEDIExt.emanifestHbl" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -77,11 +69,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input
:allowClear="true"
placeholder="请输入收货人EDI代码"
v-model="details.bookingEDIExt.consigneeEdiCode"
/>
<a-input :allowClear="true" v-model="details.bookingEDIExt.consigneeEdiCode" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -91,11 +79,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input
:allowClear="true"
placeholder="请输入发货人EDI代码"
v-model="details.bookingEDIExt.shipperEdiCode"
/>
<a-input :allowClear="true" v-model="details.bookingEDIExt.shipperEdiCode" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -105,7 +89,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入EDI联系人名称" v-model="details.bookingEDIExt.ediAttn" />
<a-input :allowClear="true" v-model="details.bookingEDIExt.ediAttn" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -115,7 +99,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入EDI联系人电话" v-model="details.bookingEDIExt.ediAttnTel" />
<a-input :allowClear="true" v-model="details.bookingEDIExt.ediAttnTel" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -125,7 +109,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入EDI联系人邮箱" v-model="details.bookingEDIExt.ediAttnMail" />
<a-input :allowClear="true" v-model="details.bookingEDIExt.ediAttnMail" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -135,7 +119,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入AMS收货人" v-model="details.bookingEDIExt.amsConsignee" />
<a-input :allowClear="true" v-model="details.bookingEDIExt.amsConsignee" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -145,7 +129,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入AMS通知人" v-model="details.bookingEDIExt.amsNotifyParty" />
<a-input :allowClear="true" v-model="details.bookingEDIExt.amsNotifyParty" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -155,7 +139,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入操作英文名称" v-model="details.bookingEDIExt.opEName" />
<a-input :allowClear="true" v-model="details.bookingEDIExt.opEName" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -165,7 +149,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入操作电话" v-model="details.bookingEDIExt.opTel" />
<a-input :allowClear="true" v-model="details.bookingEDIExt.opTel" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -175,7 +159,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入操作邮箱" v-model="details.bookingEDIExt.opEmail" />
<a-input :allowClear="true" v-model="details.bookingEDIExt.opEmail" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -185,7 +169,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入ACI HBL" v-model="details.bookingEDIExt.acihbl" />
<a-input :allowClear="true" v-model="details.bookingEDIExt.acihbl" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -195,7 +179,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入S0C C0C" v-model="details.bookingEDIExt.s0CC0C" />
<a-input :allowClear="true" v-model="details.bookingEDIExt.s0CC0C" />
</a-form-item>
</a-col>
@ -206,7 +190,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入商品名称" v-model="details.bookingEDIExt.goodsName" />
<a-input :allowClear="true" v-model="details.bookingEDIExt.goodsName" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -229,7 +213,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入SCAC代码" v-model="details.scaccode" />
<a-input :allowClear="true" v-model="details.scaccode" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -239,7 +223,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入ITN编号" v-model="details.itncode" />
<a-input :allowClear="true" v-model="details.itncode" />
</a-form-item>
</a-col>
<a-col :span="23">
@ -249,7 +233,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 21 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入付款方" v-model="details.freightpayer" />
<a-input :allowClear="true" v-model="details.freightpayer" />
</a-form-item>
</a-col>
<a-col :span="23">
@ -259,7 +243,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 21 } }"
has-feedback
>
<a-textarea placeholder="请输入委托方" v-model="details.bookingEDIExt.weiTuoFang" />
<a-textarea v-model="details.bookingEDIExt.weiTuoFang" />
</a-form-item>
</a-col>
</a-row>

@ -12,11 +12,14 @@
class="customer-input"
v-model="details.customername"
:data-source="customerDataArr"
placeholder="请输入客户"
@select="customerSelect"
@change="customerChange"
/>
<span class="customer-btn iconfont icon-touxiang" @click="changeCustomer('select')" :style="{paddingRight:'0px'}"></span>
<span
class="customer-btn iconfont icon-touxiang"
@click="changeCustomer('select')"
:style="{ paddingRight: '0px' }"
></span>
<span class="customer-btn iconfont icon-jiahao2fill" @click="changeCustomer('add')"></span>
</div>
</a-form-item>
@ -27,7 +30,7 @@
:allowClear="true"
:data-source="carrierDataArr"
v-model="details.carrier"
placeholder="请输入船公司"
@select="carrierSelect"
@change="carrierChange"
/> -->
@ -57,21 +60,20 @@
class="customer-input"
v-model="details.forwarder"
:data-source="forwarderDataArr"
placeholder="请输入订舱代理"
@select="forwarderSelect"
@change="forwarderChange"
/>
<!-- <a-input :allowClear="true" placeholder="请输入订舱代理" v-model="details.forwarder" /> -->
<!-- <a-input :allowClear="true" v-model="details.forwarder" /> -->
</a-form-item>
</a-col>
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
<a-form-item class="from-label" label="PO NO" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
<a-input :allowClear="true" placeholder="请输入PO NO" v-model="details.pono" />
<a-input :allowClear="true" v-model="details.pono" />
</a-form-item>
</a-col>
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
<a-form-item class="from-label" label="提单号" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
<a-input :allowClear="true" placeholder="请输入提单号!" v-model="details.mblno" :disabled="ishd" />
<a-input :allowClear="true" v-model="details.mblno" :disabled="ishd" />
</a-form-item>
</a-col>
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
@ -82,7 +84,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入分提单号!" v-model="details.hblno" />
<a-input :allowClear="true" v-model="details.hblno" />
</a-form-item>
</a-col>
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
@ -93,20 +95,20 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入订舱编号!" v-model="details.bookingno" />
<a-input :allowClear="true" v-model="details.bookingno" />
</a-form-item>
</a-col>
<template v-if="type === 'CMA' || type === 'MSC'">
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
<a-form-item class="from-label" label="约号" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
<a-input :allowClear="true" placeholder="请输入约号!" v-model="details.contractno" />
<a-input :allowClear="true" v-model="details.contractno" />
</a-form-item>
</a-col>
</template>
<template v-else-if="type === 'ESL'">
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
<a-form-item class="from-label" label="EP号" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
<a-input :allowClear="true" placeholder="请输入EP号" v-model="details.contractno" />
<a-input :allowClear="true" v-model="details.contractno" />
</a-form-item>
</a-col>
</template>
@ -120,7 +122,6 @@
class="customer-input"
v-model="details.vessel"
:data-source="vesselDataArr"
placeholder="请输入船名"
@select="vesselSelect"
@change="vesselChange"
/>
@ -134,7 +135,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" v-model="details.voyno" placeholder="请输入海关航次!" />
<a-input :allowClear="true" v-model="details.voyno" />
</a-form-item>
</a-col>
<template v-if="type === 'CMA' || type === 'MSC'">
@ -151,7 +152,6 @@
class="customer-input"
v-model="details.voynoinner"
:data-source="voynoinnerDataArr"
placeholder="请输入内部航次"
@select="voynoinnerSelect"
@change="voynoinnerChange"
/>
@ -167,7 +167,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入航线代码!" v-model="details.lanecode" />
<a-input :allowClear="true" v-model="details.lanecode" />
</a-form-item>
</a-col>
</template>
@ -180,13 +180,7 @@
has-feedback
>
<div class="date-box">
<a-date-picker
class="date-picker"
format="YYYY-MM-DD"
placeholder="开船日期"
v-model="details.etd"
@change="changeEtd"
>
<a-date-picker class="date-picker" format="YYYY-MM-DD" v-model="details.etd" @change="changeEtd">
<a-icon slot="suffixIcon" type="time" style="display: none" />
</a-date-picker>
<span class="week" v-if="etdWeek">W{{ etdWeek || '--' }}</span>
@ -204,7 +198,7 @@
has-feedback
>
<div class="date-box">
<a-date-picker class="date-picker" format="YYYY-MM-DD" placeholder="实际开船" v-model="details.atd">
<a-date-picker class="date-picker" format="YYYY-MM-DD" v-model="details.atd">
<a-icon slot="suffixIcon" type="time" style="display: none" />
</a-date-picker>
</div>
@ -217,7 +211,6 @@
class="customer-input"
v-model="details.lanename"
:data-source="lanenameDataArr"
placeholder="请输入航线"
@select="lanenameSelect"
@change="lanenameChange"
/>
@ -230,7 +223,6 @@
class="customer-input"
v-model="details.shipagency"
:data-source="shipagencyDataArr"
placeholder="请输入船代"
@select="shipagencySelect"
@change="shipagencyChange"
/>
@ -245,7 +237,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入约号!" v-model="details.contractno" />
<a-input :allowClear="true" v-model="details.contractno" />
</a-form-item>
</a-col>
</template>
@ -265,7 +257,6 @@
class="customer-input"
v-model="details.sale"
:data-source="saleUserListArr"
placeholder="请输入销售人员"
@select="saleSelect"
@change="saleChange"
/>
@ -284,7 +275,6 @@
class="customer-input"
v-model="details.op"
:data-source="opUserListArr"
placeholder="请输入操作人员"
@select="opSelect"
@change="opChange"
/>
@ -303,7 +293,6 @@
class="customer-input"
v-model="details.doc"
:data-source="docUserListArr"
placeholder="请输入单证人员"
@select="docSelect"
@change="docChange"
/>
@ -322,7 +311,6 @@
class="customer-input"
v-model="details.custservice"
:data-source="custserviceUserListArr"
placeholder="请输入客服人员"
@select="custserviceSelect"
@change="custserviceChange"
/>
@ -373,7 +361,6 @@
<template #default>
<vxe-input
v-model="row.name"
placeholder="可搜索的大数据下拉框"
@focus="focusEvent2(row.name)"
@keyup="keyupEvent2(row.name)"
></vxe-input>
@ -407,7 +394,7 @@
</vxe-column>
<vxe-column field="roleCode" title="角色" :edit-render="{}">
<template #edit="{ row }">
<vxe-select v-model="row.roleCode" placeholder="请选择角色" multiple clearable>
<vxe-select v-model="row.roleCode" multiple clearable>
<vxe-option
v-for="item in ContactType"
:key="item.id"

@ -19,7 +19,7 @@
:allowClear="true"
v-model="details.issuetype"
:data-source="issuetypeDataArr"
placeholder="请输入签单方式"
@select="issuetypeSelect"
@change="issuetypeChange"
/> -->
@ -31,7 +31,7 @@
:filter-option="filterOption"
:dropdownMatchSelectWidth="false"
>
<a-select-option v-for="(issuetype, iIndex) in issuetypeSelectData" :key="iIndex" :value="iIndex" >
<a-select-option v-for="(issuetype, iIndex) in issuetypeSelectData" :key="iIndex" :value="iIndex">
{{ issuetype.selectShowTab }}
</a-select-option>
</a-select>
@ -45,7 +45,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-date-picker v-model="details.issuedate" format="YYYY-MM-DD" placeholder="签单日期" />
<a-date-picker v-model="details.issuedate" format="YYYY-MM-DD" />
</a-form-item>
</a-col>
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
@ -60,7 +60,6 @@
:allowClear="true"
v-model="details.issueplace"
:data-source="issueplaceDataArr"
placeholder="请输入签单地点"
@select="issueplaceSelect"
@change="issueplaceChange"
/>
@ -74,7 +73,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" v-model="details.issueplaceid" placeholder="请输入签单代码!" />
<a-input :allowClear="true" v-model="details.issueplaceid" />
</a-form-item>
</a-col>
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
@ -133,7 +132,6 @@
:allowClear="true"
v-model="details.prepardat"
:data-source="prepardatDataArr"
placeholder="请输入预付地点"
@select="prepardatSelect"
@change="prepardatChange"
/>
@ -151,7 +149,6 @@
:allowClear="true"
v-model="details.payableat"
:data-source="payableatDataArr"
placeholder="请输入到付地点"
@select="payableatSelect"
@change="payableatChange"
/>
@ -169,7 +166,6 @@
:allowClear="true"
v-model="details.blfrt"
:data-source="blfrtDataArr"
placeholder="请输入付费方式"
@select="blfrtSelect"
@change="blfrtChange"
/>
@ -183,7 +179,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" v-model="details.thirdpayaddr" placeholder="请输入第三付款地" />
<a-input :allowClear="true" v-model="details.thirdpayaddr" />
</a-form-item>
</a-col>
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
@ -198,7 +194,6 @@
:allowClear="true"
v-model="details.service"
:data-source="serviceDataArr"
placeholder="请输入运输条款"
@select="serviceSelect"
@change="serviceChange"
/>
@ -213,7 +208,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" v-model="details.reeferf" placeholder="请输入冷藏通风量" />
<a-input :allowClear="true" v-model="details.reeferf" />
</a-form-item>
</a-col>
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
@ -224,7 +219,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" v-model="details.tempset" placeholder="请输入设置温度" />
<a-input :allowClear="true" v-model="details.tempset" />
</a-form-item>
</a-col>
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
@ -235,7 +230,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" v-model="details.tempid" placeholder="请输入温度单位" />
<a-input :allowClear="true" v-model="details.tempid" />
</a-form-item>
</a-col>
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
@ -246,7 +241,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" v-model="details.tempmin" placeholder="请输入最低温度" />
<a-input :allowClear="true" v-model="details.tempmin" />
</a-form-item>
</a-col>
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
@ -257,12 +252,12 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" v-model="details.tempmax" placeholder="请输入最高温度" />
<a-input :allowClear="true" v-model="details.tempmax" />
</a-form-item>
</a-col>
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
<a-form-item class="from-label" label="湿度" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
<a-input :allowClear="true" v-model="details.humidity" placeholder="请输入湿度" />
<a-input :allowClear="true" v-model="details.humidity" />
</a-form-item>
</a-col>
</template>
@ -275,7 +270,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" v-model="details.dclass" placeholder="请输入危险品等级" />
<a-input :allowClear="true" v-model="details.dclass" />
</a-form-item>
</a-col>
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
@ -286,7 +281,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" v-model="details.dunno" placeholder="请输入危险品编号" />
<a-input :allowClear="true" v-model="details.dunno" />
</a-form-item>
</a-col>
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
@ -297,7 +292,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" v-model="details.dpage" placeholder="请输入危险品页号" />
<a-input :allowClear="true" v-model="details.dpage" />
</a-form-item>
</a-col>
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
@ -308,7 +303,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" v-model="details.dlabel" placeholder="请输入危险品标签" />
<a-input :allowClear="true" v-model="details.dlabel" />
</a-form-item>
</a-col>
<a-col :xs="12" :sm="12" :md="12" :lg="8" :xl="6">
@ -319,7 +314,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" v-model="details.linkman" placeholder="请输入危险品联系人" />
<a-input :allowClear="true" v-model="details.linkman" />
</a-form-item>
</a-col>
</template>
@ -336,27 +331,27 @@ import { GetPortloadlist, GetPortlist, GetFrt, GetService, Codeissuetypelist } f
export default {
name: '',
components: {
AutoComplete,
AutoComplete
},
props: {
details: {
type: Object,
default: () => {
return {}
},
},
}
}
},
data() {
return {
labelCol: {
xs: { span: 24 },
sm: { span: 8 },
md: { span: 10 },
md: { span: 10 }
},
wrapperCol: {
xs: { span: 24 },
sm: { span: 15 },
md: { span: 13 },
md: { span: 13 }
},
showKey: ['1'],
issuetypeData: [],
@ -365,7 +360,7 @@ export default {
prepardatData: [],
payableatData: [],
blfrtData: [],
serviceData: [],
serviceData: []
}
},
watch: {
@ -374,11 +369,11 @@ export default {
// console.log('', nval)
this.$emit('changeDetail', {
detail: nval,
type: 'billInfo',
type: 'billInfo'
})
},
deep: true,
},
deep: true
}
},
computed: {
issuetypeDataArr() {
@ -459,7 +454,7 @@ export default {
} else {
return []
}
},
}
},
created() {
this.init()
@ -476,9 +471,9 @@ export default {
// - start
getIssuetypeList(name = '') {
Codeissuetypelist({
Name: name,
Name: name
})
.then((res) => {
.then(res => {
if (res.code === 200) {
this.issuetypeData = res.data
const arr = []
@ -492,7 +487,7 @@ export default {
this.$forceUpdate()
}
})
.catch((err) => {
.catch(err => {
console.log(err)
})
},
@ -503,29 +498,27 @@ export default {
issuetypeChange(value) {
this.getIssuetypeList(value)
},
handleIssuetypeChange (index) {
handleIssuetypeChange(index) {
this.details.issuetype = this.issuetypeSelectData[index].enName
console.log(this.details.issuetype)
},
filterOption(input, option) {
return (
option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
);
return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
},
// - end
// - start
getPortloadlist(name = '', type) {
GetPortloadlist({
Name: name,
Name: name
})
.then((res) => {
.then(res => {
if (res.code === 200) {
this[`${type}Data`] = res.data
this.$forceUpdate()
}
})
.catch((err) => {
.catch(err => {
console.log(err)
})
},
@ -554,15 +547,15 @@ export default {
// - start
getPortlist(name = '', type) {
GetPortlist({
Name: name,
Name: name
})
.then((res) => {
.then(res => {
if (res.code === 200) {
this[`${type}Data`] = res.data.splice(0, 500)
this.$forceUpdate()
}
})
.catch((err) => {
.catch(err => {
console.log(err)
})
},
@ -579,15 +572,15 @@ export default {
// - start
getFrt(name = '') {
GetFrt({
Name: name,
Name: name
})
.then((res) => {
.then(res => {
if (res.code === 200) {
this.blfrtData = res.data
this.$forceUpdate()
}
})
.catch((err) => {
.catch(err => {
console.log(err)
})
},
@ -602,15 +595,15 @@ export default {
// - start
getService(name = '') {
GetService({
Name: name,
Name: name
})
.then((res) => {
.then(res => {
if (res.code === 200) {
this.serviceData = res.data
this.$forceUpdate()
}
})
.catch((err) => {
.catch(err => {
console.log(err)
})
},
@ -623,8 +616,8 @@ export default {
// - end
// ===== ====
handleChange() {},
},
handleChange() {}
}
}
</script>
<style lang="less" scoped>
@ -656,7 +649,7 @@ export default {
}
}
/*多余线条去掉 */
.ant-collapse-item{
.ant-collapse-item {
border-bottom: none;
}
</style>

@ -12,7 +12,7 @@
<div>Marks & Nos.(标记与号码)</div>
</div>
<div class="bottom">
<a-textarea class="input-box" placeholder="请输入内容" v-model="details.marks" />
<a-textarea class="input-box" v-model="details.marks" />
</div>
</a-col>
<a-col :span="16">
@ -31,16 +31,16 @@
</div>
<div class="input">
<div>HS编码</div>
<a-input :allowClear="true" placeholder="请输入HS编码" v-model="details.hscode" />
<a-input :allowClear="true" v-model="details.hscode" />
</div>
</div>
<div class="bottom">
<a-textarea class="input-box" placeholder="请输入内容" v-model="details.description" />
<a-textarea class="input-box" v-model="details.description" />
</div>
</a-col>
<a-col class="num-box" :span="24">
<span class="label">件数大写: </span>
<a-input :allowClear="true" class="input-val" placeholder="请输入件数大写" v-model="details.totalno" />
<a-input :allowClear="true" class="input-val" v-model="details.totalno" />
</a-col>
</a-row>
</div>
@ -55,16 +55,16 @@ export default {
type: Object,
default: () => {
return {}
},
}
},
moreStr: {
type: String,
default: '',
},
default: ''
}
},
data() {
return {
showKey: ['1'],
showKey: ['1']
}
},
watch: {
@ -72,10 +72,10 @@ export default {
handler(nval, oval) {
this.$emit('changeDetail', {
detail: nval,
type: 'cargoInfo',
type: 'cargoInfo'
})
},
deep: true,
deep: true
},
moreStr(nval, oval) {
if (nval !== oval) {
@ -85,14 +85,14 @@ export default {
}
this.details.description = str + nval
}
},
}
},
created() {},
methods: {
handleChange(value) {
this.details.cargoid = value
},
},
}
}
}
</script>
<style lang="less" scoped>
@ -154,8 +154,8 @@ export default {
display: inline-block;
flex: 1;
}
.input.cargo-mark{
margin-left:11%;
.input.cargo-mark {
margin-left: 11%;
}
.input-box {
height: 200px;
@ -176,7 +176,7 @@ export default {
}
}
/*多余线条去掉 */
.ant-collapse-item{
.ant-collapse-item {
border-bottom: none;
}
</style>

@ -121,7 +121,6 @@ export default {
<a-select
show-search
value={row['ctnall']}
placeholder="请输入箱型"
option-filter-prop="children"
style="width: 120px"
on-change={val => {
@ -179,7 +178,6 @@ export default {
<a-select
show-search
value={row['kindpkgs']}
placeholder="请输入包装"
option-filter-prop="children"
style="width: 120px"
on-change={val => {
@ -228,7 +226,6 @@ export default {
<a-select
show-search
value={row['weightype']}
placeholder="请输入称重方式"
option-filter-prop="children"
style="width: 120px"
on-change={val => {
@ -341,7 +338,6 @@ export default {
<a-select
show-search
value={row['kindpkgs']}
placeholder="请输入包装"
option-filter-prop="children"
style="width: 120px"
on-change={val => {

@ -15,15 +15,14 @@
v-model="shippername"
class="customer-input"
:data-source="shipperDataArr"
placeholder="请输入发货人"
@select="shipperSelect"
@change="shipperChange"
/>
<a-button class="save-btn" type="link" size="small" icon="save" @click="saveModel('shipper')"
>保存</a-button
>
<div class="right" >
<span class="btn-circle" @click="spliceMore('shipper')" :style="{fontSize:'14px'}">*</span>
<div class="right">
<span class="btn-circle" @click="spliceMore('shipper')" :style="{ fontSize: '14px' }">*</span>
<span class="btn" @click="changeCode(35, 'shipper')">35</span>
<span class="btn" @click="changeCode(40, 'shipper')">40</span>
<span class="btn" @click="changeCode(50, 'shipper')">50</span>
@ -33,11 +32,14 @@
<a-textarea
id="shipper-scroll"
v-model="details.shipper"
placeholder="请输入内容"
:auto-size="{ minRows: 2, maxRows: 6 }"
style="height: 130px"
/>
<div class="line-count" id="shipper-scroll-right" v-if="Object.keys(details).length > 1 && details.shipper.length > 1">
<div
class="line-count"
id="shipper-scroll-right"
v-if="Object.keys(details).length > 1 && details.shipper.length > 1"
>
<div v-for="(num, index) in details.shipper.split('\n')" :key="index">{{ num.length }}</div>
</div>
</div>
@ -50,7 +52,6 @@
v-model="consigneename"
class="customer-input"
:data-source="consigneeDataArr"
placeholder="请输入收货人"
@select="consigneeSelect"
@change="consigneeChange"
/>
@ -58,7 +59,7 @@
>保存</a-button
>
<div class="right">
<span class="btn-circle" @click="spliceMore('consignee')" :style="{fontSize:'14px'}">*</span>
<span class="btn-circle" @click="spliceMore('consignee')" :style="{ fontSize: '14px' }">*</span>
<span class="btn" @click="changeCode(35, 'consignee')">35</span>
<span class="btn" @click="changeCode(40, 'consignee')">40</span>
<span class="btn" @click="changeCode(50, 'consignee')">50</span>
@ -68,11 +69,14 @@
<a-textarea
id="consignee-scroll"
v-model="details.consignee"
placeholder="请输入内容"
:auto-size="{ minRows: 2, maxRows: 6 }"
style="height: 130px"
/>
<div class="line-count" id="consignee-scroll-right" v-if="Object.keys(details).length > 1 && details.consignee.length > 1">
<div
class="line-count"
id="consignee-scroll-right"
v-if="Object.keys(details).length > 1 && details.consignee.length > 1"
>
<div v-for="(num, index) in details.consignee.split('\n')" :key="index">{{ num.length }}</div>
</div>
</div>
@ -85,7 +89,6 @@
v-model="notifypartyname"
class="customer-input"
:data-source="notifyDataArr"
placeholder="请输入通知人"
@select="notifySelect"
@change="notifyChange"
/>
@ -93,7 +96,7 @@
>保存</a-button
>
<div class="right">
<span class="btn-circle" @click="spliceMore('notifyparty')" :style="{fontSize:'14px'}">*</span>
<span class="btn-circle" @click="spliceMore('notifyparty')" :style="{ fontSize: '14px' }">*</span>
<span class="btn" @click="changeCode(35, 'notifyparty')">35</span>
<span class="btn" @click="changeCode(40, 'notifyparty')">40</span>
<span class="btn" @click="changeCode(50, 'notifyparty')">50</span>
@ -103,11 +106,14 @@
<a-textarea
id="notifyparty-scroll"
v-model="details.notifyparty"
placeholder="请输入内容"
:auto-size="{ minRows: 2, maxRows: 6 }"
style="height: 130px"
/>
<div class="line-count" id="notifyparty-scroll-right" v-if="Object.keys(details).length > 1 && details.notifyparty.length > 1">
<div
class="line-count"
id="notifyparty-scroll-right"
v-if="Object.keys(details).length > 1 && details.notifyparty.length > 1"
>
<div v-for="(num, index) in details.notifyparty.split('\n')" :key="index">{{ num.length }}</div>
</div>
</div>
@ -131,7 +137,7 @@
v-model="details.yard"
class="customer-input"
:data-source="yardDataArr"
placeholder="请输入场站"
@select="yardSelect"
@change="yardChange"
/> -->
@ -169,7 +175,6 @@
v-model="details.customser"
class="customer-input"
:data-source="customserDataArr"
placeholder="请输入报关行"
@select="customserSelect"
@change="customserChange"
/>
@ -188,7 +193,6 @@
v-model="details.trucker"
class="customer-input"
:data-source="truckerDataArr"
placeholder="请输入车队"
@select="truckerSelect"
@change="truckerChange"
/>
@ -207,7 +211,6 @@
v-model="details.agentid"
class="customer-input"
:data-source="agentidDataArr"
placeholder="请输入国外代理"
@select="agentidSelect"
@change="agentidChange"
/>
@ -221,7 +224,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-date-picker format="YYYY-MM-DD" placeholder="预抵日期" v-model="details.eta">
<a-date-picker format="YYYY-MM-DD" v-model="details.eta">
<a-icon slot="suffixIcon" type="time" style="display: none" />
</a-date-picker>
</a-form-item>
@ -238,7 +241,6 @@
style="min-width:100px"
show-time
format="YYYY-MM-DD HH:mm:ss"
placeholder="截港时间"
v-model="details.closingdate"
>
<a-icon slot="suffixIcon" type="time" style="display: none" />
@ -257,7 +259,6 @@
style="min-width:100px"
show-time
format="YYYY-MM-DD HH:mm:ss"
placeholder="截单时间"
v-model="details.closedocdate"
>
<a-icon slot="suffixIcon" type="time" style="display: none" />
@ -276,7 +277,6 @@
style="min-width:100px"
show-time
format="YYYY-MM-DD HH:mm:ss"
placeholder="VGM时间"
v-model="details.closevgmdate"
>
<a-icon slot="suffixIcon" type="time" style="display: none" />
@ -296,7 +296,6 @@
v-model="details.portload"
class="customer-input"
:data-source="portloadDataArr"
placeholder="请输入装货港"
@select="portloadSelect"
@change="portloadChange"
/>
@ -310,7 +309,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入装货港代码" v-model="details.portloadid" />
<a-input :allowClear="true" v-model="details.portloadid" />
</a-form-item>
</a-col>
<a-col :span="12">
@ -326,7 +325,6 @@
v-model="details.transport"
class="customer-input"
:data-source="transportDataArr"
placeholder="请输入中转港"
@select="transportSelect"
@change="transportChange"
/>
@ -340,7 +338,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入中转港代码" v-model="details.transportid" />
<a-input :allowClear="true" v-model="details.transportid" />
</a-form-item>
</a-col>
<a-col :span="12">
@ -356,7 +354,6 @@
v-model="details.portdischarge"
class="customer-input"
:data-source="portdischargeDataArr"
placeholder="请输入卸货港"
@select="portdischargeSelect"
@change="portdischargeChange"
/>
@ -370,7 +367,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入卸货港代码" v-model="details.portdischargeid" />
<a-input :allowClear="true" v-model="details.portdischargeid" />
</a-form-item>
</a-col>
<a-col :span="12">
@ -386,7 +383,6 @@
v-model="details.destination"
class="customer-input"
:data-source="destinationDataArr"
placeholder="请输入目的地"
@select="destinationSelect"
@change="destinationChange"
/>
@ -400,7 +396,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入目的代码" v-model="details.destinationid" />
<a-input :allowClear="true" v-model="details.destinationid" />
</a-form-item>
</a-col>
<a-col :span="12">
@ -416,7 +412,6 @@
v-model="details.placedelivery"
class="customer-input"
:data-source="placedeliveryDataArr"
placeholder="请输入交货地"
@select="placedeliverySelect"
@change="placedeliveryChange"
/>
@ -430,7 +425,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入交货代码" v-model="details.placedeliveryid" />
<a-input :allowClear="true" v-model="details.placedeliveryid" />
</a-form-item>
</a-col>
<a-col :span="12">
@ -446,7 +441,6 @@
v-model="details.placereceipt"
class="customer-input"
:data-source="placereceiptDataArr"
placeholder="请输入收货地"
@select="placereceiptSelect"
@change="placereceiptChange"
/>
@ -460,7 +454,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入收货代码" v-model="details.placereceiptid" />
<a-input :allowClear="true" v-model="details.placereceiptid" />
</a-form-item>
</a-col>
<a-col :span="12">
@ -471,7 +465,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入件数" v-model="details.pkgs" />
<a-input :allowClear="true" v-model="details.pkgs" />
</a-form-item>
</a-col>
<a-col :span="12">
@ -487,7 +481,6 @@
v-model="details.kindpkgs"
class="customer-input"
:data-source="kindpkgsDataArr"
placeholder="请输入包装"
@select="kindpkgsSelect"
@change="kindpkgsChange"
/>
@ -501,7 +494,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入毛重" v-model="details.kgs" />
<a-input :allowClear="true" v-model="details.kgs" />
</a-form-item>
</a-col>
<a-col :span="12">
@ -512,7 +505,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入尺寸" v-model="details.cbm" />
<a-input :allowClear="true" v-model="details.cbm" />
</a-form-item>
</a-col>
</a-row>
@ -531,7 +524,7 @@
>
<div class="content">
<div class="label">模板名称</div>
<a-input :allowClear="true" placeholder="请输入模板名称" v-model="modelName" />
<a-input :allowClear="true" v-model="modelName" />
</div>
</a-modal>
<a-modal
@ -543,7 +536,7 @@
>
<template v-if="yardType === 'remark'">
<div class="select-customer">
<a-textarea v-model="details.yardremark" placeholder="场站备注" :auto-size="{ minRows: 3, maxRows: 5 }" />
<a-textarea v-model="details.yardremark" :auto-size="{ minRows: 3, maxRows: 5 }" />
</div>
</template>
<template v-else-if="yardType === 'content'">
@ -558,7 +551,7 @@
has-feedback
style="overflow: visible;"
>
<a-input placeholder="请输入联系人" v-model="details.yardcontract" />
<a-input v-model="details.yardcontract" />
</a-form-item>
</a-col>
<a-col :span="12">
@ -570,7 +563,7 @@
has-feedback
style="overflow: visible;"
>
<a-input placeholder="请输入电话" v-model="details.yardcontracttel" />
<a-input v-model="details.yardcontracttel" />
</a-form-item>
</a-col>
<a-col :span="12">
@ -582,7 +575,7 @@
has-feedback
style="overflow: visible;"
>
<a-input placeholder="请输入邮箱" v-model="details.yardcontractemail" />
<a-input v-model="details.yardcontractemail" />
</a-form-item>
</a-col>
</a-row>
@ -869,7 +862,7 @@ export default {
created() {
this.init()
},
mounted () {
mounted() {
const shipperScroll = document.getElementById('shipper-scroll')
shipperScroll.addEventListener('scroll', () => {
document.getElementById('shipper-scroll-right').scrollTop = shipperScroll.scrollTop
@ -1404,7 +1397,7 @@ export default {
}
.right {
float: right;
margin-top:5px;
margin-top: 5px;
margin-right: 25px;
}
.btn {
@ -1480,14 +1473,14 @@ export default {
height: 130px;
overflow: auto;
&::-webkit-scrollbar {
display: none;
display: none;
}
// max-height: 192px;
// overflow-y: auto;
div {
text-align: right;
height: 22px;
line-height:22px;
line-height: 22px;
font-size: 12px;
color: #999;
}
@ -1496,9 +1489,9 @@ export default {
}
.yard-box {
position: relative;
i{
i {
color: @primary-color;
margin-top:-3px !important;
margin-top: -3px !important;
cursor: pointer;
}
}
@ -1512,7 +1505,7 @@ export default {
margin-bottom: 10px;
}
/*多余线条去掉 */
.ant-collapse-item{
.ant-collapse-item {
border-bottom: none;
}
</style>

@ -86,7 +86,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入货代代码" v-model="bookingModelFrom.forwarderCode" />
<a-input :allowClear="true" v-model="bookingModelFrom.forwarderCode" />
</a-form-item>
</a-col>
<a-col :span="12">
@ -96,7 +96,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入货代称呼" v-model="bookingModelFrom.forwarderName" />
<a-input :allowClear="true" v-model="bookingModelFrom.forwarderName" />
</a-form-item>
</a-col>
<a-col :span="10">
@ -126,7 +126,7 @@
<template v-else-if="['initCabin', 'ladingBill', 'vgmlink'].includes(modelType)">
<a-form>
<a-row :gutter="16">
<div class="item-box to-box" :style="{paddingTop:'0px'}">
<div class="item-box to-box" :style="{ paddingTop: '0px' }">
<!-- to -->
<a-col :span="24">
<a-form-item
@ -134,9 +134,9 @@
:labelCol="{ xs: { span: 24 }, sm: { span: 2 } }"
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
:style="{marginLeft:'-18px'}"
:style="{ marginLeft: '-18px' }"
>
<a-input :allowClear="true" placeholder="请输入内容" v-model="initCabinFrom.toName" />
<a-input :allowClear="true" v-model="initCabinFrom.toName" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -146,7 +146,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入ATTN" v-model="initCabinFrom.attn" />
<a-input :allowClear="true" v-model="initCabinFrom.attn" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -156,7 +156,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入电话" v-model="initCabinFrom.attnTel" />
<a-input :allowClear="true" v-model="initCabinFrom.attnTel" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -166,7 +166,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入邮箱" v-model="initCabinFrom.attnMail" />
<a-input :allowClear="true" v-model="initCabinFrom.attnMail" />
</a-form-item>
</a-col>
<!-- from -->
@ -177,7 +177,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入内容" v-model="initCabinFrom.fromName" />
<a-input :allowClear="true" v-model="initCabinFrom.fromName" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -187,7 +187,7 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入电话" v-model="initCabinFrom.fromTel" />
<a-input :allowClear="true" v-model="initCabinFrom.fromTel" />
</a-form-item>
</a-col>
<a-col :span="8">
@ -197,12 +197,12 @@
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" placeholder="请输入邮箱" v-model="initCabinFrom.fromMail" />
<a-input :allowClear="true" v-model="initCabinFrom.fromMail" />
</a-form-item>
</a-col>
</div>
<template v-if="modelType === 'initCabin'">
<div class="item-box cabin-box" :style="{paddingTop:'0px'}">
<div class="item-box cabin-box" :style="{ paddingTop: '0px' }">
<a-col :span="24">
<a-form-item
label="提箱小票链接"
@ -211,12 +211,7 @@
has-feedback
>
<div class="box-flex">
<a-input
class="box-input"
:allowClear="true"
placeholder="请输入提箱小票链接"
v-model="initCabinFrom.orderUrl.urlTxxp"
/>
<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>
</div>
</a-form-item>
@ -229,12 +224,7 @@
has-feedback
>
<div class="box-flex">
<a-input
class="box-input"
:allowClear="true"
placeholder="请输入VGM链接"
v-model="initCabinFrom.orderUrl.urlVgm"
/>
<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>
</div>
</a-form-item>
@ -247,13 +237,10 @@
has-feedback
>
<div class="box-flex">
<a-input
class="box-input"
:allowClear="true"
placeholder="请输入SI&VGM链接"
v-model="initCabinFrom.orderUrl.urlVgmSi"
/>
<span @click="copyFun(initCabinFrom.orderUrl.urlVgmSi)"><i class="iconfont icon-fuzhi2"></i></span>
<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>
</div>
</a-form-item>
</a-col>
@ -269,11 +256,7 @@
has-feedback
>
<div class="box-flex">
<a-input
:allowClear="true"
placeholder="请输入VGM提交地址"
v-model="initCabinFrom.orderUrl.urlVgm"
/>
<a-input :allowClear="true" v-model="initCabinFrom.orderUrl.urlVgm" />
<span>复制</span>
</div>
</a-form-item>
@ -400,7 +383,7 @@
has-feedback
>
<div class="box-flex">
<a-input :allowClear="true" placeholder="请输入备注" v-model="initCabinFrom.remark" />
<a-input :allowClear="true" v-model="initCabinFrom.remark" />
</div>
</a-form-item>
</a-col>
@ -1255,7 +1238,7 @@ export default {
line-height: 32px;
font-size: 13px;
cursor: pointer;
i{
i {
color: @primary-color;
}
}
@ -1271,8 +1254,9 @@ export default {
margin-bottom: 0;
}
}
.cabin-box,.to-box{
.ant-row{
.cabin-box,
.to-box {
.ant-row {
margin-bottom: 10px;
}
}
@ -1318,18 +1302,18 @@ export default {
}
}
/*订舱弹窗文件功能对齐 */
/deep/ .ant-form-file{
.ant-form-item-label{
/deep/ .ant-form-file {
.ant-form-item-label {
margin-top: -5px;
margin-left:12px;
margin-left: 12px;
}
}
/*弹窗按钮颜色修改 */
/deep/ .ant-modal-footer .ant-btn.ant-btn-primary span{
color: #FFF;
/deep/ .ant-modal-footer .ant-btn.ant-btn-primary span {
color: #fff;
}
/*弹窗文本框背景颜色修改 */
/deep/ .ant-modal-body .ant-input{
/deep/ .ant-modal-body .ant-input {
background: #f5f9fe;
}
</style>

@ -3,11 +3,11 @@
<a-row :gutter="24">
<a-col :span="12">
<div class="tit"><span class="iconfont icon-bianji"></span>订舱备注</div>
<a-textarea class="input-box" placeholder="请输入内容" v-model="details.soremark" />
<a-textarea class="input-box" v-model="details.soremark" />
</a-col>
<a-col :span="12">
<div class="tit"><span class="iconfont icon-bianji"></span>截单备注</div>
<a-textarea class="input-box" placeholder="请输入内容" v-model="details.siremark" />
<a-textarea class="input-box" v-model="details.siremark" />
</a-col>
</a-row>
</a-card>
@ -20,12 +20,12 @@ export default {
type: Object,
default: () => {
return {}
},
},
}
}
},
data() {
return {
remarks: '',
remarks: ''
}
},
watch: {
@ -37,11 +37,11 @@ export default {
type: 'remarksInfo'
})
},
deep: true,
},
deep: true
}
},
created() {},
methods: {},
methods: {}
}
</script>
<style lang="less">

@ -68,7 +68,9 @@
<i class="iconfont icon-file-word" v-else></i>
{{ file.fileName }}
</span>
<span class="right"><i class="iconfont icon-yulan" @click="getFileFun(file)"></i><i class="iconfont icon-arrow-"></i></span>
<span class="right"
><i class="iconfont icon-yulan" @click="getFileFun(file)"></i><i class="iconfont icon-arrow-"></i
></span>
</div>
<div class="bottom">
<span><i class="iconfont icon-leixing"></i>{{ file.typeName }}</span>
@ -83,7 +85,9 @@
</div>
</a-card>
<a-card :bodyStyle="tstyle" :bordered="false">
<div class="title" :style="{marginBottom:'10px'}"><i class="iconfont icon-lightning-full"></i><span>订单及货运动态</span></div>
<div class="title" :style="{ marginBottom: '10px' }">
<i class="iconfont icon-lightning-full"></i><span>订单及货运动态</span>
</div>
<div class="content">
<div class="booking-log" v-for="(bookingLog, bindex) in bookingLogList" :key="bindex">
<div
@ -125,7 +129,7 @@
</a-card>
<a-collapse class="collapse-box" :bordered="false" expandIconPosition="right" v-model="showKey">
<a-collapse-panel key="1">
<template slot="header" :style="{paddingTop:'0px',paddingBottom:'0px'}">
<template slot="header" :style="{ paddingTop: '0px', paddingBottom: '0px' }">
<div class="title"><i class="iconfont icon-rizhi"></i><span>日志</span></div>
</template>
<div class="cargo-info">
@ -176,7 +180,7 @@
@ok="handleModelSubmit"
@cancel="handleModelCancel"
>
<a-textarea v-model="remarkVal" placeholder="请输入备注内容" :auto-size="{ minRows: 3, maxRows: 5 }" />
<a-textarea v-model="remarkVal" :auto-size="{ minRows: 3, maxRows: 5 }" />
</a-modal>
<a-modal
@ -191,14 +195,19 @@
>
<div class="clearfix uplad-bg uplad-file-bg">
<span class="tip">1. 选择上传文件</span>
<a-upload :file-list="upFileList" :remove="handleRemove" :before-upload="beforeUpload" :style="{width:'680px'}">
<a-upload
:file-list="upFileList"
:remove="handleRemove"
:before-upload="beforeUpload"
:style="{ width: '680px' }"
>
<a-button> <a-icon type="upload" /> 选择文件 </a-button>
</a-upload>
</div>
<div class="uplad-bg uplad-type">
<span class="tip">2. 选择文件类型</span>
<div class="upload-label">文件类型</div>
<a-select style="width: 120px" :value="attachName" @change="handleAttachChange" placeholder="请输入附件类型">
<a-select style="width: 120px" :value="attachName" @change="handleAttachChange">
<a-select-option v-for="(attach, aindex) in bookingAttachType" :key="attach.name" :value="aindex">
{{ attach.name }}
</a-select-option>
@ -208,7 +217,16 @@
</div>
</template>
<script>
import { GetRemark, AddRemark, GetFile, GetBookingLog, GetLog, AddFile, BookingOrderGetFile, BookingOrderDownload } from '@/api/modular/main/BookingLedger'
import {
GetRemark,
AddRemark,
GetFile,
GetBookingLog,
GetLog,
AddFile,
BookingOrderGetFile,
BookingOrderDownload
} from '@/api/modular/main/BookingLedger'
export default {
name: '',
@ -386,7 +404,7 @@ export default {
this.$message.error(err.message)
})
},
getFileFun (data) {
getFileFun(data) {
this.$message.success(`下载打印文件 ${data.fileName} 中...`)
BookingOrderDownload({ id: data.id }).then(res => {
this.pdfUrl = window.URL.createObjectURL(new Blob([res], { type: 'application/pdf;charset=utf-8' }))
@ -483,7 +501,7 @@ export default {
vertical-align: bottom;
}
}
.right:hover{
.right:hover {
cursor: pointer;
}
}
@ -627,7 +645,7 @@ export default {
top: 22px;
left: 76px;
}
i:hover{
i:hover {
cursor: inherit !important;
}
// &:nth-last-child(1){
@ -807,7 +825,7 @@ export default {
}
.cargo-info {
max-height: 1015px;
overflow-x:scroll;
overflow-x: scroll;
.info-header {
display: flex;
background: #f4f4f4;
@ -961,18 +979,18 @@ export default {
background-color: transparent;
}
/*给附件加背景 */
.uplad-bg{
.uplad-bg {
background: #f9fafe;
border: 1px dashed #ccc;
padding: 15px;
display: flex;
.tip{
.tip {
width: 140px;
line-height: 32px;
}
}
.uplad-type {
margin-top:20px;
margin-top: 20px;
display: flex;
.upload-label {
height: 30px;
@ -982,7 +1000,6 @@ export default {
}
}
.rules-label {
i {
margin-right: 10px;
@ -998,7 +1015,7 @@ export default {
}
}
/*多余线条去掉 */
.ant-collapse-item{
.ant-collapse-item {
border-bottom: none;
}
</style>

@ -121,7 +121,7 @@
<a-modal title="多提单号查询" :width="400" :visible="moreNumVisible" @ok="moreNumSubmit" @cancel="moreNumCancel">
<div>
<a-textarea placeholder="请输入内容" v-model="moreNumVal" style="height: 200px" />
<a-textarea v-model="moreNumVal" style="height: 200px" />
</div>
</a-modal>
@ -758,11 +758,11 @@ export default {
background: #f5f9fe;
}
/*列表操作按钮颜色 */
/deep/ .operate-btn{
/deep/ .operate-btn {
color: @primary-color;
}
/deep/ .operate-btn:hover{
/deep/ .operate-btn:hover {
color: @primary-color !important;
opacity: .7;
opacity: 0.7;
}
</style>

@ -1,30 +1,17 @@
<template>
<div class="from-label">
<template v-if="labelData.type == 'input'">
<a-input
v-model="value"
:placeholder="`请输入${labelData.title}`"
@change="changeInput"
/>
<a-input v-model="value" @change="changeInput" />
</template>
<template v-else-if="labelData.type == 'date'">
<a-date-picker
format="YYYY-MM-DD"
:placeholder="`请选择${labelData.title}`"
@change="changeDate"
/>
<a-date-picker format="YYYY-MM-DD" @change="changeDate" />
</template>
<template v-else-if="labelData.type == 'dateRange'">
<a-range-picker
format="YYYY-MM-DD"
:placeholder="['开始时间', '结束时间']"
@change="changeRangeDate"
/>
<a-range-picker format="YYYY-MM-DD" @change="changeRangeDate" />
</template>
<template v-else-if="labelData.type == 'select'">
<a-select
style="width: 160px"
:placeholder="`请选择${labelData.title}`"
v-decorator="['CLOSEDOC', { rules: [{ required: false, message: '请选择截单状态!' }] }]"
>
<a-select-option value="1"> 全部 </a-select-option>
@ -60,7 +47,7 @@ export default {
},
data() {
return {
value: '',
value: ''
}
},
mounted() {},
@ -77,14 +64,13 @@ export default {
value: mode
})
},
changeRangeDate (e, mode) {
changeRangeDate(e, mode) {
this.$emit('change', {
form: this.labelData,
value: mode
})
}
},
}
}
</script>
<style lang="less" scoped>
</style>
<style lang="less" scoped></style>

Loading…
Cancel
Save