|
|
|
@ -14,10 +14,15 @@ |
|
|
|
label="template.common.storageCondition" :ref="refConfig.storageConditionRef" |
|
|
|
:formConfig="storageFormConfig" :formData="formData" /> |
|
|
|
<LineLabel label="样本说明" /> |
|
|
|
<el-button class="mt-20" v-if="fillType === 'actFill'" type="primary" @click="onAdd">新增</el-button> |
|
|
|
<div class="template-form-item"> |
|
|
|
<!-- <el-button class="print-btn" v-if="fillType === 'actFill'" type="primary" @click="onAdd">新增</el-button> |
|
|
|
<el-button class="print-btn" v-if="fillType === 'actFill'" type="primary" @click="printTag">删除</el-button> --> |
|
|
|
<BaseInfoFormPackage fieldItemLabel="样本说明" label = "样本说明" :ref="refConfig.ybsmFormPackageRef" |
|
|
|
<div class="config-header"> |
|
|
|
<div></div> |
|
|
|
<el-button v-if="fillType === 'actFill'" type="text" icon="el-icon-delete" |
|
|
|
@click="deleteConfig">{{ $t('template.common.deleteBtn') |
|
|
|
}}</el-button> |
|
|
|
</div> |
|
|
|
<BaseInfoFormPackage fieldItemLabel="样本说明" :ref="refConfig.ybsmFormPackageRef" |
|
|
|
:formConfig="ybsmFormConfig" @blur="onHandleBlur" :formData="formData" /> |
|
|
|
<el-button v-if="fillType === 'actFill'" type="primary" @click="onImportAnimal">导入动物</el-button> |
|
|
|
<CustomTable |
|
|
|
@ -35,9 +40,8 @@ |
|
|
|
></TableOpertaionDelete> |
|
|
|
</template> |
|
|
|
</CustomTable> |
|
|
|
<Step :ref="refConfig.stepRef" :formData="formData.stepData"></Step> |
|
|
|
</div> |
|
|
|
|
|
|
|
<Step :ref="refConfig.stepRef" :formData="formData.stepData"></Step> |
|
|
|
<BaseInfoFormPackage fieldItemLabel="template.common.remark" label="template.common.remark" |
|
|
|
:ref="refConfig.remarkRef" :formConfig="remarkConig" :formData="formData" /> |
|
|
|
</div> |
|
|
|
@ -108,13 +112,19 @@ export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
refConfig, |
|
|
|
formData: {} |
|
|
|
formData: {}, |
|
|
|
}; |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
|
|
|
|
}, |
|
|
|
methods: { |
|
|
|
//删除样本说明 |
|
|
|
deleteConfig(){}, |
|
|
|
//新增样本说明 |
|
|
|
onAdd(){ |
|
|
|
|
|
|
|
}, |
|
|
|
onLoadExcelData(excelData) { |
|
|
|
const data = excelData.splice(1); |
|
|
|
console.log(data,"ddd") |
|
|
|
@ -191,4 +201,22 @@ export default { |
|
|
|
.print-btn { |
|
|
|
margin-bottom: 20px; |
|
|
|
} |
|
|
|
.config-header { |
|
|
|
display: flex; |
|
|
|
justify-content: space-between; |
|
|
|
align-items: center; |
|
|
|
margin-bottom: 15px; |
|
|
|
font-weight: bold; |
|
|
|
font-size: 16px; |
|
|
|
color: #303133; |
|
|
|
} |
|
|
|
|
|
|
|
.config-header .el-button { |
|
|
|
color: #f56c6c; |
|
|
|
font-size: 14px; |
|
|
|
} |
|
|
|
|
|
|
|
.config-header .el-button:hover { |
|
|
|
color: #f78989; |
|
|
|
} |
|
|
|
</style> |