Browse Source

修复表格

fix_bug_pro20231227
zhangsiyu 1 year ago
parent
commit
c8f8a6a35a
  1. 14
      src/components/tablecmt/tablecmt.vue
  2. 2
      src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue
  3. 1
      src/views/warehouse/warehouseWaybill.vue

14
src/components/tablecmt/tablecmt.vue

@ -229,7 +229,7 @@ const tableRowClassName = ({
}) => { }) => {
let sfcheck=false let sfcheck=false
selectarr.value.map(item=>{ selectarr.value.map(item=>{
if(item.id==row.id){ if(item==row){
sfcheck=true sfcheck=true
} }
}) })
@ -264,9 +264,15 @@ function copyalls(column:TableColumnType){
let text = ''; let text = '';
props.tableData.map((item,index)=>{ props.tableData.map((item,index)=>{
if(index<props.tableData.length-1){ if(index<props.tableData.length-1){
text+=`${item[column.prop]}\n` if(item[column.prop]){
text+=`${item[column.prop]}\n`
}
}else{ }else{
text+=`${item[column.prop]}` if(item[column.prop]){
text+=`${item[column.prop]}`
}else{
}
} }
}) })
@ -518,7 +524,7 @@ watchEffect(()=>{
font-size: 12px !important; font-size: 12px !important;
} }
.table-SelectedRow-bgcolor { .table-SelectedRow-bgcolor {
td{ >td{
background-color:#f7e8d7 !important; background-color:#f7e8d7 !important;
} }
} }

2
src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue

@ -82,7 +82,7 @@
<div class="fwhserveNub"> <div class="fwhserveNub">
<div>服务号</div> <div>服务号</div>
<div v-for="it in ite.serveNub || []"> <div v-for="it in ite.serveNub || []">
{{ it }} {{ it.serviceNumber }}
</div> </div>
</div> </div>
</div> </div>

1
src/views/warehouse/warehouseWaybill.vue

@ -27,6 +27,7 @@
<!-- 头部右侧按钮模块 --> <!-- 头部右侧按钮模块 -->
<div class="avue-crud__right"> <div class="avue-crud__right">
<el-button icon="el-icon-refresh" @click="searchChange" circle></el-button> <el-button icon="el-icon-refresh" @click="searchChange" circle></el-button>
<el-button icon="Operation" @click="showdrawer(true)" circle></el-button>
<el-button icon="el-icon-search" @click="searchHide" circle></el-button> <el-button icon="el-icon-search" @click="searchHide" circle></el-button>
</div> </div>
</div> </div>

Loading…
Cancel
Save