[update] 市场法规清单编辑禁用选标准,调取适用国家/地区传清单基本信息的国家/地区

This commit is contained in:
lideqin
2024-07-12 11:33:04 +08:00
parent 7db6a16bfa
commit 4188f334d4
2 changed files with 4 additions and 2 deletions
@@ -128,7 +128,7 @@
<div class="table-operator">
<!-- 新增 -->
<a-button icon="plus" type="primary" @click="handleAdd" v-has="'marketStandard:detail:operate'">{{ $t('newlyAdded') }}</a-button>
<!-- <a-button icon="plus" type="primary" @click="handleAdd" v-has="'marketStandard:detail:operate'">{{ $t('newlyAdded') }}</a-button>-->
<!-- 调取 -->
<a-button icon="plus" type="primary" @click="handleTransfer" v-has="'marketStandard:detail:operate'">{{ $t('transfer') }}</a-button>
<!-- 复制 -->
@@ -532,6 +532,7 @@ export default {
this.$message.success(this.$t('operationSuccessful'))
if (!this.model.id) {
// 没有id,是新增会返回id,用于下方表格处理
this.model = Object.assign({}, values)
this.model.id = res.message
this.filters.manifestId = this.model.id
// 更新清单编号
@@ -577,7 +578,7 @@ export default {
form.newProductImplDate = result.new_product_impl_date // 新生产车实施日期
form.newAuthImplDate = result.new_auth_impl_date // 新认证车实施日期
form.registrationDate = result.registration_date // 注册日期
form.country = result.applicable_market // 适用国家/地区
form.country = this.model.country // 适用国家/地区,带入清单基本信息的国家/地区
form.mainDept = result.main_dept // 主控部门
form.mainDeptProfMode = result.main_dept_prof_mode || undefined // 主控部门专业模块
form.associateDept = result.associate_dept // 关联部门
@@ -19,6 +19,7 @@
type="radio"
@listChange="selectStandardChange"
disabledSourceSearch
disabled
v-decorator.trim="[ 'standardNumber', validatorRules.standardNumber ]" />
</a-form-item>
<!-- 标准名称 -->