diff --git a/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsFormPage.vue b/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsFormPage.vue index 24fc8fb..2736ace 100644 --- a/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsFormPage.vue +++ b/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsFormPage.vue @@ -24,7 +24,7 @@ - + @@ -477,7 +477,8 @@ export default { }, disableMixinCreated: true, importData: {}, - historyVersions: [] // 历史版本 + historyVersions: [], // 历史版本 + isShowManifestNo: false // 是否显示清单编号英文缩写字段 } }, mounted () { @@ -510,6 +511,8 @@ export default { const result = { manifestNo: res.message } + // 显示清单编号英文名称缩写 + this.isShowManifestNo = true this.$nextTick(() => { this.form.setFieldsValue(pick(result, 'manifestNo')) }) @@ -533,6 +536,8 @@ export default { } // 从清单编号截取英文缩写 this.model.manifestNo = this.model.manifestNo.split('-')[1] + // 显示清单编号英文名称缩写 + this.isShowManifestNo = true this.$nextTick(() => { this.form.setFieldsValue(pick(this.model, 'country', 'manifestNo', 'customColumnName', 'drivePosition', 'securityLevel', 'manifestDesc', 'file')) })