luojie 3 days ago
parent
commit
423226e8ce
17 changed files with 754 additions and 547 deletions
  1. +8
    -0
      src/api/business/gyzj/gyzj.js
  2. +14
    -13
      src/lang/en/business/resource/gyzj.js
  3. +5
    -5
      src/lang/en/business/resource/mjy.js
  4. +11
    -12
      src/lang/zh/business/resource/gyzj.js
  5. +6
    -6
      src/lang/zh/business/resource/mjy.js
  6. +155
    -3
      src/views/business/form/drug/comp/wzlb.vue
  7. +154
    -3
      src/views/business/form/nonTrial/comp/wzlb.vue
  8. +18
    -25
      src/views/business/resource/gyzj/comps/ffjl/Xq.vue
  9. +10
    -8
      src/views/business/resource/gyzj/comps/ffjlList.vue
  10. +23
    -52
      src/views/business/resource/gyzj/comps/gyzj/Gh.vue
  11. +30
    -101
      src/views/business/resource/gyzj/comps/gyzj/Sqgh.vue
  12. +17
    -13
      src/views/business/resource/mjy/comps/mjy/Ff.vue
  13. +3
    -3
      src/views/business/resource/mjy/comps/mjy/Xq.vue
  14. +1
    -3
      src/views/business/study/comp/wzlb.vue
  15. +36
    -35
      src/views/business/study/comp/wzlb/gyzjList.vue
  16. +7
    -9
      src/views/business/study/comp/wzlb/mjyList.vue

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

