Browse Source

FWHL-306

hella_online_20250328
王宇飞 2 weeks ago
parent
commit
19a4a2eaca
  1. 10
      src/views/wms/issueManage/onlinesettlement/settlementConfiguration/index.vue

10
src/views/wms/issueManage/onlinesettlement/settlementConfiguration/index.vue

@ -236,10 +236,16 @@ const handleAddTable = (type)=>{
const handleDeleteTable = (item, index, type) => { const handleDeleteTable = (item, index, type) => {
if(type == 'from'){ if(type == 'from'){
// //
tableDataFrom.value.splice(index, 1) let itemIndex = tableDataFrom.value.indexOf(item)
if(itemIndex>-1){
tableDataFrom.value.splice(itemIndex, 1)
}
}else { }else {
// //
tableDataTo.value.splice(index, 1) let itemIndex = tableDataTo.value.indexOf(item)
if(itemIndex>-1){
tableDataTo.value.splice(itemIndex, 1)
}
} }
} }
// //

Loading…
Cancel
Save