Browse Source

YT-2754《翻包记录》的【打印标签】按钮,如果已经点击过按钮,【打印标签】的颜色变为黄色

intex_20250617_panDian
张立 2 weeks ago
parent
commit
6e8e566f94
  1. 11
      src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRecordMain/index.vue

11
src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRecordMain/index.vue

@ -130,12 +130,21 @@ const butttondata = (row,$index) => {
if(findIndex>-1&&findIndex<$index){
return []
}
return [defaultButtons.mainListPointBtn(null)] //
return [defaultButtons.mainListPointBtn({
label: t(`ts.打印标签`).replace('ts.', ''),
name: 'point',
hide: false,
type: row.isClick?'warning':'primary',
color: '',
link: true, //
hasPermi: ''
})] //
}
// -
const buttonTableClick = async (val, row) => {
if (val == 'point') { //
row.isClick = true
handlePoint(row)
}
}

Loading…
Cancel
Save