@ -41,6 +41,14 @@ export function gh(data) {
data: data
})
}
//归还
export function sqgh(data) {
return request({
url: '/system/business/gyzj/sqgh',
method: 'post',
data: data
})
}
// 编辑
export function bj(data) {
return request({

+ 14
- 13
src/lang/en/business/resource/gyzj.js View File

@ -16,12 +16,12 @@ export default {
ccwz:'Storage Location',
cksj:'Out of Storage Date',
rksj:'Into Storage Date',
ckjz:'出库净重',
rkjz:'入库净重',
ckjz:'出库',
rkjz:'入库',
syl:'Usage Amount',
lqr1:'Recipient 1',
lqr1:'Recipient',
lqr2:'Recipient 2',
kgy1:'Warehouse Keeper 1',
kgy1:'Warehouse Keeper',
kgy2:'Warehouse Keeper 2',
plff:'批量发放',
@ -52,17 +52,16 @@ export default {
xgr:'Editor',
czl:'Amount',
ffr:'Issuer',
ffr1:'Issuer 1',
ffr1:'Issuer',
ffr2:'Issuer 2',
zytj:'Transfer Condition',
md:'Purpose',
ckmz:'出库净重',
ckl:'Amount out',
ckldw:'出库单位',
ffzytj:'发放转移条件',
ghzytj:'归还转移条件',
ckmz:'出库重',
ckmzdw:'出库重单位',
ckmz:'出库重',
ckmzdw:'出库重单位',
ys1lrq:'Key 1 User',
ys2lrq:'Key 2 User',
sssy:'In Study',
@ -86,21 +85,23 @@ export default {
rkwz:'入库位置',
rktj:'入库条件',
zytj:'转移条件',
rkmz:'入库净',
rkmz:'入库净',
jsl:'减少量',
syl:'Usage Amount',
ghr1Id:'Returner 1',
ghr1Id:'Returner',
ghr2Id:'Returner 2',
jsr1Id:'Warehouse Keeper 1',
jsr1Id:'Warehouse Keeper',
jsr2Id:'Warehouse Keeper 2',
tz:'台账',
lqsj:'领取时间',
gdsqrId:'归档申请人',
lqsj:'领取时间',
jcgj:'Track Record',
ffbz:'发放备注',
ghbz:'归还备注',
cjsj:'Creation Date',
rkl:'入库净重',
rkl:'入库',
jysj:'Checkout Period',
ffjlxq:'In-and-Out Record Detail',
gyzjxq:'Dose Formulation Detail',
sqguihuan:'Return'
}

+ 5
- 5
src/lang/en/business/resource/mjy.js View File

@ -18,9 +18,9 @@ export default {
ckjz:'出库净重',
rkjz:'入库净重',
syl:'Usage Amount',
lqr1:'Recipient 1',
lqr1:'Recipient',
lqr2:'Recipient 2',
kgy1:'Warehouse Keeper 1',
kgy1:'Warehouse Keeper',
kgy2:'Warehouse Keeper 2',
plff:'批量发放',
@ -51,7 +51,7 @@ export default {
xgr:'Editor',
czl:'Amount',
ffr:'Issuer',
ffr1:'Issuer 1',
ffr1:'Issuer',
ffr2:'Issuer 2',
zytj:'Transfer Condition',
md:'Purpose',
@ -87,9 +87,9 @@ export default {
rkmz:'入库毛重',
jsl:'减少量',
syl:'Usage Amount',
ghr1Id:'Returner 1',
ghr1Id:'Returner',
ghr2Id:'Returner 2',
jsr1Id:'Warehouse Keeper 1',
jsr1Id:'Warehouse Keeper',
jsr2Id:'Warehouse Keeper 2',
tz:'台账',
lqsj:'领取时间',

+ 11
- 12
src/lang/zh/business/resource/gyzj.js View File

@ -15,12 +15,12 @@ export default {
ccwz:'存储位置',
cksj:'出库时间',
rksj:'入库时间',
ckjz:'出库净重',
rkjz:'入库净重',
ckjz:'出库',
rkjz:'入库',
syl:'使用量',
lqr1:'领取人1',
lqr1:'领取人',
lqr2:'领取人2',
kgy1:'库管员1',
kgy1:'库管员',
kgy2:'库管员2',
plff:'批量发放',
@ -52,17 +52,14 @@ export default {
xgr:'修改人',
czl:'处置量',
ffr:'发放人',
ffr1:'发放人1',
ffr1:'发放人',
ffr2:'发放人2',
zytj:'转移条件',
md:'目的',
ckmz:'出库净重',
ckl:'出库量',
ckldw:'出库单位',
ffzytj:'发放转移条件',
ghzytj:'归还转移条件',
ckmz:'出库净重',
ckmzdw:'出库净重单位',
ys1lrq:'钥匙1领取人',
ys2lrq:'钥匙2领取人',
sssy:'所属试验',
@ -86,21 +83,23 @@ export default {
rkwz:'入库位置',
rktj:'入库条件',
zytj:'转移条件',
rkmz:'入库净',
rkmz:'入库净',
jsl:'减少量',
syl:'使用量',
ghr1Id:'归还人1',
ghr1Id:'归还人',
ghr2Id:'归还人2',
jsr1Id:'库管员1',
jsr1Id:'库管员',
jsr2Id:'库管员2',
tz:'台账',
gdsqrId:'归档申请人',
lqsj:'领取时间',
jcgj:'稽查轨迹',
ffbz:'发放备注',
ghbz:'归还备注',
cjsj:'创建时间',
rkl:'入库净重',
rkl:'入库',
jysj:'借阅时间',
ffjlxq:'发放回收记录详情',
gyzjxq:'给药制剂详情',
sqguihuan:'归还'
}

+ 6
- 6
src/lang/zh/business/resource/mjy.js View File

@ -18,9 +18,9 @@ export default {
ckjz:'出库净重',
rkjz:'入库净重',
syl:'使用量',
lqr1:'领取人1',
lqr1:'领取人',
lqr2:'领取人2',
kgy1:'库管员1',
kgy1:'库管员',
kgy2:'库管员2',
plff:'批量发放',
@ -89,12 +89,12 @@ export default {
rkmz:'入库毛重',
jsl:'减少量',
syl:'使用量',
ghr1Id:'归还人1',
ghr1Id:'归还人',
ghr2Id:'归还人2',
jsr1Id:'库管员1',
jsr1Id:'库管员',
jsr2Id:'库管员2',
tz:'台账',
lqsj:'领取时间',
tz:'台账',
lqsj:'领取时间',
jcgj:'稽查轨迹',
ffbz:'发放备注',
ghbz:'归还备注',

+ 155
- 3
src/views/business/form/drug/comp/wzlb.vue View File

@ -1,10 +1,56 @@
<template>
<div class="study-syxx">
物资列表
<div class="syxx-top" v-show="!showDetail" style="margin-bottom: 10px;">
<div class="syxx-operate">
<div class="operate-img"></div>
<div class="operate-left">{{ $t('page.business.study.studyFormPlan.syxx') }}</div>
</div>
<el-form ref="form" label-width="90px">
<el-row>
<el-col :span="6">
<el-form-item :label="$t('page.business.study.studyFormPlan.symc')">
{{ studyInfo.name }}
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item :label="$t('page.business.study.studyFormPlan.sybh')">
{{ studyInfo.sn }}
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item :label="$t('page.business.study.studyFormPlan.syfzr')">
{{ studyInfo.leaderName }}
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item :label="$t('page.business.study.studyFormPlan.cjsj')">
{{ studyInfo.createTime }}
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
<div class="syxx-content">
<div class="search-box" v-show="!showDetail">
<div class="search-item" :class="active === item.key ? 'active' : ''" v-for="(item, index) in tabList"
:key="index" @click="changeTab(item)">
{{ item.name }}
</div>
</div>
<div class="content-box">
<gyzjList v-if="active === 'gyzjlb'" :study="studyInfo" @showDetail="showDetailCallback" />
<mjyList v-if="active === 'mjylb'" :study="studyInfo" @showDetail="showDetailCallback"/>
</div>
</div>
</div>
</template>
<script>
import { checkPermi, checkRole } from "@/utils/permission";
import { study_info } from "@/api/business/study/study"
import gyzjList from '@/views/business/study/comp/wzlb/gyzjList.vue'
import mjyList from '@/views/business/study/comp/wzlb/mjyList.vue'
export default {
name: 'StudyWzlb',
props: {
@ -19,20 +65,126 @@ export default {
study: {
immediate: true,
handler(v) {
this.studyId = v.id
this.getStudyInfo()
}
},
},
components: { },
components: {gyzjList,mjyList},
data() {
return {
showDetail: false,
studyId: '',
studyInfo: {},
tabList: [
{ key: 'sjlb', name: this.$t('page.business.study.studyEnter.sjlb') },
{ key: 'gsplb', name: this.$t('page.business.study.studyEnter.gsplb') },
{ key: 'gyzjlb', name: this.$t('page.business.study.studyEnter.gyzjlb') },
{ key: 'mjylb', name: this.$t('page.business.study.studyEnter.mjylb') },
],
active: 'sjlb',
}
},
created() {
},
methods: {
checkPermi,
checkRole,
getStudyInfo() {
this.$modal.loading()
study_info({ id: this.studyId }).then(response => {
this.studyInfo = response.data
this.$modal.closeLoading()
}).finally(() => {
this.$modal.closeLoading()
})
},
showDetailCallback(val) {
this.showDetail = val
this.$emit('showDetail', val)
},
changeTab(item) {
if (this.active !== item.key) {
this.active = item.key
}
}
}
}
</script>
<style lang="scss" scoped>
.study-syxx {
.search-box {
background: #fff;
padding: 0;
border-radius: 3px;
margin-bottom: 10px;
display: flex;
flex-direction: row;
align-items: center;
.search-item {
padding: 10px 20px;
font-size: 14px;
cursor: pointer;
&.active {
background: #1890ff;
color: #fff;
}
&:hover {
background: #46a6ff;
color: #fff;
}
&:first-child {
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
&:last-child {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
}
}
.syxx-top {
background: #fff;
padding: 20px;
width: 100%;
.syxx-operate {
margin: 0px 0 10px 0;
display: flex;
flex-direction: row;
align-items: center;
color: #409eff;
.operate-img {
flex-shrink: 0;
height: 15px;
background: #409eff;
width: 3px;
}
.operate-left {
flex-shrink: 0;
font-weight: bold;
padding-left: 10px;
}
.operate-right {
flex-grow: 1;
text-align: right;
.operate-icon {
cursor: pointer;
}
}
}
}
.syxx-content {}
}
</style>

+ 154
- 3
src/views/business/form/nonTrial/comp/wzlb.vue View File

@ -1,10 +1,54 @@
<template>
<div class="study-syxx">
物资列表
<div class="syxx-top" v-show="!showDetail" style="margin-bottom: 10px;">
<div class="syxx-operate">
<div class="operate-img"></div>
<div class="operate-left">{{ $t('page.business.study.studyFormPlan.syxx') }}</div>
</div>
<el-form ref="form" label-width="90px">
<el-row>
<el-col :span="6">
<el-form-item :label="$t('page.business.study.studyFormPlan.symc')">
{{ studyInfo.name }}
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item :label="$t('page.business.study.studyFormPlan.sybh')">
{{ studyInfo.sn }}
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item :label="$t('page.business.study.studyFormPlan.syfzr')">
{{ studyInfo.leaderName }}
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item :label="$t('page.business.study.studyFormPlan.cjsj')">
{{ studyInfo.createTime }}
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
<div class="syxx-content">
<div class="search-box" v-show="!showDetail">
<div class="search-item" :class="active === item.key ? 'active' : ''" v-for="(item, index) in tabList"
:key="index" @click="changeTab(item)">
{{ item.name }}
</div>
</div>
<div class="content-box">
<gyzjList v-if="active === 'gyzjlb'" :study="studyInfo" @showDetail="showDetailCallback" />
</div>
</div>
</div>
</template>
<script>
import { checkPermi, checkRole } from "@/utils/permission";
import { study_info } from "@/api/business/study/study"
import gyzjList from '@/views/business/study/comp/wzlb/gyzjList.vue'
export default {
name: 'StudyWzlb',
props: {
@ -19,20 +63,127 @@ export default {
study: {
immediate: true,
handler(v) {
this.studyId = v.id
this.getStudyInfo()
}
},
},
components: { },
components: {gyzjList},
data() {
return {
showDetail: false,
studyId: '',
studyInfo: {},
tabList: [
{ key: 'sjlb', name: this.$t('page.business.study.studyEnter.sjlb') },
{ key: 'gsplb', name: this.$t('page.business.study.studyEnter.gsplb') },
{ key: 'gyzjlb', name: this.$t('page.business.study.studyEnter.gyzjlb') },
{ key: 'xblb', name: this.$t('page.business.study.studyEnter.xblb') },
{ key: 'xjlb', name: this.$t('page.business.study.studyEnter.xjlb') }
],
active: 'sjlb',
}
},
created() {
},
methods: {
checkPermi,
checkRole,
getStudyInfo() {
this.$modal.loading()
study_info({ id: this.studyId }).then(response => {
this.studyInfo = response.data
this.$modal.closeLoading()
}).finally(() => {
this.$modal.closeLoading()
})
},
showDetailCallback(val) {
this.showDetail = val
this.$emit('showDetail', val)
},
changeTab(item) {
if (this.active !== item.key) {
this.active = item.key
}
}
}
}
</script>
<style lang="scss" scoped>
.study-syxx {
.search-box {
background: #fff;
padding: 0;
border-radius: 3px;
margin-bottom: 10px;
display: flex;
flex-direction: row;
align-items: center;
.search-item {
padding: 10px 20px;
font-size: 14px;
cursor: pointer;
&.active {
background: #1890ff;
color: #fff;
}
&:hover {
background: #46a6ff;
color: #fff;
}
&:first-child {
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
&:last-child {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
}
}
.syxx-top {
background: #fff;
padding: 20px;
width: 100%;
.syxx-operate {
margin: 0px 0 10px 0;
display: flex;
flex-direction: row;
align-items: center;
color: #409eff;
.operate-img {
flex-shrink: 0;
height: 15px;
background: #409eff;
width: 3px;
}
.operate-left {
flex-shrink: 0;
font-weight: bold;
padding-left: 10px;
}
.operate-right {
flex-grow: 1;
text-align: right;
.operate-icon {
cursor: pointer;
}
}
}
}
.syxx-content {}
}
</style>

+ 18
- 25
src/views/business/resource/gyzj/comps/ffjl/Xq.vue View File

@ -60,18 +60,16 @@
</el-input>
</div>
<div class="right">
<div class="right-title">{{ $t('page.business.resource.gyzj.ckmz') }}</div>
<el-input type="text" :value="form.ckmz" maxlength="50" disabled> <template slot="append">{{ form.ckmzdw
<div class="right-title">{{ $t('page.business.resource.gyzj.lqsj') }}</div>
<el-input type="text" :value="form.ffrq" maxlength="50" disabled> <template slot="append">{{ form.ckldw
}}</template>
</el-input>
</div>
</div>
<div class="pal">
<div class="left">
<div class="left-title">{{ $t('page.business.resource.gyzj.lqsj') }}</div>
<el-input type="text" :value="form.ffrq" maxlength="50" disabled> <template slot="append">{{ form.ckldw
}}</template>
</el-input>
<div class="left-title">{{ $t('page.business.resource.gyzj.ffzytj') }}</div>
<el-input type="text" :value="form.ffzytj" maxlength="50" disabled />
</div>
<div class="right">
<div class="right-title">{{ $t('page.business.resource.gyzj.md') }}</div>
@ -81,40 +79,35 @@
</div>
<div class="pal">
<div class="left">
<div class="left-title">{{ $t('page.business.resource.gyzj.ffzytj') }}</div>
<el-input type="text" :value="form.ffzytj" maxlength="50" disabled />
<div class="left-title">{{ $t('page.business.resource.gyzj.lqr1') }}</div>
<el-input type="text" :value="form.lqr1Mc" maxlength="50" disabled />
</div>
<div class="right">
<div class="right-title">{{ $t('page.business.resource.gyzj.lqr1') }}</div>
<el-input type="text" :value="form.lqr1Mc" maxlength="50" disabled />
<div class="right-title">{{ $t('page.business.resource.gyzj.lqr2') }}</div>
<el-input type="text" :value="form.lqr2Mc" maxlength="50" disabled />
</div>
</div>
<div class="pal">
<div class="left">
<div class="left-title">{{ $t('page.business.resource.gyzj.lqr2') }}</div>
<el-input type="text" :value="form.lqr2Mc" maxlength="50" disabled />
<div class="left-title">{{ $t('page.business.resource.gyzj.ghr1Id') }}</div>
<el-input type="text" :value="form.ghr1Mc" maxlength="50" disabled />
</div>
<div class="right">
<div class="right-title">{{ $t('page.business.resource.gyzj.ghr1Id') }}</div>
<el-input type="text" :value="form.ghr1Mc" maxlength="50" disabled />
<div class="right-title">{{ $t('page.business.resource.gyzj.ghr2Id') }}</div>
<el-input type="text" :value="form.ghr2Mc" maxlength="50" disabled />
</div>
</div>
<div class="pal">
<div class="left">
<div class="left-title">{{ $t('page.business.resource.gyzj.ghr2Id') }}</div>
<el-input type="text" :value="form.ghr2Mc" maxlength="50" disabled />
</div>
<div class="right">
<div class="right-title">{{ $t('page.business.resource.gyzj.ghzytj') }}</div>
<div class="left-title">{{ $t('page.business.resource.gyzj.ghzytj') }}</div>
<el-input type="text" :value="form.ghzytj" maxlength="50" disabled />
</div>
</div>
<div class="pal">
<div class="left">
<div class="left-title">{{ $t('page.business.resource.gyzj.rkmz') }}</div>
<div class="right">
<div class="right-title">{{ $t('page.business.resource.gyzj.rkl') }}</div>
<el-input type="text" :value="form.rkmz" maxlength="50" disabled> <template slot="append">{{ form.rkmzdw
}}</template>
</el-input>
</div>
</div>
<div class="pal">
@ -130,8 +123,8 @@
<div class="pal">
<div class="left">
<div class="left-title">{{ $t('page.business.resource.gyzj.ghbz') }}</div>
<el-input type="text" :value="form.ghbz" maxlength="50" disabled />
<div class="left-title">{{ $t('page.business.resource.gyzj.gdsqrId') }}</div>
<el-input type="text" :value="form.gdsqrMc" maxlength="50" disabled />
</div>
<div class="right">
<div class="right-title">{{ $t('page.business.resource.gyzj.cjsj') }}</div>

+ 10
- 8
src/views/business/resource/gyzj/comps/ffjlList.vue View File

@ -87,10 +87,11 @@
<el-table v-loading="loading" :data="list" @selection-change="handleSelectionChange">
<el-table-column type="selection" fixed="left" width="55" align="center" :selectable="checkSelectable" />
<el-table-column :label="$t('page.business.resource.gyzj.mc')" align="left" prop="mc"
:show-overflow-tooltip="true" />
<el-table-column :label="$t('page.business.resource.gyzj.bh')" align="center" prop="bh"
:show-overflow-tooltip="true" />
<el-table-column :label="$t('page.business.resource.gyzj.mc')" align="left" prop="mc"
:show-overflow-tooltip="true" />
<el-table-column :label="$t('page.business.resource.gyzj.md')" align="center" width="150px">
<template slot-scope="scope">
<span v-if="scope.row.mdOther && scope.row.mdOther != ''&&scope.row.mdMcs && scope.row.mdMcs != ''">{{ scope.row.mdMcs }}{{ scope.row.mdOther }}</span>
@ -101,12 +102,12 @@
:show-overflow-tooltip="true" />
<el-table-column :label="$t('page.business.resource.gyzj.cksj')" align="center" prop="ffrq" width="150px" />
<el-table-column :label="$t('page.business.resource.gyzj.rksj')" align="center" prop="ghrq" width="150px" />
<el-table-column :label="$t('page.business.resource.gyzj.ckmz')" align="center" width="150px">
<el-table-column :label="$t('page.business.resource.gyzj.ckl')" align="center" width="150px">
<template slot-scope="scope">
{{ scope.row.ckmz }} {{ scope.row.ckmzdw }}
</template>
</el-table-column>
<el-table-column :label="$t('page.business.resource.gyzj.rkmz')" align="center" width="150px">
<el-table-column :label="$t('page.business.resource.gyzj.rkl')" align="center" width="150px">
<template slot-scope="scope">
{{ scope.row.rkmz }} {{ scope.row.rkmzdw }}
</template>
@ -116,14 +117,15 @@
{{ scope.row.syl }} {{ scope.row.syldw }}
</template>
</el-table-column>
<el-table-column :label="$t('page.business.resource.gyzj.lqr1')" align="center" prop="lqr1Mc"
<el-table-column :label="$t('page.business.resource.gyzj.kgy1')" align="center" prop="jsr1Mc"
:show-overflow-tooltip="true" />
<el-table-column :label="$t('page.business.resource.gyzj.lqr2')" align="center" prop="lqr2Mc"
<el-table-column :label="$t('page.business.resource.gyzj.kgy2')" align="center" prop="jsr2Mc"
:show-overflow-tooltip="true" />
<el-table-column :label="$t('page.business.resource.gyzj.kgy1')" align="center" prop="jsr1Mc"
<el-table-column :label="$t('page.business.resource.gyzj.lqr1')" align="center" prop="lqr1Mc"
:show-overflow-tooltip="true" />
<el-table-column :label="$t('page.business.resource.gyzj.kgy2')" align="center" prop="jsr2Mc"
<el-table-column :label="$t('page.business.resource.gyzj.lqr2')" align="center" prop="lqr2Mc"
:show-overflow-tooltip="true" />
<el-table-column :label="$t('page.business.resource.gyzj.zcg')" align="center" prop="zcgMc"
:show-overflow-tooltip="true" />
<el-table-column :label="$t('page.business.resource.gyzj.jlzt')" align="center" width="100px" fixed="right">

+ 23
- 52
src/views/business/resource/gyzj/comps/gyzj/Gh.vue View File

@ -4,6 +4,18 @@
<el-dialog :title="$t('page.business.resource.gyzj.guihuan')" :visible.sync="open" width="800px" append-to-body
:close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-row>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.mc')">
<el-input type="text" v-model="form.mc" maxlength="50" disabled />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.bh')">
<el-input type="text" v-model="form.bh" maxlength="50" disabled />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.sxrq')">
@ -32,14 +44,14 @@
</el-row>
<el-row>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.ckjz')">
<el-form-item :label="$t('page.business.resource.gyzj.ckl')">
<el-input type="text" v-model="form.ckl" maxlength="50" disabled> <template slot="append">{{ form.ckldw
}}</template>
</el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.cksj')">
<el-form-item :label="$t('page.business.resource.gyzj.lqsj')">
<el-input type="text" v-model="form.ffrq" maxlength="50" disabled />
</el-form-item>
</el-col>
@ -47,15 +59,13 @@
<el-row>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.ckmz')">
<el-input type="text" v-model="form.ckmz" maxlength="50" disabled> <template slot="append">{{ form.ckmzdw
}}</template>
</el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.md')">
<el-input type="text" :value="(form.mdOthers&&form.mdOthers!='')?(form.mdMcs+','+form.mdMcs):form.mdMcs" maxlength="50" disabled />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.zytj')" prop="ghzytj">
<el-input type="text" v-model="form.ghzytj" maxlength="50" :placeholder="$t('form.placeholderInput')" />
</el-form-item>
</el-col>
</el-row>
@ -73,30 +83,8 @@
</el-row>
<el-row>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.zytj')" prop="ghzytj">
<el-input type="text" v-model="form.ghzytj" maxlength="50" :placeholder="$t('form.placeholderInput')" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.rkmz')" prop="rkmz">
<el-input type="number" v-model="form.rkmz" maxlength="50" :placeholder="$t('form.placeholderInput')">
<template slot="append">{{ form.ckldw }}</template>
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<!-- <el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.jsl')" prop="jsl">
<el-input type="number" v-model="form.jsl" maxlength="50" disabled
:placeholder="$t('form.placeholderInput')">
<template slot="append">{{ form.ckldw }}</template>
</el-input>
</el-form-item>
</el-col> -->
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.syl')" prop="syl">
<el-input type="number" v-model="form.syl" maxlength="50" :placeholder="$t('form.placeholderInput')">
<el-form-item :label="$t('page.business.resource.gyzj.rkmz')" prop="rkl">
<el-input type="number" v-model="form.rkl" maxlength="50" :placeholder="$t('form.placeholderInput')">
<template slot="append">{{ form.ckldw }}</template>
</el-input>
</el-form-item>
@ -216,7 +204,7 @@ export default {
message: ' ',
trigger: 'blur'
}],
rkmz: [{
rkl: [{
required: true,
message: ' ',
trigger: 'blur'
@ -317,24 +305,7 @@ export default {
this.reset()
let that = this
info({ id: row.id }).then(response => {
that.form.id = response.data.id
that.form.mc = response.data.mc
that.form.bh = response.data.bh
that.form.sxrq = response.data.sxrq
that.form.nd = response.data.nd
that.form.nddw = response.data.nddw
that.form.cctj = response.data.cctj
that.form.ccwz = response.data.ccwz
that.form.ckl = response.data.ckl
that.form.ckldw = response.data.ckldw
that.form.ffrq = response.data.ffrq
that.form.ckmz = response.data.ckmz
that.form.ckmzdw = response.data.ckldw
that.form.mdIds = response.data.mdIds
that.form.ghr1Mc = response.data.ghr1Mc
that.form.ghr2Mc = response.data.ghr2Mc
that.form.ghr1Id = response.data.ghr1Id
that.form.ghr2Id = response.data.ghr2Id
that.form = _.merge({},this.form,response.data)
that.open = true
})
},

src/views/business/resource/gyzj/comps/gyzj/SqGh.vue → src/views/business/resource/gyzj/comps/gyzj/Sqgh.vue View File

@ -1,11 +1,23 @@
<template>
<div>
<!-- 归还弹窗 -->
<el-dialog :title="$t('page.business.resource.gyzj.guihuan')" :visible.sync="open" width="800px" append-to-body
<el-dialog :title="$t('page.business.resource.gyzj.sqguihuan')" :visible.sync="open" width="800px" append-to-body
:close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-row>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.mc')">
<el-input type="text" v-model="form.mc" maxlength="50" disabled />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.bh')">
<el-input type="text" v-model="form.bh" maxlength="50" disabled />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.sxrq')">
<el-input type="text" v-model="form.sxrq" maxlength="50" disabled />
</el-form-item>
@ -13,7 +25,7 @@
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.nd')">
<el-input type="text" v-model="form.nd" maxlength="50" disabled> <template slot="append">{{ form.nddw
}}</template>
}}</template>
</el-input>
</el-form-item>
</el-col>
@ -34,7 +46,7 @@
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.ckjz')">
<el-input type="text" v-model="form.ckl" maxlength="50" disabled> <template slot="append">{{ form.ckldw
}}</template>
}}</template>
</el-input>
</el-form-item>
</el-col>
@ -47,15 +59,15 @@
<el-row>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.ckmz')">
<el-input type="text" v-model="form.ckmz" maxlength="50" disabled> <template slot="append">{{ form.ckmzdw
}}</template>
</el-input>
<el-form-item :label="$t('page.business.resource.gyzj.md')">
<el-input type="text" :value="(form.mdOthers && form.mdOthers != '') ? (form.mdMcs + ',' + form.mdMcs) : form.mdMcs"
maxlength="50" disabled />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.md')">
<el-input type="text" :value="(form.mdOthers&&form.mdOthers!='')?(form.mdMcs+','+form.mdMcs):form.mdMcs" maxlength="50" disabled />
<el-form-item :label="$t('page.business.resource.gyzj.zytj')" prop="ghzytj">
<el-input type="text" v-model="form.ghzytj" maxlength="50" :placeholder="$t('form.placeholderInput')" />
</el-form-item>
</el-col>
</el-row>
@ -72,37 +84,6 @@
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.zytj')" prop="ghzytj">
<el-input type="text" v-model="form.ghzytj" maxlength="50" :placeholder="$t('form.placeholderInput')" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.rkmz')" prop="rkmz">
<el-input type="number" v-model="form.rkmz" maxlength="50" :placeholder="$t('form.placeholderInput')">
<template slot="append">{{ form.ckldw }}</template>
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<!-- <el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.jsl')" prop="jsl">
<el-input type="number" v-model="form.jsl" maxlength="50" disabled
:placeholder="$t('form.placeholderInput')">
<template slot="append">{{ form.ckldw }}</template>
</el-input>
</el-form-item>
</el-col> -->
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.syl')" prop="syl">
<el-input type="number" v-model="form.syl" maxlength="50" :placeholder="$t('form.placeholderInput')">
<template slot="append">{{ form.ckldw }}</template>
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<el-form-item :label="$t('form.remark')" prop="remark">
<el-input type="textarea" v-model="form.remark" :rows="5" maxlength="500"
@ -111,59 +92,28 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.ghr1Id')">
<el-input type="text" v-model="form.ghr1Mc" maxlength="50" disabled />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.ghr2Id')">
<el-input type="text" v-model="form.ghr2Mc" maxlength="50" disabled />
</el-form-item>
</el-col>
<!-- <el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.ghr1Id')+$t('form.password')" prop="ghr1mm">
<el-input type="password" v-model="form.ghr1mm" maxlength="20"
:placeholder="$t('form.placeholderInput')" />
</el-form-item>
</el-col> -->
<!-- <el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.ghr2Id')+$t('form.password')" prop="ghr2mm">
<el-input type="password" v-model="form.ghr2mm" maxlength="20"
:placeholder="$t('form.placeholderInput')" />
</el-form-item>
</el-col> -->
</el-row>
<el-row>
<!-- <el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.jsr1Id')" prop="jsr1Id">
<SelectDeptUser v-model="form.jsr1Id" key="jsr1Id" />
</el-form-item>
</el-col> -->
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.jsr1Id')">
<el-input type="text" v-model="nickName" maxlength="50" disabled />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.jsr1Id') + $t('form.password')" prop="jsr1mm">
<el-input type="password" v-model="form.jsr1mm" maxlength="20"
<el-form-item :label="$t('page.business.resource.gyzj.ghr1Id') + $t('form.password')" prop="ghr1mm">
<el-input type="password" v-model="form.ghr1mm" maxlength="20"
:placeholder="$t('form.placeholderInput')" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.jsr2Id')" prop="jsr2Id">
<SelectDeptUser v-model="form.jsr2Id" key="jsr2Id" />
<el-form-item :label="$t('page.business.resource.gyzj.ghr2Id')" prop="ghr2Id">
<SelectDeptUser v-model="form.ghr2Id" key="ghr2Id" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.jsr2Id') + $t('form.password')" prop="jsr2mm">
<el-input type="password" v-model="form.jsr2mm" maxlength="20"
<el-form-item :label="$t('page.business.resource.gyzj.ghr2Id') + $t('form.password')" prop="ghr2mm">
<el-input type="password" v-model="form.ghr2mm" maxlength="20"
:placeholder="$t('form.placeholderInput')" />
</el-form-item>
</el-col>
@ -186,7 +136,7 @@
</template>
<script>
import { gh, info } from "@/api/business/gyzj/gyzj"
import { sqgh, info } from "@/api/business/gyzj/gyzj"
import { mapGetters } from 'vuex'
import SelectDeptUser from '@/views/business/comps/select/SelectDeptUser';
@ -294,13 +244,9 @@ export default {
},
reset() {
this.form = {
id: null,
rkwz: null,
rktj: null,
ghzytj: null,
rkmz: null,
jsl: null,
syl: null,
ghr1Id: null,
ghr1mm: null,
ghr2Id: null,
@ -317,24 +263,7 @@ export default {
this.reset()
let that = this
info({ id: row.id }).then(response => {
that.form.id = response.data.id
that.form.mc = response.data.mc
that.form.bh = response.data.bh
that.form.sxrq = response.data.sxrq
that.form.nd = response.data.nd
that.form.nddw = response.data.nddw
that.form.cctj = response.data.cctj
that.form.ccwz = response.data.ccwz
that.form.ckl = response.data.ckl
that.form.ckldw = response.data.ckldw
that.form.ffrq = response.data.ffrq
that.form.ckmz = response.data.ckmz
that.form.ckmzdw = response.data.ckldw
that.form.mdIds = response.data.mdIds
that.form.ghr1Mc = response.data.ghr1Mc
that.form.ghr2Mc = response.data.ghr2Mc
that.form.ghr1Id = response.data.ghr1Id
that.form.ghr2Id = response.data.ghr2Id
that.form = _.merge({}, response.data, this.form)
that.open = true
})
},
@ -342,7 +271,7 @@ export default {
this.$refs["form"].validate(valid => {
if (valid) {
this.$modal.loading()
gh(this.form).then(response => {
sqgh(this.form).then(response => {
this.open = false
this.$emit('callback')
this.$modal.closeLoading()

+ 17
- 13
src/views/business/resource/mjy/comps/mjy/Ff.vue View File

@ -44,7 +44,7 @@
</el-table-column>
<el-table-column :label="$t('page.business.resource.mjy.md')" align="center" width="250px">
<template slot-scope="scope">
<el-input type="text" v-model="scope.row.xmId" maxlength="50"
<el-input type="text" v-model="scope.row.mdIds" maxlength="50"
:placeholder="$t('form.placeholderInput')" />
</template>
</el-table-column>
@ -120,8 +120,8 @@
</el-row>
<el-row>
<el-col :span="12">
<el-form-item :label="$t('page.business.resource.mjy.md')" prop="xmId">
<el-input type="text" v-model="form.xmId" maxlength="50" :placeholder="$t('form.placeholderInput')" />
<el-form-item :label="$t('page.business.resource.mjy.md')" prop="mdIds">
<SelectStudy v-model="form.mdIds" @change="selectStudyChange" />
</el-form-item>
</el-col>
<el-col :span="12">
@ -217,10 +217,11 @@ import { ff, plff } from "@/api/business/mjy/mjy"
import { mapGetters } from 'vuex'
import SelectList from "./SelectList";
import SelectDeptUser from '@/views/business/comps/select/SelectDeptUser';
import SelectStudy from '@/views/business/comps/select/SelectStudy';
export default {
name: "Ff",
components: { SelectList, SelectDeptUser },
components: { SelectList, SelectDeptUser,SelectStudy },
data() {
return {
isBatch: false,
@ -269,11 +270,7 @@ export default {
message: ' ',
trigger: 'blur'
}],
xmId: [{
required: true,
message: ' ',
trigger: 'blur'
}],
ckmzdw: [{
required: true,
message: ' ',
@ -289,7 +286,7 @@ export default {
message: ' ',
trigger: 'blur'
}],
xmId: [{
mdIds: [{
required: true,
message: ' ',
trigger: 'blur'
@ -312,6 +309,10 @@ export default {
created() {
},
methods: {
selectStudyChange(val){
this.form.mdMcs=val.name
this.form.mdOther=val.other
},
handleSc(row) {
const that = this
this.$modal.confirm(this.$t('form.confirmDelete')).then(function () {
@ -334,7 +335,9 @@ export default {
a.ckmzdw = a.kcdw
a.zytj = null
a.ckmz = null
a.xmIds = null
a.mdIds = null
a.mdMcs = null
a.mdOther = null
a.remark = null
tmp.push(a)
})
@ -352,7 +355,6 @@ export default {
bh: null,
ckmzdw: null,
zytj: null,
xmId: null,
ckmz: null,
lqr1Id: null,
lqr2Id: null,
@ -362,7 +364,9 @@ export default {
ffr1mm: null,
ffr2Id: null,
ffr2mm: null,
xmId: null,
mdIds: null,
mdMcs: null,
mdOther: null,
qmyy: '领取发放',
qmrmm: null,
remark: null

+ 3
- 3
src/views/business/resource/mjy/comps/mjy/Xq.vue View File

@ -76,8 +76,8 @@
</div>
<div class="pal">
<div class="left">
<div class="left-title">{{ $t('page.business.resource.mjy.md') }}</div>
<el-input type="text" :value="form.xmMc" maxlength="50" disabled />
<div class="left-title">{{ $t('page.business.resource.mjy.sssy') }}</div>
<el-input type="text" :value="form.studyMc" maxlength="50" disabled />
</div>
<div class="right">
<div class="right-title">{{ $t('page.business.resource.mjy.ssbd') }}</div>
@ -87,7 +87,7 @@
<div class="pal">
<div class="left">
<div class="left-title">{{ $t('page.business.resource.mjy.bdssr') }}</div>
<el-input type="text" :value="form.bdssrMc" maxlength="50" disabled />
<el-input type="text" :value="form.bdgsrMc" maxlength="50" disabled />
</div>
</div>
<div class="content-title">

+ 1
- 3
src/views/business/study/comp/wzlb.vue View File

@ -50,7 +50,6 @@
import { checkPermi, checkRole } from "@/utils/permission";
import { study_info } from "@/api/business/study/study"
import gyzjList from './wzlb/gyzjList.vue'
import mjyList from './wzlb/mjyList.vue'
export default {
name: 'StudyWzlb',
props: {
@ -70,7 +69,7 @@ export default {
}
},
},
components: {gyzjList,mjyList},
components: {gyzjList},
data() {
return {
showDetail: false,
@ -80,7 +79,6 @@ export default {
{ key: 'sjlb', name: this.$t('page.business.study.studyEnter.sjlb') },
{ key: 'gsplb', name: this.$t('page.business.study.studyEnter.gsplb') },
{ key: 'gyzjlb', name: this.$t('page.business.study.studyEnter.gyzjlb') },
{ key: 'mjylb', name: this.$t('page.business.study.studyEnter.mjylb') },
{ key: 'xblb', name: this.$t('page.business.study.studyEnter.xblb') },
{ key: 'xjlb', name: this.$t('page.business.study.studyEnter.xjlb') }
],

+ 36
- 35
src/views/business/study/comp/wzlb/gyzjList.vue View File

@ -1,5 +1,5 @@
<template>
<div >
<div>
<!-- 列表 -->
<div>
<div class="gyzj" v-show="!showDetail">
@ -37,9 +37,7 @@
<el-button icon="el-icon-refresh" @click="resetQuery">{{ $t('form.reset') }}</el-button>
</el-form-item>
</el-form>
<el-table v-loading="loading" :data="list" >
<el-table v-loading="loading" :data="list">
<el-table-column :label="$t('page.business.resource.gyzj.mc')" align="left" prop="mc"
:show-overflow-tooltip="true" />
<el-table-column :label="$t('page.business.resource.gyzj.bh')" align="center" prop="bh"
@ -68,28 +66,31 @@
<el-table-column :label="$t('form.operate')" fixed="right" align="center"
class-name="small-padding fixed-width" width="250px">
<template slot-scope="scope">
<template v-if="scope.row.zjzt == 1 || scope.row.zjzt == 3 || scope.row.zjzt == 5 || scope.row.zjzt == 9">
<!-- 详情 -->
<el-button type="text" @click="handleXq(scope.row)" v-hasPermi="['business:resource:gyzj:xq']">{{
<!-- 详情 -->
<el-button type="text" @click="handleXq(scope.row)"
v-hasPermi="['business:studyGyzj:xq', 'business:nonTrialGyzj:xq', 'business:drugGyzj:xq']">{{
$t('page.business.resource.gyzj.detail') }}</el-button>
</template>
<template v-if="scope.row.zjzt == 1">
<!-- 处置药剂 -->
<el-button type="text" @click="handleCzyj(scope.row)" v-hasPermi="['business:resource:gyzj:czyj']">{{
$t('page.business.resource.gyzj.czyj') }}</el-button>
<!-- 编辑 -->
<el-button v-if="scope.row.bjzt == 1" type="text" @click="handleBj(scope.row)"
v-hasPermi="['business:resource:gyzj:bj']">{{
$t('form.edit') }}</el-button>
<!-- 修改库存 -->
<el-button v-if="scope.row.kcbjzt == 1" type="text" @click="handleXgkc(scope.row)"
v-hasPermi="['business:resource:gyzj:xgkc']">{{
$t('page.business.resource.gyzj.xgkc') }}</el-button>
<template v-if="scope.row.zjzt == 3&&scope.row.ghzt == 3">
<!-- 归还 -->
<el-button type="text" @click="handleGh(scope.row)" v-hasPermi="['business:resource:gyzj:gh']">{{
$t('page.business.resource.gyzj.guihuan') }}</el-button>
</template>
<template v-if="scope.row.syghzt == 1">
<template v-if="scope.row.ghzt == 1">
<!-- 归还 -->
<el-button type="text" @click="handleGh(scope.row)"
v-hasPermi="['business:studyGyzj:gh', 'business:nonTrialGyzj:gh', 'business:drugGyzj:gh']">{{
$t('page.business.resource.gyzj.guihuan') }}</el-button>
</template>
<template>
<!-- 处置药剂 -->
<el-button type="text" @click="handleCzyj(scope.row)"
v-hasPermi="['business:studyGyzj:czyj', 'business:nonTrialGyzj:czyj', 'business:drugGyzj:czyj']">{{
$t('page.business.resource.gyzj.czyj') }}</el-button>
<!-- 编辑 -->
<el-button type="text" @click="handleBj(scope.row)"
v-hasPermi="['business:studyGyzj:bj', 'business:nonTrialGyzj:bj', 'business:drugGyzj:bj']">{{
$t('form.edit') }}</el-button>
<!-- 修改库存 -->
<el-button type="text" @click="handleXgkc(scope.row)"
v-hasPermi="['business:studyGyzj:xgkc', 'business:nonTrialGyzj:xgkc', 'business:drugGyzj:xgkc']">{{
$t('page.business.resource.gyzj.xgkc') }}</el-button>
</template>
</template>
</template>
</el-table-column>
@ -103,7 +104,7 @@
<!-- 修改库存 -->
<Xgkc key="Xgkc" ref="Xgkc" @callback="handleQuery" />
<!-- 归还 -->
<Gh key="Gh" ref="Gh" @callback="handleQuery" />
<Sqgh key="Sqgh" ref="Sqgh" @callback="handleQuery" />
<!-- 处置药剂 -->
<Czyj key="Czyj" ref="Czyj" @callback="handleQuery" />
<!-- 详情 -->
@ -117,20 +118,20 @@ import { studyList } from "@/api/business/gyzj/gyzj"
import Xq from "@/views/business/resource/gyzj/comps/gyzj/Xq";
import Bj from "@/views/business/resource/gyzj/comps/gyzj/Bj";
import Xgkc from "@/views/business/resource/gyzj/comps/gyzj/Xgkc";
import Gh from "@/views/business/resource/gyzj/comps/gyzj/Gh";
import Sqgh from "@/views/business/resource/gyzj/comps/gyzj/Sqgh";
import Czyj from "@/views/business/resource/gyzj/comps/gyzj/Czyj";
import moment from "moment";
export default {
name: "GyzjList",
components: { Xq, Bj, Xgkc, Gh, Czyj },
components: { Xq, Bj, Xgkc, Sqgh, Czyj },
data() {
return {
daterange: [],
loading: true,
single: true,
multiple: true,
showDetail:false,
showDetail: false,
total: 0,
list: [],
//
@ -184,17 +185,17 @@ export default {
},
//
handleGh(row) {
this.$refs.Gh.show(row)
this.$refs.Sqgh.show(row)
},
closeXq(){
this.showDetail=false
closeXq() {
this.showDetail = false
this.handleQuery()
this.$emit('showDetail',this.showDetail)
this.$emit('showDetail', this.showDetail)
},
//
handleXq(row) {
this.showDetail=true
this.$emit('showDetail',this.showDetail)
this.showDetail = true
this.$emit('showDetail', this.showDetail)
this.$refs.Xq.show(row)
},
//

+ 7
- 9
src/views/business/study/comp/wzlb/mjyList.vue View File

@ -68,22 +68,20 @@
<el-table-column :label="$t('form.operate')" fixed="right" align="center"
class-name="small-padding fixed-width" width="250px">
<template slot-scope="scope">
<template v-if="scope.row.zjzt == 1 || scope.row.zjzt == 3 || scope.row.zjzt == 5 || scope.row.zjzt == 9">
<!-- 详情 -->
<el-button type="text" @click="handleXq(scope.row)" v-hasPermi="['business:resource:mjy:xq']">{{
<el-button type="text" @click="handleXq(scope.row)" v-hasPermi="['business:studyMjy:xq', 'business:nonTrialMjy:xq', 'business:drugMjy:xq']">{{
$t('page.business.resource.mjy.detail') }}</el-button>
</template>
<template v-if="scope.row.zjzt == 1">
<template v-if="scope.row.syghzt == 1">
<!-- 处置药剂 -->
<el-button type="text" @click="handleCzyj(scope.row)" v-hasPermi="['business:resource:mjy:czyj']">{{
<el-button type="text" @click="handleCzyj(scope.row)" v-hasPermi="['business:studyMjy:czyj', 'business:nonTrialMjy:czyj', 'business:drugMjy:czyj']">{{
$t('page.business.resource.mjy.czyj') }}</el-button>
<!-- 编辑 -->
<el-button v-if="scope.row.bjzt == 1" type="text" @click="handleBj(scope.row)"
v-hasPermi="['business:resource:mjy:bj']">{{
<el-button type="text" @click="handleBj(scope.row)"
v-hasPermi="['business:studyMjy:bj', 'business:nonTrialMjy:bj', 'business:drugMjy:bj']">{{
$t('form.edit') }}</el-button>
<!-- 修改库存 -->
<el-button v-if="scope.row.kcbjzt == 1" type="text" @click="handleXgkc(scope.row)"
v-hasPermi="['business:resource:mjy:xgkc']">{{
<el-button type="text" @click="handleXgkc(scope.row)"
v-hasPermi="['business:studyMjy:xgkc', 'business:nonTrialMjy:xgkc', 'business:drugMjy:xgkc']">{{
$t('page.business.resource.mjy.xgkc') }}</el-button>
</template>
</template>

Loading…
Cancel
Save