国内库 - 标准分解单 - 适用车型回显问题
This commit is contained in:
@@ -1724,6 +1724,7 @@ import CustomOrg from '@/components/CustomFormComponents/OrgTree'
|
||||
import {dateFormat} from '@/common/date'
|
||||
import RelatedTermsSelect from './components/RelatedTermsSelect'
|
||||
import { getBusStandFileByAttId } from 'api/process'
|
||||
import {dicTypeData} from "api/unqualProcess";
|
||||
|
||||
|
||||
export default {
|
||||
@@ -1746,6 +1747,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
CycxOptions: [],
|
||||
activeNames: ['基础信息','过程稿件','实施日期'],
|
||||
activeState: true,
|
||||
itemExistList: [],
|
||||
@@ -3085,6 +3087,19 @@ export default {
|
||||
}, {}, res => {
|
||||
this.selectedItemList = []
|
||||
if (res.ok) {
|
||||
console.log('3092',res.data.list)
|
||||
res.data.list.forEach(item => {
|
||||
let k = (item.applyArctic || "").split(',')
|
||||
for (let i in this.applyArcticOptions.options) {
|
||||
for (let m = 0; m < k.length; m++) {
|
||||
if (this.applyArcticOptions.options[i].value === k[m]) {
|
||||
k[m] = this.applyArcticOptions.options[i].label
|
||||
}
|
||||
item.applyArctic = k.join(',')
|
||||
}
|
||||
}
|
||||
item.applyArctic = item.applyArctic.replaceAll('\"', '').replaceAll('\[', '').replaceAll('\]', '')
|
||||
})
|
||||
this.standItemList = res.data.list;
|
||||
this.total7 = res.data.count // 分页需要
|
||||
}
|
||||
@@ -3583,6 +3598,12 @@ export default {
|
||||
return item.id
|
||||
}
|
||||
},
|
||||
created() {
|
||||
dicTypeData().then(res => {
|
||||
// 能源类型数据字典
|
||||
this.CycxOptions = res.data.CLLX
|
||||
})
|
||||
},
|
||||
async mounted() {
|
||||
this.sarStandardsInfoEO.id = this.$route.params.id
|
||||
// await this.selectStandMessage()
|
||||
|
||||
Reference in New Issue
Block a user