Browse Source

BUG修改

master
yejiaxing 10 months ago
parent
commit
2018e4925a
  1. 5
      src/views/eam/item/itemApplyMain/index.vue

5
src/views/eam/item/itemApplyMain/index.vue

@ -148,7 +148,7 @@
// //
const isShowMainButton = (row, val) => { const isShowMainButton = (row, val) => {
if (val.indexOf(row.status) > -1) { if (val.indexOf(row.available) > -1) {
return false return false
} else { } else {
return true return true
@ -158,6 +158,7 @@
// - // -
const butttondata = (row) => { const butttondata = (row) => {
return [ return [
defaultButtons.mainListOrderCloBtn({ hide: isShowMainButton(row, ['0']) }), //
defaultButtons.mainListEditBtn(null), // defaultButtons.mainListEditBtn(null), //
defaultButtons.mainListDeleteBtn(null), // defaultButtons.mainListDeleteBtn(null), //
] ]
@ -282,4 +283,4 @@
getList() getList()
importTemplateData.templateUrl = await ItemApplyMainApi.importTemplate() importTemplateData.templateUrl = await ItemApplyMainApi.importTemplate()
}) })
</script> </script>

Loading…
Cancel
Save