[update] 市场法规清单编辑禁用选标准,调取适用国家/地区传清单基本信息的国家/地区
This commit is contained in:
+3
-2
@@ -128,7 +128,7 @@
|
|||||||
|
|
||||||
<div class="table-operator">
|
<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>
|
<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'))
|
this.$message.success(this.$t('operationSuccessful'))
|
||||||
if (!this.model.id) {
|
if (!this.model.id) {
|
||||||
// 没有id,是新增会返回id,用于下方表格处理
|
// 没有id,是新增会返回id,用于下方表格处理
|
||||||
|
this.model = Object.assign({}, values)
|
||||||
this.model.id = res.message
|
this.model.id = res.message
|
||||||
this.filters.manifestId = this.model.id
|
this.filters.manifestId = this.model.id
|
||||||
// 更新清单编号
|
// 更新清单编号
|
||||||
@@ -577,7 +578,7 @@ export default {
|
|||||||
form.newProductImplDate = result.new_product_impl_date // 新生产车实施日期
|
form.newProductImplDate = result.new_product_impl_date // 新生产车实施日期
|
||||||
form.newAuthImplDate = result.new_auth_impl_date // 新认证车实施日期
|
form.newAuthImplDate = result.new_auth_impl_date // 新认证车实施日期
|
||||||
form.registrationDate = result.registration_date // 注册日期
|
form.registrationDate = result.registration_date // 注册日期
|
||||||
form.country = result.applicable_market // 适用国家/地区
|
form.country = this.model.country // 适用国家/地区,带入清单基本信息的国家/地区
|
||||||
form.mainDept = result.main_dept // 主控部门
|
form.mainDept = result.main_dept // 主控部门
|
||||||
form.mainDeptProfMode = result.main_dept_prof_mode || undefined // 主控部门专业模块
|
form.mainDeptProfMode = result.main_dept_prof_mode || undefined // 主控部门专业模块
|
||||||
form.associateDept = result.associate_dept // 关联部门
|
form.associateDept = result.associate_dept // 关联部门
|
||||||
|
|||||||
+1
@@ -19,6 +19,7 @@
|
|||||||
type="radio"
|
type="radio"
|
||||||
@listChange="selectStandardChange"
|
@listChange="selectStandardChange"
|
||||||
disabledSourceSearch
|
disabledSourceSearch
|
||||||
|
disabled
|
||||||
v-decorator.trim="[ 'standardNumber', validatorRules.standardNumber ]" />
|
v-decorator.trim="[ 'standardNumber', validatorRules.standardNumber ]" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<!-- 标准名称 -->
|
<!-- 标准名称 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user