Browse Source

fix:[非实验麻精药]申请单

lkf
15881625488@163.com 3 months ago
parent
commit
1077cb6253
4 changed files with 21 additions and 3 deletions
  1. +8
    -0
      src/api/business/public/public.js
  2. +11
    -1
      src/views/business/comps/template/comps/gy/MJYLQSQD.vue
  3. +1
    -1
      src/views/business/study/comp/sqbd/Xq.vue
  4. +1
    -1
      src/views/business/study/comp/ytbd/Xq.vue

+ 8
- 0
src/api/business/public/public.js View File

@ -59,3 +59,11 @@ export function public_sjList(query) {
params: query
})
}
// 试验列表
export function public_studyList(query) {
return request({
url: '/system/business/public/studyList',
method: 'get',
params: query
})
}

+ 11
- 1
src/views/business/comps/template/comps/gy/MJYLQSQD.vue View File

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

+ 1
- 1
src/views/business/study/comp/sqbd/Xq.vue View File

@ -126,7 +126,7 @@ export default {
open: false,
formApprove: {
id: null,
qmyy: $t('page.business.study.studyFormApply.cjjl'),
qmyy: this.$t('page.business.study.studyFormApply.cjjl'),
remark: '',
qmrmm: '',
},

+ 1
- 1
src/views/business/study/comp/ytbd/Xq.vue View File

@ -56,7 +56,7 @@
append-to-body :close-on-click-modal="false">
<el-form ref="formApprove" :model="formApprove" :rules="rulesApprove" label-width="120px">
<div class="sbzdtcma"> <input type="text"> <input type="password"> </div>
<el-alert :title="$t('page.business.study.studyFormPre.ts')" :closable="false" type="success">
<el-alert :title="$t('page.business.study.studyFormPre.ts')" :closable="false" style="margin-bottom: 10px;" type="success">
</el-alert>
<el-row>
<el-col :span="24">

Loading…
Cancel
Save