|
|
@ -176,6 +176,9 @@ export default { |
|
|
}, |
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
|
|
|
syId:null, |
|
|
|
|
|
depId:null, |
|
|
|
|
|
sdId:null, |
|
|
public_studyList:public_studyList, |
|
|
public_studyList:public_studyList, |
|
|
searchForm: { |
|
|
searchForm: { |
|
|
name: { |
|
|
name: { |
|
|
@ -220,6 +223,9 @@ export default { |
|
|
syNo: currentRow.sn, |
|
|
syNo: currentRow.sn, |
|
|
SD: currentRow.leaderName, |
|
|
SD: currentRow.leaderName, |
|
|
}); |
|
|
}); |
|
|
|
|
|
// this.syId='' todo |
|
|
|
|
|
// this.depId='' |
|
|
|
|
|
// this.sdId='' |
|
|
console.log(currentRow,"currentRow") |
|
|
console.log(currentRow,"currentRow") |
|
|
this.$refs.selectReagentDialogRef.onCancel() |
|
|
this.$refs.selectReagentDialogRef.onCancel() |
|
|
}, |
|
|
}, |
|
|
@ -233,7 +239,11 @@ export default { |
|
|
return this.getFilledFormDataByRefs(["baseInfoRef", "storageConditionRef", "stepFormPackageRef", "stepRef", "remarkRef"]) |
|
|
return this.getFilledFormDataByRefs(["baseInfoRef", "storageConditionRef", "stepFormPackageRef", "stepRef", "remarkRef"]) |
|
|
}, |
|
|
}, |
|
|
async getFormData() { |
|
|
async getFormData() { |
|
|
return await this.validFormFields(["baseInfoRef","remarkRef"]); |
|
|
|
|
|
|
|
|
let content = await this.validFormFields(["baseInfoRef","remarkRef"]); |
|
|
|
|
|
content.syId=this.syId |
|
|
|
|
|
content.depId=this.depId |
|
|
|
|
|
content.sdId=this.sdId |
|
|
|
|
|
return content; |
|
|
}, |
|
|
}, |
|
|
async onSave() { |
|
|
async onSave() { |
|
|
const formData = await this.getFormData(); |
|
|
const formData = await this.getFormData(); |
|
|
|