|
|
@ -51,6 +51,9 @@ |
|
|
<el-form-item label=" "> |
|
|
<el-form-item label=" "> |
|
|
<el-button @click="exportGoodsList()" type="primary" style="margin-left: 2px">{{'导出出口货物委托书'}}</el-button> |
|
|
<el-button @click="exportGoodsList()" type="primary" style="margin-left: 2px">{{'导出出口货物委托书'}}</el-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
<!-- <el-form-item label=" "> |
|
|
|
|
|
<el-button @click="exportContract()" type="primary" style="margin-left: 2px">{{'导出合同'}}</el-button> |
|
|
|
|
|
</el-form-item>--> |
|
|
</el-form> |
|
|
</el-form> |
|
|
|
|
|
|
|
|
<el-table |
|
|
<el-table |
|
|
@ -134,7 +137,7 @@ |
|
|
</el-table> |
|
|
</el-table> |
|
|
</el-tab-pane> |
|
|
</el-tab-pane> |
|
|
</el-tabs> |
|
|
</el-tabs> |
|
|
<el-dialog title="导出报关要素" :close-on-click-modal="false" v-drag :visible.sync="brandTypeFlag" width="300px"> |
|
|
|
|
|
|
|
|
<el-dialog title="导出报关要素" :close-on-click-modal="false" v-drag :visible.sync="brandTypeFlag" width="400px"> |
|
|
<el-form label-position="top" style="margin-left: 7px;margin-top: 10px;"> |
|
|
<el-form label-position="top" style="margin-left: 7px;margin-top: 10px;"> |
|
|
<el-row :gutter="20"> |
|
|
<el-row :gutter="20"> |
|
|
<el-col :span="24"> |
|
|
<el-col :span="24"> |
|
|
@ -146,11 +149,42 @@ |
|
|
<el-col :span="24"> |
|
|
<el-col :span="24"> |
|
|
<el-form-item :label="'品名类型'" > |
|
|
<el-form-item :label="'品名类型'" > |
|
|
<el-radio v-model="hsCodeDescType" label="Y">中文</el-radio> |
|
|
<el-radio v-model="hsCodeDescType" label="Y">中文</el-radio> |
|
|
<el-radio v-model="hsCodeDescType" label="N">英文</el-radio> |
|
|
|
|
|
|
|
|
<el-radio style="margin-left: 102px;" v-model="hsCodeDescType" label="N">英文</el-radio> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-row> |
|
|
</el-row> |
|
|
</el-form> |
|
|
</el-form> |
|
|
|
|
|
<el-table v-show="currentRow.buNo==='02-Hardtag' || currentRow.buNo==='04-MHM'" |
|
|
|
|
|
:height="240" |
|
|
|
|
|
:data="propertiesList" |
|
|
|
|
|
stripe |
|
|
|
|
|
highlight-current-row |
|
|
|
|
|
border :row-style="{ height: '30px' }" |
|
|
|
|
|
style="width: 100%;"> |
|
|
|
|
|
<el-table-column |
|
|
|
|
|
prop="hsCode" |
|
|
|
|
|
header-align="center" |
|
|
|
|
|
align="center" |
|
|
|
|
|
label="HS Code"> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column |
|
|
|
|
|
prop="hsCodeDesc" |
|
|
|
|
|
header-align="center" |
|
|
|
|
|
align="center" |
|
|
|
|
|
label="品名"> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column |
|
|
|
|
|
prop="ehundred" |
|
|
|
|
|
header-align="center" |
|
|
|
|
|
align="center" |
|
|
|
|
|
label="品牌"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<el-select v-model="scope.row.brand" placeholder="请选择" style="width: 150px"> |
|
|
|
|
|
<el-option :value="i.availableValue" :label="i.availableValue" v-for="(i,key) in scope.row.availableList" :key="key"></el-option> |
|
|
|
|
|
</el-select> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
</el-table> |
|
|
<el-footer style="height:40px;margin-top: 10px;text-align:center"> |
|
|
<el-footer style="height:40px;margin-top: 10px;text-align:center"> |
|
|
<el-button type="primary" @click="downloadDeclarationElements()">确定</el-button> |
|
|
<el-button type="primary" @click="downloadDeclarationElements()">确定</el-button> |
|
|
<el-button type="primary" @click="brandTypeFlag=false">关闭</el-button> |
|
|
<el-button type="primary" @click="brandTypeFlag=false">关闭</el-button> |
|
|
@ -298,11 +332,11 @@ |
|
|
<el-radio v-model="exportPaking.hsCodeDescType" label="N">英文</el-radio> |
|
|
<el-radio v-model="exportPaking.hsCodeDescType" label="N">英文</el-radio> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="12" > |
|
|
|
|
|
|
|
|
<!-- <el-col :span="12" > |
|
|
<el-form-item :label="''" > |
|
|
<el-form-item :label="''" > |
|
|
<el-checkbox v-model="exportPaking.boxChange">显示箱数零头</el-checkbox> |
|
|
<el-checkbox v-model="exportPaking.boxChange">显示箱数零头</el-checkbox> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
|
|
|
|
|
|
</el-col>--> |
|
|
<el-col :span="12" > |
|
|
<el-col :span="12" > |
|
|
<el-form-item :label="''" > |
|
|
<el-form-item :label="''" > |
|
|
<el-checkbox v-model="exportPaking.goodsLabel">货物明细</el-checkbox> |
|
|
<el-checkbox v-model="exportPaking.goodsLabel">货物明细</el-checkbox> |
|
|
@ -323,6 +357,11 @@ |
|
|
<el-input v-model="exportPaking.shippingMark"></el-input> |
|
|
<el-input v-model="exportPaking.shippingMark"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
|
|
|
<el-col :span="12" v-show="currentRow.buNo==='01-Label' || currentRow.buNo==='03-RFID'"> |
|
|
|
|
|
<el-form-item :label="'制造地'" > |
|
|
|
|
|
<el-input v-model="exportPaking.origin"></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
<el-col :span="12" v-show="currentRow.buNo==='01-Label' || currentRow.buNo==='03-RFID'"> |
|
|
<el-col :span="12" v-show="currentRow.buNo==='01-Label' || currentRow.buNo==='03-RFID'"> |
|
|
<el-form-item :label="'栈板重量参数'" > |
|
|
<el-form-item :label="'栈板重量参数'" > |
|
|
<el-input v-model="exportPaking.palletWeight"></el-input> |
|
|
<el-input v-model="exportPaking.palletWeight"></el-input> |
|
|
@ -348,11 +387,6 @@ |
|
|
<el-input :disabled="!exportPaking.packaging" v-model="exportPaking.kgs"></el-input> |
|
|
<el-input :disabled="!exportPaking.packaging" v-model="exportPaking.kgs"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="12" v-show="currentRow.buNo==='01-Label' || currentRow.buNo==='03-RFID'"> |
|
|
|
|
|
<el-form-item :label="'制造地'" > |
|
|
|
|
|
<el-input v-model="exportPaking.origin"></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
</el-row> |
|
|
</el-row> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<el-table v-show="currentRow.buNo==='03-RFID'" |
|
|
<el-table v-show="currentRow.buNo==='03-RFID'" |
|
|
@ -498,7 +532,8 @@ |
|
|
downloadDeclarationElements, |
|
|
downloadDeclarationElements, |
|
|
getNotifyPartDetail, |
|
|
getNotifyPartDetail, |
|
|
getCustomerInfo, |
|
|
getCustomerInfo, |
|
|
searchTemplateList |
|
|
|
|
|
|
|
|
searchTemplateList, |
|
|
|
|
|
getPropertiesListByDeclaration |
|
|
}from "@/api/ecss/ecss.js" |
|
|
}from "@/api/ecss/ecss.js" |
|
|
import {EventBus} from "../../../main"; |
|
|
import {EventBus} from "../../../main"; |
|
|
import ExportUtil from "@/utils/export"; |
|
|
import ExportUtil from "@/utils/export"; |
|
|
@ -514,6 +549,7 @@ |
|
|
templateList:[], |
|
|
templateList:[], |
|
|
customerInfoList:[], |
|
|
customerInfoList:[], |
|
|
notifyPartDetailList:[], |
|
|
notifyPartDetailList:[], |
|
|
|
|
|
propertiesList:[], |
|
|
currentRow:{}, |
|
|
currentRow:{}, |
|
|
exportGoodsFlag:false, |
|
|
exportGoodsFlag:false, |
|
|
exportGoods:{ |
|
|
exportGoods:{ |
|
|
@ -1576,8 +1612,17 @@ |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
this.brandType='境外品牌(其他)' |
|
|
this.brandType='境外品牌(其他)' |
|
|
//this.hsCodeDescType='' |
|
|
|
|
|
this.brandTypeFlag = true |
|
|
this.brandTypeFlag = true |
|
|
|
|
|
if (this.currentRow.buNo==='02-Hardtag' || this.currentRow.buNo==='04-MHM') { |
|
|
|
|
|
this.currentRow.brand='品牌' |
|
|
|
|
|
getPropertiesListByDeclaration(this.currentRow).then(({data}) => { |
|
|
|
|
|
if (data && data.code == 0) { |
|
|
|
|
|
this.propertiesList = data.rows |
|
|
|
|
|
} else { |
|
|
|
|
|
this.propertiesList = []; |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
chooseHsCodeDescType() { |
|
|
chooseHsCodeDescType() { |
|
|
if (!this.currentRow || !this.currentRow.buNo) { |
|
|
if (!this.currentRow || !this.currentRow.buNo) { |
|
|
@ -1699,6 +1744,10 @@ |
|
|
exportParam.delNo = this.currentRow.delNo |
|
|
exportParam.delNo = this.currentRow.delNo |
|
|
exportParam.brandType = this.brandType |
|
|
exportParam.brandType = this.brandType |
|
|
exportParam.hsCodeDescType=this.hsCodeDescType |
|
|
exportParam.hsCodeDescType=this.hsCodeDescType |
|
|
|
|
|
if (this.propertiesList.length>0) { |
|
|
|
|
|
this.currentRow.brand='品牌' |
|
|
|
|
|
exportParam.propertiesList = this.propertiesList |
|
|
|
|
|
} |
|
|
let error; |
|
|
let error; |
|
|
ExportUtil.export( |
|
|
ExportUtil.export( |
|
|
"/ecss/coDel/downloadDeclarationElements", |
|
|
"/ecss/coDel/downloadDeclarationElements", |
|
|
@ -1790,6 +1839,21 @@ |
|
|
this.exportGoodsFlag = false; |
|
|
this.exportGoodsFlag = false; |
|
|
this.searchTable() |
|
|
this.searchTable() |
|
|
}, |
|
|
}, |
|
|
|
|
|
exportContract(){ |
|
|
|
|
|
if (!this.currentRow || !this.currentRow.buNo) { |
|
|
|
|
|
this.$message.warning('请选择报关单!') |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
let exportParam=this.exportGoods |
|
|
|
|
|
exportParam.declarationNo = this.currentRow.declarationNo |
|
|
|
|
|
exportParam.site = this.currentRow.site |
|
|
|
|
|
exportParam.delNo = this.currentRow.delNo |
|
|
|
|
|
ExportUtil.export( |
|
|
|
|
|
"/ecss/coDel/downloadContract", |
|
|
|
|
|
exportParam, this.currentRow.declarationNo+"合同.xlsx" |
|
|
|
|
|
); |
|
|
|
|
|
this.searchTable() |
|
|
|
|
|
}, |
|
|
getCustomerInfo() { |
|
|
getCustomerInfo() { |
|
|
getCustomerInfo(this.currentRow).then(({data}) => { |
|
|
getCustomerInfo(this.currentRow).then(({data}) => { |
|
|
//区分请求成功和失败的状况 |
|
|
//区分请求成功和失败的状况 |
|
|
|