|
|
|
@ -71,6 +71,12 @@ |
|
|
|
{{ '导出' }} |
|
|
|
</download-excel> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label=" "> |
|
|
|
<el-button @click="exportInvoiceList()" type="primary" style="margin-left: 2px">{{'导出发票'}}</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label=" "> |
|
|
|
<el-button @click="exportGoodsList()" type="primary" style="margin-left: 2px">{{'导出出口货物委托书'}}</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
|
|
|
|
<el-table |
|
|
|
@ -125,6 +131,7 @@ |
|
|
|
<el-tabs style="font-size: 12px;min-height: 200px" class="customer-tab" v-model="activeName" type="border-card" @tab-click="tabClick" > |
|
|
|
<el-tab-pane label="明细" name="detail"> |
|
|
|
<el-button v-show="currentRow.notifyStatus!=='订单取消'" @click="openCreateDetailModel()" type="primary" style="margin-left: 2px;margin-top: 0px">{{'新增'}}</el-button> |
|
|
|
<el-button v-show="currentRow.notifyStatus!=='订单取消'" @click="importDetailModel()" type="primary" style="margin-left: 2px;margin-top: 0px">{{'导入'}}</el-button> |
|
|
|
<el-table ref="detailTable" |
|
|
|
:height="height" |
|
|
|
:data="dataList2" :cell-style="cellStyleDetail" |
|
|
|
@ -408,6 +415,8 @@ |
|
|
|
</el-dialog> |
|
|
|
<!-- 导入 --> |
|
|
|
<del-upload-excel ref="delUploadExcel" @refreshTable="searchTable" v-drag></del-upload-excel> |
|
|
|
<!-- 导入 --> |
|
|
|
<del-detail-upload-excel ref="delDetailUploadExcel" @refreshTable="searchTable" v-drag></del-detail-upload-excel> |
|
|
|
<!--列表的组件--> |
|
|
|
<Chooselist ref="baseList" @getBaseData="getBaseData"></Chooselist> |
|
|
|
<el-dialog title="物料清单" top="17vh" :close-on-click-modal="false" v-drag :visible.sync="componentPartModelFlag" width="700px"> |
|
|
|
@ -461,12 +470,203 @@ |
|
|
|
<el-button type="primary" @click="componentPartModelFlag = false">关闭</el-button> |
|
|
|
</el-footer> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<el-dialog title="导出发票" :close-on-click-modal="false" v-drag :visible.sync="exportInvoiceFlag" width="450px"> |
|
|
|
<el-form label-position="top" style="margin-left: 2px;margin-top: 10px;"> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item :label="''" > |
|
|
|
<template #label> |
|
|
|
<span slot="label" style="" class="big-label"> |
|
|
|
<a href="#" @click="openTemplate('发票')">发票模版</a> |
|
|
|
</span> |
|
|
|
</template> |
|
|
|
<el-input v-model="exportInvoice.templateName" disabled ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12" > |
|
|
|
<el-form-item :label="''" > |
|
|
|
<el-checkbox v-model="exportInvoice.hsCodeDesc">品名</el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="'品名类型'" > |
|
|
|
<el-radio v-model="exportInvoice.hsCodeDescType" label="Y">中文</el-radio> |
|
|
|
<el-radio v-model="exportInvoice.hsCodeDescType" label="N">英文</el-radio> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12" > |
|
|
|
<el-form-item :label="''" > |
|
|
|
<el-checkbox v-model="exportInvoice.contractFlag">合同</el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12" > |
|
|
|
<el-form-item :label="''" > |
|
|
|
<el-checkbox v-model="exportInvoice.goodsLabel">货物明细</el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="'RFID Base Material'" > |
|
|
|
<el-checkbox v-model="exportInvoice.material"></el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="'HS Code'" > |
|
|
|
<el-input :disabled="!exportInvoice.material" v-model="exportInvoice.hsCode"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="'Non-reusable plastic packaging'" > |
|
|
|
<el-checkbox v-model="exportInvoice.packaging"></el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="'plastic packaging'" > |
|
|
|
<el-input :disabled="!exportInvoice.packaging" v-model="exportInvoice.kgs"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12" v-show="currentRow.buNo==='01-Label' || currentRow.buNo==='03-RFID'"> |
|
|
|
<el-form-item :label="'制造地'" > |
|
|
|
<el-input v-model="exportInvoice.origin"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
<el-table v-show="currentRow.buNo==='03-RFID'" |
|
|
|
:height="240" |
|
|
|
:data="notifyPartDetailList" |
|
|
|
stripe |
|
|
|
highlight-current-row |
|
|
|
border :row-style="{ height: '30px' }" |
|
|
|
style="width: 100%;"> |
|
|
|
<el-table-column |
|
|
|
prop="partNo" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
label="PN"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="ehundred" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
label="E100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input v-model="scope.row.ehundred" style="width: 100px;"></el-input> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="lossratio" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
label="纯FSC纸重量损耗"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input v-model="scope.row.lossratio" style="width: 100px;"></el-input> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
<el-footer style="height:40px;margin-top: 10px;text-align:center"> |
|
|
|
<el-button type="primary" @click="downloadInvoice()">确定</el-button> |
|
|
|
<el-button type="primary" @click="exportInvoiceFlag=false">关闭</el-button> |
|
|
|
</el-footer> |
|
|
|
</el-dialog> |
|
|
|
<el-dialog title="导出出口货物委托书" :close-on-click-modal="false" v-drag :visible.sync="exportGoodsFlag" width="500px"> |
|
|
|
<el-form label-position="top" style="margin-left: 7px;margin-top: 10px;"> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="'品名类型'" > |
|
|
|
<el-radio v-model="exportGoods.hsCodeDescType" label="Y">中文</el-radio> |
|
|
|
<el-radio v-model="exportGoods.hsCodeDescType" label="N">英文</el-radio> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="'贸易方式'" > |
|
|
|
<el-input v-model="exportGoods.salesMethod"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="'币制'" > |
|
|
|
<el-input v-model="exportGoods.currency"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="'货物产地'" > |
|
|
|
<el-input v-model="exportGoods.madeArea"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="'发货港'" > |
|
|
|
<el-input v-model="exportGoods.sendPort"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="'唛头'" > |
|
|
|
<el-input v-model="exportGoods.voyage"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="'提/送货日期'" > |
|
|
|
<el-input v-model="exportGoods.deliveryGoodsDate"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="'船期'" > |
|
|
|
<el-input v-model="exportGoods.shippingDate"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item :label="'发货人'" > |
|
|
|
<el-input type="textarea" |
|
|
|
:rows="4" v-model="exportGoods.shipper"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
<el-footer style="height:40px;margin-top: 80px;text-align:center"> |
|
|
|
<el-button type="primary" @click="downloadExportGoods()">确定</el-button> |
|
|
|
<el-button type="primary" @click="exportGoodsFlag=false">关闭</el-button> |
|
|
|
</el-footer> |
|
|
|
</el-dialog> |
|
|
|
<el-dialog title="模版" @close="closeTemplateDialog" @open="openTemplateDialog" :visible.sync="templateFlag" width="559px" v-drag> |
|
|
|
<el-form inline="inline" label-position="top" :model="templateData" style="margin-left: 7px;margin-top: -5px;"> |
|
|
|
<el-form-item label="模版名称"> |
|
|
|
<el-input v-model="templateData.name" clearable style="width: 110px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label=" "> |
|
|
|
<el-button type="primary" style="padding: 3px 12px" @click="searchTemplateList()">查询</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-table |
|
|
|
:height="height + 110" |
|
|
|
:data="templateList" |
|
|
|
stripe |
|
|
|
highlight-current-row |
|
|
|
border |
|
|
|
@row-dblclick="templateRowDblclick" |
|
|
|
style="width: 100%;"> |
|
|
|
<el-table-column |
|
|
|
prop="buNo" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
label="BuNo"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="name" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
label="模版名称"> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
<el-footer style="height:40px;margin-top: 10px;text-align:center"> |
|
|
|
<el-button @click="templateFlag = false">关闭</el-button> |
|
|
|
</el-footer> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import Chooselist from '@/views/modules/common/Chooselist_eam' |
|
|
|
import delUploadExcel from "./del_upload_excel.vue"; |
|
|
|
import delDetailUploadExcel from "./del_detail_upload_excel.vue"; |
|
|
|
import {} from "@/api/sysLanguage.js" |
|
|
|
import { |
|
|
|
searchEcssCoDelNotifyHeader, |
|
|
|
@ -478,13 +678,19 @@ |
|
|
|
updateEcssDelDetail, |
|
|
|
deleteEcssDelDetail, |
|
|
|
searchCoDelPalletData, |
|
|
|
queryPartListAll |
|
|
|
queryPartListAll, |
|
|
|
searchTemplateList, |
|
|
|
getCustomers, |
|
|
|
getCustomerAdd, |
|
|
|
getNotifyPartDetail |
|
|
|
}from "@/api/ecss/ecss.js" |
|
|
|
import {getBuList}from '@/api/factory/site.js' |
|
|
|
import ExportUtil from "@/utils/export"; |
|
|
|
export default { |
|
|
|
name: "null", |
|
|
|
components:{ |
|
|
|
delUploadExcel, |
|
|
|
delDetailUploadExcel, |
|
|
|
Chooselist, |
|
|
|
}, |
|
|
|
data() { |
|
|
|
@ -1575,6 +1781,42 @@ |
|
|
|
exportHeader: ["发货通知单"], |
|
|
|
exportFooter: [], |
|
|
|
// 导出 end |
|
|
|
exportInvoiceFlag:false, |
|
|
|
exportInvoice:{ |
|
|
|
origin:"made in china", |
|
|
|
templateName:'', |
|
|
|
hsCodeDesc:'', |
|
|
|
contractFlag:'', |
|
|
|
packaging:'', |
|
|
|
kgs:'', |
|
|
|
hsCode:'', |
|
|
|
material:'', |
|
|
|
hsCodeDescType:'', |
|
|
|
goodsLabel:true, |
|
|
|
overseasShipper:'', |
|
|
|
overseasAddress:'', |
|
|
|
}, |
|
|
|
exportGoodsFlag:false, |
|
|
|
exportGoods:{ |
|
|
|
salesMethod:'EXW', |
|
|
|
currency: 'USD', |
|
|
|
madeArea: 'Shanghai, China', |
|
|
|
sendPort:'Shanghai, China', |
|
|
|
deliveryGoodsDate:'', |
|
|
|
voyage :'', |
|
|
|
shippingDate:'', |
|
|
|
hsCodeDescType:'Y', |
|
|
|
shipper:'Checkpoint Commercial (Shanghai) Co., Ltd. 保点贸易(上海)有限公司\t\t\t\t\t\t\n' + |
|
|
|
'Room 1411, No. 31, Lane 2419, Hunan Road, Pudong New Area, Shanghai\t\t\t\t\t\t\n' + |
|
|
|
'电话/Tel: (86-21)38112888 传真/Fax: (86-21)38112990\t\t\t\t\t\t\n' + |
|
|
|
'上海市浦东新区沪南路2419弄31号1411室\t\t\t\t\t\t\n' |
|
|
|
}, |
|
|
|
notifyPartDetailList:[], |
|
|
|
templateFlag:false, |
|
|
|
templateData:{}, |
|
|
|
templateList:[], |
|
|
|
customerData:{}, |
|
|
|
customerAddData:{}, |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
@ -1646,6 +1888,11 @@ |
|
|
|
this.$refs.delUploadExcel.init() |
|
|
|
}) |
|
|
|
}, |
|
|
|
importDetailModel(){ |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs.delDetailUploadExcel.init(this.currentRow) |
|
|
|
}) |
|
|
|
}, |
|
|
|
refreshCurrentTabTable(){ |
|
|
|
if(this.currentRow===''||this.currentRow===null){ |
|
|
|
this.currentRow={site:'',delNo:''} |
|
|
|
@ -2047,7 +2294,183 @@ |
|
|
|
}); |
|
|
|
this.$nextTick(() => this.$refs.detailTable.doLayout());// 强制刷新布局, 否则会被表格覆盖 |
|
|
|
return sums; |
|
|
|
}, |
|
|
|
|
|
|
|
exportInvoiceList() { |
|
|
|
if (!this.currentRow || !this.currentRow.buNo) { |
|
|
|
this.$message.warning('请选择发货通知单!') |
|
|
|
return |
|
|
|
} |
|
|
|
if (this.currentRow.notifyStatus==='订单取消') { |
|
|
|
this.$message.warning('该发货通知单已取消!') |
|
|
|
return |
|
|
|
} |
|
|
|
this.exportInvoice.templateName='' |
|
|
|
this.exportInvoice.hsCodeDesc=this.currentRow.hsCodeDesc |
|
|
|
this.exportInvoice.contractFlag=this.currentRow.contractFlag |
|
|
|
this.exportInvoice.packaging=this.currentRow.packaging |
|
|
|
this.exportInvoice.kgs=this.currentRow.kgs |
|
|
|
this.exportInvoice.hsCode=this.currentRow.hsCode |
|
|
|
this.exportInvoice.material=this.currentRow.material |
|
|
|
this.exportInvoice.hsCodeDescType=this.currentRow.hsCodeDescType |
|
|
|
this.exportInvoice.goodsLabel=this.currentRow.goodsLabel |
|
|
|
this.exportInvoice.origin="made in china" |
|
|
|
//this.exportInvoice = this.currentRow |
|
|
|
if (!this.exportInvoice.origin) { |
|
|
|
this.exportInvoice.origin = 'made in china' |
|
|
|
} |
|
|
|
if (!this.exportInvoice.itemNo) { |
|
|
|
this.exportInvoice.itemNo = 'Y' |
|
|
|
} |
|
|
|
this.notifyPartDetailList = []; |
|
|
|
this.customerData='' |
|
|
|
this.customerAddData = '' |
|
|
|
this.exportInvoiceFlag = true |
|
|
|
if (this.currentRow.buNo==='03-RFID') { |
|
|
|
getNotifyPartDetail(this.currentRow).then(({data}) => { |
|
|
|
//区分请求成功和失败的状况 |
|
|
|
if (data && data.code == 0) { |
|
|
|
this.notifyPartDetailList = data.rows |
|
|
|
this.notifyPartDetailList.forEach(o => { |
|
|
|
if (!o.lossratio) { |
|
|
|
o.lossratio = '1.2'; |
|
|
|
} |
|
|
|
}); |
|
|
|
} else { |
|
|
|
this.notifyPartDetailList = []; |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
this.templateData.type='发票' |
|
|
|
this.searchTemplateOne(); |
|
|
|
}, |
|
|
|
|
|
|
|
searchTemplateOne() { |
|
|
|
this.templateData.buNo = this.currentRow.buNo |
|
|
|
this.templateData.customName = this.currentRow.customerName |
|
|
|
searchTemplateList(this.templateData).then(({data}) => { |
|
|
|
if (data && data.code === 0){ |
|
|
|
if (data.rows && data.rows.length > 0) { |
|
|
|
this.templateRowDblclick(data.rows[0]); |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
exportGoodsList() { |
|
|
|
if (!this.currentRow || !this.currentRow.buNo) { |
|
|
|
this.$message.warning('请选择发货通知单!') |
|
|
|
return |
|
|
|
} |
|
|
|
this.exportGoods.salesMethod = 'EXW' |
|
|
|
this.exportGoods.currency = 'USD' |
|
|
|
this.exportGoods.madeArea = 'Shanghai, China' |
|
|
|
this.exportGoods.sendPort = 'Shanghai, China' |
|
|
|
this.exportGoods.deliveryGoodsDate = '' |
|
|
|
this.exportGoods.voyage = this.currentRow.buNo==='01-Label' || this.currentRow.buNo==='03-RFID'?this.currentRow.cmcInvoice:'' |
|
|
|
this.exportGoods.shippingDate = '' |
|
|
|
this.exportGoodsFlag = true |
|
|
|
}, |
|
|
|
// 导出 |
|
|
|
downloadInvoice() { |
|
|
|
if (!this.currentRow || !this.currentRow.buNo) { |
|
|
|
this.$message.warning('请选择报关单!') |
|
|
|
return |
|
|
|
} |
|
|
|
let exportParam=this.exportInvoice |
|
|
|
exportParam.declarationNo = this.currentRow.declarationNo |
|
|
|
exportParam.site = this.currentRow.site |
|
|
|
exportParam.delNo = this.currentRow.delNo |
|
|
|
exportParam.notifyPartDetailList = this.notifyPartDetailList |
|
|
|
ExportUtil.export( |
|
|
|
"/ecss/coDel/downloadInvoice", |
|
|
|
exportParam, this.currentRow.cmcInvoice+"发票.xlsx" |
|
|
|
); |
|
|
|
this.exportInvoiceFlag=false |
|
|
|
this.searchTable() |
|
|
|
}, |
|
|
|
|
|
|
|
downloadExportGoods() { |
|
|
|
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/downloadExportGoods", |
|
|
|
exportParam, this.currentRow.cmcInvoice+"出口货物委托书.xlsx" |
|
|
|
); |
|
|
|
this.exportGoodsFlag = false; |
|
|
|
this.searchTable() |
|
|
|
}, |
|
|
|
|
|
|
|
openTemplate (type) { |
|
|
|
this.templateData.type=type; |
|
|
|
this.templateFlag = true; |
|
|
|
}, |
|
|
|
|
|
|
|
openTemplateDialog () { |
|
|
|
//请求 |
|
|
|
this.searchTemplateList(); |
|
|
|
}, |
|
|
|
closeTemplateDialog () { |
|
|
|
this.templateList = [] |
|
|
|
this.templateFlag = false |
|
|
|
}, |
|
|
|
searchTemplateList () { |
|
|
|
this.templateData.buNo = this.currentRow.buNo |
|
|
|
this.templateData.customName = '' |
|
|
|
searchTemplateList(this.templateData).then(({data}) => { |
|
|
|
if (data && data.code === 0){ |
|
|
|
this.templateList = data.rows; |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
templateRowDblclick (row) { |
|
|
|
if (this.templateData.type=='发票') { |
|
|
|
this.exportInvoice.templateName=row.name |
|
|
|
this.exportInvoice.hsCodeDesc=row.hsCodeDesc |
|
|
|
this.exportInvoice.contractFlag=row.contractFlag |
|
|
|
this.exportInvoice.origin=this.currentRow.origin?this.currentRow.origin:row.origin |
|
|
|
this.exportInvoice.packaging=this.currentRow.packaging?this.currentRow.packaging:row.packaging |
|
|
|
this.exportInvoice.kgs=this.currentRow.kgs?this.currentRow.kgs:row.kgs |
|
|
|
this.exportInvoice.hsCode=this.currentRow.hsCode?this.currentRow.hsCode:row.hsCode |
|
|
|
this.exportInvoice.material=this.currentRow.material?this.currentRow.material:row.material |
|
|
|
this.exportInvoice.hsCodeDescType=this.currentRow.hsCodeDescType?this.currentRow.hsCodeDescType:row.hsCodeDescType |
|
|
|
this.exportInvoice.goodsLabel=this.currentRow.goodsLabel?this.currentRow.goodsLabel:row.goodsLabel |
|
|
|
} else if (this.templateData.type=='出口货物委托书'){ |
|
|
|
this.exportGoods.salesMethod = row.salesMethod |
|
|
|
this.exportGoods.currency = row.currency |
|
|
|
this.exportGoods.madeArea = row.madeArea |
|
|
|
this.exportGoods.sendPort = row.sendPort |
|
|
|
this.exportGoods.deliveryGoodsDate = row.deliveryGoodsDate |
|
|
|
this.exportGoods.voyage = this.currentRow.buNo==='01-Label' || this.currentRow.buNo==='03-RFID'?this.currentRow.cmcInvoice:row.voyage |
|
|
|
this.exportGoods.shippingDate = row.shippingDate; |
|
|
|
this.exportGoods.shipper=row.shipper |
|
|
|
} |
|
|
|
if (this.templateData.type!=='出口货物委托书') { |
|
|
|
this.notifyPartDetailList.forEach(o => { |
|
|
|
// 开启fsc损耗则给默认值 |
|
|
|
if (o.lossratio) { |
|
|
|
if (row.fscWeight) { |
|
|
|
o.lossratio = o.lossratio; |
|
|
|
} else { |
|
|
|
o.lossratio = ''; |
|
|
|
} |
|
|
|
} else { |
|
|
|
if (row.fscWeight) { |
|
|
|
o.lossratio = '1.2'; |
|
|
|
} else { |
|
|
|
o.lossratio = ''; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
this.templateFlag = false |
|
|
|
}, |
|
|
|
}, |
|
|
|
activated() { |
|
|
|
this.searchTable() |
|
|
|
@ -2062,4 +2485,9 @@ |
|
|
|
.warning-row td{ |
|
|
|
color: darkred !important; |
|
|
|
} |
|
|
|
.el-table .cell { |
|
|
|
line-height: 24px; |
|
|
|
font-size: 12px; |
|
|
|
height: 24px; |
|
|
|
} |
|
|
|
</style> |