chenhaozhe
2025-11-14 7570f18ad0164dcb9bb71808f68e89053aaa2bbf
src/views/purchase/cgPoOrderBill/cgPoOrderBill.vue
@@ -284,7 +284,7 @@
          icon="el-icon-delete"
          size="mini"
          :disabled="single"
          @click="handleDelete((row = rowForm))"
          @click="handleDelete"
          >删除
        </el-button>
      </el-col>
@@ -1385,15 +1385,14 @@
      (this.multiple = true), this.getList();
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      console.log(row);
    handleDelete() {
      this.$modal
        .confirm("确认要删除吗,删除后不能恢复")
        .then(() => {
          if (!row.审核人) {
          if (!this.rowForm.审核人) {
            axios
              .get(this.baseURL + "Cg_POOrderBill/DeltetCg_POOrderBill", {
                params: { HInterID: row.hmainid.toString(), user: this.user },
                params: { HInter: this.rowForm.HInterID.toString(), user: this.user },
              })
              .then((response) => {
                if (response.data.count == 1) {