|
@@ -83,14 +83,14 @@
|
|
/>
|
|
/>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="起运港" prop="portDeparture">
|
|
|
|
|
|
+ <el-form-item label="起运港(英文)" prop="portDeparture">
|
|
<el-input
|
|
<el-input
|
|
v-model="ruleForm.portDeparture"
|
|
v-model="ruleForm.portDeparture"
|
|
:disabled="disabled"
|
|
:disabled="disabled"
|
|
placeholder="请输入起运港"
|
|
placeholder="请输入起运港"
|
|
/>
|
|
/>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="目的港" prop="portDestination">
|
|
|
|
|
|
+ <el-form-item label="目的港(英文)" prop="portDestination">
|
|
<el-input
|
|
<el-input
|
|
v-model="ruleForm.portDestination"
|
|
v-model="ruleForm.portDestination"
|
|
:disabled="disabled"
|
|
:disabled="disabled"
|
|
@@ -114,7 +114,7 @@
|
|
<el-form-item v-if="ruleForm.templateType === 'N'" label="签署日期" prop="signDate">
|
|
<el-form-item v-if="ruleForm.templateType === 'N'" label="签署日期" prop="signDate">
|
|
<el-date-picker v-model="ruleForm.signDate" value-format="yyyy-MM-dd" type="date" placeholder="选择签署日期" style="width: 100%;" />
|
|
<el-date-picker v-model="ruleForm.signDate" value-format="yyyy-MM-dd" type="date" placeholder="选择签署日期" style="width: 100%;" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="成交汇率 (美元)" prop="exchangeRate">
|
|
|
|
|
|
+ <el-form-item label="成交汇率 (美元)" prop="exchangeRate" :rules="[{ required: ruleForm.exportType === 'proxy_export' && enterpriseInfo.proxyDistrictCode === 'CN_MAINLAND', message: '请输入成交汇率', trigger: 'blur' }]">
|
|
<el-input
|
|
<el-input
|
|
v-model="ruleForm.exchangeRate"
|
|
v-model="ruleForm.exchangeRate"
|
|
placeholder="请输入成交汇率 (美元)"
|
|
placeholder="请输入成交汇率 (美元)"
|
|
@@ -190,9 +190,6 @@ export default {
|
|
],
|
|
],
|
|
signDate: [
|
|
signDate: [
|
|
{ required: true, message: '请选择签署日期', trigger: 'blur' }
|
|
{ required: true, message: '请选择签署日期', trigger: 'blur' }
|
|
- ],
|
|
|
|
- exchangeRate: [
|
|
|
|
- { required: true, message: '请输入成交汇率', trigger: 'blur' }
|
|
|
|
]
|
|
]
|
|
},
|
|
},
|
|
platformList: [], // 代理商
|
|
platformList: [], // 代理商
|
|
@@ -201,7 +198,7 @@ export default {
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
...mapGetters([
|
|
...mapGetters([
|
|
- 'constant'
|
|
|
|
|
|
+ 'constant', 'enterpriseInfo'
|
|
])
|
|
])
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|