diff --git a/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsDetailPage.vue b/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsDetailPage.vue index f32ba85..348532e 100644 --- a/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsDetailPage.vue +++ b/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsDetailPage.vue @@ -164,6 +164,25 @@ export default { return parseInt(index) + 1 } }, + { // 类型 + title: this.$t('standardRegulationLibrary.marketListField.type'), + align: 'center', + width: 180, + dataIndex: 'type_dictText', + customRender: (text, row, index) => { + return { + children: + +
{text || text === 0 ? text : Vue.prototype.global.emptyLine}
+
, + attrs: { + // 合并行 含col字段则合并,其他的必须设置为0!! + rowSpan: row.typeCol ? row.typeCol : 0 + } + } + } + // scopedSlots: { customRender: 'dictText' } + }, { // 标准编号 title: this.$t('standardNumber'), align: 'center', @@ -221,25 +240,6 @@ export default { } // scopedSlots: { customRender: 'text' } }, - { // 新生产车实施日期 - title: this.$t('standardRegulationLibrary.marketListField.newProductionVehicleImplementationDate'), - align: 'center', - width: 180, - dataIndex: 'newProductImplDate', - customRender: (text, row, index) => { - return { - children: - -
{text || text === 0 ? text : Vue.prototype.global.emptyLine}
-
, - attrs: { - // 合并行 含col字段则合并,其他的必须设置为0!! - rowSpan: row.newProductImplDateCol ? row.newProductImplDateCol : 0 - } - } - } - // scopedSlots: { customRender: 'text' } - }, { // 新认证车实施日期 title: this.$t('standardRegulationLibrary.marketListField.newCertifiedVehicleImplementationDate'), align: 'center', @@ -259,6 +259,25 @@ export default { } // scopedSlots: { customRender: 'text' } }, + { // 新生产车实施日期 + title: this.$t('standardRegulationLibrary.marketListField.newProductionVehicleImplementationDate'), + align: 'center', + width: 180, + dataIndex: 'newProductImplDate', + customRender: (text, row, index) => { + return { + children: + +
{text || text === 0 ? text : Vue.prototype.global.emptyLine}
+
, + attrs: { + // 合并行 含col字段则合并,其他的必须设置为0!! + rowSpan: row.newProductImplDateCol ? row.newProductImplDateCol : 0 + } + } + } + // scopedSlots: { customRender: 'text' } + }, { // 注册日期 title: this.$t('standardRegulationLibrary.marketListField.dateOfRegistration'), align: 'center', @@ -354,25 +373,6 @@ export default { } // scopedSlots: { customRender: 'text' } }, - { // 类型 - title: this.$t('standardRegulationLibrary.marketListField.type'), - align: 'center', - width: 180, - dataIndex: 'type_dictText', - customRender: (text, row, index) => { - return { - children: - -
{text || text === 0 ? text : Vue.prototype.global.emptyLine}
-
, - attrs: { - // 合并行 含col字段则合并,其他的必须设置为0!! - rowSpan: row.typeCol ? row.typeCol : 0 - } - } - } - // scopedSlots: { customRender: 'dictText' } - }, { // 动力类型 title: this.$t('standardRegulationLibrary.marketListField.dynamicType'), align: 'center', diff --git a/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsFormPage.vue b/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsFormPage.vue index 8d8d445..c591a88 100644 --- a/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsFormPage.vue +++ b/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsFormPage.vue @@ -330,6 +330,13 @@ export default { return parseInt(index) + 1 } }, + { // 类型 + title: this.$t('standardRegulationLibrary.marketListField.type'), + align: 'center', + width: 180, + dataIndex: 'type_dictText', + scopedSlots: { customRender: 'dictText' } + }, { // 标准编号 title: this.$t('standardNumber'), align: 'center', @@ -351,13 +358,6 @@ export default { dataIndex: 'standardEnglishName', scopedSlots: { customRender: 'text' } }, - { // 新生产车实施日期 - title: this.$t('standardRegulationLibrary.marketListField.newProductionVehicleImplementationDate'), - align: 'center', - width: 180, - dataIndex: 'newProductImplDate', - scopedSlots: { customRender: 'text' } - }, { // 新认证车实施日期 title: this.$t('standardRegulationLibrary.marketListField.newCertifiedVehicleImplementationDate'), align: 'center', @@ -365,6 +365,13 @@ export default { dataIndex: 'newAuthImplDate', scopedSlots: { customRender: 'text' } }, + { // 新生产车实施日期 + title: this.$t('standardRegulationLibrary.marketListField.newProductionVehicleImplementationDate'), + align: 'center', + width: 180, + dataIndex: 'newProductImplDate', + scopedSlots: { customRender: 'text' } + }, { // 注册日期 title: this.$t('standardRegulationLibrary.marketListField.dateOfRegistration'), align: 'center', @@ -400,13 +407,6 @@ export default { dataIndex: 'certifyTheDeliverables', scopedSlots: { customRender: 'text' } }, - { // 类型 - title: this.$t('standardRegulationLibrary.marketListField.type'), - align: 'center', - width: 180, - dataIndex: 'type_dictText', - scopedSlots: { customRender: 'dictText' } - }, { // 动力类型 title: this.$t('standardRegulationLibrary.marketListField.dynamicType'), align: 'center', @@ -643,6 +643,7 @@ export default { // this.model = Object.assign({}, values) this.model.id = res.message this.filters.manifestId = this.model.id + this.importData.manifestId = this.model.id } // 更新清单编号 this.initData(this.model.id) diff --git a/src/views/standardRegulationLibrary/marketRegulationsList/modules/MarketRegulationsModal.vue b/src/views/standardRegulationLibrary/marketRegulationsList/modules/MarketRegulationsModal.vue index 54f1f68..7b2b63b 100644 --- a/src/views/standardRegulationLibrary/marketRegulationsList/modules/MarketRegulationsModal.vue +++ b/src/views/standardRegulationLibrary/marketRegulationsList/modules/MarketRegulationsModal.vue @@ -13,6 +13,13 @@
+ + + + - - - + + + @@ -47,12 +53,6 @@ field-name="newProductImplDate" v-decorator.trim="[ 'newProductImplDate', validatorRules.newProductImplDate ]" /> - - - -