memorylkf 18 hours ago
parent
commit
a6e19cb73c
2 changed files with 5 additions and 9 deletions
  1. +2
    -6
      src/views/business/comps/template/comps/sp/SWYPFXRYPZB.vue
  2. +3
    -3
      src/views/business/study/comp/tbbd/Bj.vue

+ 2
- 6
src/views/business/comps/template/comps/sp/SWYPFXRYPZB.vue View File

@ -259,10 +259,8 @@ export default {
methods: { methods: {
async getFormData() { async getFormData() {
let content = await this.validFormFields(["baseInfoRef", "storageConditionRef", "stepFormPackageRef", "stepRef", "remarkRef"]); let content = await this.validFormFields(["baseInfoRef", "storageConditionRef", "stepFormPackageRef", "stepRef", "remarkRef"]);
//resource todo ,
// type1357,syl使syldw使
//resource
let tmpResource = [] let tmpResource = []
debugger
// //
tmpResource.push({ tmpResource.push({
mc: content.targetName, mc: content.targetName,
@ -270,12 +268,10 @@ export default {
ph: '', ph: '',
nd: content.targetActConcentration + content.targetActConcentrationUnit, nd: content.targetActConcentration + content.targetActConcentrationUnit,
source: '配置', source: '配置',
type: 1,
sxrq: content.expireDate, sxrq: content.expireDate,
ndz: content.targetActConcentration, ndz: content.targetActConcentration,
nddw: content.targetActConcentrationUnit, nddw: content.targetActConcentrationUnit,
kc: content.targetActVolume*content.targetActConcentration,
kc: content.targetActVolume,
kcdw: content.targetActVolumeUnit, kcdw: content.targetActVolumeUnit,
syl: null, syl: null,
syldw:content.targetActVolumeUnit, syldw:content.targetActVolumeUnit,

+ 3
- 3
src/views/business/study/comp/tbbd/Bj.vue View File

@ -85,7 +85,7 @@
append-to-body :close-on-click-modal="false"> append-to-body :close-on-click-modal="false">
<el-form ref="formApprove" :model="formApprove" :rules="rulesApprove" label-width="120px"> <el-form ref="formApprove" :model="formApprove" :rules="rulesApprove" label-width="120px">
<div class="sbzdtcma"> <input type="text"> <input type="password"> </div> <div class="sbzdtcma"> <input type="text"> <input type="password"> </div>
<el-row>
<el-row v-if="form.sftb==1">
<el-col :psna="24"> <el-col :psna="24">
<el-form-item> <el-form-item>
<div><el-checkbox v-model="formApprove.sfcz" @change="sfczChange">{{ <div><el-checkbox v-model="formApprove.sfcz" @change="sfczChange">{{
@ -144,7 +144,7 @@
<div style="display: flex; margin-left: 10px;"> <div style="display: flex; margin-left: 10px;">
<div> 存储位置</div> <div> 存储位置</div>
<div> <div>
<BusinessSelect v-model="citem.ccfs" dictType="business_ccwz" style="width: 200px;">
<BusinessSelect v-model="citem.ccwz" dictType="business_ccwz" style="width: 200px;">
</BusinessSelect> </BusinessSelect>
</div> </div>
</div> </div>
@ -337,7 +337,7 @@ export default {
this.showIndex = 1 this.showIndex = 1
this.$modal.loading() this.$modal.loading()
study_info({ id: studyId }).then(response => { study_info({ id: studyId }).then(response => {
this.form = _.merge({}, this.form, { stydyId: studyId, resourceStudy: response.data.resource })
this.form = _.merge({}, this.form, { stydyId: studyId, resourceStudy: response.data.resource,sftb:1 })
this.$modal.closeLoading() this.$modal.closeLoading()
}) })
} }

Loading…
Cancel
Save