spring
5 天以前 257e1c71b00393075cf3a34a7830866b7fe66cc1
src/views/salesManagement/returnOrder/index.vue
@@ -95,7 +95,7 @@
    cancelButtonText: "取消",
    type: "warning",
  }).then(() => {
    returnManagementDel({ ids: String(row.id) }).then(() => {
    returnManagementDel({ ids: [row.id] }).then(() => {
      proxy.$modal.msgSuccess("删除成功");
      getList();
    });
@@ -145,8 +145,6 @@
  { label: "销售单号", prop: "salesContractNo", minWidth: 160 },
  { label: "业务员", prop: "salesman", minWidth: 120 },
  { label: "关联出库单号", prop: "shippingNo", minWidth: 170 },
  { label: "项目名称", prop: "projectName", minWidth: 180 },
  { label: "项目阶段", prop: "projectStage", minWidth: 120 },
  { label: "制单人", prop: "maker", minWidth: 120 },
  { label: "结算人", prop: "settler", minWidth: 120 },
  {
@@ -252,12 +250,13 @@
    return;
  }
  ids = selectedRows.value.map(i => i.id);
  console.log(ids);
  ElMessageBox.confirm("选中的内容将被删除,是否确认删除?", "删除提示", {
    confirmButtonText: "确认",
    cancelButtonText: "取消",
    type: "warning",
  }).then(() => {
    returnManagementDel({ ids: ids.join(",") }).then(() => {
    returnManagementDel( ids ).then(() => {
      proxy.$modal.msgSuccess("删除成功");
      getList();
    });