Browse Source

一键导出报关要素增加复选框:型号+料号、型号+用户填写

master
han\hanst 6 days ago
parent
commit
acff17fb31
  1. 27
      src/views/modules/ecss/declaration.vue

27
src/views/modules/ecss/declaration.vue

@ -158,32 +158,43 @@
<el-row :gutter="20" style="margin-top: 5px"> <el-row :gutter="20" style="margin-top: 5px">
<div class="custom-divider"><span class="text" style="left: 22%">报关要素</span></div> <div class="custom-divider"><span class="text" style="left: 22%">报关要素</span></div>
<!-- 报关要素--> <!-- 报关要素-->
<el-col :span="12">
<el-col :span="8">
<el-form-item :label="'品牌'" > <el-form-item :label="'品牌'" >
<el-radio v-model="brandType" label="境外品牌(其他)">境外品牌其他</el-radio> <el-radio v-model="brandType" label="境外品牌(其他)">境外品牌其他</el-radio>
<el-radio v-model="brandType" label="无品牌">无品牌</el-radio> <el-radio v-model="brandType" label="无品牌">无品牌</el-radio>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-col :span="8">
<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 style="margin-left: 50px;" v-model="hsCodeDescType" label="N">英文</el-radio> <el-radio style="margin-left: 50px;" v-model="hsCodeDescType" label="N">英文</el-radio>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-col :span="8">
<el-form-item :label="'托/箱'" > <el-form-item :label="'托/箱'" >
<el-radio v-model="packageUnit" label="托"></el-radio> <el-radio v-model="packageUnit" label="托"></el-radio>
<el-radio v-model="packageUnit" label="箱"></el-radio> <el-radio v-model="packageUnit" label="箱"></el-radio>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-col :span="8">
<el-form-item :label="'重量'" > <el-form-item :label="'重量'" >
<el-radio v-model="declarationWeight" label="不显示">不显示</el-radio> <el-radio v-model="declarationWeight" label="不显示">不显示</el-radio>
<el-radio v-model="declarationWeight" label="显示">显示</el-radio> <el-radio v-model="declarationWeight" label="显示">显示</el-radio>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8">
<el-form-item :label="'型号'" >
<el-radio v-model="modelContent" label="不显示">料号</el-radio>
<el-radio v-model="modelContent" label="显示">自定义</el-radio>
</el-form-item>
</el-col>
<el-col :span="8" style="" v-show="modelContent==='显示'">
<el-form-item :label="'型号内容'" >
<el-input type="textarea" :rows="2" v-model="modelContentStr"></el-input>
</el-form-item>
</el-col>
</el-row> </el-row>
<el-row :gutter="20">
<el-row :gutter="20" :style="modelContent==='显示'?'margin-top: 20px':'margin-top: 2px'">
<div class="custom-divider"> <div class="custom-divider">
<span class="text"> <span class="text">
发票 发票
@ -1168,6 +1179,8 @@
hsCodeDescType:'Y', hsCodeDescType:'Y',
packageUnit: '托', packageUnit: '托',
declarationWeight: '不显示', declarationWeight: '不显示',
modelContent : '不显示',
modelContentStr:'',
exportParam: {}, exportParam: {},
pageIndex: 1, pageIndex: 1,
pageSize: 100, pageSize: 100,
@ -2598,6 +2611,7 @@
exportParam.hsCodeDescType=this.hsCodeDescType exportParam.hsCodeDescType=this.hsCodeDescType
exportParam.packageUnit=this.packageUnit exportParam.packageUnit=this.packageUnit
exportParam.declarationWeight = this.declarationWeight exportParam.declarationWeight = this.declarationWeight
exportParam.modelContentStr = this.modelContentStr
if (this.propertiesList.length>0) { if (this.propertiesList.length>0) {
this.currentRow.brand='品牌' this.currentRow.brand='品牌'
exportParam.brand = '品牌' exportParam.brand = '品牌'
@ -2664,6 +2678,8 @@
// //
this.brandType='境外品牌(其他)' this.brandType='境外品牌(其他)'
this.modelContent= '不显示'
this.modelContentStr=''
if (this.currentRow.buNo==='02-Hardtag' || this.currentRow.buNo==='04-MHM') { if (this.currentRow.buNo==='02-Hardtag' || this.currentRow.buNo==='04-MHM') {
this.currentRow.brand='品牌' this.currentRow.brand='品牌'
getPropertiesListByDeclaration(this.currentRow).then(({data}) => { getPropertiesListByDeclaration(this.currentRow).then(({data}) => {
@ -2837,6 +2853,7 @@
exportParam.hsCodeDescType=this.hsCodeDescType exportParam.hsCodeDescType=this.hsCodeDescType
exportParam.packageUnit=this.packageUnit exportParam.packageUnit=this.packageUnit
exportParam.declarationWeight = this.declarationWeight exportParam.declarationWeight = this.declarationWeight
exportParam.modelContentStr = this.modelContentStr
if (this.propertiesList.length>0) { if (this.propertiesList.length>0) {
this.currentRow.brand='品牌' this.currentRow.brand='品牌'
exportParam.brand = '品牌' exportParam.brand = '品牌'

Loading…
Cancel
Save