|
@@ -14,6 +14,9 @@
|
|
|
<el-button size="small" style="margin-right: 8px" v-if="roleName.indexOf('admin') != -1"
|
|
|
:loading="saveLoading" :disabled="!form.id" @click="DesignreportDialog = true" >报表设计
|
|
|
</el-button>
|
|
|
+ <el-button size="small" type="primary" style="margin-right: 8px"
|
|
|
+ :loading="saveLoading" @click="savefun">保 存
|
|
|
+ </el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -48,7 +51,7 @@
|
|
|
:disabled="true"
|
|
|
:buttonIf="false"
|
|
|
placeholder="请选择贸易类型"
|
|
|
- :forParameter="{key:'',label:'',value:''}"
|
|
|
+ :forParameter="{key:'value',label:'label',value:'value'}"
|
|
|
@corpChange="corpChange($event,'billNo')">
|
|
|
</search-query>
|
|
|
</el-form-item>
|
|
@@ -214,7 +217,7 @@
|
|
|
<el-col :span="4">
|
|
|
<el-form-item label="报检日期" prop="inspectionDeclarationDate" label-width="70px">
|
|
|
<el-date-picker v-model="form.inspectionDeclarationDate" clearable style="width: 100%;"
|
|
|
- type="date" size="small" :disabled="true"
|
|
|
+ type="date" size="small"
|
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
placeholder="选择日期">
|
|
|
</el-date-picker>
|
|
@@ -223,7 +226,7 @@
|
|
|
<el-col :span="4">
|
|
|
<el-form-item label="ETD" prop="etdDate" label-width="70px">
|
|
|
<el-date-picker v-model="form.etdDate" clearable style="width: 100%;"
|
|
|
- type="date" size="small" :disabled="true"
|
|
|
+ type="date" size="small"
|
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
placeholder="选择日期">
|
|
|
</el-date-picker>
|
|
@@ -236,20 +239,6 @@
|
|
|
clearable placeholder="发票号码" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="4">
|
|
|
- <el-form-item label="件数" prop="quantity" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.quantity"
|
|
|
- size="small" autocomplete="off"
|
|
|
- clearable placeholder="件数" ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="4">
|
|
|
- <el-form-item label="重量" prop="grossWeight" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.grossWeight"
|
|
|
- size="small" autocomplete="off"
|
|
|
- clearable placeholder="重量" ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="贸易方式:" prop="tradeMethodName" label-width="70px">
|
|
|
<el-row type="flex" justify="space-between" :gutter="10">
|
|
@@ -290,206 +279,225 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <el-form-item label="指运港:" prop="portOfDestinationCnName" label-width="70px">
|
|
|
+ <el-form-item label="指运港:" prop="portOfDestinationEnName" label-width="70px">
|
|
|
<search-query :datalist="portOfDestinationData"
|
|
|
- :selectValue="form.portOfDestinationCnName"
|
|
|
+ :selectValue="form.portOfDestinationEnName"
|
|
|
:filterable="true"
|
|
|
:clearable="true"
|
|
|
:remote="true"
|
|
|
:buttonIf="false"
|
|
|
- :forParameter="{key:'id',label:'cnName',value:'cnName'}"
|
|
|
- @remoteMethod="destinationCountrybcountrysListfun"
|
|
|
- @corpChange="corpChange($event,'portOfDestinationCnName')"
|
|
|
- @corpFocus="destinationCountrybcountrysListfun">
|
|
|
+ :forParameter="{key:'id',label:'enName',value:'enName'}"
|
|
|
+ @remoteMethod="portOfDestinationBportsListfun"
|
|
|
+ @corpChange="corpChange($event,'portOfDestinationEnName')"
|
|
|
+ @corpFocus="portOfDestinationBportsListfun">
|
|
|
</search-query>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <el-form-item label="成交方式:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
- size="small" autocomplete="off"
|
|
|
- clearable placeholder="成交方式" ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="4">
|
|
|
- <el-form-item label="运费:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
- size="small" autocomplete="off"
|
|
|
- clearable placeholder="运费" ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="4">
|
|
|
- <el-form-item label="出口空岸:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
- size="small" autocomplete="off"
|
|
|
- clearable placeholder="出口空岸" ></el-input>
|
|
|
+ <el-form-item label="出口口岸:" prop="exportPortEnName" label-width="70px">
|
|
|
+ <search-query :datalist="exportPortData"
|
|
|
+ :selectValue="form.exportPortEnName"
|
|
|
+ :filterable="true"
|
|
|
+ :clearable="true"
|
|
|
+ :remote="true"
|
|
|
+ :buttonIf="false"
|
|
|
+ :forParameter="{key:'id',label:'enName',value:'enName'}"
|
|
|
+ @remoteMethod="exportPortBportsListfun"
|
|
|
+ @corpChange="corpChange($event,'exportPortEnName')"
|
|
|
+ @corpFocus="exportPortBportsListfun">
|
|
|
+ </search-query>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <el-form-item label="报关单号:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
+ <el-form-item label="报关单号:" prop="customsDeclarationNumber" label-width="70px">
|
|
|
+ <el-input style="width: 100%;" v-model="form.customsDeclarationNumber"
|
|
|
size="small" autocomplete="off"
|
|
|
clearable placeholder="报关单号" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <el-form-item label="备案号:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
+ <el-form-item label="备案号:" prop="recordNumber" label-width="70px">
|
|
|
+ <el-input style="width: 100%;" v-model="form.recordNumber"
|
|
|
size="small" autocomplete="off"
|
|
|
clearable placeholder="备案号" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <el-form-item label="申报日期:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
- size="small" autocomplete="off"
|
|
|
- clearable placeholder="申报日期" ></el-input>
|
|
|
+ <el-form-item label="申报日期:" prop="declareDate" label-width="70px">
|
|
|
+ <el-date-picker v-model="form.declareDate" clearable style="width: 100%;"
|
|
|
+ type="date" size="small"
|
|
|
+ value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
+ placeholder="选择日期">
|
|
|
+ </el-date-picker>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <el-form-item label="预录日期:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
- size="small" autocomplete="off"
|
|
|
- clearable placeholder="预录日期" ></el-input>
|
|
|
+ <el-form-item label="预录日期:" prop="preRrecordingDate" label-width="70px">
|
|
|
+ <el-date-picker v-model="form.preRrecordingDate" clearable style="width: 100%;"
|
|
|
+ type="date" size="small"
|
|
|
+ value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
+ placeholder="选择日期">
|
|
|
+ </el-date-picker>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <el-form-item label="提运单号:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
+ <el-form-item label="提运单号:" prop="contractAgreementNumber" label-width="70px">
|
|
|
+ <el-input style="width: 100%;" v-model="form.contractAgreementNumber"
|
|
|
size="small" autocomplete="off"
|
|
|
clearable placeholder="提运单号" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <el-form-item label="发货单位:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
- size="small" autocomplete="off"
|
|
|
- clearable placeholder="发货单位" ></el-input>
|
|
|
+ <el-form-item label="发货单位:" prop="deliveryCnName" label-width="70px">
|
|
|
+ <search-query :datalist="deliveryData"
|
|
|
+ :selectValue="form.deliveryCnName"
|
|
|
+ :filterable="true"
|
|
|
+ :clearable="true"
|
|
|
+ :remote="true"
|
|
|
+ :disabled="detailData.seeDisabled"
|
|
|
+ :buttonIf="false"
|
|
|
+ :forParameter="{key:'id',label:'cnName',value:'cnName'}"
|
|
|
+ @remoteMethod="deliveryBcorpsListfun"
|
|
|
+ @corpChange="corpChange($event,'deliveryCnName')"
|
|
|
+ @corpFocus="deliveryBcorpsListfun">
|
|
|
+ </search-query>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <el-form-item label="汇款方式:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
- size="small" autocomplete="off"
|
|
|
- clearable placeholder="汇款方式" ></el-input>
|
|
|
+ <el-form-item label="结汇方式:" prop="exchangeSettlementMethod" label-width="70px">
|
|
|
+ <search-query :datalist="exchangeSettlementMethodData"
|
|
|
+ :selectValue="form.exchangeSettlementMethod"
|
|
|
+ :clearable="true"
|
|
|
+ :buttonIf="false"
|
|
|
+ :forParameter="{key:'dictValue',label:'dictValue',value:'dictValue'}"
|
|
|
+ @remoteMethod="exchangeSettlementMethodWorkDictsfun"
|
|
|
+ @corpChange="corpChange($event,'exchangeSettlementMethod')"
|
|
|
+ @corpFocus="exchangeSettlementMethodWorkDictsfun">
|
|
|
+ </search-query>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <el-form-item label="成交方式:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
- size="small" autocomplete="off"
|
|
|
- clearable placeholder="成交方式" ></el-input>
|
|
|
+ <el-form-item label="成交方式:" prop="dealMethod" label-width="70px">
|
|
|
+ <search-query :datalist="dealMethodData"
|
|
|
+ :selectValue="form.dealMethod"
|
|
|
+ :clearable="true"
|
|
|
+ :buttonIf="false"
|
|
|
+ :forParameter="{key:'dictValue',label:'dictValue',value:'dictValue'}"
|
|
|
+ @remoteMethod="dealMethodWorkDictsfun"
|
|
|
+ @corpChange="corpChange($event,'dealMethod')"
|
|
|
+ @corpFocus="dealMethodWorkDictsfun">
|
|
|
+ </search-query>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <el-form-item label="运费:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
+ <el-form-item label="运费:" prop="amountFreight" label-width="70px">
|
|
|
+ <el-input style="width: 100%;" v-model="form.amountFreight"
|
|
|
size="small" autocomplete="off"
|
|
|
- clearable placeholder="成交方式" ></el-input>
|
|
|
+ clearable placeholder="请输入运费" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <el-form-item label="保废:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
+ <el-form-item label="保费:" prop="amountPremium" label-width="70px">
|
|
|
+ <el-input style="width: 100%;" v-model="form.amountPremium"
|
|
|
size="small" autocomplete="off"
|
|
|
- clearable placeholder="保废" ></el-input>
|
|
|
+ clearable placeholder="请输入保费" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <el-form-item label="杂费:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
+ <el-form-item label="杂费:" prop="amountMiscellaneousExpenses" label-width="70px">
|
|
|
+ <el-input style="width: 100%;" v-model="form.amountMiscellaneousExpenses"
|
|
|
size="small" autocomplete="off"
|
|
|
clearable placeholder="杂费" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <el-form-item label="境内货源地:" prop="billNo" label-width="80px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
+ <el-form-item label="境内货源地:" prop="domesticSourceOfGoods" label-width="80px">
|
|
|
+ <el-input style="width: 100%;" v-model="form.domesticSourceOfGoods"
|
|
|
size="small" autocomplete="off"
|
|
|
- clearable placeholder="境内货源地" ></el-input>
|
|
|
+ clearable placeholder="请输入境内货源地" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <el-form-item label="合同协议号:" prop="billNo" label-width="80px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
+ <el-form-item label="合同协议号:" prop="deliveryNumbers" label-width="80px">
|
|
|
+ <el-input style="width: 100%;" v-model="form.deliveryNumbers"
|
|
|
size="small" autocomplete="off"
|
|
|
- clearable placeholder="合同协议号" ></el-input>
|
|
|
+ clearable placeholder="请输入合同协议号" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <el-form-item label="件数:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
+ <el-form-item label="件数:" prop="quantity" label-width="70px">
|
|
|
+ <el-input style="width: 100%;" v-model="form.quantity"
|
|
|
size="small" autocomplete="off"
|
|
|
clearable placeholder="件数" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <el-form-item label="包装种类:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
+ <el-form-item label="包装种类:" prop="quantity" label-width="70px">
|
|
|
+ <el-input style="width: 100%;" v-model="form.quantity"
|
|
|
size="small" autocomplete="off"
|
|
|
clearable placeholder="包装种类" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <el-form-item label="毛重:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
+ <el-form-item label="毛重:" prop="grossWeight" label-width="70px">
|
|
|
+ <el-input style="width: 100%;" v-model="form.grossWeight"
|
|
|
size="small" autocomplete="off"
|
|
|
clearable placeholder="毛重" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
- <el-form-item label="净重:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
+ <el-form-item label="净重:" prop="netWeight" label-width="70px">
|
|
|
+ <el-input style="width: 100%;" v-model="form.netWeight"
|
|
|
size="small" autocomplete="off"
|
|
|
clearable placeholder="净重" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
- <el-form-item label="随附单据:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
+ <el-form-item label="随附单据:" prop="documentsAttached" label-width="70px">
|
|
|
+ <el-input style="width: 100%;" v-model="form.documentsAttached"
|
|
|
size="small" autocomplete="off"
|
|
|
clearable placeholder="随附单据" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
- <el-form-item label="唛码及备注:" prop="billNo" label-width="110px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
+ <el-form-item label="唛码及备注:" prop="marks" label-width="110px">
|
|
|
+ <el-input style="width: 100%;" v-model="form.marks"
|
|
|
size="small" autocomplete="off"
|
|
|
clearable placeholder="唛码及备注" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
- <el-form-item label="备注:" prop="billNo" label-width="70px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
+ <el-form-item label="备注:" prop="remarks" label-width="70px">
|
|
|
+ <el-input style="width: 100%;" v-model="form.remarks"
|
|
|
size="small" autocomplete="off"
|
|
|
clearable placeholder="备注" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
- <el-form-item label="货物金额:" prop="billNo" label-width="80px">
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
+ <el-form-item label="货物金额:" prop="amountGoods" label-width="80px">
|
|
|
+ <el-input style="width: 100%;" v-model="form.amountGoods"
|
|
|
size="small" autocomplete="off"
|
|
|
clearable placeholder="货物金额" ></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
- <el-checkbox size="medium" :true-label="1" :false-label="0" :disabled="detailData.seeDisabled" v-model="form.isNeedLand">随附单据</el-checkbox>
|
|
|
- <el-checkbox size="medium" :true-label="1" :false-label="0" :disabled="detailData.seeDisabled" v-model="form.isNeedLand">发票</el-checkbox>
|
|
|
- <el-checkbox size="medium" :true-label="1" :false-label="0" :disabled="detailData.seeDisabled" v-model="form.isNeedLand">箱单</el-checkbox>
|
|
|
- <el-checkbox size="medium" :true-label="1" :false-label="0" :disabled="detailData.seeDisabled" v-model="form.isNeedLand">合同</el-checkbox>
|
|
|
- <el-checkbox size="medium" :true-label="1" :false-label="0" :disabled="detailData.seeDisabled" v-model="form.isNeedLand">商检通过单</el-checkbox>
|
|
|
- <el-checkbox size="medium" :true-label="1" :false-label="0" :disabled="detailData.seeDisabled" v-model="form.isNeedLand">信用证</el-checkbox>
|
|
|
- <el-checkbox size="medium" :true-label="1" :false-label="0" :disabled="detailData.seeDisabled" v-model="form.isNeedLand">换证凭单</el-checkbox>
|
|
|
- <el-checkbox size="medium" :true-label="1" :false-label="0" :disabled="detailData.seeDisabled" v-model="form.isNeedLand">厂检单</el-checkbox>
|
|
|
- <el-checkbox size="medium" :true-label="1" :false-label="0" :disabled="detailData.seeDisabled" v-model="form.isNeedLand">包装性能结果单</el-checkbox>
|
|
|
- <el-checkbox size="medium" :true-label="1" :false-label="0" :disabled="detailData.seeDisabled" v-model="form.isNeedLand">许可证</el-checkbox>
|
|
|
- <el-checkbox size="medium" :true-label="1" :false-label="0" :disabled="detailData.seeDisabled" v-model="form.isNeedLand">委托单据</el-checkbox>
|
|
|
- <div style="display: flex;align-items: center;margin-top: 10px;">
|
|
|
- <el-checkbox size="medium" :true-label="1" :false-label="0" :disabled="detailData.seeDisabled" v-model="form.isNeedLand">其他单据</el-checkbox>
|
|
|
- <el-input style="width: 100%;" v-model="form.billNo"
|
|
|
+ <el-form-item label="随附单据:" prop="documentsAttached" label-width="70px">
|
|
|
+ <el-checkbox size="medium" true-label="fp" :false-label="null" :disabled="detailData.seeDisabled" v-model="comprehensiveForm.fp">发票</el-checkbox>
|
|
|
+ <el-checkbox size="medium" true-label="xd" :false-label="null" :disabled="detailData.seeDisabled" v-model="comprehensiveForm.xd">箱单</el-checkbox>
|
|
|
+ <el-checkbox size="medium" true-label="ht" :false-label="null" :disabled="detailData.seeDisabled" v-model="comprehensiveForm.ht">合同</el-checkbox>
|
|
|
+ <el-checkbox size="medium" true-label="sjtgd" :false-label="null" :disabled="detailData.seeDisabled" v-model="comprehensiveForm.sjtgd">商检通过单</el-checkbox>
|
|
|
+ <el-checkbox size="medium" true-label="xyz" :false-label="null" :disabled="detailData.seeDisabled" v-model="comprehensiveForm.xyz">信用证</el-checkbox>
|
|
|
+ <el-checkbox size="medium" true-label="hzpz" :false-label="null" :disabled="detailData.seeDisabled" v-model="comprehensiveForm.hzpz">换证凭单</el-checkbox>
|
|
|
+ <el-checkbox size="medium" true-label="cjd" :false-label="null" :disabled="detailData.seeDisabled" v-model="comprehensiveForm.cjd">厂检单</el-checkbox>
|
|
|
+ <el-checkbox size="medium" true-label="bzxnjgd" :false-label="null" :disabled="detailData.seeDisabled" v-model="comprehensiveForm.bzxnjgd">包装性能结果单</el-checkbox>
|
|
|
+ <el-checkbox size="medium" true-label="xkz" :false-label="null" :disabled="detailData.seeDisabled" v-model="comprehensiveForm.xkz">许可证</el-checkbox>
|
|
|
+ <el-checkbox size="medium" true-label="wtdj" :false-label="null" :disabled="detailData.seeDisabled" v-model="comprehensiveForm.wtdj">委托单据</el-checkbox>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="其他:" prop="documentsAttachedOther" label-width="70px">
|
|
|
+ <el-input style="width: 100%;" v-model="form.documentsAttachedOther"
|
|
|
size="small" autocomplete="off"
|
|
|
clearable placeholder="请输入" ></el-input>
|
|
|
- </div>
|
|
|
+ </el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</basic-container>
|
|
@@ -519,6 +527,8 @@
|
|
|
import feecenter from "@/views/iosBasicData/SeafreightExportF/bills/assembly/feecenter.vue";
|
|
|
import {getBtrademodesList} from "@/api/iosBasicData/btrademodes";
|
|
|
import {bcountrysList} from "@/api/iosBasicData/bcountrys";
|
|
|
+ import {bportsList} from "@/api/iosBasicData/bports";
|
|
|
+ import {customsdeclarationDetail, customsdeclarationSubmit} from "@/api/iosBasicData/customsdeclaration";
|
|
|
|
|
|
export default {
|
|
|
components: {feecenter, SearchQuery,TableDetails},
|
|
@@ -536,12 +546,30 @@
|
|
|
saberUserInfo:[], // 当前登录人的数据
|
|
|
// 绑定的数据
|
|
|
form:{
|
|
|
+ businessType:'BGSE',
|
|
|
createUser:'', // 制单人id
|
|
|
createUserName:'', // 制单人名称
|
|
|
},
|
|
|
- agencyCompanytData:[], // 代理公司数据
|
|
|
bigtabs:'wt', // tabs切换
|
|
|
- businessTypeData:[], // 贸易类型
|
|
|
+ agencyCompanytData:[], // 代理公司数据
|
|
|
+ businessTypeData:[
|
|
|
+ {
|
|
|
+ label:'海运出口报关',
|
|
|
+ value:'BGSE'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label:'海运进口报关',
|
|
|
+ value:'BGSI'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label:'空运出口报关',
|
|
|
+ value:'BGAE'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label:'空运进口报关',
|
|
|
+ value:'BGAI'
|
|
|
+ }
|
|
|
+ ], // 贸易类型
|
|
|
srcTypeData:[], // 业务来源数据
|
|
|
srcData:[], // 来源详情数据
|
|
|
srcForParameter:{ key:'id', label:'title', value:'title'}, // 来源详情配置项数据
|
|
@@ -549,9 +577,13 @@
|
|
|
enterpriseData:[], // 企业数据
|
|
|
vesselData:[], // 船名数据
|
|
|
tradeMethodData:[], // 贸易条款数据
|
|
|
- destinationCountryData:[], // 运抵港数据
|
|
|
+ destinationCountryData:[], // 运抵国数据
|
|
|
portOfDestinationData:[], // 指运港
|
|
|
-
|
|
|
+ dealMethodData:[], // 成交方式
|
|
|
+ exportPortData:[], // 出口口岸
|
|
|
+ deliveryData:[], // 发货单位
|
|
|
+ exchangeSettlementMethodData:[], // 结汇方式
|
|
|
+ comprehensiveForm:{}, // 多选集合
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
@@ -563,6 +595,35 @@
|
|
|
|
|
|
},
|
|
|
methods:{
|
|
|
+ // 大保存
|
|
|
+ savefun(){
|
|
|
+ let multiArr = []
|
|
|
+ for (let i in this.comprehensiveForm) {
|
|
|
+ if (this.comprehensiveForm[i]) {
|
|
|
+ multiArr.push(this.comprehensiveForm[i])
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // 多选集合转换成字符串赋值
|
|
|
+ this.form.documentsAttached = multiArr.join(',')
|
|
|
+ console.log(this.form,613)
|
|
|
+ this.customsdeclarationSubmitfun()
|
|
|
+ },
|
|
|
+ // 保存接口
|
|
|
+ customsdeclarationSubmitfun(){
|
|
|
+ this.form.billNoFormat = 'BG-HYCK'
|
|
|
+ this.form.businessTypeCode = 'BGDH'
|
|
|
+ customsdeclarationSubmit(this.form).then(res=>{
|
|
|
+ console.log(res,627)
|
|
|
+ this.form = res.data.data
|
|
|
+ this.customsdeclarationDetailfun(this.form.id)
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 详情
|
|
|
+ customsdeclarationDetailfun(id){
|
|
|
+ customsdeclarationDetail(id).then(res=>{
|
|
|
+ console.log(res,627)
|
|
|
+ })
|
|
|
+ },
|
|
|
// 下拉回调
|
|
|
corpChange(value,name){
|
|
|
// 代理公司
|
|
@@ -643,19 +704,45 @@
|
|
|
else if (name == 'destinationCountryCnName') {
|
|
|
for (let item of this.destinationCountryData) {
|
|
|
if (item.cnName == value) {
|
|
|
- this.$set(this.form,'destinationCountryId',item.cnName)
|
|
|
+ this.$set(this.form,'destinationCountryId',item.id)
|
|
|
this.$set(this.form,'destinationCountryCnName',item.cnName)
|
|
|
this.$set(this.form,'destinationCountryEnName',item.cnName)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
// 指运港
|
|
|
- else if (name == 'portOfDestinationCnName') {}
|
|
|
-
|
|
|
+ else if (name == 'portOfDestinationEnName') {
|
|
|
+ for (let item of this.portOfDestinationData) {
|
|
|
+ if (item.enName == value) {
|
|
|
+ this.$set(this.form,'portOfDestinationId',item.id)
|
|
|
+ this.$set(this.form,'portOfDestinationCnName',item.cnName)
|
|
|
+ this.$set(this.form,'portOfDestinationEnName',item.enName)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // 出口口岸
|
|
|
+ else if (name == 'exportPortEnName') {
|
|
|
+ for (let item of this.exportPortData) {
|
|
|
+ if (item.enName == value) {
|
|
|
+ this.$set(this.form,'exportPortId',item.id)
|
|
|
+ this.$set(this.form,'exportPortCnName',item.cnName)
|
|
|
+ this.$set(this.form,'exportPortEnName',item.enName)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // 发货单位
|
|
|
+ else if (name == 'deliveryCnName') {
|
|
|
+ for (let item of this.deliveryData) {
|
|
|
+ if (item.cnName == value) {
|
|
|
+ this.$set(this.form,'deliveryId',item.id)
|
|
|
+ this.$set(this.form,'deliveryCnName',item.cnName)
|
|
|
+ this.$set(this.form,'deliveryEnName',item.enName)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
else {
|
|
|
this.$set(this.form,name,value)
|
|
|
}
|
|
|
-
|
|
|
},
|
|
|
// 业务来源搜索和聚焦
|
|
|
srcfun(value){
|
|
@@ -731,14 +818,42 @@
|
|
|
this.tradeMethodData = res.data.data.records
|
|
|
})
|
|
|
},
|
|
|
- // 运抵港
|
|
|
+ // 运抵国
|
|
|
destinationCountrybcountrysListfun(cnName){
|
|
|
bcountrysList(1,10,{cnName}).then(res=>{
|
|
|
this.destinationCountryData = res.data.data.records
|
|
|
})
|
|
|
},
|
|
|
// 指运港
|
|
|
-
|
|
|
+ portOfDestinationBportsListfun(enName){
|
|
|
+ bportsList(1,10,{enName}).then(res=>{
|
|
|
+ this.portOfDestinationData = res.data.data.records
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 成交方式
|
|
|
+ dealMethodWorkDictsfun(){
|
|
|
+ getWorkDicts('transaction_method_los').then(res=>{
|
|
|
+ this.dealMethodData = res.data.data
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 出口口岸
|
|
|
+ exportPortBportsListfun(enName){
|
|
|
+ bportsList(1,10,{enName}).then(res=>{
|
|
|
+ this.exportPortData = res.data.data.records
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 发货单位
|
|
|
+ deliveryBcorpsListfun(cnName){
|
|
|
+ getBcorpslistByType(1,10,{cnName}).then(res=>{
|
|
|
+ this.deliveryData = res.data.data.records
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 结汇方式
|
|
|
+ exchangeSettlementMethodWorkDictsfun(){
|
|
|
+ getWorkDicts('settlement_exchange_los').then(res=>{
|
|
|
+ this.exchangeSettlementMethodData = res.data.data
|
|
|
+ })
|
|
|
+ },
|
|
|
//返回列表
|
|
|
backToList() {
|
|
|
this.$emit('goBack')
|