Browse Source

feat:[模板管理][update]

zhangteng
luojie 6 days ago
parent
commit
a938d2a51a
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/components/Template/mixins/formPackageMixins.js

+ 3
- 1
src/components/Template/mixins/formPackageMixins.js View File

@ -82,7 +82,9 @@ export default {
},
//试剂/仪器等弹窗提交
onRegentSubmit(data, inputValue, key, item) {
this.formFields[`selectInfo_${key}`] = JSON.parse(JSON.stringify(data.selectInfo));
if(data.selectInfo){
this.formFields[`selectInfo_${key}`] = JSON.parse(JSON.stringify(data.selectInfo));
}
if (data.type === "yq") {
this.formFields[`yqInfo_${key}`] = JSON.parse(JSON.stringify(data.row));
}

Loading…
Cancel
Save