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

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

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

1
src/views/warehouse/warehouseWaybill.vue

@ -27,6 +27,7 @@
<!-- 头部右侧按钮模块 -->
<div class="avue-crud__right">
<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>
</div>
</div>

Loading…
Cancel
Save