Browse Source

隐藏生成备料计划按钮

hella_online_20240829
陈薪名 5 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.mainListPlanResBtn({hide:isShowMainButton(row,['4']),hasPermi:'wms:production-main:resetting'}), //
defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:update'}), // defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:update'}), //
// defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:delete'}), // // defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:delete'}), //
{ // {
label: '生成备料计划', // label: '',
name: 'scbljh', // name: 'scbljh',
hide: isShowMainButton(row,['6']), // hide: isShowMainButton(row,['6']),
type: 'primary', // type: 'primary',
icon: 'Select', // icon: 'Select',
hasPermi:'wms:production-main:publish', // hasPermi:'wms:production-main:publish',
link: true, // // link: true, //
color: '' // color: ''
}, // },
{ {
label: '生成收货申请', label: '生成收货申请',
name: 'scshsq', 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.mainListPlanResBtn({hide:isShowMainButton(row,['4']),hasPermi:'wms:production-main:resetting'}), //
defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:update'}), // defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:update'}), //
// defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:delete'}), // // defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:delete'}), //
{ // {
label: '生成备料计划', // label: '',
name: 'scbljh', // name: 'scbljh',
hide: isShowMainButton(row,['6']), // hide: isShowMainButton(row,['6']),
type: 'primary', // type: 'primary',
icon: 'Select', // icon: 'Select',
hasPermi:'wms:production-main:publish', // hasPermi:'wms:production-main:publish',
link: true, // // link: true, //
color: '' // color: ''
}, // },
{ {
label: '生成收货申请', label: '生成收货申请',
name: 'scshsq', 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.mainListPlanResBtn({hide:isShowMainButton(row,['4']),hasPermi:'wms:production-main:resetting'}), //
defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:update'}), // defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:update'}), //
// defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:delete'}), // // defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:delete'}), //
{ // {
label: '生成备料计划', // label: '',
name: 'scbljh', // name: 'scbljh',
hide: isShowMainButton(row,['6']), // hide: isShowMainButton(row,['6']),
type: 'primary', // type: 'primary',
icon: 'Select', // icon: 'Select',
hasPermi:'wms:production-main:publish', // hasPermi:'wms:production-main:publish',
link: true, // // link: true, //
color: '' // color: ''
}, // },
{ {
label: '生成收货申请', label: '生成收货申请',
name: 'scshsq', 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.mainListPlanResBtn({hide:isShowMainButton(row,['4']),hasPermi:'wms:production-main:resetting'}), //
defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:update'}), // defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:update'}), //
// defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:delete'}), // // defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:production-main:delete'}), //
{ // {
label: '生成备料计划', // label: '',
name: 'scbljh', // name: 'scbljh',
hide: isShowMainButton(row,['6']), // hide: isShowMainButton(row,['6']),
type: 'primary', // type: 'primary',
icon: 'Select', // icon: 'Select',
hasPermi:'wms:production-main:publish', // hasPermi:'wms:production-main:publish',
link: true, // // link: true, //
color: '' // color: ''
}, // },
{ {
label: '生成收货申请', label: '生成收货申请',
name: 'scshsq', name: 'scshsq',

Loading…
Cancel
Save