imeik-bizui 2.0.7 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -303,27 +303,29 @@ export default {
303
303
  this.$set(this.formConfig.formItems[index].attrs, 'disabled', false)
304
304
  }
305
305
  }
306
- getTagManageList({ tagModel: 'APPLY', tagCode: 'al-fxssqxmbh' }).then((res) => {
307
- if (res.code === 200) {
308
- Axios.get(res.data[0].tagValueUrl).then((subRes) => {
309
- if (subRes.data.code === 200) {
310
- const fiterData = []
311
- subRes.data.data.forEach((item) => {
312
- if (this.belongCompany === item.dicExt) {
313
- item.label = item.dicName
314
- item.value = item.dicValue
315
- fiterData.push(item)
316
- }
317
- })
318
- const options = fiterData
319
- const newData = JSON.parse(JSON.stringify(this.formConfig.formItems[index]))
320
- newData.attrs.options = options
321
- this.$set(this.formConfig.formItems, index, newData)
322
- }
323
- })
324
- } else {
325
- this.$message.error(res.msg)
326
- }
306
+ this.$nextTick(() => {
307
+ getTagManageList({ tagModel: 'APPLY', tagCode: 'al-fxssqxmbh' }).then((res) => {
308
+ if (res.code === 200) {
309
+ Axios.get(res.data[0].tagValueUrl).then((subRes) => {
310
+ if (subRes.data.code === 200) {
311
+ const fiterData = []
312
+ subRes.data.data.forEach((item) => {
313
+ if (this.belongCompany === item.dicExt) {
314
+ item.label = item.dicName
315
+ item.value = item.dicValue
316
+ fiterData.push(item)
317
+ }
318
+ })
319
+ const options = fiterData
320
+ const newData = JSON.parse(JSON.stringify(this.formConfig.formItems[index]))
321
+ newData.attrs.options = options
322
+ this.$set(this.formConfig.formItems, index, newData)
323
+ }
324
+ })
325
+ } else {
326
+ this.$message.error(res.msg)
327
+ }
328
+ })
327
329
  })
328
330
  },
329
331
  propChange(data) {