sen
2025-08-15 47b04430376f2498e8ddd9eb77ebea1be4ec8f21
ui/admin-ui3/src/views/cwgl/estimatedReceivableBill/index.vue
@@ -310,7 +310,7 @@
  // labelWidth: 120,
  column: {
    projectName: {
      label: '项目名称1',
      label: '项目名称',
    },
    dispatchNo: {
      label: '调度单号',
@@ -350,7 +350,9 @@
    },
    handleSelectionChangeFunc: (selection: any) => {
      selectionList.value = selection;
    }
    },
  })
const dialog = reactive({
  visible: false,
@@ -382,6 +384,7 @@
const handleAmend = (row) => {
  newFormData.value.billId = row.id;
  importForm.value.billId = row.id;
  dispIshow.value = true;
  newOption.value.menu = true;
  listPendingSettlementBusiness({ billId: row.id }).then((res) => {
@@ -421,6 +424,9 @@
}
const newFormRef = ref();
const submitForm = () => {
  if(newTableData.value.length == 0) {
    proxy.$message.error('无关联明细,无法结算');
  }else {
  newFormRef.value!.validate(valid => {
    if (valid) {
      let data = {
@@ -431,6 +437,7 @@
        if (res1.code === 200) {
          estimatedReceivableBillSettlement(newForm.value).then((res) => {
            if (res.code === 200) {
                onLoad(page.value);
              proxy.$message.success('操作成功');
              dialog.visible = false;
              newForm.value = {};
@@ -441,6 +448,7 @@
      })
    }
  });
  }
@@ -448,8 +456,9 @@
const submitFormTow = () => {
  proxy.$modal.confirm(`是否确认修改账单名称?`).then(function () {
    return updateEstimatedReceivableBillNmae(newForm.value);
    return updateEstimatedReceivableBillNmae(importForm.value);
  }).then((res) => {
     onLoad(page.value);
    proxy.$modal.msgSuccess(res.msg);
  })
@@ -523,7 +532,7 @@
const flowParams = ref([])
const handleFlow = (row: string) => {
  let data = {
    estimatedId: row.id,
    billId: row.id,
  }
  listEstimatedReceivableBillLog(data).then((res) => {
    flowParams.value = res.rows