|
|
@ -53,7 +53,7 @@ |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column :label="$t('page.business.resource.gyzj.sxrq')" align="center" prop="sxrq" width="150px" /> |
|
|
<el-table-column :label="$t('page.business.resource.gyzj.sxrq')" align="center" prop="sxrq" width="150px" /> |
|
|
<el-table-column :label="$t('page.business.resource.gyzj.sfcc')" align="center" width="100px" fixed="right"> |
|
|
|
|
|
|
|
|
<el-table-column :label="$t('page.business.resource.gyzj.sfcc')" align="center" width="100px" fixed="right"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span v-if="scope.row.cczt == 1">{{ $t('page.business.resource.resource.cczt.qc') }}</span> |
|
|
<span v-if="scope.row.cczt == 1">{{ $t('page.business.resource.resource.cczt.qc') }}</span> |
|
|
<span v-if="scope.row.cczt == 3">{{ $t('page.business.resource.resource.cczt.cc') }}</span> |
|
|
<span v-if="scope.row.cczt == 3">{{ $t('page.business.resource.resource.cczt.cc') }}</span> |
|
|
@ -70,7 +70,7 @@ |
|
|
<span v-if="scope.row.zjzt == 11">{{ $t('page.business.resource.resource.zjzt.djd') }}</span> |
|
|
<span v-if="scope.row.zjzt == 11">{{ $t('page.business.resource.resource.zjzt.djd') }}</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column :label="$t('form.operate')" fixed="right" align="center" |
|
|
<el-table-column :label="$t('form.operate')" fixed="right" align="center" |
|
|
class-name="small-padding fixed-width" width="250px"> |
|
|
class-name="small-padding fixed-width" width="250px"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
@ -78,7 +78,7 @@ |
|
|
<el-button type="text" @click="handleXq(scope.row)" |
|
|
<el-button type="text" @click="handleXq(scope.row)" |
|
|
v-hasPermi="['business:studyGyzj:xq', 'business:nonTrialGyzj:xq', 'business:drugGyzj:xq']">{{ |
|
|
v-hasPermi="['business:studyGyzj:xq', 'business:nonTrialGyzj:xq', 'business:drugGyzj:xq']">{{ |
|
|
$t('page.business.resource.gyzj.detail') }}</el-button> |
|
|
$t('page.business.resource.gyzj.detail') }}</el-button> |
|
|
<template v-if="scope.row.zjzt==3&&scope.row.cczt==1"> |
|
|
|
|
|
|
|
|
<template v-if="scope.row.zjzt == 3 && scope.row.cczt == 1"> |
|
|
<template v-if="scope.row.ghzt == 1"> |
|
|
<template v-if="scope.row.ghzt == 1"> |
|
|
<!-- 归还 --> |
|
|
<!-- 归还 --> |
|
|
<el-button type="text" @click="handleGh(scope.row)" |
|
|
<el-button type="text" @click="handleGh(scope.row)" |
|
|
@ -101,15 +101,15 @@ |
|
|
</template> |
|
|
</template> |
|
|
</template> |
|
|
</template> |
|
|
<!-- 入库 --> |
|
|
<!-- 入库 --> |
|
|
<el-button type="text" v-if="scope.row.zjzt==2&&scope.row.rksqzt==1" @click="handleRk(scope.row)" |
|
|
|
|
|
|
|
|
<el-button type="text" v-if="scope.row.zjzt == 2 && scope.row.rksqzt == 1" @click="handleRk(scope.row)" |
|
|
v-hasPermi="['business:studyGyzj:rk', 'business:nonTrialGyzj:rk', 'business:drugGyzj:rk']">{{ |
|
|
v-hasPermi="['business:studyGyzj:rk', 'business:nonTrialGyzj:rk', 'business:drugGyzj:rk']">{{ |
|
|
$t('page.business.resource.gyzj.ruku') }}</el-button> |
|
|
$t('page.business.resource.gyzj.ruku') }}</el-button> |
|
|
<!-- 取出 --> |
|
|
<!-- 取出 --> |
|
|
<el-button type="text" v-if="scope.row.zjzt==3&&scope.row.cczt==3" @click="handleQc(scope.row)" |
|
|
|
|
|
|
|
|
<el-button type="text" v-if="scope.row.zjzt == 3 && scope.row.cczt == 3" @click="handleQc(scope.row)" |
|
|
v-hasPermi="['business:studyGyzj:qc', 'business:nonTrialGyzj:qc', 'business:drugGyzj:qc']">{{ |
|
|
v-hasPermi="['business:studyGyzj:qc', 'business:nonTrialGyzj:qc', 'business:drugGyzj:qc']">{{ |
|
|
$t('page.business.resource.gyzj.quchu') }}</el-button> |
|
|
$t('page.business.resource.gyzj.quchu') }}</el-button> |
|
|
<!-- 存储 --> |
|
|
<!-- 存储 --> |
|
|
<el-button type="text" v-if="scope.row.zjzt==3&&scope.row.cczt==1" @click="handleCc(scope.row)" |
|
|
|
|
|
|
|
|
<el-button type="text" v-if="scope.row.zjzt == 3 && scope.row.cczt == 1" @click="handleCc(scope.row)" |
|
|
v-hasPermi="['business:studyGyzj:cc', 'business:nonTrialGyzj:cc', 'business:drugGyzj:cc']">{{ |
|
|
v-hasPermi="['business:studyGyzj:cc', 'business:nonTrialGyzj:cc', 'business:drugGyzj:cc']">{{ |
|
|
$t('page.business.resource.gyzj.cunchu') }}</el-button> |
|
|
$t('page.business.resource.gyzj.cunchu') }}</el-button> |
|
|
</template> |
|
|
</template> |
|
|
@ -153,7 +153,7 @@ import moment from "moment"; |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
name: "GyzjList", |
|
|
name: "GyzjList", |
|
|
components: { Xq, Bj, Xgkc, Sqgh, Czyj,Sqrk,Cc,Qc }, |
|
|
|
|
|
|
|
|
components: { Xq, Bj, Xgkc, Sqgh, Czyj, Sqrk, Cc, Qc }, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
daterange: [], |
|
|
daterange: [], |
|
|
@ -221,17 +221,17 @@ export default { |
|
|
this.$refs.Sqrk.show(row) |
|
|
this.$refs.Sqrk.show(row) |
|
|
}, |
|
|
}, |
|
|
//取出 |
|
|
//取出 |
|
|
handleQc(row){ |
|
|
|
|
|
|
|
|
handleQc(row) { |
|
|
this.$refs.Qc.show(row) |
|
|
this.$refs.Qc.show(row) |
|
|
}, |
|
|
}, |
|
|
//存储 |
|
|
//存储 |
|
|
handleCc(row){ |
|
|
|
|
|
|
|
|
handleCc(row) { |
|
|
this.$refs.Cc.show(row) |
|
|
this.$refs.Cc.show(row) |
|
|
}, |
|
|
}, |
|
|
closeXq() { |
|
|
closeXq() { |
|
|
this.showDetail = false |
|
|
this.showDetail = false |
|
|
this.handleQuery() |
|
|
|
|
|
this.$emit('showDetail', this.showDetail) |
|
|
this.$emit('showDetail', this.showDetail) |
|
|
|
|
|
this.handleQuery() |
|
|
}, |
|
|
}, |
|
|
//详情 |
|
|
//详情 |
|
|
handleXq(row) { |
|
|
handleXq(row) { |
|
|
@ -262,7 +262,13 @@ export default { |
|
|
}, |
|
|
}, |
|
|
//重置 |
|
|
//重置 |
|
|
resetQuery() { |
|
|
resetQuery() { |
|
|
this.resetForm("queryForm") |
|
|
|
|
|
|
|
|
this.queryParams.mc = null |
|
|
|
|
|
this.queryParams.jyzt = null |
|
|
|
|
|
this.queryParams.zjzt = null |
|
|
|
|
|
this.queryParams.bh = null |
|
|
|
|
|
this.queryParams.startDate = null |
|
|
|
|
|
this.queryParams.endDate = null |
|
|
|
|
|
this.daterange = [] |
|
|
this.handleQuery() |
|
|
this.handleQuery() |
|
|
}, |
|
|
}, |
|
|
} |
|
|
} |
|
|
|