|
|
|
@ -28,6 +28,9 @@ |
|
|
|
<el-button type="primary" @click="next">{{ $t('page.business.study.studyFormFill.next') }}</el-button> |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
<el-button @click="showDy" v-if="form.templateShowDy == 10">{{ |
|
|
|
$t('template.common.bqdy') |
|
|
|
}}</el-button> |
|
|
|
<el-button @click="showYjcc" v-if="form.templateShowYjcc == 10">{{ |
|
|
|
$t('page.business.study.studyFormFill.yjcc') |
|
|
|
}}</el-button> |
|
|
|
@ -813,6 +816,20 @@ export default { |
|
|
|
that.$modal.msgError("没有可存储的药剂") |
|
|
|
} |
|
|
|
}, |
|
|
|
async showDy() { |
|
|
|
let that = this |
|
|
|
that.resetYjcc() |
|
|
|
that.formYjcc.id = that.form.id |
|
|
|
that.cclistYj = [] |
|
|
|
that.addCcYj() |
|
|
|
that.$refs.templateTable.getFilledFormData() |
|
|
|
let resource = that.$refs.templateTable.getPrintResource() |
|
|
|
if (resource.length > 0) { |
|
|
|
|
|
|
|
} else { |
|
|
|
that.$modal.msgError("没有可打印的标签") |
|
|
|
} |
|
|
|
}, |
|
|
|
async showTjsh(qmyy) { |
|
|
|
let that = this |
|
|
|
let content = await this.$refs.templateTable.getFormData() |
|
|
|
|