Browse Source

隐藏生成备料计划按钮

hella_online_20240829
陈薪名 4 months ago
parent
commit
1e10a40f9c
  1. 20
      src/views/wms/productionManage/productionplan/productionMain/index.vue
  2. 20
      src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue
  3. 20
      src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/index.vue
  4. 20
      src/views/wms/productionManage/productionplan/productionMainPredictSparePart/index.vue

20
src/views/wms/productionManage/productionplan/productionMain/index.vue

@ -252,16 +252,16 @@ const butttondata = (row,$index) => {
defaultButtons.mainListPlanResBtn({hide:isShowMainButton(row,['4']),hasPermi:'wms:production-main:resetting'}), //
defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:update'}), //
// defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:delete'}), //
{
label: '生成备料计划',
name: 'scbljh',
hide: isShowMainButton(row,['6']),
type: 'primary',
icon: 'Select',
hasPermi:'wms:production-main:publish',
link: true, //
color: ''
},
// {
// label: '',
// name: 'scbljh',
// hide: isShowMainButton(row,['6']),
// type: 'primary',
// icon: 'Select',
// hasPermi:'wms:production-main:publish',
// link: true, //
// color: ''
// },
{
label: '生成收货申请',
name: 'scshsq',

20
src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue

@ -245,16 +245,16 @@ const butttondata = (row,$index) => {
defaultButtons.mainListPlanResBtn({hide:isShowMainButton(row,['4']),hasPermi:'wms:production-main:resetting'}), //
defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:update'}), //
// defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:delete'}), //
{
label: '生成备料计划',
name: 'scbljh',
hide: isShowMainButton(row,['6']),
type: 'primary',
icon: 'Select',
hasPermi:'wms:production-main:publish',
link: true, //
color: ''
},
// {
// label: '',
// name: 'scbljh',
// hide: isShowMainButton(row,['6']),
// type: 'primary',
// icon: 'Select',
// hasPermi:'wms:production-main:publish',
// link: true, //
// color: ''
// },
{
label: '生成收货申请',
name: 'scshsq',

20
src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/index.vue

@ -245,16 +245,16 @@ const butttondata = (row,$index) => {
defaultButtons.mainListPlanResBtn({hide:isShowMainButton(row,['4']),hasPermi:'wms:production-main:resetting'}), //
defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:update'}), //
// defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:delete'}), //
{
label: '生成备料计划',
name: 'scbljh',
hide: isShowMainButton(row,['6']),
type: 'primary',
icon: 'Select',
hasPermi:'wms:production-main:publish',
link: true, //
color: ''
},
// {
// label: '',
// name: 'scbljh',
// hide: isShowMainButton(row,['6']),
// type: 'primary',
// icon: 'Select',
// hasPermi:'wms:production-main:publish',
// link: true, //
// color: ''
// },
{
label: '生成收货申请',
name: 'scshsq',

20
src/views/wms/productionManage/productionplan/productionMainPredictSparePart/index.vue

@ -245,16 +245,16 @@ const butttondata = (row,$index) => {
defaultButtons.mainListPlanResBtn({hide:isShowMainButton(row,['4']),hasPermi:'wms:production-main:resetting'}), //
defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:update'}), //
// defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:delete'}), //
{
label: '生成备料计划',
name: 'scbljh',
hide: isShowMainButton(row,['6']),
type: 'primary',
icon: 'Select',
hasPermi:'wms:production-main:publish',
link: true, //
color: ''
},
// {
// label: '',
// name: 'scbljh',
// hide: isShowMainButton(row,['6']),
// type: 'primary',
// icon: 'Select',
// hasPermi:'wms:production-main:publish',
// link: true, //
// color: ''
// },
{
label: '生成收货申请',
name: 'scshsq',

Loading…
Cancel
Save