|
@@ -1196,8 +1196,9 @@
|
|
|
<template #footer>
|
|
|
<el-button @click="openPrint = false" size="large">取消</el-button>
|
|
|
<el-button type="primary" @click="clickDownload()" size="large"
|
|
|
- >下载PDF</el-button
|
|
|
- >
|
|
|
+ >下载PDF
|
|
|
+ </el-button>
|
|
|
+ <el-button v-print="printObj" size="large">打印</el-button>
|
|
|
</template>
|
|
|
</el-dialog>
|
|
|
|
|
@@ -2159,6 +2160,7 @@
|
|
|
<el-button type="primary" @click="clickSave()" size="large"
|
|
|
>保存</el-button
|
|
|
>
|
|
|
+ <el-button v-print="printObj" size="large">打印</el-button>
|
|
|
</template>
|
|
|
</el-dialog>
|
|
|
|
|
@@ -2169,7 +2171,7 @@
|
|
|
width="1000"
|
|
|
>
|
|
|
<div id="pdfDomOne" style="font-family: 'msyh'">
|
|
|
- <div id="mandate" style="padding: 30px">
|
|
|
+ <div id="mandate" style="padding: 30px; font-size: 13px">
|
|
|
<div class="title">代 理 报 关 委 托 书</div>
|
|
|
<div style="text-align: right">
|
|
|
<span>编号:</span>
|
|
@@ -2199,9 +2201,9 @@
|
|
|
</div>
|
|
|
<div>
|
|
|
<span style="padding-left: 2em">我单位现</span>
|
|
|
- <span v-if="textShowOne">{{
|
|
|
- mandateData.type ? "长期" : "逐票"
|
|
|
- }}</span>
|
|
|
+ <span v-if="textShowOne">
|
|
|
+ {{ mandateData.type }}
|
|
|
+ </span>
|
|
|
<span class="select_height">
|
|
|
<el-select
|
|
|
v-model="mandateData.type"
|
|
@@ -2209,20 +2211,16 @@
|
|
|
placeholder="请选择"
|
|
|
v-if="!textShowOne"
|
|
|
>
|
|
|
- <el-option label="逐票" value="0" />
|
|
|
- <el-option label="长期" value="1" />
|
|
|
+ <el-option label="A" value="A" />
|
|
|
+ <el-option label="B" value="B" />
|
|
|
</el-select>
|
|
|
</span>
|
|
|
- 委托贵公司代理
|
|
|
+ (A 逐票、B 长期) 委托贵公司代理
|
|
|
<span v-if="textShowOne">
|
|
|
- (<span
|
|
|
- v-for="(item, index) in mandateData.agentList"
|
|
|
- :key="index"
|
|
|
- >
|
|
|
- {{ showLabelData(item) }}
|
|
|
+ <span v-for="(item, index) in mandateData.agentList" :key="index">
|
|
|
+ {{ item }}
|
|
|
<span v-if="index < mandateData.agentList.length - 1">,</span>
|
|
|
</span>
|
|
|
- )
|
|
|
</span>
|
|
|
<el-select
|
|
|
v-model="mandateData.agentList"
|
|
@@ -2238,7 +2236,10 @@
|
|
|
:value="item.value"
|
|
|
/>
|
|
|
</el-select>
|
|
|
- 等通关事宜。详见《委托报关协议》
|
|
|
+ 等通关事宜。〔A、填单申报 B、申请、联系 和配合实施检验检疫
|
|
|
+ C、辅助查验 D、代缴税款
|
|
|
+ E、设立手册(账册)F、核销手册(账册)G、领取海 关相关单证
|
|
|
+ H、其他〕详见《委托报关协议》
|
|
|
</div>
|
|
|
<div style="text-indent: 2em">
|
|
|
我单位保证遵守海关有关法律、法规、规章,保证所提供的情况真实、完整、单货相符,无侵犯他
|
|
@@ -2512,6 +2513,7 @@
|
|
|
<el-button type="primary" @click="clickSave()" size="large"
|
|
|
>保存</el-button
|
|
|
>
|
|
|
+ <el-button v-print="pdfDomOne2" size="large">打印</el-button>
|
|
|
</template>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
@@ -3068,71 +3070,38 @@ const mandateData = ref({
|
|
|
const selectData = ref([
|
|
|
{
|
|
|
label: "A",
|
|
|
- value: "0",
|
|
|
+ value: "A",
|
|
|
},
|
|
|
{
|
|
|
label: "B",
|
|
|
- value: "1",
|
|
|
+ value: "B",
|
|
|
},
|
|
|
{
|
|
|
label: "C",
|
|
|
- value: "2",
|
|
|
+ value: "C",
|
|
|
},
|
|
|
{
|
|
|
label: "D",
|
|
|
- value: "3",
|
|
|
+ value: "D",
|
|
|
},
|
|
|
{
|
|
|
label: "E",
|
|
|
- value: "4",
|
|
|
+ value: "E",
|
|
|
},
|
|
|
{
|
|
|
label: "F",
|
|
|
- value: "5",
|
|
|
+ value: "F",
|
|
|
},
|
|
|
{
|
|
|
label: "G",
|
|
|
- value: "6",
|
|
|
+ value: "G",
|
|
|
},
|
|
|
{
|
|
|
label: "H",
|
|
|
- value: "7",
|
|
|
- },
|
|
|
-]);
|
|
|
-const selectDataOne = ref([
|
|
|
- {
|
|
|
- label: "填单申报",
|
|
|
- value: "0",
|
|
|
- },
|
|
|
- {
|
|
|
- label: "申请、联系和配合实施检验检疫",
|
|
|
- value: "1",
|
|
|
- },
|
|
|
- {
|
|
|
- label: "辅助查验",
|
|
|
- value: "2",
|
|
|
- },
|
|
|
- {
|
|
|
- label: "代缴税款",
|
|
|
- value: "3",
|
|
|
- },
|
|
|
- {
|
|
|
- label: "设立手册(账册)",
|
|
|
- value: "4",
|
|
|
- },
|
|
|
- {
|
|
|
- label: "核销手册(账册)",
|
|
|
- value: "5",
|
|
|
- },
|
|
|
- {
|
|
|
- label: "领取海关相关单证",
|
|
|
- value: "6",
|
|
|
- },
|
|
|
- {
|
|
|
- label: "其他",
|
|
|
- value: "7",
|
|
|
+ value: "H",
|
|
|
},
|
|
|
]);
|
|
|
+
|
|
|
const clickPrint = (status) => {
|
|
|
// printDetails.value = {
|
|
|
// packDetailGoodsList: [],
|
|
@@ -3314,6 +3283,14 @@ const printObj = ref({
|
|
|
extraHead: '<meta http-equiv="Content-Language"content="zh-cn"/>',
|
|
|
});
|
|
|
|
|
|
+const pdfDomOne2 = ref({
|
|
|
+ id: "pdfDomOne",
|
|
|
+ popTitle: "",
|
|
|
+ extraCss:
|
|
|
+ "https://cdn.bootcdn.net/ajax/libs/animate.css/4.1.1/animate.compat.css, https://cdn.bootcdn.net/ajax/libs/hover.css/2.3.1/css/hover-min.css",
|
|
|
+ extraHead: '<meta http-equiv="Content-Language"content="zh-cn"/>',
|
|
|
+});
|
|
|
+
|
|
|
const getChineseDate = (date) => {
|
|
|
if (date) {
|
|
|
const newDate = new Date(date);
|
|
@@ -3323,12 +3300,6 @@ const getChineseDate = (date) => {
|
|
|
return year + "年" + month + "月" + day + "日 ";
|
|
|
}
|
|
|
};
|
|
|
-const showLabelData = (val) => {
|
|
|
- const current = selectDataOne.value.find((x) => x.value === val);
|
|
|
- if (current && current.label) {
|
|
|
- return current.label;
|
|
|
- }
|
|
|
-};
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|