zouyu
2023-12-27 e544c55714cd15f5cc7232bcd7995b0b2985f268
	modified:   src/views/plan/masterproductionschedule/index.vue
已修改1个文件
26 ■■■■■ 文件已修改
src/views/plan/masterproductionschedule/index.vue 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/plan/masterproductionschedule/index.vue
@@ -595,7 +595,7 @@
        operatorConfig: {
          fixed: 'right',
          label: '操作',
          width: 140,
          width: 100,
          minWidth: 100
        }
      },
@@ -644,14 +644,6 @@
            type: 'text',
            size: 'small',
            fun: this.searchMasterPlanSourceHandle
          })
    }
    if(this.permissions.plan_masterproductionschedule_del){
      optionList.push({
            text: '作废',
            type: 'text',
            size: 'small',
            fun: this.deleteMainPlan
          })
    }
    if(optionList.length>0){
@@ -726,22 +718,6 @@
        }
      }
      return ''
    },
    // 删除
    deleteMainPlan(row) {
      this.$confirm('是否确认作废ID为' + row.id, '提示', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        closeOnClickModal: false,
        type: 'warning'
      })
        .then(function() {
          return delObj(row.id)
        })
        .then((data) => {
          this.$message.success('删除成功')
          this.getData()
        })
    },
    // 查看生产计划来源
    searchMasterPlanSourceHandle(row) {