yangfeng
2023-09-28 e8d70d091ff525e1cf29bb18f4353e2a7bd753a5
出入库查看验证显示问题
1个文件已修改
12 ■■■■■ 已修改文件
src/views/overview/AddOverviewDialog.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/overview/AddOverviewDialog.vue
@@ -409,20 +409,22 @@
    },
    // 设置删除/打印/编辑是否显示
    setBottonView() {
      console.log(this.editConfig.infomation.status)
      if (this.editConfig.title === "新建") {
        this.showButton = false
        this.showEdit = false
        this.showFooter = true
        this.isValidateClick = false
      } else if (
        this.editConfig.title === "查看" &&
        (this.editConfig.infomation.status !== 4 || this.editConfig.infomation.status !== "完成")
      ) {
      } else if (this.editConfig.title === "查看" && this.editConfig.infomation.status !== 4) {
        this.showButton = true
        this.showEdit = false
        this.isDelClick = true
        this.showFooter = false
        this.isValidateClick = true
        if (this.editConfig.infomation.status === "完成") {
          this.isValidateClick = false
        } else {
          this.isValidateClick = true
        }
      } else if (this.editConfig.infomation.status === 4 || this.editConfig.infomation.status === "完成") {
        this.showButton = true
        this.showEdit = false