|
@@ -1,14 +1,14 @@
|
|
|
<template>
|
|
|
<template-page v-if="isShowTab" ref="pageRef" :get-list="getList"
|
|
|
:table-attributes="tableAttributes" :table-events="tableEvents" :options-evens-group="optionsEvensGroup"
|
|
|
- :moreParameters="moreParameters" :column-parsing="columnParsing" :operation="operation":operationColumnWidth="80">
|
|
|
+ :moreParameters="moreParameters" :column-parsing="columnParsing" :operation="operation":operationColumnWidth="80" :fieldBeansHook="fieldBeansHook">
|
|
|
<div class="footer">
|
|
|
<el-button size="mini" @click="cancel()">取消</el-button>
|
|
|
<el-button size="mini" @click="formConfirm()" type="primary">确定</el-button>
|
|
|
</div>
|
|
|
<!-- 选择商品 -->
|
|
|
- <el-dialog title="商品详情" :visible.sync="isShowDetail" width="90%" :close-on-click-modal="false" :modal-append-to-body="false" :append-to-body="true">
|
|
|
- <div style="max-height: 600px;overflow-y: auto;">
|
|
|
+ <el-dialog title="商品详情" :visible.sync="isShowDetail" width="100%" style="height: 100vh;" :close-on-click-modal="false" :modal-append-to-body="false" :append-to-body="true">
|
|
|
+ <div style="max-height: 82vh;overflow-y: auto;">
|
|
|
<el-form ref="formRef" :rules="rules" :model="formData" label-width="110px" size="small" label-position="left">
|
|
|
<el-card class="box-card" id="box">
|
|
|
<div slot="header" class="clearfix">
|
|
@@ -285,6 +285,14 @@
|
|
|
selectable(row){
|
|
|
return this.recordSelected.length ? !!this.recordSelected.find(item=>item.goodsLibraryId==row.goodsLibraryId) : true
|
|
|
},
|
|
|
+ fieldBeansHook(row){
|
|
|
+ row.forEach(item=>{
|
|
|
+ if(item.jname == 'status'){
|
|
|
+ item.isQuery = false
|
|
|
+ }
|
|
|
+ })
|
|
|
+ console.log(row,111)
|
|
|
+ },
|
|
|
// 表格列解析渲染数据更改
|
|
|
columnParsing(item, defaultData) {
|
|
|
if (item.jname === 'imgUrl') {
|
|
@@ -390,4 +398,10 @@
|
|
|
max-height: 360px !important;
|
|
|
overflow-y: auto;
|
|
|
}
|
|
|
+ ::v-deep .el-dialog{
|
|
|
+ margin-top: 0 !important;
|
|
|
+ }
|
|
|
+ ::v-deep .el-dialog__wrapper{
|
|
|
+ overflow: hidden !important;
|
|
|
+ }
|
|
|
</style>
|