Browse Source

缺陷:HL-5588创建标签后隐藏创建标签的按钮

hella_online_20240829
zhaoxuebing 3 months ago
parent
commit
dc66d8f00b
  1. 16
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue

16
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue

@ -371,6 +371,20 @@ const isASNShowMainButton = (row,val) => {
}
}
//
const isASNShowMainButtonCreateLabel = (row,val) => {
if (val.indexOf(row.status) > -1) {
if(row.sourceType == 'ASN_ExternalReceipt' && row.asnOutLabel == '2'){
return true;
}else{
return false;
}
} else {
return true;
}
}
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
@ -386,7 +400,7 @@ const butttondata = (row,$index) => {
{
label: '生成标签',
name: 'ssbq',
hide: isASNShowMainButton(row, ['3']),
hide: isASNShowMainButtonCreateLabel(row, ['3']),
type: 'primary',
icon: '',
color: '',

Loading…
Cancel
Save