|
|
@ -40,7 +40,7 @@ G |
|
|
<el-row> |
|
|
<el-row> |
|
|
<el-col :span="24"> |
|
|
<el-col :span="24"> |
|
|
<el-form-item :label="$t('page.business.form.bdmb')" prop="templateId"> |
|
|
<el-form-item :label="$t('page.business.form.bdmb')" prop="templateId"> |
|
|
<SelectTemplate v-model="form.templateId" :name="form.templateMc" @change="selectTemplateChange" /> |
|
|
|
|
|
|
|
|
<SelectTemplate v-model="form.templateId" :needPre="1" :name="form.templateMc" @change="selectTemplateChange" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-row> |
|
|
</el-row> |
|
|
@ -148,6 +148,7 @@ export default { |
|
|
selectTemplateChange(val) { |
|
|
selectTemplateChange(val) { |
|
|
this.form.bdnr = val.content |
|
|
this.form.bdnr = val.content |
|
|
this.form.templateMc = val.name |
|
|
this.form.templateMc = val.name |
|
|
|
|
|
this.form.templateSn = val.sn |
|
|
}, |
|
|
}, |
|
|
cancel() { |
|
|
cancel() { |
|
|
this.$emit('close') |
|
|
this.$emit('close') |
|
|
@ -159,8 +160,9 @@ export default { |
|
|
bdbh: null, |
|
|
bdbh: null, |
|
|
bdmc: null, |
|
|
bdmc: null, |
|
|
bdsm: null, |
|
|
bdsm: null, |
|
|
templateId: null, |
|
|
|
|
|
templateMc: null, |
|
|
|
|
|
|
|
|
templateId: 23, |
|
|
|
|
|
templateMc: '试验物质配制计划表', |
|
|
|
|
|
templateSn: 'DL001', |
|
|
bdnr: null, |
|
|
bdnr: null, |
|
|
fzrsh: null, |
|
|
fzrsh: null, |
|
|
shryId: null, |
|
|
shryId: null, |
|
|
|