|
@@ -304,18 +304,30 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8">
|
|
|
+ <el-col :span="5">
|
|
|
<el-form-item label="存在HP/S" prop="isPs">
|
|
|
<el-switch v-model="formData.isPs" size="small" :active-value="1" :inactive-value="0" active-text="开启"
|
|
|
inactive-text="关闭"></el-switch>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8">
|
|
|
+ <el-col :span="5">
|
|
|
<el-form-item label="允许付大于收" prop="psAllowLargeCredit">
|
|
|
<el-switch v-model="formData.psAllowLargeCredit" size="small" :active-value="1" :inactive-value="0" active-text="开启"
|
|
|
inactive-text="关闭"></el-switch>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="是否已签约" prop="isSigned">
|
|
|
+ <el-switch v-model="formData.isSigned" size="small" :active-value="1" :inactive-value="0" active-text="是"
|
|
|
+ inactive-text="否"></el-switch>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="协议号" prop="agreementNo">
|
|
|
+ <el-input v-model="formData.agreementNo" size="small" placeholder="请输入协议号" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="详情信息" prop="details">
|
|
|
<el-input v-model="formData.details" size="small" type="textarea" placeholder="请输入详情信息"
|
|
@@ -323,6 +335,110 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-tab-pane>
|
|
|
+ <el-tab-pane label="EDI数据" name="edi">
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="海运邮箱" prop="seaEmail">
|
|
|
+ <el-input v-model="formData.seaEmail" size="small" placeholder="请输入海运邮箱" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="空运邮箱" prop="airEmail">
|
|
|
+ <el-input v-model="formData.airEmail" size="small" placeholder="请输入空运邮箱" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="国际编码" prop="unCode">
|
|
|
+ <el-input v-model="formData.unCode" size="small" placeholder="请输入国际编码" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="iGenZong 代码" prop="igenzongCode">
|
|
|
+ <el-input v-model="formData.igenzongCode" size="small" placeholder="请输入iGenZong 代码" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="美线约号" prop="amLineAgreementno">
|
|
|
+ <el-input v-model="formData.amLineAgreementno" size="small" placeholder="请输入美线约号" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="船公司代码" prop="carrierCode">
|
|
|
+ <el-input v-model="formData.carrierCode" size="small" placeholder="请输入船公司代码" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="场站三字码" prop="cyCode">
|
|
|
+ <el-input v-model="formData.cyCode" size="small" placeholder="请输入场站三字码" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="CMA Laracode" prop="cmaLaracode">
|
|
|
+ <el-input v-model="formData.cmaLaracode" size="small" placeholder="请输入CMA Laracode" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="CMA Location" prop="cmaLocation">
|
|
|
+ <el-input v-model="formData.cmaLocation" size="small" placeholder="请输入CMA Location" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="ZIM CUCC" prop="zimCucc">
|
|
|
+ <el-input v-model="formData.zimCucc" size="small" placeholder="请输入ZIM CUCC" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="关贸云编码" prop="gmyCode">
|
|
|
+ <el-input v-model="formData.gmyCode" size="small" placeholder="请输入关贸云编码" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="INTRRA ICUA" prop="inttraIcua">
|
|
|
+ <el-input v-model="formData.inttraIcua" size="small" placeholder="请输入INTRRA ICUA" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="INTRRA ICUA 联系人" prop="inttraIcuaAttn" label-width="140px">
|
|
|
+ <el-input v-model="formData.inttraIcuaAttn" size="small" placeholder="请输入INTRRA ICUA 联系人" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="INTRRA ICUA Email" prop="inttraIcuaEmail" label-width="140px">
|
|
|
+ <el-input v-model="formData.inttraIcuaEmail" size="small" placeholder="请输入INTRRA ICUA Email" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="EDI 格式名称" prop="ediFmt">
|
|
|
+ <el-input v-model="formData.ediFmt" size="small" placeholder="请输入EDI 格式名称" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="EDI FTP 地址" prop="ediFtp">
|
|
|
+ <el-input v-model="formData.ediFtp" size="small" placeholder="请输入EDI FTP 地址" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="EDI 邮箱" prop="ediEmail">
|
|
|
+ <el-input v-model="formData.ediEmail" size="small" placeholder="请输入EDI 邮箱" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-tab-pane>
|
|
|
<el-tab-pane label="财务信息" name="cwxx">
|
|
|
<!-- <el-row style="display: flex; flex-direction: row; align-items: center;">
|
|
|
<div style="width: 8px; height: 20px; border-radius: 2px; background-color: #bd3124; margin-right: 6px;"></div>
|
|
@@ -401,7 +517,7 @@
|
|
|
</div>
|
|
|
<h4>授信信息</h4>
|
|
|
<el-form-item label="授信状态" prop="creditStatus">
|
|
|
- <el-switch style="margin-bottom = 0" active-value="1" inactive-value="0"
|
|
|
+ <el-switch style="margin-bottom:0" active-value="1" inactive-value="0"
|
|
|
v-model="formData.creditStatus" active-text="开启" inactive-text="关闭"></el-switch>
|
|
|
</el-form-item>
|
|
|
</el-row>
|
|
@@ -424,6 +540,43 @@
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="授信币种" prop="creditCur">
|
|
|
+ <el-input v-model="formData.creditCur" placeholder="请输入授信币种" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="付款方式" prop="paymentType">
|
|
|
+ <el-input v-model="formData.paymentType" placeholder="请输入付款方式" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="账期设置" prop="accountPeriodType">
|
|
|
+ <el-input v-model="formData.accountPeriodType" placeholder="请输入账期设置" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="最大欠款额" prop="maxArrears">
|
|
|
+ <el-input v-model="formData.maxArrears" placeholder="请输入最大欠款额" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="绩效系数" prop="performanceRate">
|
|
|
+ <el-input v-model="formData.performanceRate" placeholder="请输入绩效系数" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="增值税率" prop="taxRate">
|
|
|
+ <el-input v-model="formData.taxRate" placeholder="请输入增值税率" clearable :style="{ width: '100%' }">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
</el-row>
|
|
|
<!-- <el-row style="display: flex; flex-direction: row; align-items: center;">
|
|
|
<div style="width: 8px; height: 20px; border-radius: 2px; background-color: #bd3124; margin-right: 6px;"></div>
|
|
@@ -562,6 +715,7 @@
|
|
|
<el-table-column prop="invoiceHeader" label="发票抬头" width="180" />
|
|
|
<el-table-column prop="uscc" label="税号" width="180" />
|
|
|
<el-table-column prop="address" label="地址" width="180" />
|
|
|
+ <el-table-column prop="address" label="地址" width="180" />
|
|
|
<el-table-column prop="attnName" label="联系人姓名" width="180" />
|
|
|
<el-table-column prop="attnTel" label="联系人电话" width="180" />
|
|
|
<el-table-column prop="email" label="电子邮箱" width="180" />
|
|
@@ -874,6 +1028,7 @@ import {getBcorpslistByType} from "@/api/iosBasicData/bcorps";
|
|
|
import {blinesList} from "@/api/iosBasicData/blines";
|
|
|
import blines from "@/views/iosBasicData/blines/index.vue";
|
|
|
import {selectListLos} from "@/api/approval/processConfig";
|
|
|
+import losaudit from "@/views/wel/components/losAssembly/losaudit.vue";
|
|
|
export default {
|
|
|
components: {
|
|
|
SearchQuery, bcountrys, user, rateManagement,blines
|
|
@@ -1375,6 +1530,14 @@ export default {
|
|
|
this.$message.warning('请填写来源明细')
|
|
|
return;
|
|
|
}
|
|
|
+ // 联系人姓名 取 客户联系人里的第一项
|
|
|
+ if (this.formData.corpsAttnList.length > 0) {
|
|
|
+ this.formData.attnName = this.formData.corpsAttnList[0].cname
|
|
|
+ this.formData.attnTel = this.formData.corpsAttnList[0].tel
|
|
|
+ }
|
|
|
+ // 部门 取当前登录人的部门
|
|
|
+ this.formData.deptId = JSON.parse(localStorage.getItem("saber-userInfo")).content.dept_id
|
|
|
+
|
|
|
// TODO 提交表单
|
|
|
// 联系电话赋值
|
|
|
if (this.formData.id != null) {
|