Browse Source

检验任务,暂存后再发布,提示任务状态错误 HL-5848

hella_online_20240906
YEJIAXING-PC\lenovo 3 months ago
parent
commit
db7ec25557
  1. 13
      src/views/qms/inspectionJob/index.vue

13
src/views/qms/inspectionJob/index.vue

@ -238,15 +238,6 @@ const isShowMainButton3 = (row) => {
}
}
//
const isShowMainButton2 = (row, val) => {
if (val.indexOf(row.isStaging) > -1) {
return false
} else {
return true
}
}
//
const isShowMainButton1 = (row, val) => {
if (val.indexOf(row.status) > -1) {
@ -278,10 +269,6 @@ const butttondata = (row) => {
hide: isShowMainButton(row, ['1', '2']),
hasPermi: 'qms:inspection-job-main:execute'
}), //
defaultButtons.mainListOrderPubBtn({
hide: isShowMainButton2(row, ['TRUE']),
hasPermi: 'qms:inspection-job-main:execute'
}), //
defaultButtons.mainListPackageBtn(null), //
defaultButtons.mainListPlanCheckQualityReportBtn({
hide: isShowMainButton3(row)

Loading…
Cancel
Save