Browse Source

Merge branch 'intex' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into intex

intex_online20241111
yufei_wang 3 weeks ago
parent
commit
86808feb62
  1. 11
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

11
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

@ -424,7 +424,14 @@ const getSearchTableData = async (number,formField,searchField)=>{
}
//
const isShowMainButton = (row, val) => {
const isShowMainButton = (row, val) => {
if (val.indexOf(row.status) > -1) {
return false
} else {
return true
}
}
const isShowMainButton1 = (row, val) => {
if (row.type == 'DISCRETE') {
return true
} else {
@ -450,7 +457,7 @@ const isShowMainButton = (row, val) => {
defaultButtons.mainListPurchasePlanRejBtn({ hide: isShowMainButton(row, ['3']) }), //
defaultButtons.mainListPurchasePlanWitBtn({ hide: isShowMainButton(row, ['3']) }), //
defaultButtons.mainListPurchasePlanModBtn({ hide: isShowMainButton(row, ['5']) }), //
defaultButtons.mainListEditBtn({ hide: isShowMainButton(row, ['1','3','5']), hasPermi: 'wms:purchase-plan-main:update' }), //
defaultButtons.mainListEditBtn({ hide: isShowMainButton1(row, ['1','3','5']), hasPermi: 'wms:purchase-plan-main:update' }), //
// defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchase-plan-main:delete'}), //
{
label: t('ts.创建供应商发货申请'),

Loading…
Cancel
Save