|
@@ -122,6 +122,7 @@
|
|
|
<el-button @click="clickPrint(1)" type="primary">装箱单</el-button>
|
|
|
<el-button @click="clickPrint(2)" type="primary">商业发票</el-button>
|
|
|
<el-button @click="clickPrint(3)" type="primary">销售确认书</el-button>
|
|
|
+ <el-button @click="clickPrint(4)" type="primary">报关单</el-button>
|
|
|
</div>
|
|
|
<template #footer>
|
|
|
<el-button @click="openSelectPrint = false" size="large">关闭</el-button>
|
|
@@ -493,6 +494,394 @@
|
|
|
<el-button type="primary" @click="clickDownload()" size="large">下载PDF</el-button>
|
|
|
</template>
|
|
|
</el-dialog>
|
|
|
+
|
|
|
+ <el-dialog title="打印" v-if="openCustomsDeclaration" v-model="openCustomsDeclaration" width="1460">
|
|
|
+ <div id="pdfDom" style="width: 1400px; padding: 16px; font-size: 12px !important">
|
|
|
+ <table cellspacing="0" cellpadding="0" border="0" class="one">
|
|
|
+ <tr>
|
|
|
+ <td colspan="8">
|
|
|
+ <span style="font-weight: 700">出口货物正式报关单草单/申报信息填制模板</span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="2" style="background-color: #dce6f1">
|
|
|
+ <div>发件公司清关负责人</div>
|
|
|
+ <div>联系电话/手机(必填):</div>
|
|
|
+ </td>
|
|
|
+ <td colspan="2" style="background-color: #ebf1de">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.contacts }}</div>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.contactsMobile }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.contacts" size="small" />
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.contactsMobile" size="small" />
|
|
|
+ </td>
|
|
|
+ <td colspan="2" style="background-color: #dce6f1">
|
|
|
+ <span>联系人邮箱:</span>
|
|
|
+ </td>
|
|
|
+ <td colspan="2" style="background-color: #ebf1de; text-align: left">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.contactsEmail }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.contactsEmail" size="small" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr style="background-color: #dce6f1">
|
|
|
+ <td colspan="2">
|
|
|
+ <span>境内发货人名称(填写发货公司中文名称)</span>
|
|
|
+ </td>
|
|
|
+ <td colspan="2">
|
|
|
+ <span>境内发货人代码(填写18位统一社会信用代码,没有信用证代码填报10位海关备案编码)</span>
|
|
|
+ </td>
|
|
|
+ <td colspan="2">
|
|
|
+ <span>出境关别(不用填写)</span>
|
|
|
+ </td>
|
|
|
+ <td colspan="2">
|
|
|
+ <span>备案号(如是手册的请填写)</span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="2">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.companyNameChinese }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.companyNameChinese" size="small" />
|
|
|
+ </td>
|
|
|
+ <td colspan="2">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.organizationCode }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.organizationCode" size="small" />
|
|
|
+ </td>
|
|
|
+ <td colspan="2">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.exitCustoms }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.exitCustoms" size="small" />
|
|
|
+ </td>
|
|
|
+ <td colspan="2">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.recordNo }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.recordNo" size="small" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr style="background-color: #dce6f1">
|
|
|
+ <td colspan="2">
|
|
|
+ <span>境外收货人(指合同买方或合同指定的收货人公司英文名称)</span>
|
|
|
+ </td>
|
|
|
+ <td colspan="2">
|
|
|
+ <span>境外收货人代码(AEO互认企业需填报AEO编码;不填默认非AEO互认)</span>
|
|
|
+ </td>
|
|
|
+ <td colspan="2">
|
|
|
+ <span>运输方式(不用填写)</span>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <span>运输工具名称及航次号(不用填写)</span>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <span>提运单号(指12位快递运单号码)</span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="2" style="background-color: #ebf1de">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.customerCompanyName }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.customerCompanyName" size="small" />
|
|
|
+ </td>
|
|
|
+ <td colspan="2">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.overseasConsigneeCode }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.overseasConsigneeCode" size="small" />
|
|
|
+ </td>
|
|
|
+ <td colspan="2">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.typeOfShipping }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.typeOfShipping" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.meansOfTransport }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.meansOfTransport" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.waybillCode }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.waybillCode" size="small" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr style="background-color: #dce6f1">
|
|
|
+ <td colspan="2">
|
|
|
+ <span>生产销售单位(指生产该产品的公司名称)</span>
|
|
|
+ </td>
|
|
|
+ <td colspan="2">
|
|
|
+ <span>生产销售单位代码(填写18位统一社会信用代码,没有信用证代码填写“NO”)</span>
|
|
|
+ </td>
|
|
|
+ <td colspan="2">
|
|
|
+ <span>监管方式</span>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <span>征免性质(与监管方式对应填写)</span>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <span>许可证号(如需许可证的请填写)</span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="2">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.productCompanyNameChinese }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.productCompanyNameChinese" size="small" />
|
|
|
+ </td>
|
|
|
+ <td colspan="2">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.productOrganizationCode }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.productOrganizationCode" size="small" />
|
|
|
+ </td>
|
|
|
+ <td colspan="2">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.supervisionMode }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.supervisionMode" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.exemptionNature }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.exemptionNature" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.licenseKey }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.licenseKey" size="small" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr style="background-color: #dce6f1">
|
|
|
+ <td colspan="2">
|
|
|
+ <span>合同协议号(根据合同填写)</span>
|
|
|
+ </td>
|
|
|
+ <td colspan="2">
|
|
|
+ <span>贸易国(合同买方所在国)</span>
|
|
|
+ </td>
|
|
|
+ <td colspan="2">
|
|
|
+ <span>运抵国</span>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <span>指运港(不用填写)</span>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <span>离境口岸(不用填写)</span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="2" style="background-color: #ebf1de">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.contractCode }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.contractCode" size="small" />
|
|
|
+ </td>
|
|
|
+ <td colspan="2" style="background-color: #ebf1de">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.tradingCountry }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.tradingCountry" size="small" />
|
|
|
+ </td>
|
|
|
+ <td colspan="2" style="background-color: #ebf1de">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.arrivalCountry }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.arrivalCountry" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.portOfDestination }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.portOfDestination" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.departurePort }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.departurePort" size="small" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr style="background-color: #dce6f1">
|
|
|
+ <td>
|
|
|
+ <span>包装种类</span>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <span>件数(运单和装箱单一致)</span>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <span>毛重(千克)</span>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <span>净重(千克)</span>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <span>成交方式</span>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <span>运费</span>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <span>保费</span>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <span>杂费(如有请填写)</span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td style="background-color: #ebf1de">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.packageType }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.packageType" size="small" />
|
|
|
+ </td>
|
|
|
+ <td style="background-color: #ebf1de">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.sumPackQuantity }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.sumPackQuantity" size="small" />
|
|
|
+ </td>
|
|
|
+ <td style="background-color: #ebf1de">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.sumRoughWeight }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.sumRoughWeight" size="small" />
|
|
|
+ </td>
|
|
|
+ <td style="background-color: #ebf1de">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.sumNetWeight }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.sumNetWeight" size="small" />
|
|
|
+ </td>
|
|
|
+ <td style="background-color: #ebf1de">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.tradeModeName }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.tradeModeName" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.freightPrice }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.freightPrice" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.premiumPrice }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.premiumPrice" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.incidentalPrice }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.incidentalPrice" size="small" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="3" style="background-color: #dce6f1">
|
|
|
+ <span>随附单证及编号(常见如通关单号、原进口报关单号):</span>
|
|
|
+ </td>
|
|
|
+ <td colspan="5">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.documentsAttached }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.documentsAttached" size="small" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="2" style="background-color: #dce6f1">
|
|
|
+ <span>标记唛码及备注:</span>
|
|
|
+ </td>
|
|
|
+ <td colspan="2" style="background-color: #ebf1de">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.shippingMark }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.shippingMark" size="small" />
|
|
|
+ </td>
|
|
|
+ <td style="background-color: #dce6f1">
|
|
|
+ <span>境内货源地:</span>
|
|
|
+ </td>
|
|
|
+ <td colspan="3" style="background-color: #ebf1de; text-align: left">
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ printCustomsDeclaration.content.withinChinaSource }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="printCustomsDeclaration.content.withinChinaSource" size="small" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ <table cellspacing="0" cellpadding="0" border="0" class="two">
|
|
|
+ <tr>
|
|
|
+ <th style="width: 20px">
|
|
|
+ <span>项号</span>
|
|
|
+ </th>
|
|
|
+ <th style="width: 140px">
|
|
|
+ <span>商品编号(13位)原10位海关编码+3位检验检疫附加编码</span>
|
|
|
+ </th>
|
|
|
+ <th style="width: 140px">
|
|
|
+ <span>商品名称</span>
|
|
|
+ </th>
|
|
|
+ <th>
|
|
|
+ <span>品牌</span>
|
|
|
+ </th>
|
|
|
+ <th>
|
|
|
+ <span>品牌类型</span>
|
|
|
+ </th>
|
|
|
+ <th style="width: 140px">
|
|
|
+ <span>出口享惠情况(不填写则默认不享受)</span>
|
|
|
+ </th>
|
|
|
+ <th>
|
|
|
+ <span>型号</span>
|
|
|
+ </th>
|
|
|
+ <th style="width: 140px">
|
|
|
+ <span>税号所需申报要素(如:用途、材质等)</span>
|
|
|
+ </th>
|
|
|
+ <th>
|
|
|
+ <span>各项净重</span>
|
|
|
+ </th>
|
|
|
+ <th>
|
|
|
+ <span>成交数量</span>
|
|
|
+ </th>
|
|
|
+ <th>
|
|
|
+ <span>成交单位</span>
|
|
|
+ </th>
|
|
|
+ <th>
|
|
|
+ <span>原产国(地区)</span>
|
|
|
+ </th>
|
|
|
+ <th>
|
|
|
+ <span>总价与币制</span>
|
|
|
+ </th>
|
|
|
+ <th>
|
|
|
+ <span>成交单价</span>
|
|
|
+ </th>
|
|
|
+ <th>
|
|
|
+ <span>EXW 单价</span>
|
|
|
+ </th>
|
|
|
+ </tr>
|
|
|
+ <template v-if="printCustomsDeclaration.content.products && printCustomsDeclaration.content.products.length > 0">
|
|
|
+ <tr v-for="(item, index) in printCustomsDeclaration.content.products" :key="index">
|
|
|
+ <td>
|
|
|
+ <span>{{ index + 1 }}</span>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ item.customsCode }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="item.customsCode" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ item.productName }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="item.productName" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ item.brand }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="item.brand" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ item.brandType }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="item.brandType" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ item.exportBenefits }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="item.exportBenefits" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ item.productModelChinese }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="item.productModelChinese" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ item.declareRemark }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="item.declareRemark" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ item.netWeight }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="item.netWeight" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ item.quantity }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="item.quantity" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ item.unit }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="item.unit" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ item.countryChinese }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="item.countryChinese" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ item.sumPrice }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="item.sumPrice" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ item.declaredPrice }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="item.declaredPrice" size="small" />
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="word-wrap: break-word; padding: 0 4px" v-if="textShow">{{ item.exwPrice }}</div>
|
|
|
+ <el-input autosize type="textarea" v-if="!textShow" v-model="item.exwPrice" size="small" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </template>
|
|
|
+ <tr>
|
|
|
+ <td colspan="15" style="text-align: left; padding-left: 8px">
|
|
|
+ <span style="color: red">
|
|
|
+ 我司保证以上所提供的信息及资料准确无误,如在海关申报、查验时有任何异议,所造成的损失及后果由我司承担。 确认签名/盖章:_________________________
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ <template #footer>
|
|
|
+ <el-button @click="openCustomsDeclaration = false" size="large">取消</el-button>
|
|
|
+ <el-button type="primary" @click="clickDownload()" size="large">下载PDF</el-button>
|
|
|
+ </template>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -958,6 +1347,11 @@ const printDetails = ref({
|
|
|
documentsProducts: [],
|
|
|
customer: {},
|
|
|
});
|
|
|
+const openCustomsDeclaration = ref(false);
|
|
|
+const printCustomsDeclaration = ref({
|
|
|
+ content: {},
|
|
|
+});
|
|
|
+const textShow = ref(false);
|
|
|
const clickPrint = (status) => {
|
|
|
// printDetails.value = {
|
|
|
// packDetailGoodsList: [],
|
|
@@ -969,8 +1363,23 @@ const clickPrint = (status) => {
|
|
|
// documentsProducts: [],
|
|
|
// customer: {},
|
|
|
// };
|
|
|
- openStatus.value = status;
|
|
|
- openPrint.value = true;
|
|
|
+ if ([1, 2, 3].includes(status)) {
|
|
|
+ openStatus.value = status;
|
|
|
+ openPrint.value = true;
|
|
|
+ } else {
|
|
|
+ printCustomsDeclaration.value = {
|
|
|
+ content: {},
|
|
|
+ };
|
|
|
+ openStatus.value = status;
|
|
|
+ textShow.value = false;
|
|
|
+ openCustomsDeclaration.value = true;
|
|
|
+ proxy.get("/documents/generateClearanceePdf", { id: rowData.value.id }).then((res) => {
|
|
|
+ if (res.data.content) {
|
|
|
+ res.data.content = JSON.parse(res.data.content);
|
|
|
+ }
|
|
|
+ printCustomsDeclaration.value = res.data;
|
|
|
+ });
|
|
|
+ }
|
|
|
// proxy.get("/documents/generateInvoiceAPackPdf", { id: rowData.value.id }).then((res) => {
|
|
|
// printDetails.value = res.data;
|
|
|
// });
|
|
@@ -982,6 +1391,19 @@ const clickDownload = () => {
|
|
|
proxy.getPdf("商业发票PDF文件");
|
|
|
} else if (openStatus.value === 3) {
|
|
|
proxy.getPdf("销售确认书PDF文件");
|
|
|
+ } else if (openStatus.value === 4) {
|
|
|
+ textShow.value = true;
|
|
|
+ let data = JSON.parse(JSON.stringify(printCustomsDeclaration.value))
|
|
|
+ data.content = JSON.stringify(data.content)
|
|
|
+ proxy.post('/documentsPdf/add', data).then();
|
|
|
+ setTimeout(() => {
|
|
|
+ proxy.getPdfA3("报关单PDF文件");
|
|
|
+ nextTick(() => {
|
|
|
+ setTimeout(() => {
|
|
|
+ textShow.value = false;
|
|
|
+ }, 1000);
|
|
|
+ });
|
|
|
+ }, 1000);
|
|
|
}
|
|
|
};
|
|
|
const getStyle = (text) => {
|
|
@@ -1056,4 +1478,54 @@ const getAllMoney = (num) => {
|
|
|
border-right: 1px solid black;
|
|
|
border-bottom: 1px solid black;
|
|
|
}
|
|
|
+.one {
|
|
|
+ width: 100%;
|
|
|
+ text-align: center;
|
|
|
+ border-top: 1px solid black;
|
|
|
+ border-left: 1px solid black;
|
|
|
+ table-layout: fixed;
|
|
|
+}
|
|
|
+.one td {
|
|
|
+ border: 0;
|
|
|
+ line-height: 18px;
|
|
|
+ border-right: 1px solid black;
|
|
|
+ border-bottom: 1px solid black;
|
|
|
+}
|
|
|
+.two {
|
|
|
+ width: 100%;
|
|
|
+ text-align: center;
|
|
|
+ border-top: 1px solid black;
|
|
|
+ border-left: 1px solid black;
|
|
|
+ table-layout: fixed;
|
|
|
+}
|
|
|
+.two th {
|
|
|
+ border: 0;
|
|
|
+ line-height: 18px;
|
|
|
+ border-right: 1px solid black;
|
|
|
+ border-bottom: 1px solid black;
|
|
|
+ background-color: #dce6f1;
|
|
|
+}
|
|
|
+.two td {
|
|
|
+ border: 0;
|
|
|
+ line-height: 18px;
|
|
|
+ border-right: 1px solid black;
|
|
|
+ border-bottom: 1px solid black;
|
|
|
+}
|
|
|
+:deep(.el-textarea__inner) {
|
|
|
+ background: transparent !important;
|
|
|
+ overflow-y: hidden;
|
|
|
+ padding: 0 4px !important;
|
|
|
+ resize: none;
|
|
|
+}
|
|
|
+:deep(.el-textarea) {
|
|
|
+ --el-input-focus-border: transparent;
|
|
|
+ --el-input-transparent-border: 0 0 0 0px;
|
|
|
+ --el-input-border-color: transparent;
|
|
|
+ --el-input-hover-border: 0px !important;
|
|
|
+ --el-input-hover-border-color: transparent;
|
|
|
+ --el-input-focus-border-color: transparent;
|
|
|
+ --el-input-clear-hover-color: transparent;
|
|
|
+ box-shadow: 0 0 0 0px !important;
|
|
|
+ --el-input-border: 0px;
|
|
|
+}
|
|
|
</style>
|