调整生产订单, 采购入库单,采购订单,发货通知单,退货通知单,销售订单 删除接口
6个文件已修改
99 ■■■■■ 已修改文件
src/views/ICMO/ScICMOBillList.vue 38 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/purchase/cgPoInStockBill/cgPoInStockBill.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/purchase/cgPoOrderBill/cgPoOrderBill.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sell/XsSeOutStockBackBillList.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sell/XsSeOutStockBill.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sell/xsSeOrderBill/xsSeOrderBill.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/ICMO/ScICMOBillList.vue
@@ -376,7 +376,7 @@
          icon="el-icon-delete"
          size="mini"
          :disabled="single"
          @click="handleDelete"
          @click="handleDelete((row = rowForm))"
          >删除
        </el-button>
      </el-col>
@@ -1031,42 +1031,13 @@
      this.dbEmitData(this.deptform, this.dialogTypeNum);
      this.deptform = {};
    },
    fetchData() {
      //登录用户信息
      axios
        .get(
          "http://47.96.97.237/API/Web/GetUser?UserName=001&PassWord=123456&HOrgName=100038"
        )
        .then((res) => {
          let data = res.data.data[0];
          this.zuzhiId = data.HUSEORGID; //根据登录用户获取默认的组织ID
          this.queryParams.HOrgID = data.HUSEORGID;
          this.user = data.Czymc;
          axios
            .get(this.baseURL + "/Web/GetOrganizations", {})
            .then((res) => {
              if (res.data.count == 1) {
                this.organizationList = res.data.data; //组织列表
              }
              this.handleQuery();
              // this.getList();
            })
            .catch((error) => {
              this.$modal.msgError("接口请求失败!");
            });
        })
        .catch((error) => {
          this.$modal.msgError("接口请求失败!");
        });
    },
    async getList() {
      this.tableShow = false;
      this.loading = true;
      if (this.pageSize == 0) {
        this.pageSize = 50;
      }
      this.queryParams.HOrgID = sessionStorage["OrganizationID"];
      // this.queryParams.HOrgID = sessionStorage["OrganizationID"];
      if (this.dateRange.length > 0) {
        this.sWhere +=
@@ -1549,13 +1520,14 @@
      (this.multiple = true), this.getList();
    },
    /** 删除按钮操作 */
    handleDelete() {
    handleDelete(row) {
      console.log(row);
      this.$modal
        .confirm("确认要删除吗,删除后不能恢复")
        .then(() => {
          if (!this.rowForm.审核人) {
            axios
              .get(this.baseURL + "/Xs_SeOutStockBill/DeltetSeOutStockBill", {
              .get(this.baseURL + "/Sc_ICMOBill/DeltetSc_ICMOReportBill", {
                params: {
                  HInter: this.rowForm.hmainid.toString(),
                  HsupId: this.rowForm.HsupId,
src/views/purchase/cgPoInStockBill/cgPoInStockBill.vue
@@ -270,7 +270,7 @@
          icon="el-icon-delete"
          size="mini"
          :disabled="single"
          @click="handleDelete"
          @click="handleDelete((row = rowForm))"
          >删除
        </el-button>
      </el-col>
@@ -1349,7 +1349,8 @@
      (this.multiple = true), this.getList();
    },
    /** 删除按钮操作 */
    handleDelete() {
    handleDelete(row) {
      console.log(row);
      this.$modal
        .confirm("确认要删除吗,删除后不能恢复")
        .then(() => {
@@ -1357,11 +1358,11 @@
            axios
              .get(this.baseURL + "Cg_POInStockBill/DeltetPOInStockBill", {
                params: {
                  HInter: this.rowForm.hmainid.toString(),
                  HsupId: this.rowForm.HsupId,
                  HQty: this.rowForm.HQty,
                  HSourceInterID: this.rowForm.HSourceInterID,
                  HSourceEntryID: this.rowForm.HSourceEntryID,
                  HInterID: row.hmainid.toString(),
                  HsupId: row.hsubId,
                  HQty: row["数量"],
                  HSourceInterID: row["源单主内码"],
                  HSourceEntryID: row["源单子内码"],
                  user: this.user,
                },
              })
src/views/purchase/cgPoOrderBill/cgPoOrderBill.vue
@@ -284,7 +284,7 @@
          icon="el-icon-delete"
          size="mini"
          :disabled="single"
          @click="handleDelete"
          @click="handleDelete((row = rowForm))"
          >删除
        </el-button>
      </el-col>
@@ -1378,14 +1378,15 @@
      (this.multiple = true), this.getList();
    },
    /** 删除按钮操作 */
    handleDelete() {
    handleDelete(row) {
      console.log(row);
      this.$modal
        .confirm("确认要删除吗,删除后不能恢复")
        .then(() => {
          if (!this.rowForm.审核人) {
          if (!row.审核人) {
            axios
              .get(this.baseURL + "Cg_POOrderBill/DeltetCg_POOrderBill", {
                params: { HInter: this.rowForm.HInterID.toString(), user: this.user },
                params: { HInterID: row.hmainid.toString(), user: this.user },
              })
              .then((response) => {
                if (response.data.count == 1) {
src/views/sell/XsSeOutStockBackBillList.vue
@@ -287,7 +287,7 @@
          icon="el-icon-delete"
          size="mini"
          :disabled="single"
          @click="handleDelete"
          @click="handleDelete((form = rowForm))"
          >删除
        </el-button>
      </el-col>
@@ -1385,7 +1385,8 @@
      (this.multiple = true), this.getList();
    },
    /** 删除按钮操作 */
    handleDelete() {
    handleDelete(form) {
      console.log(form);
      this.$modal
        .confirm("确认要删除吗,删除后不能恢复")
        .then(() => {
@@ -1393,11 +1394,11 @@
            axios
              .get(this.baseURL + "/Xs_SeOutStockBill/DeltetSeOutStockBill", {
                params: {
                  HInter: this.rowForm.hmainid.toString(),
                  HsupId: this.rowForm.HsupId,
                  HQty: this.rowForm.HQty,
                  HSourceInterID: this.rowForm.HSourceInterID,
                  HSourceEntryID: this.rowForm.HSourceEntryID,
                  HInterID: form.hmainid.toString(),
                  HsupId: form.hsubid,
                  HQty: form["数量"],
                  HSourceInterID: form["源单主内码"],
                  HSourceEntryID: form["源单子内码"],
                  user: this.user,
                },
              })
src/views/sell/XsSeOutStockBill.vue
@@ -294,7 +294,7 @@
          icon="el-icon-delete"
          size="mini"
          :disabled="single"
          @click="handleDelete"
          @click="handleDelete((form = rowForm))"
          >删除
        </el-button>
      </el-col>
@@ -1402,7 +1402,8 @@
      (this.multiple = true), this.getList();
    },
    /** 删除按钮操作 */
    handleDelete() {
    handleDelete(row) {
      console.log(row);
      this.$modal
        .confirm("确认要删除吗,删除后不能恢复")
        .then(() => {
@@ -1410,11 +1411,11 @@
            axios
              .get(this.baseURL + "/Xs_SeOutStockBill/DeltetSeOutStockBill", {
                params: {
                  HInter: this.rowForm.hmainid.toString(),
                  HsupId: this.rowForm.HsupId,
                  HQty: this.rowForm.HQty,
                  HSourceInterID: this.rowForm.HSourceInterID,
                  HSourceEntryID: this.rowForm.HSourceEntryID,
                  HInterID: row.hmainid.toString(),
                  HsupId: row.hsubid,
                  HQty: row["数量"],
                  HSourceInterID: row["源单主内码"],
                  HSourceEntryID: row["源单子内码"],
                  user: this.user,
                },
              })
src/views/sell/xsSeOrderBill/xsSeOrderBill.vue
@@ -285,7 +285,7 @@
          icon="el-icon-delete"
          size="mini"
          :disabled="single"
          @click="handleDelete"
          @click="handleDelete((row = rowForm))"
          >删除
        </el-button>
      </el-col>
@@ -1377,7 +1377,8 @@
      (this.multiple = true), this.getList();
    },
    /** 删除按钮操作 */
    handleDelete() {
    handleDelete(row) {
      console.log(row);
      this.$modal
        .confirm("确认要删除吗,删除后不能恢复")
        .then(() => {
@@ -1385,7 +1386,7 @@
            axios
              .get(this.baseURL + "Cg_POInStockBill/DeltetPOInStockBill", {
                params: {
                  HInter: this.rowForm.hmainid.toString(),
                  HInterID: this.rowForm.hmainid.toString(),
                  HsupId: this.rowForm.HsupId,
                  HQty: this.rowForm.HQty,
                  HSourceInterID: this.rowForm.HSourceInterID,